Bug 1243991 - Enable browser_eval_in_debugger_stackframe.js in e10s;r=linclark
authorBrian Grinstead <bgrinstead@mozilla.com>
Tue, 22 Mar 2016 14:02:07 -0700
changeset 289909 47ffc2a2f909dd72bc061766d9f0f9b4badd6942
parent 289908 00b9f30c26f434d77919a27ace5daf1e8fd36945
child 289910 1f504df693e94a79b8929e6d91fc5469f2356e43
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark
bugs1243991
milestone48.0a1
Bug 1243991 - Enable browser_eval_in_debugger_stackframe.js in e10s;r=linclark MozReview-Commit-ID: 30i7TnP4gda
devtools/client/webconsole/test/browser.ini
devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js
--- a/devtools/client/webconsole/test/browser.ini
+++ b/devtools/client/webconsole/test/browser.ini
@@ -177,17 +177,16 @@ skip-if = e10s # Bug 1042253 - webconsol
 [browser_console_variables_view.js]
 [browser_console_variables_view_filter.js]
 [browser_console_variables_view_dom_nodes.js]
 [browser_console_variables_view_dont_sort_non_sortable_classes_properties.js]
 [browser_console_variables_view_special_names.js]
 [browser_console_variables_view_while_debugging.js]
 [browser_console_variables_view_while_debugging_and_inspecting.js]
 [browser_eval_in_debugger_stackframe.js]
-skip-if = e10s # Bug 1042253 - webconsole tests disabled with e10s
 [browser_eval_in_debugger_stackframe2.js]
 [browser_jsterm_inspect.js]
 skip-if = e10s && debug && (os == 'win' || os == 'mac') # Bug 1243966
 [browser_longstring_hang.js]
 [browser_output_breaks_after_console_dir_uninspectable.js]
 [browser_output_longstring_expand.js]
 [browser_repeated_messages_accuracy.js]
 [browser_result_format_as_string.js]
--- a/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js
+++ b/devtools/client/webconsole/test/browser_eval_in_debugger_stackframe.js
@@ -76,17 +76,19 @@ function onExecuteFooAndFoo2() {
   executeSoon(() => {
     gJSTerm.clearOutput();
 
     info("openDebugger");
     openDebugger().then(() => {
       gThread.addOneTimeListener("framesadded", onFramesAdded);
 
       info("firstCall()");
-      content.wrappedJSObject.firstCall();
+      ContentTask.spawn(gBrowser.selectedBrowser, {}, function*() {
+        content.wrappedJSObject.firstCall();
+      });
     });
   });
 }
 
 function onFramesAdded() {
   info("onFramesAdded, openConsole() now");
   executeSoon(() =>
     openConsole().then(() =>