RESOLVED FIXED 213046
Improve url-setters.html WPT test
https://bugs.webkit.org/show_bug.cgi?id=213046
Summary Improve url-setters.html WPT test
Rob Buis
Reported 2020-06-10 13:21:08 PDT
Improve url-setters.html WPT test by testing for failure that can occur when setting host or hostname [1]. [1] https://url.spec.whatwg.org/#host-state
Attachments
Patch (16.16 KB, patch)
2020-06-10 13:22 PDT, Rob Buis
no flags
Patch (16.54 KB, patch)
2020-06-11 00:20 PDT, Rob Buis
no flags
Patch (16.11 KB, patch)
2020-06-11 01:55 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2020-06-10 13:22:52 PDT
Darin Adler
Comment 2 2020-06-10 14:53:01 PDT
Comment on attachment 401575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401575&action=review > Source/WebCore/html/URLDecomposition.cpp:128 > + if (fullURL.isValid()) > + setFullURL(fullURL); Can we put this check inside the setFullURL function? Does something fail if we do that?
Rob Buis
Comment 3 2020-06-11 00:20:40 PDT
Rob Buis
Comment 4 2020-06-11 01:55:04 PDT
EWS
Comment 5 2020-06-11 02:41:38 PDT
Committed r262900: <https://trac.webkit.org/changeset/262900> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401628 [details].
Radar WebKit Bug Importer
Comment 6 2020-06-11 02:42:19 PDT
Rob Buis
Comment 7 2020-06-11 05:45:53 PDT
Comment on attachment 401575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401575&action=review >> Source/WebCore/html/URLDecomposition.cpp:128 >> + setFullURL(fullURL); > > Can we put this check inside the setFullURL function? Does something fail if we do that? I tried, but it breaks one test. I propose we add these checks as needed.
Note You need to log in before you can comment on or make changes to this bug.