Closed
Bug 1388088
Opened 7 years ago
Closed 7 years ago
HSTS periodic update failing with: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import]
Categories
(Core :: Security: PSM, defect, P1)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: Cykesiopka)
References
()
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file)
The HSTS periodic update process broke starting on 2017-07-26: https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-central-linux64/mozilla-central-linux64-periodicupdate-bm74-build1-build2.txt.gz > INFO: Generating new HSTS preload list... > INFO: Running "LD_LIBRARY_PATH=/builds/slave/m-cen-l64-periodicupdate-00000/gtk3/usr/local/lib:/builds/slave/m-cen-l64-periodicupdate-00000/gcc/lib64:/builds/slave/m-cen-l64-periodicupdate-00000/gcc/lib:. ./xpcshell /builds/slave/m-cen-l64-periodicupdate-00000/getHSTSPreloadList.js /builds/slave/m-cen-l64-periodicupdate-00000/nsSTSPreloadList.inc" > JavaScript error: /builds/slave/m-cen-l64-periodicupdate-00000/getHSTSPreloadList.js, line 22: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] The line it's complaining about is this: https://hg.mozilla.org/mozilla-central/file/f904bc721e7d/security/manager/tools/getHSTSPreloadList.js#l22 > Cu.import("resource:///modules/XPCOMUtils.jsm");
Assignee | ||
Updated•7 years ago
|
Summary: HSTS periodic failing with: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] → HSTS periodic update failing with: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import]
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
(In reply to :Cykesiopka from comment #0) > The line it's complaining about is this: > https://hg.mozilla.org/mozilla-central/file/f904bc721e7d/security/manager/ > tools/getHSTSPreloadList.js#l22 > > Cu.import("resource:///modules/XPCOMUtils.jsm"); That needs to be changed to resource://gre/modules/XPCOMUtils.jsm. I'm surprised it works at all as-is.
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8894553 [details] Bug 1388088 - Fix incorrect Cu.import() URL to unbreak HSTS periodic updates. https://reviewboard.mozilla.org/r/165710/#review170824 Yay cargo-culting. Thanks for fixing this. ::: security/manager/tools/getHSTSPreloadList.js:22 (Diff revision 1) > var Cu = Components.utils; > var Cr = Components.results; > > Cu.import("resource://gre/modules/Services.jsm"); > Cu.import("resource://gre/modules/FileUtils.jsm"); > -Cu.import("resource:///modules/XPCOMUtils.jsm"); > +Cu.import("resource://gre/modules/XPCOMUtils.jsm"); ¯\_(ツ)_/¯
Attachment #8894553 -
Flags: review?(dkeeler) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Thanks for the review. (This change is NPOTB.)
Keywords: checkin-needed
Pushed by philringnalda@gmail.com: https://hg.mozilla.org/integration/autoland/rev/946c7dc6aaa4 Fix incorrect Cu.import() URL to unbreak HSTS periodic updates. r=keeler
Keywords: checkin-needed
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/946c7dc6aaa4
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•