[Webkit-unassigned] [Bug 44372] Web Inspector: Any time JavaScript touches a window object reference that is cross-domain, the console reports an error.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 7 16:23:26 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44372





--- Comment #2 from Sean Snider <ssnider at yahoo-inc.com>  2010-10-07 16:23:25 PST ---
What I mean is create the 2 test pages and place them on web servers, one on each domain.

It seems that any attempt to access a window reference results in an error message logged to the console, even though it is not an error.

When this code from the samples runs, if you open the developer console you'll see stuff like this:

"Unsafe JavaScript attempt to access frame with URL http://foo.com/sub-page.html from frame with URL http://bar.com/top-page.html Domains, protocols and ports must match."


However this is not true. . the do not have to match in many cases such as busting out of an iframe, or setting the top location etc.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list