mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Auto merge of #13422 - SecurityInsanity:master, r=KiChjang
Make Assign throw error on invalid url Step 2 of: https://html.spec.whatwg.org/multipage/browsers.html#dom-location-assign says we should throw an error. This makes it do that. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13420 (github issue number if applicable). - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13422) <!-- Reviewable:end -->
This commit is contained in:
commit
ef1b594f48
3 changed files with 6 additions and 5 deletions
|
@ -2,7 +2,3 @@
|
|||
type: testharness
|
||||
[location assign]
|
||||
expected: FAIL
|
||||
|
||||
[URL that fails to parse]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue