Created attachment 271329 [details] [diff] [review] Proposed patch Use Equals() and Subsumes() instead. Note that Subsumes() isn't as strict now as it was when the nsGlobalWindow timeout stuff was written. It does the right check now, I think.
Though as I said in bug 370113, some of the nsDocument checks that call this code should perhaps be ownerDocument compares, not same-origin compares.
Attachment #271329 - Flags: superreview?(jst) → superreview+
Attachment #271329 - Flags: review?(mrbkap) → review+
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.