Closed Bug 1317115 Opened 8 years ago Closed 5 years ago

Permaorange Android dom/security/test/csp/test_referrerdirective.html | Assertion count 1 is greater than expected range 0-0 assertions.

Categories

(Core :: DOM: Security, defect, P2)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr45 --- unaffected
firefox50 --- unaffected
firefox51 --- unaffected
firefox52 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, stale-bug, Whiteboard: [domsecurity-active])

Attachments

(1 file)

Just one little problem: it isn't intermittent.
Blocks: 1313595
Summary: Intermittent dom/security/test/csp/test_referrerdirective.html | Assertion count 1 is greater than expected range 0-0 assertions. → Permaorange Android dom/security/test/csp/test_referrerdirective.html | Assertion count 1 is greater than expected range 0-0 assertions.
Wups, didn't see that patch before I backed out bug 1313595.
Pushed by philringnalda@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/aa7ad663977b
turn off HSTS priming to suppress perma-orange a=test-only
May be related to bug 1317298, but this test seems to trigger more reliably
Keywords: leave-open
Assignee: nobody → kmckinley
(In reply to Kate McKinley [:kmckinley] from comment #8)
> May be related to bug 1317298, but this test seems to trigger more reliably

Do we need to update the test so it works with HSTS priming enabled?
Priority: -- → P1
Whiteboard: [domsecurity-active]
(In reply to Tanvi Vyas [:tanvi] from comment #11)
> (In reply to Kate McKinley [:kmckinley] from comment #8)
> > May be related to bug 1317298, but this test seems to trigger more reliably
> 
> Do we need to update the test so it works with HSTS priming enabled?

We need to find out what the assertion is that is being triggered and fix that, then turn the test back on.
You can find the assertion in the logcat. For https://queue.taskcluster.net/v1/task/G_IV_Pa4TgyeNMi3o0WDyg/runs/0/artifacts/public%2Flogs%2Flive_backing.log, the logcat is at https://public-artifacts.taskcluster.net/G_IV_Pa4TgyeNMi3o0WDyg/0/public/test_info//logcat-emulator-5554.log:

11-14 21:21:01.923   763   781 W GeckoConsole: [JavaScript Warning: "Content Security Policy: Referrer Directive ‘no-referrer’ has been deprecated. Please use the Referrer-Policy header instead."]
11-14 21:21:02.132   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:02.362   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:02.612   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:05.232   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:05.662   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:05.943   763   781 W GeckoConsole: [JavaScript Warning: "Loading mixed (insecure) active content “http://example.com/tests/dom/security/test/csp/referrerdirective.sjs?type=downgrade&†on a secure page" {file: "http://mochi.test:8888/tests?autorun=1&closeWhenDone=1&logFile=%2Fstorage%2Fsdcard%2Ftests%2Flogs%2Fmochitest.log&fileLevel=INFO&consoleLevel=INFO&hideResultsTable=1&manifestFile=tests.json&dumpOutputDirectory=%2Fstorage%2Fsdcard%2Ftests" line: 0}]
11-14 21:21:13.242   763   781 I Gecko   : [763] ###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file /home/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr.h, line 414
See Also: → 1318078
See Also: → 1318584
Assignee: kate+bugzilla → nobody
Priority: P1 → P2
The leave-open keyword is there and there is no activity for 6 months.
:ckerschb, maybe it's time to close this bug?
Flags: needinfo?(ckerschb)
(In reply to Release mgmt bot [:sylvestre / :calixte] from comment #17)
> The leave-open keyword is there and there is no activity for 6 months.
> :ckerschb, maybe it's time to close this bug?

Indeed, HSTS Priming was removed within Bug 1424917 which renders this bug to become invalid.
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(ckerschb)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: