<rdar://problem/64804893>
Created attachment 402962 [details] proposed patch.
Comment on attachment 402962 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=402962&action=review > Source/WebCore/bridge/objc/WebScriptObject.mm:286 > + bool isSafe = BindingSecurity::shouldAllowAccessToDOMWindow(_private->originRootObject->globalObject(), target->wrapped()); Will remove extra space.
Created attachment 402963 [details] proposed patch.
Comment on attachment 402963 [details] proposed patch. r=me if the bots are happy
Comment on attachment 402963 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=402963&action=review > Source/WebCore/bridge/objc/WebScriptObject.mm:287 > + bool isSafe = BindingSecurity::shouldAllowAccessToDOMWindow(_private->originRootObject->globalObject(), target->wrapped()); > + CLEAR_AND_RETURN_IF_EXCEPTION(scope, false); This call to BindingSecurity::shouldAllowAccessToDOMWindow() will never throw because it uses a default argument SecurityReportingOption = LogSecurityError. I'll change this CLEAR_AND_RETURN_IF_EXCEPTION to an EXCEPTION_ASSERT_UNUSED to assert that no exception is thrown.
Created attachment 402966 [details] patch for landing. Thanks for the review.
Committed r263628: <https://trac.webkit.org/changeset/263628> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402966 [details].