forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework mixed content tests. (web-platform-tests#7938)
* Rework mixed content tests. 1. The existing `iframe` and `form` tests both rely on `<iframe>` elements generating `error` events. That doesn't actually happen. This patch drops those tests; I'll rewrite them in a subsequent patch. 2. The test runner didn't properly wrap function calls with `step_func()`, which caused some errors to go unseen, as they weren't happening in the test's context. 3. Dropping audio and video samples to lowest common denominator types (wav and ogv) in the hopes of executing in a wider range of test harnesses. 4. Renamed the tests to lead with the type rather than the expected result, which makes it easier to find systemic issues like the above. Change-Id: Iab396d87150578f444039c425dbaa794298c38a7 Reviewed-on: https://chromium-review.googlesource.com/732116 Reviewed-by: Andy Paicu <[email protected]> Commit-Queue: Mike West <[email protected]> Cr-Commit-Position: refs/heads/master@{#510774} * fixup drop 'smallest.wav', as Firefox can't parse it.
- Loading branch information
1 parent
63feac3
commit 970d46e
Showing
385 changed files
with
43 additions
and
1,582 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
...lowed/http-csp/same-host-https/form-tag/top-level/keep-scheme-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...ontent/allowed/http-csp/same-host-https/form-tag/top-level/no-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...wed/http-csp/same-host-https/iframe-tag/top-level/keep-scheme-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...tent/allowed/http-csp/same-host-https/iframe-tag/top-level/no-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../same-host-https/worker-request/top-level/keep-scheme-redirect/allowed.https.html.headers
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
.../http-csp/same-host-https/worker-request/top-level/no-redirect/allowed.https.html.headers
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...csp/same-host-https/xhr-request/top-level/keep-scheme-redirect/allowed.https.html.headers
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...wed/http-csp/same-host-https/xhr-request/top-level/no-redirect/allowed.https.html.headers
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...ontent/allowed/meta-csp/same-host-https/form-tag/top-level/no-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...tent/allowed/meta-csp/same-host-https/iframe-tag/top-level/no-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...owed/no-opt-in/same-host-https/form-tag/top-level/keep-scheme-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...ntent/allowed/no-opt-in/same-host-https/form-tag/top-level/no-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...ed/no-opt-in/same-host-https/iframe-tag/top-level/keep-scheme-redirect/allowed.https.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.