Bug 11832

Summary: accessing frame's document property blows away document
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: beidson, mjs
Priority: P1 Keywords: Regression
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test case from Description none

Geoffrey Garen
Reported 2006-12-14 15:34:25 PST
Here's the reduction: <iframe src="data:text/html,<p>hello world</p>"></iframe> <script> frames[0].document; </script> The Web Inspector shows that the iframe is completely empty. Removing the script fixes the bug.
Attachments
Test case from Description (97 bytes, text/html)
2006-12-14 21:39 PST, David Kilzer (:ddkilzer)
no flags
David Kilzer (:ddkilzer)
Comment 1 2006-12-14 21:39:10 PST
Created attachment 11853 [details] Test case from Description
Alexey Proskuryakov
Comment 2 2006-12-14 22:47:38 PST
I get the same results in shipping 10.4.8 Safari - is this indeed a regression? *** This bug has been marked as a duplicate of 9006 ***
Geoffrey Garen
Comment 3 2006-12-14 23:50:53 PST
Boy, I just figured it must be, but you're right: it's not a regression.
Note You need to log in before you can comment on or make changes to this bug.