[Webkit-unassigned] [Bug 268137] New: Change document.documentURI and document.URL to match web specification

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 25 19:17:34 PST 2024


https://bugs.webkit.org/show_bug.cgi?id=268137

            Bug ID: 268137
           Summary: Change document.documentURI and document.URL to match
                    web specification
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

hi Team,

While going through Blink's commit, I came across potential clean-up and at the same time failing test case:

Test Case: https://jsfiddle.net/jyxnf2rd/show

^ Chrome Canary 123 passes all while Firefox Nightly 124 fails few.

Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&revision=193066

WebKit Source: https://searchfox.org/wubkat/rev/66bf68c9f4593eecb8dc370eb0761cb7a0e1ae77/Source/WebCore/dom/Document.cpp#637

Minibrowser fails following:

FAIL testWindow.location.host = 'c' should be c. Threw exception SyntaxError: Invalid URL
FAIL testWindow.location.hostname = 'd' should be d. Threw exception SyntaxError: Invalid URL
FAIL testWindow.location.port = 'e' should be e. Threw exception SyntaxError: Invalid URL
FAIL testWindow.location.pathname = 'f' should be f. Threw exception SyntaxError: Invalid URL
FAIL testWindow.location.search = 'g' should be g. Threw exception SyntaxError: Invalid URL

__

Just wanted to raise to align with other browser as needed or fix as needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240126/3799e26f/attachment-0001.htm>


More information about the webkit-unassigned mailing list