-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML: set location.protocol to non-broken-non-functioning schemes #4502
Conversation
See whatwg/url#61 for context. #4412 tests broken schemes.
Notifying @Ms2ger, @ayg, @gsnedders, @jdm, @jgraham, @sideshowbarker, @zcorpan, and @zqzhang. (Learn how reviewing works.) |
The -weird.html is an earlier iteration of the test (excluding data URL tests) that for some reason never completes running in Firefox. I thought I'd include it since it does show differences between the two ways of testing. |
FirefoxTesting revision 4c31b59 All results/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html
/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html
|
ChromeTesting revision 4c31b59 All results/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html
/html/browsers/history/the-location-interface/location-protocol-setter-non-broken-weird.html
|
'http+x' | ||
].forEach((val, index) => { | ||
async_test((t) => { | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove try/catch; testharness.js will catch the exception.
const frame = document.createElement("iframe") | ||
frame.src = "resources/dummy.html" | ||
frame.onload = t.step_func(() => { | ||
try { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
assert_unreached(e) | ||
} | ||
}) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Include val
in the test name
Thanks, pushed fixes. |
See whatwg/url#61 for context.
#4412 tests broken
schemes.