Граф коммитов

1805 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot e3b1b7660f Bug 1517210 - Stop always loading DevTools modules in fresh compartments. r=jandem,nchevobbe
Now, DevTools server is loaded with a custom loader every time we want to debug chrome
resources. We ensure toggling the "invisibleToDebugger" flag on Loader.jsm which itself
propagates to DevTools Sandboxes.

We added calls to force GC in console test to prevent crashes on Windows 7.

Differential Revision: https://phabricator.services.mozilla.com/D20347

--HG--
extra : moz-landing-system : lando
2019-02-19 16:09:48 +00:00
pradeepgangwar d2e475753a Bug 1350740- Make [Learn More] Link of console message unselectable; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D17494

--HG--
extra : moz-landing-system : lando
2019-02-18 09:53:09 +00:00
Brian Hackett 835c889f9f Bug 1526566 - Show console messages in the order in which they executed, r=nchevobbe.
--HG--
extra : rebase_source : d8d5bac84d9854ca7b0ea58e9087db7ac1637468
2019-02-08 14:56:53 -10:00
Brian Hackett f59a4bacc3 Bug 1526832 Part 2 - Use onConsoleAPICall when sending log point messages to the client, r=lsmyth.
--HG--
extra : rebase_source : 130a120fee300d6bcdd62e3b3f0f0115cb7ae3cd
2019-02-10 14:52:20 -10:00
Brian Hackett 13d2f2d73d Bug 1526562 - Specify location correctly in replaying log point messages, r=lsmyth.
--HG--
extra : rebase_source : 2ae37b02c464ab9a69aae32b8eb5c91327880561
2019-02-08 14:43:26 -10:00
Brian Hackett 7b591666d3 Bug 1526561 - Don't show messages with different execution points as repeated, r=nchevobbe.
--HG--
extra : rebase_source : 86eb0ddd1bbf282e8663fdd7a22a2868f5262a1c
2019-02-08 14:38:19 -10:00
Nicolas Chevobbe 919eb7a67a Bug 1514824 - Add an MDN link for cookie/storage warning messages in console; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D18812

--HG--
extra : moz-landing-system : lando
2019-02-15 13:29:26 +00:00
Nicolas Chevobbe e8099d4018 Bug 1527834 - Rename WebConsoleWrapper:hud to WebConsoleWrapper:webConsoleUI; r=bgrins.
This better reflects what the property is (i.e. a
WebConsoleUI instance), and avoid confusion with
the panel's hud (created in webconsole.js).
We take that as an opportunity to clean things up
a bit (e.g. don't access the webConsoleUI through
JsTerm).

Differential Revision: https://phabricator.services.mozilla.com/D19783

--HG--
extra : moz-landing-system : lando
2019-02-15 08:17:43 +00:00
Nicolas Chevobbe 70f91568b0 Bug 1527834 - Rename webconsole-frame.js to webconsole-ui.js; r=bgrins.
We take this as an opportunity to migrate the
file to an ES6 class and remove unused code.

Differential Revision: https://phabricator.services.mozilla.com/D19781

--HG--
rename : devtools/client/webconsole/webconsole-frame.js => devtools/client/webconsole/webconsole-ui.js
extra : moz-landing-system : lando
2019-02-15 08:16:37 +00:00
Patrick Brosset 37ee7ed440 Bug 1527826 - Reflect our github org name change in the m-c code; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D19748

--HG--
extra : moz-landing-system : lando
2019-02-15 09:38:53 +00:00
Nicolas Chevobbe 956a15ad0e Bug 1525682 - Add back the telemetry probe monitoring the error messages issued by SpiderMonkey. r=miker
This patch adds the DEVTOOLS_JAVASCRIPT_ERROR_DISPLAYED telemetry probe
back. It existed in the old frontend and was removed when the old
frontend was removed.
A test is added to ensure this is working correctly (and that we won't
delete it by mistake again in the future).

Differential Revision: https://phabricator.services.mozilla.com/D18930

--HG--
extra : moz-landing-system : lando
2019-02-14 13:48:12 +00:00
Nicolas Chevobbe 5631d74c0a Bug 1525682 - Add `errorMessageName` in ConsoleMessage; r=bgrins.
This will be used in telemetry events. Also,
we add `errorMessageName` in evaluation result packets.
Stubs are generated so they include the new property.

