Closed Bug 1606174 Opened 6 years ago Closed 5 years ago

Intermittent /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.keep-scheme.https.html | Mixed-Content: Expects allowed for video-tag to same-https origin and keep-scheme redirection from https context. - assert_equals:...

Categories

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

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

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

Filed by: aiakab [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=282787167&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VgS-qj1nQ4iPNMdC0cfe8w/runs/0/artifacts/public/logs/live_backing.log


[task 2019-12-27T22:50:53.189Z] 22:50:53 INFO - TEST-OK | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-http.swap-scheme.https.html | took 755ms
[task 2019-12-27T22:50:53.190Z] 22:50:53 INFO - TEST-START | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.keep-scheme.https.html
[task 2019-12-27T22:50:53.204Z] 22:50:53 INFO - Closing window 30
[task 2019-12-27T22:50:56.828Z] 22:50:56 INFO -
[task 2019-12-27T22:50:56.830Z] 22:50:56 INFO - TEST-UNEXPECTED-FAIL | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.keep-scheme.https.html | Mixed-Content: Expects allowed for video-tag to same-https origin and keep-scheme redirection from https context. - assert_equals: The resource request should be 'allowed'. expected "allowed" but got "blocked"
[task 2019-12-27T22:50:56.830Z] 22:50:56 INFO - checkResult/<@https://web-platform.test:8443/mixed-content/generic/test-case.sub.js:30:24
[task 2019-12-27T22:50:57.178Z] 22:50:57 INFO - TEST-OK | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.keep-scheme.https.html | took 3985ms
[task 2019-12-27T22:50:58.414Z] 22:50:58 INFO - Closing logging queue
[task 2019-12-27T22:50:58.414Z] 22:50:58 INFO - queue closed
[task 2019-12-27T22:50:58.422Z] 22:50:58 INFO - Setting up ssl
[task 2019-12-27T22:50:58.610Z] 22:50:58 INFO - certutil |
[task 2019-12-27T22:50:58.686Z] 22:50:58 INFO - certutil |
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO - certutil |
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO - Certificate Nickname Trust Attributes
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO - SSL,S/MIME,JAR/XPI
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO -
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO - web-platform-tests CT,,
[task 2019-12-27T22:50:58.702Z] 22:50:58 INFO -
[task 2019-12-27T22:51:01.457Z] 22:51:01 INFO - adb Granting important runtime permissions to org.mozilla.geckoview.test
[task 2019-12-27T22:51:03.022Z] 22:51:03 INFO - adb launch_application: am start -W -n org.mozilla.geckoview.test/org.mozilla.geckoview.test.TestRunnerActivity -a android.intent.action.MAIN --es env9 MOZ_DISABLE_NONLOCAL_CONNECTIONS=1 --es env8 R_LOG_DESTINATION=stderr --es args "-no-remote -profile /sdcard/tests/profile --marionette about:blank" --es env3 MOZ_HIDE_RESULTS_TABLE=1 --es env2 R_LOG_VERBOSE=1 --es env1 MOZ_WEBRENDER=0 --es env0 MOZ_CRASHREPORTER=1 --es env7 MOZ_CRASHREPORTER_SHUTDOWN=1 --es env6 MOZ_IN_AUTOMATION=1 --es env5 MOZ_LOG=signaling:3,mtransport:4,DataChannel:4,jsep:4 --es env4 STYLO_THREADS=4 --ez use_multiprocess True --es env12 R_LOG_LEVEL=6 --es env11 MOZ_PROCESS_LOG=/tmp/tmpf7wTwapidlog --es env10 MOZ_CRASHREPORTER_NO_REPORT=1
[task 2019-12-27T22:51:04.705Z] 22:51:04 INFO - Starting runner
[task 2019-12-27T22:51:04.812Z] 22:51:04 INFO - TEST-START | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.no-redirect.https.html
[task 2019-12-27T22:51:05.499Z] 22:51:05 INFO - .
[task 2019-12-27T22:51:05.499Z] 22:51:05 INFO - TEST-OK | /mixed-content/gen/top.http-rp/opt-in/video-tag/same-https.no-redirect.https.html | took 690ms
[task 2019-12-27T22:51:06.590Z] 22:51:06 INFO - Closing logging queue
[task 2019-12-27T22:51:06.590Z] 22:51:06 INFO - queue closed
[task 2019-12-27T22:51:06.606Z] 22:51:06 INFO - Setting up ssl
[task 2019-12-27T22:51:06.710Z] 22:51:06 INFO - certutil |
[task 2019-12-27T22:51:06.786Z] 22:51:06 INFO - certutil |
[task 2019-12-27T22:51:06.801Z] 22:51:06 INFO - certutil |
[task 2019-12-27T22:51:06.801Z] 22:51:06 INFO - Certificate Nickname Trust Attributes
[task 2019-12-27T22:51:06.801Z] 22:51:06 INFO - SSL,S/MIME,JAR/XPI
[task 2019-12-27T22:51:06.801Z] 22:51:06 INFO -
[task 2019-12-27T22:51:06.801Z] 22:51:06 INFO - web-platform-tests CT,,

Whiteboard: [domsecurity-intermittent]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE

The word "script" in the message means that the specific non-https resource that was blocked from loading in this case was of type "script". Why exactly that non-https resource request was generated in the first place is not covered in the error message...

Most browsers will block http resources from loading on https sites now. Best practice is https for everything (main site and all things loaded by that site).

To track down where that http call is coming from...

open your browser dev tools
clear cookies
go to "network" tab and disable cache
refresh page and look for the blocked request
the network panel will usually show an "initiator" column that tells you which script/file initiated the call. Might be index.html, might be some other script. If you don't see the column it might be hidden and right clicking on the column headings area may allow you to choose which columns are shown.
https://grasscarpetsdubai.com/

You need to log in before you can comment on or make changes to this bug.