Bug 252392

Summary: Ignore document.write() calls from scripts executed from HTML imports
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cdumez, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

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>