Differential Revision: https://phabricator.services.mozilla.com/D18925

--HG--
extra : moz-landing-system : lando
2019-02-11 17:22:12 +00:00
Nicolas Chevobbe ba67293ef7 Bug 1527830 - Remove unused _filterPrefsPrefix in browser-console.js; r=yulia.
This property isn't used anymore, let's delete it.

Differential Revision: https://phabricator.services.mozilla.com/D19749

--HG--
extra : moz-landing-system : lando
2019-02-14 11:01:36 +00:00
Julian Descottes e48b6c1ce6 Bug 1500072 - Add browserLoader reference on window when flags.testing is true;r=ochameau
Depends on D19582

Differential Revision: https://phabricator.services.mozilla.com/D19638

--HG--
extra : moz-landing-system : lando
2019-02-13 15:44:05 +00:00
Nicolas Chevobbe 521b6a3a22 Bug 1527322 - Move the sourceeditor folder under devtools/client/shared; r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D19641

--HG--
rename : devtools/client/sourceeditor/.eslintrc.js => devtools/client/shared/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/README => devtools/client/shared/sourceeditor/README
rename : devtools/client/sourceeditor/autocomplete.js => devtools/client/shared/sourceeditor/autocomplete.js
rename : devtools/client/sourceeditor/codemirror/LICENSE => devtools/client/shared/sourceeditor/codemirror/LICENSE
rename : devtools/client/sourceeditor/codemirror/addon/comment/comment.js => devtools/client/shared/sourceeditor/codemirror/addon/comment/comment.js
rename : devtools/client/sourceeditor/codemirror/addon/comment/continuecomment.js => devtools/client/shared/sourceeditor/codemirror/addon/comment/continuecomment.js
rename : devtools/client/sourceeditor/codemirror/addon/dialog/dialog.css => devtools/client/shared/sourceeditor/codemirror/addon/dialog/dialog.css
rename : devtools/client/sourceeditor/codemirror/addon/dialog/dialog.js => devtools/client/shared/sourceeditor/codemirror/addon/dialog/dialog.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/closebrackets.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/closebrackets.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/closetag.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/closetag.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/continuelist.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/continuelist.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/matchbrackets.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/matchbrackets.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/matchtags.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/matchtags.js
rename : devtools/client/sourceeditor/codemirror/addon/edit/trailingspace.js => devtools/client/shared/sourceeditor/codemirror/addon/edit/trailingspace.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/brace-fold.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/brace-fold.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/comment-fold.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/comment-fold.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/foldcode.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/foldcode.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/foldgutter.css => devtools/client/shared/sourceeditor/codemirror/addon/fold/foldgutter.css
rename : devtools/client/sourceeditor/codemirror/addon/fold/foldgutter.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/foldgutter.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/indent-fold.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/indent-fold.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/markdown-fold.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/markdown-fold.js
rename : devtools/client/sourceeditor/codemirror/addon/fold/xml-fold.js => devtools/client/shared/sourceeditor/codemirror/addon/fold/xml-fold.js
rename : devtools/client/sourceeditor/codemirror/addon/hint/show-hint.js => devtools/client/shared/sourceeditor/codemirror/addon/hint/show-hint.js
rename : devtools/client/sourceeditor/codemirror/addon/runmode/runmode.js => devtools/client/shared/sourceeditor/codemirror/addon/runmode/runmode.js
rename : devtools/client/sourceeditor/codemirror/addon/search/match-highlighter.js => devtools/client/shared/sourceeditor/codemirror/addon/search/match-highlighter.js
rename : devtools/client/sourceeditor/codemirror/addon/search/search.js => devtools/client/shared/sourceeditor/codemirror/addon/search/search.js
rename : devtools/client/sourceeditor/codemirror/addon/search/searchcursor.js => devtools/client/shared/sourceeditor/codemirror/addon/search/searchcursor.js
rename : devtools/client/sourceeditor/codemirror/addon/selection/active-line.js => devtools/client/shared/sourceeditor/codemirror/addon/selection/active-line.js
rename : devtools/client/sourceeditor/codemirror/addon/selection/mark-selection.js => devtools/client/shared/sourceeditor/codemirror/addon/selection/mark-selection.js
rename : devtools/client/sourceeditor/codemirror/addon/tern/tern.css => devtools/client/shared/sourceeditor/codemirror/addon/tern/tern.css
rename : devtools/client/sourceeditor/codemirror/addon/tern/tern.js => devtools/client/shared/sourceeditor/codemirror/addon/tern/tern.js
rename : devtools/client/sourceeditor/codemirror/cmiframe.html => devtools/client/shared/sourceeditor/codemirror/cmiframe.html
rename : devtools/client/sourceeditor/codemirror/codemirror.bundle.js => devtools/client/shared/sourceeditor/codemirror/codemirror.bundle.js
rename : devtools/client/sourceeditor/codemirror/keymap/emacs.js => devtools/client/shared/sourceeditor/codemirror/keymap/emacs.js
rename : devtools/client/sourceeditor/codemirror/keymap/sublime.js => devtools/client/shared/sourceeditor/codemirror/keymap/sublime.js
rename : devtools/client/sourceeditor/codemirror/keymap/vim.js => devtools/client/shared/sourceeditor/codemirror/keymap/vim.js
rename : devtools/client/sourceeditor/codemirror/lib/codemirror.css => devtools/client/shared/sourceeditor/codemirror/lib/codemirror.css
rename : devtools/client/sourceeditor/codemirror/lib/codemirror.js => devtools/client/shared/sourceeditor/codemirror/lib/codemirror.js
rename : devtools/client/sourceeditor/codemirror/mode/clike/clike.js => devtools/client/shared/sourceeditor/codemirror/mode/clike/clike.js
rename : devtools/client/sourceeditor/codemirror/mode/clojure/clojure.js => devtools/client/shared/sourceeditor/codemirror/mode/clojure/clojure.js
rename : devtools/client/sourceeditor/codemirror/mode/coffeescript/coffeescript.js => devtools/client/shared/sourceeditor/codemirror/mode/coffeescript/coffeescript.js
rename : devtools/client/sourceeditor/codemirror/mode/css/css.js => devtools/client/shared/sourceeditor/codemirror/mode/css/css.js
rename : devtools/client/sourceeditor/codemirror/mode/elm/elm.js => devtools/client/shared/sourceeditor/codemirror/mode/elm/elm.js
rename : devtools/client/sourceeditor/codemirror/mode/haxe/haxe.js => devtools/client/shared/sourceeditor/codemirror/mode/haxe/haxe.js
rename : devtools/client/sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js => devtools/client/shared/sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js
rename : devtools/client/sourceeditor/codemirror/mode/javascript/javascript.js => devtools/client/shared/sourceeditor/codemirror/mode/javascript/javascript.js
rename : devtools/client/sourceeditor/codemirror/mode/jsx/jsx.js => devtools/client/shared/sourceeditor/codemirror/mode/jsx/jsx.js
rename : devtools/client/sourceeditor/codemirror/mode/wasm/wasm.js => devtools/client/shared/sourceeditor/codemirror/mode/wasm/wasm.js
rename : devtools/client/sourceeditor/codemirror/mode/xml/xml.js => devtools/client/shared/sourceeditor/codemirror/mode/xml/xml.js
rename : devtools/client/sourceeditor/codemirror/mozilla.css => devtools/client/shared/sourceeditor/codemirror/mozilla.css
rename : devtools/client/sourceeditor/css-autocompleter.js => devtools/client/shared/sourceeditor/css-autocompleter.js
rename : devtools/client/sourceeditor/debugger.js => devtools/client/shared/sourceeditor/debugger.js
rename : devtools/client/sourceeditor/editor-commands-controller.js => devtools/client/shared/sourceeditor/editor-commands-controller.js
rename : devtools/client/sourceeditor/editor.js => devtools/client/shared/sourceeditor/editor.js
rename : devtools/client/sourceeditor/moz.build => devtools/client/shared/sourceeditor/moz.build
rename : devtools/client/sourceeditor/package.json => devtools/client/shared/sourceeditor/package.json
rename : devtools/client/sourceeditor/tern/README => devtools/client/shared/sourceeditor/tern/README
rename : devtools/client/sourceeditor/tern/browser.js => devtools/client/shared/sourceeditor/tern/browser.js
rename : devtools/client/sourceeditor/tern/comment.js => devtools/client/shared/sourceeditor/tern/comment.js
rename : devtools/client/sourceeditor/tern/condense.js => devtools/client/shared/sourceeditor/tern/condense.js
rename : devtools/client/sourceeditor/tern/def.js => devtools/client/shared/sourceeditor/tern/def.js
rename : devtools/client/sourceeditor/tern/ecma5.js => devtools/client/shared/sourceeditor/tern/ecma5.js
rename : devtools/client/sourceeditor/tern/infer.js => devtools/client/shared/sourceeditor/tern/infer.js
rename : devtools/client/sourceeditor/tern/moz.build => devtools/client/shared/sourceeditor/tern/moz.build
rename : devtools/client/sourceeditor/tern/signal.js => devtools/client/shared/sourceeditor/tern/signal.js
rename : devtools/client/sourceeditor/tern/tern.js => devtools/client/shared/sourceeditor/tern/tern.js
rename : devtools/client/sourceeditor/tern/tests/unit/head_tern.js => devtools/client/shared/sourceeditor/tern/tests/unit/head_tern.js
rename : devtools/client/sourceeditor/tern/tests/unit/test_autocompletion.js => devtools/client/shared/sourceeditor/tern/tests/unit/test_autocompletion.js
rename : devtools/client/sourceeditor/tern/tests/unit/test_import_tern.js => devtools/client/shared/sourceeditor/tern/tests/unit/test_import_tern.js
rename : devtools/client/sourceeditor/tern/tests/unit/xpcshell.ini => devtools/client/shared/sourceeditor/tern/tests/unit/xpcshell.ini
rename : devtools/client/sourceeditor/test/.eslintrc.js => devtools/client/shared/sourceeditor/test/.eslintrc.js
rename : devtools/client/sourceeditor/test/browser.ini => devtools/client/shared/sourceeditor/test/browser.ini
rename : devtools/client/sourceeditor/test/browser_codemirror.js => devtools/client/shared/sourceeditor/test/browser_codemirror.js
rename : devtools/client/sourceeditor/test/browser_css_autocompletion.js => devtools/client/shared/sourceeditor/test/browser_css_autocompletion.js
rename : devtools/client/sourceeditor/test/browser_css_getInfo.js => devtools/client/shared/sourceeditor/test/browser_css_getInfo.js
rename : devtools/client/sourceeditor/test/browser_css_statemachine.js => devtools/client/shared/sourceeditor/test/browser_css_statemachine.js
rename : devtools/client/sourceeditor/test/browser_detectindent.js => devtools/client/shared/sourceeditor/test/browser_detectindent.js
rename : devtools/client/sourceeditor/test/browser_editor_addons.js => devtools/client/shared/sourceeditor/test/browser_editor_addons.js
rename : devtools/client/sourceeditor/test/browser_editor_alt_b_f.js => devtools/client/shared/sourceeditor/test/browser_editor_alt_b_f.js
rename : devtools/client/sourceeditor/test/browser_editor_autocomplete_basic.js => devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js
rename : devtools/client/sourceeditor/test/browser_editor_autocomplete_events.js => devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_events.js
rename : devtools/client/sourceeditor/test/browser_editor_autocomplete_js.js => devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_js.js
rename : devtools/client/sourceeditor/test/browser_editor_basic.js => devtools/client/shared/sourceeditor/test/browser_editor_basic.js
rename : devtools/client/sourceeditor/test/browser_editor_cursor.js => devtools/client/shared/sourceeditor/test/browser_editor_cursor.js
rename : devtools/client/sourceeditor/test/browser_editor_find_again.js => devtools/client/shared/sourceeditor/test/browser_editor_find_again.js
rename : devtools/client/sourceeditor/test/browser_editor_goto_line.js => devtools/client/shared/sourceeditor/test/browser_editor_goto_line.js
rename : devtools/client/sourceeditor/test/browser_editor_history.js => devtools/client/shared/sourceeditor/test/browser_editor_history.js
rename : devtools/client/sourceeditor/test/browser_editor_markers.js => devtools/client/shared/sourceeditor/test/browser_editor_markers.js
rename : devtools/client/sourceeditor/test/browser_editor_movelines.js => devtools/client/shared/sourceeditor/test/browser_editor_movelines.js
rename : devtools/client/sourceeditor/test/browser_editor_prefs.js => devtools/client/shared/sourceeditor/test/browser_editor_prefs.js
rename : devtools/client/sourceeditor/test/browser_editor_script_injection.js => devtools/client/shared/sourceeditor/test/browser_editor_script_injection.js
rename : devtools/client/sourceeditor/test/browser_vimemacs.js => devtools/client/shared/sourceeditor/test/browser_vimemacs.js
rename : devtools/client/sourceeditor/test/cm_mode_ruby.js => devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
rename : devtools/client/sourceeditor/test/cm_script_injection_test.js => devtools/client/shared/sourceeditor/test/cm_script_injection_test.js
rename : devtools/client/sourceeditor/test/codemirror/codemirror.html => devtools/client/shared/sourceeditor/test/codemirror/codemirror.html
rename : devtools/client/sourceeditor/test/codemirror/comment_test.js => devtools/client/shared/sourceeditor/test/codemirror/comment_test.js
rename : devtools/client/sourceeditor/test/codemirror/doc_test.js => devtools/client/shared/sourceeditor/test/codemirror/doc_test.js
rename : devtools/client/sourceeditor/test/codemirror/driver.js => devtools/client/shared/sourceeditor/test/codemirror/driver.js
rename : devtools/client/sourceeditor/test/codemirror/emacs_test.js => devtools/client/shared/sourceeditor/test/codemirror/emacs_test.js
rename : devtools/client/sourceeditor/test/codemirror/mode/javascript/test.js => devtools/client/shared/sourceeditor/test/codemirror/mode/javascript/test.js
rename : devtools/client/sourceeditor/test/codemirror/mode_test.css => devtools/client/shared/sourceeditor/test/codemirror/mode_test.css
rename : devtools/client/sourceeditor/test/codemirror/mode_test.js => devtools/client/shared/sourceeditor/test/codemirror/mode_test.js
rename : devtools/client/sourceeditor/test/codemirror/multi_test.js => devtools/client/shared/sourceeditor/test/codemirror/multi_test.js
rename : devtools/client/sourceeditor/test/codemirror/search_test.js => devtools/client/shared/sourceeditor/test/codemirror/search_test.js
rename : devtools/client/sourceeditor/test/codemirror/sublime_test.js => devtools/client/shared/sourceeditor/test/codemirror/sublime_test.js
rename : devtools/client/sourceeditor/test/codemirror/test.js => devtools/client/shared/sourceeditor/test/codemirror/test.js
rename : devtools/client/sourceeditor/test/codemirror/vim_test.js => devtools/client/shared/sourceeditor/test/codemirror/vim_test.js
rename : devtools/client/sourceeditor/test/codemirror/vimemacs.html => devtools/client/shared/sourceeditor/test/codemirror/vimemacs.html
rename : devtools/client/sourceeditor/test/css_autocompletion_tests.json => devtools/client/shared/sourceeditor/test/css_autocompletion_tests.json
rename : devtools/client/sourceeditor/test/css_statemachine_testcases.css => devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css
rename : devtools/client/sourceeditor/test/css_statemachine_tests.json => devtools/client/shared/sourceeditor/test/css_statemachine_tests.json
rename : devtools/client/sourceeditor/test/head.js => devtools/client/shared/sourceeditor/test/head.js
rename : devtools/client/sourceeditor/test/head.xul => devtools/client/shared/sourceeditor/test/head.xul
rename : devtools/client/sourceeditor/test/helper_codemirror_runner.js => devtools/client/shared/sourceeditor/test/helper_codemirror_runner.js
rename : devtools/client/sourceeditor/wasm.js => devtools/client/shared/sourceeditor/wasm.js
rename : devtools/client/sourceeditor/webpack.config.js => devtools/client/shared/sourceeditor/webpack.config.js
extra : moz-landing-system : lando
2019-02-13 15:37:08 +00:00
Cosmin Sabou 3f7f2bdc88 Backed out 4 changesets (bug 1500074, bug 1500072) for devtools failures on browser_require_raw.js. CLOSED TREE
Backed out changeset 81a368ce3847 (bug 1500074)
Backed out changeset 7e6a4063398d (bug 1500072)
Backed out changeset 4003039a82c0 (bug 1500072)
Backed out changeset accf4033d8cc (bug 1500072)
2019-02-13 17:00:13 +02:00
Julian Descottes a2cbcb26b8 Bug 1500072 - Add browserLoader reference on window when flags.testing is true;r=ochameau
Depends on D19582

