Closed
Bug 1108965
Opened 11 years ago
Closed 11 years ago
Call Set constructor with "new".
Categories
(Firefox OS Graveyard :: Gaia::System::Input Mgmt, defect)
Firefox OS Graveyard
Gaia::System::Input Mgmt
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
(derived from bug 1108930)
Before fixing bug 1062075 and bug 1083752,
we need to add "new" to all Map/Set/WeakMap constructor calls.
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=08a0908f8706
http://mxr.mozilla.org/gaia/source/apps/system/js/input_layouts.js#176
> this._enabledApps = Set();
http://mxr.mozilla.org/gaia/source/apps/system/test/unit/input_layouts_test.js#93
> inputLayouts._enabledApps = Set();
http://mxr.mozilla.org/gaia/source/apps/system/test/unit/input_layouts_test.js#130
> inputLayouts._enabledApps = Set();
http://mxr.mozilla.org/gaia/source/tv_apps/smart-system/js/input_layouts.js#176
> this._enabledApps = Set();
| Assignee | ||
Updated•11 years ago
|
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Added "new" to Set() calls in comment #0
Try in comment #1 was almost green, except B2G ICS Emulator opt Mn and Mnw,
which uses non-patched gaia branch, so I guess it will be fixed after this patch is landed.
Attachment #8534130 -
Flags: review?(timdream)
Comment 3•11 years ago
|
||
Comment on attachment 8534130 [details] [review]
Call Set constructor with new.
Thanks!
Attachment #8534130 -
Flags: review?(timdream) → review+
Comment 4•11 years ago
|
||
Assignee: nobody → arai_a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•11 years ago
|
||
Thank you for reviewing and merging :)
Confirmed that the error in Mn and Mnw are fixed by this patch.
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=2063bee5e775
You need to log in
before you can comment on or make changes to this bug.
Description
•