Bug 277571
Summary: | Try calling internals.markContextAsInsecure for not HTTPS WPT tests when run from localhost | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sam Sneddon [:gsnedders] <gsnedders> |
Component: | Tools / Tests | Assignee: | Sam Sneddon [:gsnedders] <gsnedders> |
Status: | NEW | ||
Severity: | Normal | CC: | cdumez, richard_robinson2, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=261038 |
Sam Sneddon [:gsnedders]
Prior to bug 261038 being resolved, we're still running tests on localhost on the Apple ports.
However, localhost is a special case hostname and we should be running them from an insecure context. This causes some bogus failures (and differences between Apple and other ports).
We should try just calling internals.markContextAsInsecure() in this case in testharnessreport.js which should improve the situation for testharness.js tests at least (and reftests are probably less likely to be impacted by secure contexts).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/133092809>
Sam Sneddon [:gsnedders]
Pull request: https://github.com/WebKit/WebKit/pull/31685