Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau draft
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 03 Aug 2017 14:54:09 +0200
changeset 620471 c1eeedc71e3c01041364f6c8f6d7e97dafe008e2
parent 620433 0c2636114a2a44017b0f8af749025d7465cfb906
child 640695 403c769bed997db1723e968ddd8956a5117f9a4c
push id72038
push userjdescottes@mozilla.com
push dateThu, 03 Aug 2017 12:54:34 +0000
reviewersochameau
bugs1386357
milestone56.0a1
Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau MozReview-Commit-ID: 9ajEa09R0Nb
devtools/client/debugger/new/test/mochitest/head.js
devtools/client/framework/test/browser.ini
--- a/devtools/client/debugger/new/test/mochitest/head.js
+++ b/devtools/client/debugger/new/test/mochitest/head.js
@@ -32,16 +32,17 @@
  * @parent mochitest
  */
 
 // shared-head.js handles imports, constants, and utility functions
 Services.scriptloader.loadSubScript(
   "chrome://mochitests/content/browser/devtools/client/framework/test/shared-head.js",
   this
 );
+// yolo
 var { Toolbox } = require("devtools/client/framework/toolbox");
 const EXAMPLE_URL =
   "http://example.com/browser/devtools/client/debugger/new/test/mochitest/examples/";
 
 Services.prefs.setBoolPref("devtools.debugger.new-debugger-frontend", true);
 
 registerCleanupFunction(() => {
   Services.prefs.clearUserPref("devtools.debugger.new-debugger-frontend");
--- a/devtools/client/framework/test/browser.ini
+++ b/devtools/client/framework/test/browser.ini
@@ -37,16 +37,17 @@ support-files =
   doc_theme.css
   doc_viewsource.html
   browser_toolbox_options_enable_serviceworkers_testing_frame_script.js
   browser_toolbox_options_enable_serviceworkers_testing.html
   serviceworker.js
   sjs_code_reload.sjs
   sjs_code_bundle_reload_map.sjs
   test_browser_toolbox_debugger.js
+  !/devtools/client/debugger/new/test/mochitest/head.js
 
 [browser_browser_toolbox.js]
 [browser_browser_toolbox_debugger.js]
 skip-if = debug # Bug 1282269
 [browser_devtools_api.js]
 [browser_devtools_api_destroy.js]
 [browser_devtools_shim.js]
 [browser_dynamic_tool_enabling.js]