DescriptionImplement <extensionoptions> deferred attach logic
Due to how the browser plugin is created, it is possible for the
<extensionoptions> element to attempt to attach to the embedder before
the browser plugin has bindings. This occurs when an ExtensionOptions object
gets an extension id and creates a guest, but has not yet been added
to the DOM. Use the deferred attach logic from <webview> so that if this
case occurs, wait until the browser plugin gets its bindings before
trying to attach the guest view.
BUG=386838
Committed: https://crrev.com/617e4fc4f9be2bb575d1a5161272f13abe625788
Cr-Commit-Position: refs/heads/master@{#292215}
Patch Set 1 #Patch Set 2 : Fix comment #
Total comments: 7
Patch Set 3 : Refactor deferred attach logic #Patch Set 4 : Change test timeout duration and add explanation #Patch Set 5 : Rebase #Patch Set 6 : Refactor all attachment logic #Patch Set 7 : Remove old tests #Messages
Total messages: 15 (0 generated)
|