Chromium Code Reviews
Descriptionbindings: Removes a wrong ASSERT: Exception must be thrown across origins.
It's a wrong assumption that an exception should be thrown across origins
if the exception is thrown when we're creating a DOM wrapper for Location.
It's wrong because
1) Even if it's cross origins, we should be able to create a DOM wrapper
for Location in general because Location is cross-origin-accessible.
2) Even if it's same origins, it's possible that an exception will be
thrown due to the runtime error, such as OOM.
Thus, removes the wrong ASSERT at
DOMWindow::sanitizedCrossDomainAccessErrorMessage
BUG=594919
Committed: https://crrev.com/3174947e46175db49b0fae95863c79cac5f6ba4e
Cr-Commit-Position: refs/heads/master@{#382841}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
||||||||||||||||||||||||||||