Closed Bug 866748 Opened 12 years ago Closed 12 years ago

nsIWebProgress::isTopLevel shouldn't throw

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: Gavin, Assigned: Gavin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

See bug 732593. It should just return false in the cases where there is no window.
Attached patch patch (obsolete) — Splinter Review
I left exceptions/warnings for what AFAICT should be quite exceptional cases (do_QueryInterface or GetTop failing), but I guess I could remove those as well.
Attachment #743114 - Flags: feedback?(bugs)
Attachment #743114 - Flags: feedback?(bugs) → review+
Flags: in-testsuite-
Target Milestone: --- → mozilla23
Assignee: nobody → gavin.sharp
Attached patch fixed patchSplinter Review
That was backed out because I failed to actually compile the change before pushing it (thought I had, but I was foiled by CLOBBER and didn't notice).
Attachment #743114 - Attachment is obsolete: true
From IRC, RyanVM says I was blamed incorrectly!
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: