B2G/gecko/dom/browser-element/mochitest/browserElement_Alert.js
// test2 is a mozbrowsershowmodalprompt listener.
test2 is a mozbrowsershowmodalprompt listener.
test2 is a mozbrowsershowmodalprompt listener .
function test2(e) {
  iframe.removeEventListener("mozbrowsershowmodalprompt", test2);
  is(e.detail.message, 'Hello, world!');
  e.preventDefault(); 
  SimpleTest.executeSoon(function() { test2a(e); });
}
function test2 ( e ) { iframe . removeEventListener ( "mozbrowsershowmodalprompt" , test2 ) ; is ( e . detail . message , 'Hello, world!' ) ; e . preventDefault ( ) ; SimpleTest . executeSoon ( function ( ) { test2a ( e ) ; } ) ; }
test2 is a mozbrowsershowmodalprompt listener.
test2 is a mozbrowsershowmodalprompt listener .
// cause the alert to block.