Bug 783810 - Intermittent browser_dbg_location-changes-new.js | There should be a selected script, | The source editor should have some text displayed, | The menulist should not display a notice that there are no scripts availalble, | The menulist should have a too... - r=robcee
authorVictor Porof <vporof@mozilla.com>
Wed, 29 Aug 2012 03:17:18 +0300
changeset 103887 6f51a780a6e607d53c4c6b0d5d79d0d200c383bf
parent 103886 765c575daef9661baa14316101f34a61fd6890d7
child 103888 a1adb4d46c3f7affad1cfd3ddfb22044fee16733
push id23382
push uservporof@mozilla.com
push dateThu, 30 Aug 2012 18:43:24 +0000
treeherdermozilla-central@ee7a3bddfe5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrobcee
bugs783810
milestone17.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 783810 - Intermittent browser_dbg_location-changes-new.js | There should be a selected script, | The source editor should have some text displayed, | The menulist should not display a notice that there are no scripts availalble, | The menulist should have a too... - r=robcee
browser/devtools/debugger/test/browser_dbg_location-changes-new.js
--- a/browser/devtools/debugger/test/browser_dbg_location-changes-new.js
+++ b/browser/devtools/debugger/test/browser_dbg_location-changes-new.js
@@ -54,17 +54,17 @@ function testSimpleCall() {
 
 function testLocationChange()
 {
   gDebugger.DebuggerController.activeThread.resume(function() {
     gDebugger.DebuggerController.client.addOneTimeListener("tabNavigated", function(aEvent, aPacket) {
       ok(true, "tabNavigated event was fired.");
       info("Still attached to the tab.");
 
-      gDebugger.addEventListener("Debugger:AfterScriptsAdded", function _onEvent(aEvent) {
+      gDebugger.addEventListener("Debugger:AfterNewScript", function _onEvent(aEvent) {
         gDebugger.removeEventListener(aEvent.type, _onEvent);
 
         isnot(gDebugger.DebuggerView.Scripts.selected, null,
           "There should be a selected script.");
         isnot(gDebugger.editor.getText().length, 0,
           "The source editor should have some text displayed.");
 
         let menulist = gDebugger.DebuggerView.Scripts._scripts;