Closed
Bug 1108965
Opened 9 years ago
Closed 9 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•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
running try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=8f3b97f5c3ae
Assignee | ||
Comment 2•9 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•9 years ago
|
||
Comment on attachment 8534130 [details] [review] Call Set constructor with new. Thanks!
Attachment #8534130 -
Flags: review?(timdream) → review+
Comment 4•9 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/e17c5656dbf517d48fb61ac9bc92119e023fd717
Assignee: nobody → arai_a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•9 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
•