Bug 252392 - Ignore document.write() calls from scripts executed from HTML imports
Summary: Ignore document.write() calls from scripts executed from HTML imports
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-16 05:23 PST by Ahmad Saleem
Modified: 2023-02-23 05:23 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-02-16 05:23:00 PST
Hi Team,

While going through Blink's commit, I came across this potential merge, just wanted to raise to get input (@rniwa) so if needed, I am happy to do PR:

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/1cc310a7dc6709132618e1156ab08fb87799f3b8

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/dom/ScriptElement.cpp#452

___

elementDocument <<< it is just 'document' in WebKit as per Line 447.

___

W3C Bug - https://github.com/WICG/webcomponents/issues/221

Just wanted to raise and get input.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-02-23 05:23:18 PST
<rdar://problem/105829582>