function srcdoc() {
        expect([
          { label: "a-onBeforeNavigate",
            event: "onBeforeNavigate",
            details: { frameId: 0,
                       parentFrameId: -1,
                       processId: -1,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "a-onCommitted",
            event: "onCommitted",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       transitionQualifiers: [],
                       transitionType: "link",
                       url: getURL('a.html') }},
          { label: "a-onDOMContentLoaded",
            event: "onDOMContentLoaded",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "a-onCompleted",
            event: "onCompleted",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "b-onBeforeNavigate",
            event: "onBeforeNavigate",
            details: { frameId: 1,
                       parentFrameId: 0,
                       processId: -1,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }},
          { label: "b-onCommitted",
            event: "onCommitted",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       transitionQualifiers: [],
                       transitionType: "auto_subframe",
                       url: 'about:srcdoc' }},
          { label: "b-onDOMContentLoaded",
            event: "onDOMContentLoaded",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }},
          { label: "b-onCompleted",
            event: "onCompleted",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }}],
          [ navigationOrder("a-"),
            navigationOrder("b-"),
            isIFrameOf("b-", "a-")]);
        chrome.tabs.update(tabId, { url: getURL('a.html') });
      }
// Navigates to a.html which includes an iframe with a srcdoc attribute.
Navigates to a.html which includes an iframe with a srcdoc attribute.
Navigates to a . html which includes an iframe with a srcdoc attribute .
function srcdoc() {
        expect([
          { label: "a-onBeforeNavigate",
            event: "onBeforeNavigate",
            details: { frameId: 0,
                       parentFrameId: -1,
                       processId: -1,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "a-onCommitted",
            event: "onCommitted",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       transitionQualifiers: [],
                       transitionType: "link",
                       url: getURL('a.html') }},
          { label: "a-onDOMContentLoaded",
            event: "onDOMContentLoaded",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "a-onCompleted",
            event: "onCompleted",
            details: { frameId: 0,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: getURL('a.html') }},
          { label: "b-onBeforeNavigate",
            event: "onBeforeNavigate",
            details: { frameId: 1,
                       parentFrameId: 0,
                       processId: -1,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }},
          { label: "b-onCommitted",
            event: "onCommitted",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       transitionQualifiers: [],
                       transitionType: "auto_subframe",
                       url: 'about:srcdoc' }},
          { label: "b-onDOMContentLoaded",
            event: "onDOMContentLoaded",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }},
          { label: "b-onCompleted",
            event: "onCompleted",
            details: { frameId: 1,
                       processId: 0,
                       tabId: 0,
                       timeStamp: 0,
                       url: 'about:srcdoc' }}],
          [ navigationOrder("a-"),
            navigationOrder("b-"),
            isIFrameOf("b-", "a-")]);
        chrome.tabs.update(tabId, { url: getURL('a.html') });
      }
function srcdoc ( ) { expect ( [ { label : "a-onBeforeNavigate" , event : "onBeforeNavigate" , details : { frameId : 0 , parentFrameId : - 1 , processId : - 1 , tabId : 0 , timeStamp : 0 , url : getURL ( 'a.html' ) } } , { label : "a-onCommitted" , event : "onCommitted" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , transitionQualifiers : [ ] , transitionType : "link" , url : getURL ( 'a.html' ) } } , { label : "a-onDOMContentLoaded" , event : "onDOMContentLoaded" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , url : getURL ( 'a.html' ) } } , { label : "a-onCompleted" , event : "onCompleted" , details : { frameId : 0 , processId : 0 , tabId : 0 , timeStamp : 0 , url : getURL ( 'a.html' ) } } , { label : "b-onBeforeNavigate" , event : "onBeforeNavigate" , details : { frameId : 1 , parentFrameId : 0 , processId : - 1 , tabId : 0 , timeStamp : 0 , url : 'about:srcdoc' } } , { label : "b-onCommitted" , event : "onCommitted" , details : { frameId : 1 , processId : 0 , tabId : 0 , timeStamp : 0 , transitionQualifiers : [ ] , transitionType : "auto_subframe" , url : 'about:srcdoc' } } , { label : "b-onDOMContentLoaded" , event : "onDOMContentLoaded" , details : { frameId : 1 , processId : 0 , tabId : 0 , timeStamp : 0 , url : 'about:srcdoc' } } , { label : "b-onCompleted" , event : "onCompleted" , details : { frameId : 1 , processId : 0 , tabId : 0 , timeStamp : 0 , url : 'about:srcdoc' } } ] , [ navigationOrder ( "a-" ) , navigationOrder ( "b-" ) , isIFrameOf ( "b-" , "a-" ) ] ) ; chrome . tabs . update ( tabId , { url : getURL ( 'a.html' ) } ) ; }
Navigates to a.html which includes an iframe with a srcdoc attribute.
Navigates to a . html which includes an iframe with a srcdoc attribute .