Differential Revision: https://phabricator.services.mozilla.com/D19638

--HG--
extra : moz-landing-system : lando
2019-02-13 13:47:01 +00:00
Noemi Erli b85491b0a3 Backed out 4 changesets (bug 1500074, bug 1500072) for devtools failures in browser_browserloader_mocks.js CLOSED TREE
Backed out changeset e381b765ee73 (bug 1500074)
Backed out changeset 7cb353ea123d (bug 1500072)
Backed out changeset 9d792d03c36b (bug 1500072)
Backed out changeset a11b90e9e698 (bug 1500072)
2019-02-13 15:32:27 +02:00
Julian Descottes f425d90e9d Bug 1500072 - Add browserLoader reference on window when flags.testing is true;r=ochameau
Depends on D19582

Differential Revision: https://phabricator.services.mozilla.com/D19638

--HG--
extra : moz-landing-system : lando
2019-02-13 10:04:01 +00:00
Logan Smyth e962578670 Bug 1518661 - Part 3: Adjust call-expression positions. r=jimb,jorendorff
When we mark call expressions as breakpoints, we want to make it as likely
as possible that the call has its own unique positon. The existing logic
means that it is more likely that the beginning of a call will align
with the start of an expression statement or other debuggable step point.
By using the property-access location, we're less likely to collide.

