Closed
Bug 1406039
Opened 8 years ago
Closed 7 years ago
Migrate browser_webconsole_strict_mode_errors.js to the new frontend
Categories
(DevTools :: Console, enhancement, P1)
DevTools
Console
Tracking
(firefox58 wontfix, firefox59 fixed)
RESOLVED
FIXED
Firefox 59
People
(Reporter: nchevobbe, Assigned: jdescottes)
References
Details
(Whiteboard: [newconsole-mvp])
Attachments
(1 file)
No description provided.
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Priority: P3 → P2
Whiteboard: [newconsole-mvp]
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Reporter | ||
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8942924 [details]
Bug 1406039 - migrate browser_webconsole_strict_mode_errors to new frontend;
https://reviewboard.mozilla.org/r/213194/#review218874
Thanks Julian, this looks good to me :)
Attachment #8942924 -
Flags: review?(nchevobbe) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Thanks for the review Nicolas! Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c8c1b108a042dfc5ef3cd81fe10dc65eab44c681
Reporter | ||
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8942924 [details]
Bug 1406039 - migrate browser_webconsole_strict_mode_errors to new frontend;
https://reviewboard.mozilla.org/r/213194/#review218878
One nit: maybe we could put the data url prefix in a tagged template or a function ?
```
function getDataUri(scriptContent) {
return `data:text/html;charset=utf8,<script>"use strict;"${scriptContent}</strict>`;
}
```
what do you think ?
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #4)
> Comment on attachment 8942924 [details]
> Bug 1406039 - migrate browser_webconsole_strict_mode_errors to new frontend;
>
> https://reviewboard.mozilla.org/r/213194/#review218878
>
> One nit: maybe we could put the data url prefix in a tagged template or a
> function ?
> ```
> function getDataUri(scriptContent) {
> return `data:text/html;charset=utf8,<script>"use
> strict;"${scriptContent}</strict>`;
> }
> ```
>
> what do you think ?
Good point, can be nicely mutualized. Updated version is all tiny.
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f77e243145f2
migrate browser_webconsole_strict_mode_errors to new frontend;r=nchevobbe
Updated•7 years ago
|
Priority: P2 → P1
Comment 8•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•7 years ago
|
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•