Bug 1638711 - Mark WPTs that incorrectly expect synchronous security checks as failing. r=asuth

Differential Revision: https://phabricator.services.mozilla.com/D77955
This commit is contained in:
Matt Woodrow 2020-06-08 23:18:01 +00:00
Родитель 4ec2ae121c
Коммит 05e188ef7b
3 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -266,6 +266,10 @@ RefPtr<ClientOpPromise> ClientNavigateOpChild::DoNavigate(
/// the spec, but does match the current behavior of both us and Chrome.
/// https://github.com/w3c/ServiceWorker/issues/1500 tracks sorting that
/// out.
/// We now run security checks asynchronously, so these tests now
/// just fail to load rather than hitting this failure path. I've
/// marked them as failing for now until they get fixed to match the
/// spec.
nsPrintfCString err("Invalid URL \"%s\"", aArgs.url().get());
CopyableErrorResult result;
result.ThrowTypeError(err);

Просмотреть файл

@ -30,6 +30,5 @@
if os == "mac": ["PASS", "TIMEOUT", "NOTRUN"]
[Navigating to mixed-content iframe should reject with TypeError]
expected:
if webrender and (os == "linux") and not debug and not fission: ["PASS", "TIMEOUT"]
expected: FAIL

Просмотреть файл

@ -0,0 +1,3 @@
[windowclient-navigate.https.html]
[invalid url (file:///) worker side]
expected: FAIL