Thid also adds a new bytecodes that were missed in the original code that
added this position handling logic.

Differential Revision: https://phabricator.services.mozilla.com/D17661

--HG--
extra : moz-landing-system : lando
2019-02-13 02:55:21 +00:00
Andreea Pavel e754faad17 Backed out 3 changesets (bug 1518661) for failing test_promise_rejections_from_jsimplemented.html
Backed out changeset d381785b0c4c (bug 1518661)
Backed out changeset 4a8b38e5373b (bug 1518661)
Backed out changeset 64ebb085a6b3 (bug 1518661)

--HG--
extra : rebase_source : 7e4c5c4cd0b2ea9e48238e6083fdfc01b3f9bd16
2019-02-13 04:27:22 +02:00
Logan Smyth 2efd56750c Bug 1518661 - Part 3: Adjust call-expression positions. r=jimb,jorendorff
When we mark call expressions as breakpoints, we want to make it as likely
as possible that the call has its own unique positon. The existing logic
means that it is more likely that the beginning of a call will align
with the start of an expression statement or other debuggable step point.
By using the property-access location, we're less likely to collide.

Thid also adds a new bytecodes that were missed in the original code that
added this position handling logic.

Differential Revision: https://phabricator.services.mozilla.com/D17661

--HG--
extra : moz-landing-system : lando
2019-02-12 23:46:27 +00:00
Julian Descottes 5b64219bba Bug 1500069 - Add metrics tests for the webconsole;r=ochameau,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D19364

