Closed Bug 1317135 Opened 8 years ago Closed 8 years ago

Intermittent dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel http (result: websocket-unexpected-error) - didn't expect -1, but got it

Categories

(Core :: DOM: Security, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1316305

People

(Reporter: aryx, Unassigned)

References

Details

(Keywords: intermittent-failure)

+++ This bug was initially created as a clone of Bug #1316305 +++

https://treeherder.mozilla.org/logviewer.html#?job_id=39129066&repo=mozilla-inbound

03:38:59     INFO - TEST-START | dom/security/test/csp/test_upgrade_insecure.html
03:38:59     INFO - JavaScript error: resource://gre/modules/LoginManagerParent.jsm, line 75: TypeError: this._recipeManager is null
03:38:59     INFO - JavaScript error: resource://gre/modules/LoginManagerParent.jsm, line 75: TypeError: this._recipeManager is null
03:38:59     INFO - TEST-INFO | started process screencapture
03:39:00     INFO - TEST-INFO | screencapture: exit 0
03:39:00     INFO - Buffered messages logged at 03:38:59
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: websocket-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: style-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: img-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: script-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: form-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: font-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: xhr-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: iframe-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: nested-img-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: img-redir-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: media-ok) 
03:39:00     INFO - TEST-PASS | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel https (result: object-ok) 
03:39:00     INFO - Buffered messages finished
03:39:00     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/csp/test_upgrade_insecure.html | upgrade all requests on toplevel http (result: websocket-unexpected-error) - didn't expect -1, but got it
03:39:00     INFO -     SimpleTest.isnot@SimpleTest/SimpleTest.js:283:5
03:39:00     INFO -     checkResults@dom/security/test/csp/test_upgrade_insecure.html:129:3
03:39:00     INFO -     receiveMessage@dom/security/test/csp/test_upgrade_insecure.html:152:3
03:39:00     INFO -     EventListener.handleEvent*@dom/security/test/csp/test_upgrade_insecure.html:150:1
How is this different than https://bugzilla.mozilla.org/show_bug.cgi?id=1316305?
Flags: needinfo?(aryx.bugmail)
This seems to be identical to the one you cloned it from. I'll add this log link to the other bug but without more explanation I have no reason to believe it would be a separate bug.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
This one has the error message:
> upgrade all requests on toplevel http (result: websocket-unexpected-error) - didn't expect -1, but got it
while bug 1316305 has
> upgrade all requests on toplevel http where default-src is not specified (result: websocket-unexpected-error) - didn't expect -1, but got it

So this bug is about the failure of test (2) UPGRADE_POLICY https://dxr.mozilla.org/mozilla-central/rev/f8ba9c9b401f57b0047ddd6932cb830190865b38/dom/security/test/csp/test_upgrade_insecure.html#56 while bug 1316305 is about the failure of test (3) UPGRADE_POLICY_NO_DEFAULT_SRC https://dxr.mozilla.org/mozilla-central/rev/f8ba9c9b401f57b0047ddd6932cb830190865b38/dom/security/test/csp/test_upgrade_insecure.html#66

Of course both are about a new websocket issue.
Flags: needinfo?(aryx.bugmail)
You need to log in before you can comment on or make changes to this bug.