function crossProcessHistoryIFrame() {
          expect([
            { label: "a-onBeforeNavigate",
              event: "onBeforeNavigate",
              details: { frameId: 0,
                         parentFrameId: -1,
                         processId: -1,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onCommitted",
              event: "onCommitted",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "link",
                         url: getURL('h.html') }},
            { label: "a-onDOMContentLoaded",
              event: "onDOMContentLoaded",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onCompleted",
              event: "onCompleted",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onHistoryStateUpdated",
              event: "onHistoryStateUpdated",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "link",
                         url: getURL('empty.html') }},
            { label: "b-onBeforeNavigate",
              event: "onBeforeNavigate",
              details: { frameId: 1,
                         parentFrameId: 0,
                         processId: -1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }},
            { label: "b-onCommitted",
              event: "onCommitted",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "auto_subframe",
                         url: URL_TEST + "5" }},
            { label: "b-onDOMContentLoaded",
              event: "onDOMContentLoaded",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }},
            { label: "b-onCompleted",
              event: "onCompleted",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }}],
            [ navigationOrder("a-"), navigationOrder("b-"),
              [ "a-onCompleted", "b-onBeforeNavigate",
                "a-onHistoryStateUpdated"] ]);

          chrome.tabs.update(
              tabId,
              { url: getURL('h.html?' +
                            config.testServer.port) });
        }
// history.pushState before the iframe is committed.
history.pushState before the iframe is committed.
history . pushState before the iframe is committed .
function crossProcessHistoryIFrame() {
          expect([
            { label: "a-onBeforeNavigate",
              event: "onBeforeNavigate",
              details: { frameId: 0,
                         parentFrameId: -1,
                         processId: -1,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onCommitted",
              event: "onCommitted",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "link",
                         url: getURL('h.html') }},
            { label: "a-onDOMContentLoaded",
              event: "onDOMContentLoaded",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onCompleted",
              event: "onCompleted",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         url: getURL('h.html') }},
            { label: "a-onHistoryStateUpdated",
              event: "onHistoryStateUpdated",
              details: { frameId: 0,
                         processId: 0,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "link",
                         url: getURL('empty.html') }},
            { label: "b-onBeforeNavigate",
              event: "onBeforeNavigate",
              details: { frameId: 1,
                         parentFrameId: 0,
                         processId: -1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }},
            { label: "b-onCommitted",
              event: "onCommitted",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         transitionQualifiers: [],
                         transitionType: "auto_subframe",
                         url: URL_TEST + "5" }},
            { label: "b-onDOMContentLoaded",
              event: "onDOMContentLoaded",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }},
            { label: "b-onCompleted",
              event: "onCompleted",
              details: { frameId: 1,
                         processId: 1,
                         tabId: 0,
                         timeStamp: 0,
                         url: URL_TEST + "5" }}],
            [ navigationOrder("a-"), navigationOrder("b-"),
              [ "a-onCompleted", "b-onBeforeNavigate",
                "a-onHistoryStateUpdated"] ]);
          chrome.tabs.update(
              tabId,
              { url: getURL('h.html?' +
                            config.testServer.port) });
        }
function crossProcessHistoryIFrame ( ) { expect ( [ { label : "a-onBeforeNavigate" , event : "onBeforeNavigate" , details : { frameId : 0 , parentFrameId : - 1 , processId : - 1 , tabId : 0 , timeStamp : 0 , url : getURL ( 'h.html' ) } } , { label : "a-onCommitted" , event : "onCommitted" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , transitionQualifiers : [ ] , transitionType : "link" , url : getURL ( 'h.html' ) } } , { label : "a-onDOMContentLoaded" , event : "onDOMContentLoaded" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , url : getURL ( 'h.html' ) } } , { label : "a-onCompleted" , event : "onCompleted" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , url : getURL ( 'h.html' ) } } , { label : "a-onHistoryStateUpdated" , event : "onHistoryStateUpdated" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , transitionQualifiers : [ ] , transitionType : "link" , url : getURL ( 'empty.html' ) } } , { label : "b-onBeforeNavigate" , event : "onBeforeNavigate" , details : { frameId : 1 , parentFrameId : 0 , processId : - 1 , tabId : 0 , timeStamp : 0 , url : URL_TEST + "5" } } , { label : "b-onCommitted" , event : "onCommitted" , details : { frameId : 1 , processId : 1 , tabId : 0 , timeStamp : 0 , transitionQualifiers : [ ] , transitionType : "auto_subframe" , url : URL_TEST + "5" } } , { label : "b-onDOMContentLoaded" , event : "onDOMContentLoaded" , details : { frameId : 1 , processId : 1 , tabId : 0 , timeStamp : 0 , url : URL_TEST + "5" } } , { label : "b-onCompleted" , event : "onCompleted" , details : { frameId : 1 , processId : 1 , tabId : 0 , timeStamp : 0 , url : URL_TEST + "5" } } ] , [ navigationOrder ( "a-" ) , navigationOrder ( "b-" ) , [ "a-onCompleted" , "b-onBeforeNavigate" , "a-onHistoryStateUpdated" ] ] ) ; chrome . tabs . update ( tabId , { url : getURL ( 'h.html?' + config . testServer . port ) } ) ; }
history.pushState before the iframe is committed.
history . pushState before the iframe is committed .