--HG--
extra : moz-landing-system : lando
2019-02-12 19:08:33 +00:00
Nicolas Chevobbe 7dcc08aeec Bug 1527317 - lazy load TabboxPanel in NetworkEventMessage.js; r=Honza.
The TabboxPanel component is the one we use to show the detail
of a given network request. In the console, it's not used until
the user expand a network request, but we do load it at
the same time as the NetworkEventMessage.
We can save some extra work by loading it lazily.

Differential Revision: https://phabricator.services.mozilla.com/D19497

--HG--
extra : moz-landing-system : lando
2019-02-12 16:01:39 +00:00
Nicolas Chevobbe 4d5fdfd7fc Bug 1524474 - Add test for top-level await dynamic import; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D19134

--HG--
extra : moz-landing-system : lando
2019-02-12 06:29:52 +00:00
Nicolas Chevobbe 223cbc9712 Bug 1526883 - Cleanup devtools/client/webconsole/utils.js; r=bgrins.
Some functions or properties are not used anymore in the
codebase, so we can safely delete them.
Other ones are only used in Scratchpad or VariableView,
which we want to get rid off in the next months. We move
those functions directly in Scratchpad/VariableView.

Differential Revision: https://phabricator.services.mozilla.com/D19377

--HG--
extra : moz-landing-system : lando
2019-02-11 17:29:24 +00:00
Csoregi Natalia 5d10478fe1 Backed out 3 changesets (bug 1518661) for failures on dom/bindings/test/test_exception_options_from_jsimplemented.html. CLOSED TREE
Backed out changeset aeaa74707320 (bug 1518661)
Backed out changeset 12df8c46ef78 (bug 1518661)
Backed out changeset a4ff0bd9ff80 (bug 1518661)
2019-02-12 06:25:57 +02:00
Logan Smyth 1677d55556 Bug 1518661 - Part 3: Adjust call-expression positions. r=jimb,jorendorff
When we mark call expressions as breakpoints, we want to make it as likely
as possible that the call has its own unique positon. The existing logic
means that it is more likely that the beginning of a call will align
with the start of an expression statement or other debuggable step point.
By using the property-access location, we're less likely to collide.

