Closed
Bug 1059687
Opened 10 years ago
Closed 10 years ago
Webapps.jsm:3552 - test for equality (==) mistyped as assignment (=)?
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: MatsPalmgren_bugz, Assigned: myk)
Details
Attachments
(1 file)
656 bytes,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
STR Using a local debug Firefox build on Linux64: ./mach mochitest-plain content/html/content/test/ ACTUAL RESULT In the log output: INFO System JS : WARNING resource://gre/modules/Webapps.jsm:3552 - test for equality (==) mistyped as assignment (=)?
Comment 1•10 years ago
|
||
Can paste the part around this line from your $OBJDIR/dist/bin/modules/Webapps.jsm ? This file has a bunch of preprocessing and I only have b2g builds around.
Assignee | ||
Comment 2•10 years ago
|
||
Presumably it's this one.
Reporter | ||
Comment 4•10 years ago
|
||
myk's patch fixed it in my local build -- the affected line is 3706, so the warning is just slightly off :-/
Comment 5•10 years ago
|
||
I can confirm that the relevant line is intentionally an assignment, and not an equality test mistyped as an assignment. The compiler is merely trying to besmirch my reputation. myk's patch looks good.
Flags: needinfo?(tclancy)
Updated•10 years ago
|
Attachment #8480605 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/7a6e3931a0f1
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7a6e3931a0f1
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•