B2G/gecko/browser/base/content/test/browser_bug647886.js
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .
function test() {
  waitForExplicitFinish();
  gBrowser.selectedTab = gBrowser.addTab();
  gBrowser.selectedBrowser.addEventListener("load", function () {
    gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true);
    content.history.pushState({}, "2", "2.html");
    testBackButton();
  }, true);
  loadURI("http://example.com");
}
function test ( ) { waitForExplicitFinish ( ) ; gBrowser . selectedTab = gBrowser . addTab ( ) ; gBrowser . selectedBrowser . addEventListener ( "load" , function ( ) { gBrowser . selectedBrowser . removeEventListener ( "load" , arguments . callee , true ) ; content . history . pushState ( { } , "2" , "2.html" ) ; testBackButton ( ) ; } , true ) ; loadURI ( "http://example.com" ) ; }
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .