Opened 9 years ago
Closed 9 years ago
#15172 closed bug (notabug)
DOMExcetion that occurs in $.fn.contents when elem is iframe
Reported by: | unreal666 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next/2.next |
Component: | traversing | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When $('iframe').contents(), DOMException exception occurs with SecurityError name, because elem.contentDocument and elem.contentWindow.document denied for iframe.
Change History (2)
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
See the pull request, we don't want to swallow this exception or change the behavior for same-origin iframes.
Note: See
TracTickets for help on using
tickets.
correction - the exception occurs only if iframe on different domain or protocol.