WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
282971
XML document doesn't dispatch a load event to the opener window
https://bugs.webkit.org/show_bug.cgi?id=282971
Summary
XML document doesn't dispatch a load event to the opener window
Fujii Hironori
Reported
2024-11-11 22:58:33 PST
1. Load
https://wpt.live/scroll-to-text-fragment/non-html-documents.html
2. Click and close popup windows 5 times Actual: The test finshes Expected: The test never finsh
Attachments
test.zip
(1.17 KB, application/x-zip-compressed)
2024-11-14 12:01 PST
,
Fujii Hironori
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fujii Hironori
Comment 1
2024-11-11 23:00:34 PST
Actual: The test never finish Expected: The test finishes
Radar WebKit Bug Importer
Comment 2
2024-11-14 06:40:37 PST
<
rdar://problem/139874634
>
Ahmad Saleem
Comment 3
2024-11-14 07:01:02 PST
https://wicg.github.io/scroll-to-text-fragment/#restricting-the-text-fragment
^ Web Specification. "A text directive allowing MIME type is a MIME type whose essence is "text/html" or "text/plain"."
Fujii Hironori
Comment 4
2024-11-14 12:01:53 PST
Created
attachment 473230
[details]
test.zip This problem is reproducible without scroll-to-text-fragment.
Fujii Hironori
Comment 5
2025-02-25 19:31:15 PST
<
https://wpt.live/scroll-to-text-fragment/resources/application-xml.xml
> is loaded in the XML tree viewer mode.
https://github.com/WebKit/WebKit/blob/e8b5a96a502af832d998c10ba8a4043acd970a73/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp#L1374
That's the reason why load event isn't dispatched.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug