Description<webview>: Add test coverage for deferred newwindow attachment.
We can trigger this case by adding a webview that is not in DOM through
newwindow API.
Fix so that deferred attachment would not throw error, this is done by
returning true in attachWindow() method in this case.
BUG=None
Test=Load a <webview> in a chrome app. Make a newwindow request from
that webview. When the newwindow event fires, call e.window.attach
with a <webview> that is not on DOM, this should work as intended,
when the later <webview> is attached to DOM, it should load properly.
Committed: https://crrev.com/ed1bba31ff004bace7b9f479d1e3d75969142fa2
Cr-Commit-Position: refs/heads/master@{#291594}
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|