Opened 13 years ago

Closed 13 years ago

#7308 closed defect (invalid) errors with iframe under Safari

Reported by: joe1chen Owned by: anonymous
Priority: high Milestone: 1.2
Component: General Version: 1.1.1
Keywords: Cc:
Blocked By: Blocking:


When attaching a script to an iframe doc under Safari, the following fragment of code,


which is used to get the head, returns null. A working fix is to replace this with


Change History (2)

comment:1 Changed 13 years ago by James Burke

Milestone: 1.2tbd

This seems to be an issue with the document inside the iframe? What are the contents of the iframe before getElementsByTagName is called? It is probably missing a head tag. If you add the head tag, does that work?

comment:2 Changed 13 years ago by dylan

Milestone: tbd1.2
Resolution: invalid
Status: newclosed

Closing as invalid. If including a <head> tag does not resolve this for you, please reopen with a test case.

Note: See TracTickets for help on using tickets.