Closed Bug 845201 Opened 9 years ago Closed 9 years ago

Iterating over Components throws an uncatchable exception

Categories

(Core :: XPConnect, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jruderman, Assigned: bholley)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file testcase
Result:   No alert
Expected: "Not allowed" alert


Regression in the last day or so:

http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e48e1afb1899&tochange=f9ece777368e
Presumably a regression from bug 836301: we used to report an exception, now we just return false without reporting an exception, so there is nothing to catch.
Blocks: 836301
We only want fallback behavior here if the policy decides to fail silently. If
the policy passes *bp == false, we want to just throw.
Attachment #718498 - Flags: review?(mrbkap)
Attachment #718498 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/7731263e33fe
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.