timuthang / chrome-screen-capture

Automatically exported from code.google.com/p/chrome-screen-capture
1 stars 0 forks source link

The extension interferes with window.onresize or <body onresize=...> code #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a webpage using javascript
   <script type="text/javascript">
   window.onresize = foo;
   function foo(){
     console.log("onresize");
   }
   </script>
2. Visit that page with the extension enabled and resize the page.
Now execute the same steps in an incognito window.

What is the expected output? What do you see instead?
Expected output: "onresize" printed to the console
Instead: nothing is printed.
This works correctly in incognito when the extension is disabled.

What version of the product are you using? On what operating system?
Environment: Windows 7, chrome browser
Version of extension: Screen-Capture (by Google) 5.0.3.

Please provide any additional information below.
Here is another link to people experiencing the issue:
http://stackoverflow.com/questions/8041730/window-onresize-not-firing-in-chrome-
but-firing-in-chrome-incognito

Original issue reported on code.google.com by viger.gu...@gmail.com on 29 Jan 2012 at 7:47