[Webkit-unassigned] [Bug 81970] New: Web Inspector: x-frame security errors logged when typing in the console are annoying.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 22 14:43:00 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81970
Summary: Web Inspector: x-frame security errors logged when
typing in the console are annoying.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: levin at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
Created an attachment (id=133350)
--> (https://bugs.webkit.org/attachment.cgi?id=133350&action=review)
outer frame
1. Save the two html documents to your local hard drive.
2. open test_iframe.html
3. open inspector and put a breakpoint in foo()
4. in the console type "window.frameElement" (Don't paste it. Actually type it.) or "window.parent.location", etc.
Note that you get lots of "Unsafe JavaScript attempt to access frame with URL" errors in the console output as you type. This makes using the console really painful.
Other:
* These steps as given may only repro with browsers like chromium that treat all local files as different security origins. (You need the inner frame to be a different security origin to repro the issue.)
* In my case, the errors don't collapse together (like they did for me in this simple example) -- perhaps that is because they have a stack trace.
--
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