Closed
Bug 880037
Opened 11 years ago
Closed 11 years ago
Lots of WARNING: NS_ENSURE_TRUE(IsChromeProcess()) failed: file /content/base/src/nsFrameMessageManager.cpp, line 728
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: reuben, Assigned: dzbarsky)
Details
Attachments
(1 file, 1 obsolete file)
819 bytes,
patch
|
justin.lebar+bug
:
review+
|
Details | Diff | Splinter Review |
I think these come from http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsCCUncollectableMarker.cpp?mark=97-98#94
Reporter | ||
Updated•11 years ago
|
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → dzbarsky
Status: NEW → ASSIGNED
Attachment #759448 -
Flags: review?(justin.lebar+bug)
Comment 2•11 years ago
|
||
Comment on attachment 759448 [details] [diff] [review] PAtch The idea here is fine, but the one-liner to check for is-main-process is XRE_GetProcessType() == GeckoProcessType_Default (I'd love to improve this, but we should probably do so all at once, and not in nsFrameMessageManager.h. But that's probably out of scope for this bug.)
Attachment #759448 -
Flags: review?(justin.lebar+bug) → review-
Comment 3•11 years ago
|
||
I'd probably also leave the NS_NewGlobalMessageManager code unchanged. We have very poor testing of debug builds in B2G, so there's no guarantee that we'd notice if we were hitting this assertion. And anyway, XPCOM semantics are to return an error, rather than to assert, and this is definitely XPCOM code.
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #759448 -
Attachment is obsolete: true
Attachment #759858 -
Flags: review?(justin.lebar+bug)
Comment 5•11 years ago
|
||
Comment on attachment 759858 [details] [diff] [review] Patch r=me, but could you add a comment saying that the globalmm only exists in the root process?
Attachment #759858 -
Flags: review?(justin.lebar+bug) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Sure. https://hg.mozilla.org/integration/mozilla-inbound/rev/b9b9d53a5c2d
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b9b9d53a5c2d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•