Closed
Bug 1504754
Opened 6 years ago
Closed 6 years ago
Debug noscripts version of new tab page fail to load
Categories
(Firefox :: New Tab Page, enhancement, P2)
Firefox
New Tab Page
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: Mardak, Assigned: Mardak)
References
Details
Attachments
(2 files)
The debug pages are conditionally packaged for not release/beta: https://searchfox.org/mozilla-central/rev/7c848ac7630df5baf1314b0c03e015683599efb9/browser/components/newtab/jar.mn#43-46 But we forgot to package the noscripts versions as part of bug 1472212 when it turned on by default.
Assignee | ||
Comment 1•6 years ago
|
||
I suppose arguably, it should have been added as part of bug 1416066 when creating those files in the first place.
Depends on: 1416066
Updated•6 years ago
|
Assignee: nobody → edilee
Iteration: --- → 65.3 (Nov 30)
Priority: -- → P2
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/afc2c3730892d5a3d477a36c54ad8207a42b1941 Fix Bug 1504754 - Debug noscripts version of new tab page need to be packaged (#4551)
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•6 years ago
|
||
The main fix here was reverted in bug 1506205 for test failures
Assignee | ||
Comment 5•6 years ago
|
||
The approach here wasn't quite right as indicated by the test failure (why ./mach package didn't fail locally or in our automation is another issue…) https://treeherder.mozilla.org/logviewer.html#?job_id=210726475&repo=try&lineNumber=43272 [task 2018-11-09T02:54:50.522Z] 02:54:50 INFO - package> ERROR: The following duplicated files are not allowed: [task 2018-11-09T02:54:50.522Z] 02:54:50 INFO - package> browser/chrome/browser/res/activity-stream/prerendered/en-US/activity-stream-noscripts.html [task 2018-11-09T02:54:50.522Z] 02:54:50 INFO - package> browser/chrome/browser/res/activity-stream/prerendered/static/activity-stream-debug-noscripts.html [task 2018-11-09T02:54:50.522Z] 02:54:50 INFO - package> browser/chrome/browser/res/activity-stream/prerendered/en-US/activity-stream-prerendered-noscripts.html [task 2018-11-09T02:54:50.522Z] 02:54:50 INFO - package> browser/chrome/browser/res/activity-stream/prerendered/static/activity-stream-prerendered-debug-noscripts.html The debug html files would load a different script file however, -noscripts versions don't have script files in html, so they become identical. The fix should be to always load -noscripts ignoring -debug, and make sure the noscripts loader knows to load debug scripts.
Assignee | ||
Comment 6•6 years ago
|
||
We don't need to prerender or package a -debug-noscripts html file. For noscripts debug, we already dynamically pick the -dev scripts to inject, and this works with all locales (where before we only bothered packaging "static" english-only version).
Summary: Debug noscripts version of new tab page need to be packaged → Debug noscripts version of new tab page fail to load
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream https://github.com/mozilla/activity-stream/commit/678c6cc941234a6ff1cca513aaf110e47d1fbd6e Fix Bug 1504754 - Debug noscripts version of new tab page fail to load (#4560)
Updated•6 years ago
|
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•6 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/59ff6b57e94e
status-firefox65:
--- → fixed
Target Milestone: --- → Firefox 65
Updated•5 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•