Thid also adds a new bytecodes that were missed in the original code that
added this position handling logic.

Differential Revision: https://phabricator.services.mozilla.com/D17661

--HG--
extra : moz-landing-system : lando
2019-02-12 01:28:27 +00:00
Nicolas Chevobbe d308ea08b0 Bug 1526878 - Remove unused development.json file; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D19336

--HG--
extra : moz-landing-system : lando
2019-02-11 12:13:37 +00:00
Nicolas Chevobbe c0e793fc77 Bug 1525129 - Fix intermittent in browser_webconsole_reverse_search_mouse_navigation.js; r=Honza.
Based on the failure logs, it looks like the test fails because
a node highlighter is being triggered while the toolbox is
closed.
Changing one of the input to not display any nodes in the output
should fix the issue.

Differential Revision: https://phabricator.services.mozilla.com/D19341

--HG--
extra : moz-landing-system : lando
2019-02-11 12:13:20 +00:00
Nicolas Chevobbe 217a979adb Bug 1526247 - Rename webconsole-output-wrapper; r=bgrins.
This file used to only manage the output, but
this is not true anymore, and the name could
be misleading.
We take this as an opportunity to cleanup
some property names and CSS classes.

Differential Revision: https://phabricator.services.mozilla.com/D19135

--HG--
rename : devtools/client/webconsole/webconsole-output-wrapper.js => devtools/client/webconsole/webconsole-wrapper.js
extra : moz-landing-system : lando
2019-02-11 06:42:28 +00:00
shindli 346a7d1be9 Backed out 4 changesets (bug 1518661) for spidermonkey build bustages CLOSED TREE
Backed out changeset 6c45ce836a12 (bug 1518661)
Backed out changeset dd2caed01823 (bug 1518661)
Backed out changeset 02ddcca425a2 (bug 1518661)
Backed out changeset 8bad1d8c8944 (bug 1518661)
2019-02-09 03:16:14 +02:00
Logan Smyth 4ea937d283 Bug 1518661 - Part 3: Adjust call-expression positions. r=jimb,jorendorff
When we mark call expressions as breakpoints, we want to make it as likely
as possible that the call has its own unique positon. The existing logic
means that it is more likely that the beginning of a call will align
with the start of an expression statement or other debuggable step point.
By using the property-access location, we're less likely to collide.

