mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
script: Strip javascript
URL scheme using Position::AfterScheme
rather than Position::BeforePath
(#38599)
This makes the initial split match step 2 of https://html.spec.whatwg.org/multipage/browsing-the-web.html#evaluate-a-javascript%3A-url. Testing: Covered by WPT tests. Fixes: #38547 --------- Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
parent
be5e7a982b
commit
b747589286
4 changed files with 8 additions and 6 deletions
|
@ -1,4 +0,0 @@
|
|||
[javascript-urls.window.html]
|
||||
expected: ERROR
|
||||
[javascript: URL without an opaque path]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue