B2G/gecko/browser/components/tabview/test/browser_tabview_bug587276.js
// below key combination shouldn't trigger actions in tabview UI
below key combination shouldn't trigger actions in tabview UI
below key combination shouldn ' t trigger actions in tabview UI
function test8() {
  showTabView(function() {
    is(gBrowser.tabs.length, 2, "There are two tabs before cmd/ctrl + w is pressed");
    EventUtils.synthesizeKey("w", { accelKey: true }, contentWindow);
    is(gBrowser.tabs.length, 2, "There are two tabs after cmd/ctrl + w is pressed");
    gBrowser.removeTab(gBrowser.tabs[1]);
    test9();
  });
}
function test8 ( ) { showTabView ( function ( ) { is ( gBrowser . tabs . length , 2 , "There are two tabs before cmd/ctrl + w is pressed" ) ; EventUtils . synthesizeKey ( "w" , { accelKey : true } , contentWindow ) ; is ( gBrowser . tabs . length , 2 , "There are two tabs after cmd/ctrl + w is pressed" ) ; gBrowser . removeTab ( gBrowser . tabs [ 1 ] ) ; test9 ( ) ; } ) ; }
below key combination shouldn't trigger actions in tabview UI
below key combination shouldn ' t trigger actions in tabview UI