Closed Bug 1023469 Opened 10 years ago Closed 10 years ago

Replace generic observer in browser.js when the observer is first used

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: jchen, Assigned: jchen)

Details

Attachments

(1 file)

Working on bug 1023461 to get us JS frames during hangs, I noticed hangs inside the anonymous function at [1], but that doesn't tell us which observer it is. One way to fix it is to replace the anonymous function with the actual observer when the observer is first used.

[1] http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js?rev=37a48cebd120#126
Replace the generic observer when it's first called, so that subsequent calls will be made on the actual observers, and hang stacks will show the correct script.
Attachment #8437888 - Flags: review?(mark.finkle)
Attachment #8437888 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/43ff2a7f349c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: