B2G/gecko/browser/devtools/scratchpad/test/browser_scratchpad_bug_651942_recent_files.js
// and that the other files were reordered successfully.
and that the other files were reordered successfully.
and that the other files were reordered successfully .
function testOverwriteRecent()
{
  lists.recentFiles02 = gScratchpad.getRecentFiles();
  is(lists.recentFiles02[0], lists.recentFiles01[1],
     "File02 was reordered successfully in the 'recent files'-list.");
  is(lists.recentFiles02[1], lists.recentFiles01[2],
     "File03 was reordered successfully in the 'recent files'-list.");
  isnot(lists.recentFiles02[2], lists.recentFiles01[2],
        "File04: was added successfully.");
  gScratchpad.openFile(0);
}
function testOverwriteRecent ( ) { lists . recentFiles02 = gScratchpad . getRecentFiles ( ) ; is ( lists . recentFiles02 [ 0 ] , lists . recentFiles01 [ 1 ] , "File02 was reordered successfully in the 'recent files'-list." ) ; is ( lists . recentFiles02 [ 1 ] , lists . recentFiles01 [ 2 ] , "File03 was reordered successfully in the 'recent files'-list." ) ; isnot ( lists . recentFiles02 [ 2 ] , lists . recentFiles01 [ 2 ] , "File04: was added successfully." ) ; gScratchpad . openFile ( 0 ) ; }
and that the other files were reordered successfully.
and that the other files were reordered successfully .
// Open the oldest recent file.