DescriptionDisallow script execution in Document::detach().
There's no reason to run scripts here, since unload events have already
run. Allowing scripts here can lead to re-entrant frame detach, which
results in lots of weird edge cases that Blink wouldn't have to handle
otherwise.
BUG=363099, 371084
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184035
Patch Set 1 #
Total comments: 3
Patch Set 2 : Add assert #Patch Set 3 : Only block scripting in Document::detach #Patch Set 4 : Remove superfluous newline #Patch Set 5 : Rebase #
Messages
Total messages: 25 (10 generated)
|