B2G/gecko/browser/devtools/scratchpad/test/browser_scratchpad_bug_679467_falsy.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 onLoad() {
    gBrowser.selectedBrowser.removeEventListener("load", onLoad, true);
    openScratchpad(testFalsy);
  }, true);
  content.location = "data:text/html,<p>test falsy display() values in Scratchpad";
}
function test ( ) { waitForExplicitFinish ( ) ; gBrowser . selectedTab = gBrowser . addTab ( ) ; gBrowser . selectedBrowser . addEventListener ( "load" , function onLoad ( ) { gBrowser . selectedBrowser . removeEventListener ( "load" , onLoad , true ) ; openScratchpad ( testFalsy ) ; } , true ) ; content . location = "data:text/html,<p>test falsy display() values in Scratchpad" ; }
Any copyright is dedicated to the Public Domain.
Any copyright is dedicated to the Public Domain .