| Summary: | Improve url-setters.html WPT test | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Rob Buis <rbuis> | ||||||||
| Component: | New Bugs | Assignee: | Rob Buis <rbuis> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | cdumez, changseok, darin, esprehn+autocc, ews-watchlist, gyuyoung.kim, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | Safari Technology Preview | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Rob Buis
2020-06-10 13:21:08 PDT
Created attachment 401575 [details]
Patch
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? Created attachment 401625 [details]
Patch
Created attachment 401628 [details]
Patch
Committed r262900: <https://trac.webkit.org/changeset/262900> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401628 [details]. 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. |