Skip to content

Set the fragment scripting mode based on the context document#12266

Open
noamr wants to merge 1 commit intowhatwg:mainfrom
noamr:frag-scripting
Open

Set the fragment scripting mode based on the context document#12266
noamr wants to merge 1 commit intowhatwg:mainfrom
noamr:frag-scripting

Conversation

@noamr
Copy link
Collaborator

@noamr noamr commented Mar 16, 2026

This applies, for example, when the fragment is created in a sandboxed iframe without allow-scripts (accessed from the outside by allow-same-origin).

Closes #12254

(See WHATWG Working Mode: Changes for more details.)


/parsing.html ( diff )

@noamr noamr requested a review from annevk March 18, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

"Scripting is enabled" is incorrect for fragment parsing

1 participant