[webkit-reviews] review granted: [Bug 179107] Assert that NoEventDispatchAssertion is not in the stack when executing a script : [Attachment 325554] Adds assertion

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 1 10:52:40 PDT 2017


Simon Fraser (smfr) <simon.fraser at apple.com> has granted Ryosuke Niwa
<rniwa at webkit.org>'s request for review:
Bug 179107: Assert that NoEventDispatchAssertion is not in the stack when
executing a script
https://bugs.webkit.org/show_bug.cgi?id=179107

Attachment 325554: Adds assertion

https://bugs.webkit.org/attachment.cgi?id=325554&action=review




--- Comment #5 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 325554
  --> https://bugs.webkit.org/attachment.cgi?id=325554
Adds assertion

View in context: https://bugs.webkit.org/attachment.cgi?id=325554&action=review

> Source/WebCore/bindings/js/ScriptController.cpp:681
> +	  
ASSERT_WITH_SECURITY_IMPLICATION(NoEventDispatchAssertion::isEventAllowedInMain
Thread());

Please add a blank line after this.


More information about the webkit-reviews mailing list