Thid also adds a new bytecodes that were missed in the original code that
added this position handling logic.

Differential Revision: https://phabricator.services.mozilla.com/D17661

--HG--
extra : moz-landing-system : lando
2019-02-08 22:39:23 +00:00
Alexandre Poirot c5e4b01f95 Bug 1520774 - Remove TargetFactory.forRemoteTab. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D18539

--HG--
extra : moz-landing-system : lando
2019-02-06 16:17:15 +00:00
Nicolas Chevobbe 65845d8775 Bug 1525332 - Lazy load components and modules we don't need right away at console initialization; r=Honza.
There was quite some file that was required directly
but that may not be used until later (or maybe never),
which means we were doing extra work.
Lazily loading those files seems to improve opening
time significantly.

Differential Revision: https://phabricator.services.mozilla.com/D18819

--HG--
extra : moz-landing-system : lando
2019-02-06 14:00:59 +00:00
Brian Hackett 1c81ba83a1 Bug 1523421 - Reenable browser_webconsole_sourcemap_nosource.js mochitest. 2019-02-04 08:45:38 -10:00
Bogdan Tara ab68196464 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-02-04 19:40:52 +02:00
Martin Koroknay 568c22f379 Bug 1523861 - Remove toggle filter button and always show the filter buttons toolbar. r=nchevobbe
Removes the toggle filter button and makes the filter buttons toolbar permanently shown. At the same time removes relevant entries from actions/reducers. Also updates some tests which relied on showing and hiding the filter buttons toolbar. Also amends an unrelated test which relied on the non-presence of the filter buttons toolbar.

