Closed
Bug 1070045
Opened 10 years ago
Closed 10 years ago
Use of ES6 syntax breaks component showcase
Categories
(Hello (Loop) :: Client, defect)
Hello (Loop)
Client
Tracking
(firefox34 fixed, firefox35 fixed)
RESOLVED
FIXED
Iteration:
36.1
People
(Reporter: andreio, Assigned: pkerr)
References
Details
Attachments
(1 file, 1 obsolete file)
8.51 KB,
patch
|
NiKo
:
review+
lmandel
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20140915204924
Steps to reproduce:
In latest fx-team open the ui-showcase.
Actual results:
The page is broken because required files are not included & they use ES6 syntax which requires <script type="application/javascript;version=1.7"> [0] to support "let, const" etc.
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
Expected results:
Loop components should show up
Comment 1•10 years ago
|
||
As discussed at standup today, we want a regression tests for this so that if the ui-showcase completely fails to load, the automated tests flag it.
It probably wants to be something very much like <https://github.com/mozilla/gecko-dev/blob/master/browser/components/loop/test/shared/frontend_tester.py>. Perhaps that code could be refactored/overridden (i.e. check_page and get_failure details) to be slightly more generic.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•10 years ago
|
||
I'm not actively working on this since I'm not very familiar with this code but this at lets more than a white page appear. There are still errors in the console.
Updated•10 years ago
|
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Iteration: --- → 35.2
Points: --- → 1
Flags: qe-verify-
Flags: firefox-backlog+
Comment 3•10 years ago
|
||
I just took it all the way...
Attachment #8493463 -
Attachment is obsolete: true
Attachment #8493642 -
Flags: review?(nperriault)
Comment on attachment 8493642 [details] [diff] [review]
Patch v1: shim contacts React classes when ES6 is not available in the browser used
Review of attachment 8493642 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM
Attachment #8493642 -
Flags: review?(nperriault) → review+
Comment 5•10 years ago
|
||
Thanks for the super-fast review!
Pushed to fx-team as https://hg.mozilla.org/integration/fx-team/rev/121504802da7
Updated•10 years ago
|
Flags: needinfo?(mmucci)
Comment 7•10 years ago
|
||
Adding leave-open, as this still needs the regression test described in comment 1.
Keywords: leave-open
Assignee | ||
Updated•10 years ago
|
Assignee: mdeboer → pkerr
Assignee | ||
Comment 9•10 years ago
|
||
Taking up regression testing issue that was left open.
Updated•10 years ago
|
Iteration: 35.2 → ---
Comment 10•10 years ago
|
||
Comment on attachment 8493642 [details] [diff] [review]
Patch v1: shim contacts React classes when ES6 is not available in the browser used
Approval Request Comment
Uplift request for patches staged and tested on Fig
Attachment #8493642 -
Flags: approval-mozilla-aurora?
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Comment on attachment 8493642 [details] [diff] [review]
Patch v1: shim contacts React classes when ES6 is not available in the browser used
I worked with Randell and Maire on uplifting a large number of Loop bugs at once. All of the bugs have been staged on Fig and tested by QE before uplift to Aurora. As well, all of the bugs are isolated to the Loop client. Randell handled the uplift with my approval. I am adding approval to the bug after the fact for bookkeeping.
Attachment #8493642 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•10 years ago
|
Comment 13•10 years ago
|
||
Opened bug 1088006 for the regression test.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Iteration: --- → 36.1
You need to log in
before you can comment on or make changes to this bug.
Description
•