+11
−10
+11
−11
+13
−11
Loading
With the use of multiple content processes in Firefox a navigation command can cause the active framescript to be moved to a different process. This interrupts the currently executed command, and as such needs to be executed again after the framescript has been finished initializing. Currently flushing the pending commands doesn't take into account that the framescript can even be moved multiple times to a different process during a single page navigation. As such all pending commands are getting removed after the first process move. For navigation commands this means that no page load listeners are attached for subsequent process changes, and navigation commands could never return, and cause a hang of Marionette. To solve the problem the pending commands need to be flushed each time the process changes. They will remove themselves from the list once they have finished processing. Depends on D10998 Differential Revision: https://phabricator.services.mozilla.com/D10999 --HG-- extra : moz-landing-system : lando