Differential Revision: https://phabricator.services.mozilla.com/D18504

--HG--
extra : moz-landing-system : lando
2019-02-04 13:22:36 +00:00
Alexandre Poirot ef1c99b06e Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874

--HG--
extra : moz-landing-system : lando
2019-02-02 11:24:24 +00:00
Nicolas Chevobbe 6654ba7a44 Bug 1494318 - Don't map expression bindings when debugger is not paused; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D18314

--HG--
extra : moz-landing-system : lando
2019-02-01 15:19:47 +00:00
Brian Hackett 529252646f Bug 1523421 - Always view source map original URLs in the debugger, r=jlast.
--HG--
extra : rebase_source : c4252b81d4a397ac97f3a6e2e151f35ead670ee3
2019-01-28 12:18:56 -10:00
shindli d6dd350c66 Merge inbound to mozilla-central. a=merge 2019-02-01 05:56:53 +02:00
shindli dc35f3b972 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : rebase_source : 44b5c3aa6b6562ada42dd6c60e3522a8bc97993b
2019-01-31 23:51:27 +02:00
Jason Laster 1c61aed104 Bug 1523528 - Update Debugger Frontend (Release 122). r=dwalsh 2019-01-31 13:42:11 -05:00
Tom Schuster 93f896affe Bug 1514680 - Strictly enforce the MIME type of scripts loaded by importScripts(). r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D16730

--HG--
extra : moz-landing-system : lando
2019-01-30 22:21:26 +00:00
Nicolas Chevobbe 1086ce9608 Bug 1522901 - Include packet.stacktrace when computing repeatId; r=julienw.
This was causing an issue with console.trace calls
triggered from different paths (i.e. the message
was repeated in the console, only showing the first
stacktrace).
This fixes the issue, and a test is added to
ensure we don't regress this.
This also revealed an erroneous test where we were
asserting the buggy behavior.
Doing this modifies the message shape, so we also
need to update the stubs.

Differential Revision: https://phabricator.services.mozilla.com/D18094

--HG--
extra : moz-landing-system : lando
2019-01-31 14:22:53 +00:00
Bogdan Tara 19bcfc41e1 Backed out 8 changesets (bug 1465635) for failures on browser_canvas-actor-test-10.js, browser_target_server_compartment.js CLOSED TREE
Backed out changeset e8e363f98525 (bug 1465635)
Backed out changeset 9ec017a91e78 (bug 1465635)
Backed out changeset 11413ebfbcaf (bug 1465635)
Backed out changeset 52728b761d5d (bug 1465635)
Backed out changeset 734646bf9829 (bug 1465635)
Backed out changeset d9ae7cd34c1a (bug 1465635)
Backed out changeset 00d325ab677a (bug 1465635)
Backed out changeset a9b181f32189 (bug 1465635)
2019-01-30 18:54:05 +02:00
Alexandre Poirot dc852753a8 Bug 1465635 - Remove Target.activeTab property. r=yulia
Depends on D15831

Differential Revision: https://phabricator.services.mozilla.com/D16874

--HG--
extra : moz-landing-system : lando
2019-01-30 13:28:25 +00:00
Brian Grinstead b7ba45940c Bug 1522921 - Set the devtools chrome debugging prefs to true by default in mochitests and wpt r=ahal,miker
Differential Revision: https://phabricator.services.mozilla.com/D17671

--HG--
extra : moz-landing-system : lando
2019-01-30 03:25:17 +00:00
Brindusan Cristian 375d1a074a Backed out changeset d085f7afb20a (bug 1514680) for mochitest failures at test_importScripts_3rdparty.html.
--HG--
extra : rebase_source : ee47ae03f428320fe1dbf848f1b42f0aa11eee90
2019-01-29 22:12:47 +02:00