Chromium Code Reviews
DescriptionPlzNavigate: fix timing issue in app window creation
This CL fixes a timing bug in which a newly created app window would try to
register a ScriptContext before being told to commit a navigation. This would
result in an incorrect frame url being passed to the ScriptContextSet, and a
wrong ContextType to be computed from it. With this CL, when browser-side
navigation is enabled, sending the response to the app.window.create is
deferred until the navigation in the newly created frame is ready to commit.
BUG=504347
Committed: https://crrev.com/efca29ea8d6161c50c7e289f8d5ed7b33723bc41
Cr-Commit-Position: refs/heads/master@{#349290}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 8
Patch Set 4 : Addressed Nasko's comments #
Total comments: 16
Patch Set 5 : Addressed comments #
Total comments: 4
Patch Set 6 : Addressed nits #Messages
Total messages: 14 (3 generated)
|