Closed Bug 1243612 Opened 9 years ago Closed 9 years ago

"promptCount is undefined" on beta (nsBrowserGlue.js)

Categories

(Firefox :: General, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 45
Tracking Status
e10s m8+ ---
firefox45 + fixed
firefox46 + unaffected
firefox47 --- unaffected

People

(Reporter: Felipe, Assigned: Felipe)

References

Details

Attachments

(1 file)

The variable `promptCount` (from bug 1225648) is defined in an #ifndef RELEASE_BUILD block, but used outside of it. Now that the code has merged to beta, it's throwing and stopping the rest of the function to work. Incidentally, this was just fixed yesterday with the removal of preprocessing from this file (bug 1241993). But we should just use a simpler fix here to be able to uplift it to beta. [Tracking Requested - why for this release]: Telemetry about Firefox being the default browser, and some code related to e10s accessibility, are prevented to run due to this.
Attached patch patch (deleted) — Splinter Review
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Attachment #8712984 - Flags: review?(jaws)
Attachment #8712984 - Flags: review?(jaws) → review+
Ugh, sorry for missing this in review. :-(
Comment on attachment 8712984 [details] [diff] [review] patch This has been fixed differently on central, so it needs to go straight to aurora/beta Approval Request Comment [Feature/regressing bug #]: undefined variable name [User impact if declined]: BROWSER_IS_USER_DEFAULT telemetry probe and e10s accessibility warning missing [Describe test coverage new/current, TreeHerder]: built locally [Risks and why]: very simple patch, just moves a variable declaration [String/UUID change made/needed]: none
Attachment #8712984 - Flags: approval-mozilla-beta?
Attachment #8712984 - Flags: approval-mozilla-aurora?
Comment on attachment 8712984 [details] [diff] [review] patch Fix a warning, taking it.
Attachment #8712984 - Flags: approval-mozilla-beta?
Attachment #8712984 - Flags: approval-mozilla-beta+
Attachment #8712984 - Flags: approval-mozilla-aurora?
Attachment #8712984 - Flags: approval-mozilla-aurora+
The other fix (bug 1241993) made it to aurora, so this only affected beta. https://hg.mozilla.org/releases/mozilla-beta/rev/1241ef0ab5da
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Attachment #8712984 - Flags: approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: