Closed Bug 893501 Opened 13 years ago Closed 13 years ago

Crash getting navigator.mozNotification from a stale navigator object

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jruderman, Assigned: baku)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files, 1 obsolete file)

With: user_pref("notification.feature.enabled", true); The testcase causes a crash [@ mozilla::dom::Navigator::GetMozNotification] bp-1812654a-cd26-41df-b760-d805d2130714
Attached file debug stack —
Crash Signature: [@ mozilla::dom::Navigator::GetMozNotification(nsISupports**)] [@ nsINode::NodePrincipal() ]
OS: Mac OS X → All
Hardware: x86_64 → All
William, is this enabled by default anywhere?
Flags: needinfo?(wchen)
Attached patch patch (obsolete) — — Splinter Review
Attachment #776371 - Flags: review?(bzbarsky)
Attachment #776371 - Flags: review?(bzbarsky) → review+
Keywords: checkin-needed
(In reply to Boris Zbarsky (:bz) from comment #3) > William, is this enabled by default anywhere? fennec
Flags: needinfo?(wchen)
Assignee: nobody → amarchesini
Flags: in-testsuite+
Keywords: checkin-needed
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #9) > Looks like robocop-2 as well. > https://tbpl.mozilla.org/php/getParsedLog.php?id=25340542&tree=Mozilla- > Inbound This wasn't yours, just the mochitest-7.
Attached patch crash2.patch — — Splinter Review
This is the patch without the test. The test will be submitted in a follow up.
Attachment #776371 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+ → in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: