Closed Bug 893501 Opened 11 years ago Closed 11 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
On Windows: bp-093320fc-3bf2-4296-a2a8-d10db2130714.
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)
Comment on attachment 776371 [details] [diff] [review]
patch

r=me
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)
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c89df01905f
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.patchSplinter Review
This is the patch without the test. The test will be submitted in a follow up.
Attachment #776371 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/e37652a7c199
Status: NEW → RESOLVED
Closed: 11 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: