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

17228 Коммитов

Автор SHA1 Сообщение Дата
tanhengyeow ad7184ec58 Bug 1571786 - Warning: Failed prop type: Invalid prop `visibleColumns` of type `array` supplied to `FrameListItem`, expected `object`. r=Honza
Fix expected prop type.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 08:14:36 +00:00
Nicholas Nethercote fb0974ffb7 Bug 1572354 - Fix erroneous prefs-related entries in .prettierignore. r=vporof
This patch removes two entries:

- devtools/client/netmonitor/launchpad.js: this file no longer exists.
- devtools/client/webconsole/test/mocha-test-setup.js: this file is a proper JS
  file, not a prefs file.

The patch also reformats mocha-test-setup.js.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 06:40:49 +00:00
Narcis Beleuzu b0c02638f6 Backed out changeset 0d73f35c5025 (bug 1172572) for failures on browser_dbg_rr_breakpoints-03.js 2019-08-08 05:11:13 +03:00
Jason Laster d7cf1b3574 Bug 1172572 - teach debugger to step into calls at the beginning of statements (part 2). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D40733

--HG--
extra : moz-landing-system : lando
2019-08-07 22:22:42 +00:00
Jason Laster c6612d3e41 Bug 1572227 - Warp should wait for pause events. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D41085

--HG--
extra : moz-landing-system : lando
2019-08-07 21:21:53 +00:00
Jason Laster 3b3401f0fb Bug 1571582 - Simplify disabled breakpoint colors. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D40730

--HG--
extra : moz-landing-system : lando
2019-08-06 20:21:17 +00:00
Maliha Islam 66e6c9fbbc Bug 1571237 - Fix color picker for RTL locales, r=gl
Differential Revision: https://phabricator.services.mozilla.com/D40846

--HG--
extra : moz-landing-system : lando
2019-08-07 18:54:28 +00:00
Dhyey Thakore ee6853c808 Bug 1547385 - Implement initial Inline Preview for debugger r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34175

--HG--
extra : moz-landing-system : lando
2019-08-07 17:12:03 +00:00
Gabriel Luong 2273f8c932 Bug 1568157 - Part 2: Replace `toolbox.{inspector,walker,selection,highlighter}` usage with the attributes from `target.getFront("inspector")` in inspector.js. r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40314

--HG--
extra : moz-landing-system : lando
2019-08-07 17:47:11 +00:00
Gabriel Luong 341915c5fc Bug 1568157 - Part 1: Replace `toolbox.inspectorFront` with the `inspectorFront` from `target.getFront("inspector")`. r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40313

--HG--
extra : moz-landing-system : lando
2019-08-07 17:46:07 +00:00
Charlie Marlow be2d349416 Bug 1555865: added text-decoration-thickness to the text-decoration shorthands r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D40335

--HG--
extra : moz-landing-system : lando
2019-08-07 17:42:15 +00:00
Jason Laster f7a3e3ab78 Bug 1568160 - Disable breakpoints should register on devtools open. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D40452

--HG--
extra : moz-landing-system : lando
2019-08-06 18:15:35 +00:00
lloan 10edd3b03b Bug 1559347 - Implement generic search across all resources. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D36323

--HG--
extra : moz-landing-system : lando
2019-08-07 15:58:21 +00:00
David Walsh 51c1fbadbc Bug 1570819 - Use blocked icon instead of text r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D40472

--HG--
extra : moz-landing-system : lando
2019-08-07 08:38:40 +00:00
Nicolas Chevobbe 9cbe41607e Bug 1571349 - Fix unwanted reflows on message hover. r=jdescottes.
We were adding a before pseudo element on message hover, which
was causing reflows (which are quite expansive in console).
We fix this by always rendering a before pseudo element,
only changing its background color on hover.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 15:43:49 +00:00
Gabriel Luong 788820312b Bug 1569574 - Part 2: Format devtools/client/responsive/. a=automatic-formatting r=vporof
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-07 15:24:49 +00:00
Gabriel Luong 725df6c2ff Bug 1569574 - Part 1: Rename the responsive.html/ folder to responsive/. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D40929

--HG--
rename : devtools/client/responsive.html/actions/devices.js => devtools/client/responsive/actions/devices.js
rename : devtools/client/responsive.html/actions/index.js => devtools/client/responsive/actions/index.js
rename : devtools/client/responsive.html/actions/moz.build => devtools/client/responsive/actions/moz.build
rename : devtools/client/responsive.html/actions/screenshot.js => devtools/client/responsive/actions/screenshot.js
rename : devtools/client/responsive.html/actions/ui.js => devtools/client/responsive/actions/ui.js
rename : devtools/client/responsive.html/actions/viewports.js => devtools/client/responsive/actions/viewports.js
rename : devtools/client/responsive.html/browser/content.js => devtools/client/responsive/browser/content.js
rename : devtools/client/responsive.html/browser/moz.build => devtools/client/responsive/browser/moz.build
rename : devtools/client/responsive.html/browser/swap.js => devtools/client/responsive/browser/swap.js
rename : devtools/client/responsive.html/browser/tunnel.js => devtools/client/responsive/browser/tunnel.js
rename : devtools/client/responsive.html/browser/web-navigation.js => devtools/client/responsive/browser/web-navigation.js
rename : devtools/client/responsive.html/components/App.js => devtools/client/responsive/components/App.js
rename : devtools/client/responsive.html/components/Browser.js => devtools/client/responsive/components/Browser.js
rename : devtools/client/responsive.html/components/Device.js => devtools/client/responsive/components/Device.js
rename : devtools/client/responsive.html/components/DeviceAdder.js => devtools/client/responsive/components/DeviceAdder.js
rename : devtools/client/responsive.html/components/DeviceForm.js => devtools/client/responsive/components/DeviceForm.js
rename : devtools/client/responsive.html/components/DeviceList.js => devtools/client/responsive/components/DeviceList.js
rename : devtools/client/responsive.html/components/DeviceModal.js => devtools/client/responsive/components/DeviceModal.js
rename : devtools/client/responsive.html/components/DevicePixelRatioMenu.js => devtools/client/responsive/components/DevicePixelRatioMenu.js
rename : devtools/client/responsive.html/components/DeviceSelector.js => devtools/client/responsive/components/DeviceSelector.js
rename : devtools/client/responsive.html/components/ResizableViewport.js => devtools/client/responsive/components/ResizableViewport.js
rename : devtools/client/responsive.html/components/SettingsMenu.js => devtools/client/responsive/components/SettingsMenu.js
rename : devtools/client/responsive.html/components/Toolbar.js => devtools/client/responsive/components/Toolbar.js
rename : devtools/client/responsive.html/components/UserAgentInput.js => devtools/client/responsive/components/UserAgentInput.js
rename : devtools/client/responsive.html/components/ViewportDimension.js => devtools/client/responsive/components/ViewportDimension.js
rename : devtools/client/responsive.html/components/Viewports.js => devtools/client/responsive/components/Viewports.js
rename : devtools/client/responsive.html/components/moz.build => devtools/client/responsive/components/moz.build
rename : devtools/client/responsive.html/constants.js => devtools/client/responsive/constants.js
rename : devtools/client/responsive.html/images/grippers.svg => devtools/client/responsive/images/grippers.svg
rename : devtools/client/responsive.html/images/moz.build => devtools/client/responsive/images/moz.build
rename : devtools/client/responsive.html/images/rotate-viewport.svg => devtools/client/responsive/images/rotate-viewport.svg
rename : devtools/client/responsive.html/images/touch-events.svg => devtools/client/responsive/images/touch-events.svg
rename : devtools/client/responsive.html/index.css => devtools/client/responsive/index.css
rename : devtools/client/responsive.html/index.js => devtools/client/responsive/index.js
rename : devtools/client/responsive.html/index.xhtml => devtools/client/responsive/index.xhtml
rename : devtools/client/responsive.html/manager.js => devtools/client/responsive/manager.js
rename : devtools/client/responsive.html/moz.build => devtools/client/responsive/moz.build
rename : devtools/client/responsive.html/reducers.js => devtools/client/responsive/reducers.js
rename : devtools/client/responsive.html/reducers/devices.js => devtools/client/responsive/reducers/devices.js
rename : devtools/client/responsive.html/reducers/moz.build => devtools/client/responsive/reducers/moz.build
rename : devtools/client/responsive.html/reducers/screenshot.js => devtools/client/responsive/reducers/screenshot.js
rename : devtools/client/responsive.html/reducers/ui.js => devtools/client/responsive/reducers/ui.js
rename : devtools/client/responsive.html/reducers/viewports.js => devtools/client/responsive/reducers/viewports.js
rename : devtools/client/responsive.html/setting-onboarding-tooltip.js => devtools/client/responsive/setting-onboarding-tooltip.js
rename : devtools/client/responsive.html/store.js => devtools/client/responsive/store.js
rename : devtools/client/responsive.html/test/browser/.eslintrc.js => devtools/client/responsive/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/browser.ini => devtools/client/responsive/test/browser/browser.ini
rename : devtools/client/responsive.html/test/browser/browser_cmd_click.js => devtools/client/responsive/test/browser/browser_cmd_click.js
rename : devtools/client/responsive.html/test/browser/browser_container_tab.js => devtools/client/responsive/test/browser/browser_container_tab.js
rename : devtools/client/responsive.html/test/browser/browser_contextmenu_inspect.js => devtools/client/responsive/test/browser/browser_contextmenu_inspect.js
rename : devtools/client/responsive.html/test/browser/browser_contextual_identity.js => devtools/client/responsive/test/browser/browser_contextual_identity.js
rename : devtools/client/responsive.html/test/browser/browser_device_change.js => devtools/client/responsive/test/browser/browser_device_change.js
rename : devtools/client/responsive.html/test/browser/browser_device_custom.js => devtools/client/responsive/test/browser/browser_device_custom.js
rename : devtools/client/responsive.html/test/browser/browser_device_custom_edit.js => devtools/client/responsive/test/browser/browser_device_custom_edit.js
rename : devtools/client/responsive.html/test/browser/browser_device_custom_remove.js => devtools/client/responsive/test/browser/browser_device_custom_remove.js
rename : devtools/client/responsive.html/test/browser/browser_device_modal_error.js => devtools/client/responsive/test/browser/browser_device_modal_error.js
rename : devtools/client/responsive.html/test/browser/browser_device_modal_exit.js => devtools/client/responsive/test/browser/browser_device_modal_exit.js
rename : devtools/client/responsive.html/test/browser/browser_device_modal_submit.js => devtools/client/responsive/test/browser/browser_device_modal_submit.js
rename : devtools/client/responsive.html/test/browser/browser_device_pixel_ratio_change.js => devtools/client/responsive/test/browser/browser_device_pixel_ratio_change.js
rename : devtools/client/responsive.html/test/browser/browser_device_state_restore.js => devtools/client/responsive/test/browser/browser_device_state_restore.js
rename : devtools/client/responsive.html/test/browser/browser_device_width.js => devtools/client/responsive/test/browser/browser_device_width.js
rename : devtools/client/responsive.html/test/browser/browser_exit_button.js => devtools/client/responsive/test/browser/browser_exit_button.js
rename : devtools/client/responsive.html/test/browser/browser_ext_messaging.js => devtools/client/responsive/test/browser/browser_ext_messaging.js
rename : devtools/client/responsive.html/test/browser/browser_favicon.js => devtools/client/responsive/test/browser/browser_favicon.js
rename : devtools/client/responsive.html/test/browser/browser_frame_script_active.js => devtools/client/responsive/test/browser/browser_frame_script_active.js
rename : devtools/client/responsive.html/test/browser/browser_hide_container.js => devtools/client/responsive/test/browser/browser_hide_container.js
rename : devtools/client/responsive.html/test/browser/browser_menu_item_01.js => devtools/client/responsive/test/browser/browser_menu_item_01.js
rename : devtools/client/responsive.html/test/browser/browser_menu_item_02.js => devtools/client/responsive/test/browser/browser_menu_item_02.js
rename : devtools/client/responsive.html/test/browser/browser_mouse_resize.js => devtools/client/responsive/test/browser/browser_mouse_resize.js
rename : devtools/client/responsive.html/test/browser/browser_navigation.js => devtools/client/responsive/test/browser/browser_navigation.js
rename : devtools/client/responsive.html/test/browser/browser_network_throttling.js => devtools/client/responsive/test/browser/browser_network_throttling.js
rename : devtools/client/responsive.html/test/browser/browser_orientationchange_event.js => devtools/client/responsive/test/browser/browser_orientationchange_event.js
rename : devtools/client/responsive.html/test/browser/browser_page_state.js => devtools/client/responsive/test/browser/browser_page_state.js
rename : devtools/client/responsive.html/test/browser/browser_page_style.js => devtools/client/responsive/test/browser/browser_page_style.js
rename : devtools/client/responsive.html/test/browser/browser_permission_doorhanger.js => devtools/client/responsive/test/browser/browser_permission_doorhanger.js
rename : devtools/client/responsive.html/test/browser/browser_preloaded_newtab.js => devtools/client/responsive/test/browser/browser_preloaded_newtab.js
rename : devtools/client/responsive.html/test/browser/browser_prompts.js => devtools/client/responsive/test/browser/browser_prompts.js
rename : devtools/client/responsive.html/test/browser/browser_screenshot_button.js => devtools/client/responsive/test/browser/browser_screenshot_button.js
rename : devtools/client/responsive.html/test/browser/browser_scroll.js => devtools/client/responsive/test/browser/browser_scroll.js
rename : devtools/client/responsive.html/test/browser/browser_state_restore.js => devtools/client/responsive/test/browser/browser_state_restore.js
rename : devtools/client/responsive.html/test/browser/browser_tab_close.js => devtools/client/responsive/test/browser/browser_tab_close.js
rename : devtools/client/responsive.html/test/browser/browser_tab_remoteness_change.js => devtools/client/responsive/test/browser/browser_tab_remoteness_change.js
rename : devtools/client/responsive.html/test/browser/browser_target_blank.js => devtools/client/responsive/test/browser/browser_target_blank.js
rename : devtools/client/responsive.html/test/browser/browser_telemetry_activate_rdm.js => devtools/client/responsive/test/browser/browser_telemetry_activate_rdm.js
rename : devtools/client/responsive.html/test/browser/browser_toggle_zoom.js => devtools/client/responsive/test/browser/browser_toggle_zoom.js
rename : devtools/client/responsive.html/test/browser/browser_toolbox_computed_view.js => devtools/client/responsive/test/browser/browser_toolbox_computed_view.js
rename : devtools/client/responsive.html/test/browser/browser_toolbox_rule_view.js => devtools/client/responsive/test/browser/browser_toolbox_rule_view.js
rename : devtools/client/responsive.html/test/browser/browser_toolbox_rule_view_reload.js => devtools/client/responsive/test/browser/browser_toolbox_rule_view_reload.js
rename : devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js => devtools/client/responsive/test/browser/browser_toolbox_swap_browsers.js
rename : devtools/client/responsive.html/test/browser/browser_toolbox_swap_inspector.js => devtools/client/responsive/test/browser/browser_toolbox_swap_inspector.js
rename : devtools/client/responsive.html/test/browser/browser_tooltip.js => devtools/client/responsive/test/browser/browser_tooltip.js
rename : devtools/client/responsive.html/test/browser/browser_touch_device.js => devtools/client/responsive/test/browser/browser_touch_device.js
rename : devtools/client/responsive.html/test/browser/browser_touch_does_not_trigger_hover_states.js => devtools/client/responsive/test/browser/browser_touch_does_not_trigger_hover_states.js
rename : devtools/client/responsive.html/test/browser/browser_touch_simulation.js => devtools/client/responsive/test/browser/browser_touch_simulation.js
rename : devtools/client/responsive.html/test/browser/browser_typeahead_find.js => devtools/client/responsive/test/browser/browser_typeahead_find.js
rename : devtools/client/responsive.html/test/browser/browser_user_agent_input.js => devtools/client/responsive/test/browser/browser_user_agent_input.js
rename : devtools/client/responsive.html/test/browser/browser_viewport_basics.js => devtools/client/responsive/test/browser/browser_viewport_basics.js
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width.js => devtools/client/responsive/test/browser/browser_viewport_resizing_fixed_width.js
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing_fixed_width_and_zoom.js => devtools/client/responsive/test/browser/browser_viewport_resizing_fixed_width_and_zoom.js
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing_minimum_scale.js => devtools/client/responsive/test/browser/browser_viewport_resizing_minimum_scale.js
rename : devtools/client/responsive.html/test/browser/browser_viewport_resizing_scrollbar.js => devtools/client/responsive/test/browser/browser_viewport_resizing_scrollbar.js
rename : devtools/client/responsive.html/test/browser/browser_window_close.js => devtools/client/responsive/test/browser/browser_window_close.js
rename : devtools/client/responsive.html/test/browser/browser_window_sizing.js => devtools/client/responsive/test/browser/browser_window_sizing.js
rename : devtools/client/responsive.html/test/browser/contextual_identity.html => devtools/client/responsive/test/browser/contextual_identity.html
rename : devtools/client/responsive.html/test/browser/devices.json => devtools/client/responsive/test/browser/devices.json
rename : devtools/client/responsive.html/test/browser/doc_contextmenu_inspect.html => devtools/client/responsive/test/browser/doc_contextmenu_inspect.html
rename : devtools/client/responsive.html/test/browser/doc_page_state.html => devtools/client/responsive/test/browser/doc_page_state.html
rename : devtools/client/responsive.html/test/browser/doc_toolbox_rule_view.css => devtools/client/responsive/test/browser/doc_toolbox_rule_view.css
rename : devtools/client/responsive.html/test/browser/doc_toolbox_rule_view.html => devtools/client/responsive/test/browser/doc_toolbox_rule_view.html
rename : devtools/client/responsive.html/test/browser/favicon.html => devtools/client/responsive/test/browser/favicon.html
rename : devtools/client/responsive.html/test/browser/favicon.ico => devtools/client/responsive/test/browser/favicon.ico
rename : devtools/client/responsive.html/test/browser/geolocation.html => devtools/client/responsive/test/browser/geolocation.html
rename : devtools/client/responsive.html/test/browser/head.js => devtools/client/responsive/test/browser/head.js
rename : devtools/client/responsive.html/test/browser/hover.html => devtools/client/responsive/test/browser/hover.html
rename : devtools/client/responsive.html/test/browser/page_style.html => devtools/client/responsive/test/browser/page_style.html
rename : devtools/client/responsive.html/test/browser/touch.html => devtools/client/responsive/test/browser/touch.html
rename : devtools/client/responsive.html/test/unit/.eslintrc.js => devtools/client/responsive/test/unit/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/head.js => devtools/client/responsive/test/unit/head.js
rename : devtools/client/responsive.html/test/unit/test_add_device.js => devtools/client/responsive/test/unit/test_add_device.js
rename : devtools/client/responsive.html/test/unit/test_add_device_type.js => devtools/client/responsive/test/unit/test_add_device_type.js
rename : devtools/client/responsive.html/test/unit/test_add_viewport.js => devtools/client/responsive/test/unit/test_add_viewport.js
rename : devtools/client/responsive.html/test/unit/test_change_device.js => devtools/client/responsive/test/unit/test_change_device.js
rename : devtools/client/responsive.html/test/unit/test_change_display_pixel_ratio.js => devtools/client/responsive/test/unit/test_change_display_pixel_ratio.js
rename : devtools/client/responsive.html/test/unit/test_change_network_throttling.js => devtools/client/responsive/test/unit/test_change_network_throttling.js
rename : devtools/client/responsive.html/test/unit/test_change_pixel_ratio.js => devtools/client/responsive/test/unit/test_change_pixel_ratio.js
rename : devtools/client/responsive.html/test/unit/test_change_user_agent.js => devtools/client/responsive/test/unit/test_change_user_agent.js
rename : devtools/client/responsive.html/test/unit/test_resize_viewport.js => devtools/client/responsive/test/unit/test_resize_viewport.js
rename : devtools/client/responsive.html/test/unit/test_rotate_viewport.js => devtools/client/responsive/test/unit/test_rotate_viewport.js
rename : devtools/client/responsive.html/test/unit/test_update_device_displayed.js => devtools/client/responsive/test/unit/test_update_device_displayed.js
rename : devtools/client/responsive.html/test/unit/test_update_touch_simulation_enabled.js => devtools/client/responsive/test/unit/test_update_touch_simulation_enabled.js
rename : devtools/client/responsive.html/test/unit/xpcshell.ini => devtools/client/responsive/test/unit/xpcshell.ini
rename : devtools/client/responsive.html/types.js => devtools/client/responsive/types.js
rename : devtools/client/responsive.html/utils/e10s.js => devtools/client/responsive/utils/e10s.js
rename : devtools/client/responsive.html/utils/key.js => devtools/client/responsive/utils/key.js
rename : devtools/client/responsive.html/utils/l10n.js => devtools/client/responsive/utils/l10n.js
rename : devtools/client/responsive.html/utils/message.js => devtools/client/responsive/utils/message.js
rename : devtools/client/responsive.html/utils/moz.build => devtools/client/responsive/utils/moz.build
rename : devtools/client/responsive.html/utils/notification.js => devtools/client/responsive/utils/notification.js
rename : devtools/client/responsive.html/utils/orientation.js => devtools/client/responsive/utils/orientation.js
rename : devtools/client/responsive.html/utils/window.js => devtools/client/responsive/utils/window.js
extra : moz-landing-system : lando
2019-08-07 15:24:45 +00:00
Andy Wingo 673d9945f5 Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-07 14:41:36 +00:00
Cosmin Sabou 1f0e3362bd Backed out changeset deb12c7740ce (bug 1571349) for devtools failures on browser_parsable_css.js CLOSED TREE 2019-08-07 15:00:29 +03:00
Nicolas Chevobbe eba42c041f Bug 1571606 - Fix browser_webconsole_websocket intermittent. r=Honza.
The test was navigating to a data url but it doesn't seem like it
was needed in the first place, as we only want to check that the
error messages are shown in the console input.
We also bump up the interval a bit just to be sure to capture the messages.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 09:47:54 +00:00
Alexandre Poirot abb81825ef Bug 1570604 - Rename DebuggerClient.getActor to getFrontByID. r=jdescottes,yulia
Differential Revision: https://phabricator.services.mozilla.com/D40785

--HG--
extra : moz-landing-system : lando
2019-08-07 10:35:02 +00:00
Julian Descottes 0959f84ac4 Bug 1567497 - Record telemetry events when user uses ctrl-P ctrl-shift-P r=Harald,janerik,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38676

--HG--
extra : moz-landing-system : lando
2019-08-05 15:55:02 +00:00
Nicolas Chevobbe 883c9f2eae Bug 1571992 - Fix isScrolledToBottom usage. r=Honza.
The function was expecting the outputNode, but the
callers pass it the outputNode lastChild.
We modify the function to work with this lastNode
instead of the outputNode.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 08:57:08 +00:00
Towkir Ahmed 164bd7d0da Bug 1571449 - Invalid "Response has been truncated" message display condition fixed. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D40884

--HG--
extra : moz-landing-system : lando
2019-08-07 08:53:46 +00:00
Nicolas Chevobbe 547fc844b6 Bug 1571349 - Fix unwanted reflows on message hover. r=jdescottes.
We were adding a before pseudo element on message hover, which
was causing reflows (which are quite expansive in console).
We fix this by always rendering a before pseudo element,
only changing its background color on hover.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 07:49:21 +00:00
Nicolas Chevobbe 2aa7e939ab Bug 1570998 - Remove selectedObjectActor trait. r=jdescottes.
It was added in Firefox 44 and isn't checked
anywhere in the codebase, so we can safely
remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 05:45:34 +00:00
Nicolas Chevobbe 7613e0d9ae Bug 1570999 - Remove transferredResponseSize trait. r=jdescottes.
This was added in Firefox 38 and isn't used anywhere
in the codebase. Let's remove it.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:36 +00:00
Nicolas Chevobbe 57a0bb08b3 Bug 1570997 - Remove fetchCacheDescriptor trait. r=jdescottes.
This was added in Firefox 61, so we can safely remove it now.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:41:18 +00:00
tanhengyeow 9c8bc605a0 Bug 1566002 - Remove unnecessary key values and replace componentWillReceiveProps. r=nchevobbe
Remove unnecessary key values, replace componentWillReceiveProps, did some cleanup

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

--HG--
extra : moz-landing-system : lando
2019-08-06 19:40:27 +00:00
Ciure Andrei 114c2b4403 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-08-07 07:37:08 +03:00
Ciure Andrei adef2661b1 Merge inbound to mozilla-central. a=merge 2019-08-07 07:34:55 +03:00
Gabriel Luong de91da4b2a Bug 1568151 - Replace `target.getInspector()` by `target.getFront("inspector")`. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39914

--HG--
extra : moz-landing-system : lando
2019-08-07 04:17:31 +00:00
Daisuke Akatsuka e7c694b138 Bug 1491874: Add test the keybindings for element picker with separate window. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D40400

--HG--
extra : moz-landing-system : lando
2019-08-07 02:08:23 +00:00
Daisuke Akatsuka 9aaf57a4e2 Bug 1491874: Keep the shortcut key consistency of during picker mode. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D40379

--HG--
extra : moz-landing-system : lando
2019-08-07 02:07:21 +00:00
Daisuke Akatsuka 5041bdc10b Bug 1491874: Prevent raising the toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40378

--HG--
extra : moz-landing-system : lando
2019-08-07 02:07:08 +00:00
Daisuke Akatsuka de32ac622a Bug 1491874: Enable Cmd+Shift+C shortcut key on the separated toolbox. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40377

--HG--
extra : moz-landing-system : lando
2019-08-07 02:07:01 +00:00
Andreea Pavel a7b3920be9 Backed out changeset 4ed2ae72d108 (bug 1568157) for dt failures on a CLOSED TREE 2019-08-07 02:50:26 +03:00
Gabriel Luong b338daf32e Bug 1568157 - Part 1: Replace `toolbox.inspectorFront` with the `inspectorFront` from `target.getFront("inspector")`. r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D40313

--HG--
extra : moz-landing-system : lando
2019-08-06 21:36:09 +00:00
Andreea Pavel 018d43f8fb Backed out changeset 531e06bae805 (bug 1568151) for failing browser_ext_devtools_panel.js on a CLOSED TREE
--HG--
extra : amend_source : b4fbc693143810f3c7462c9d3598529627480891
2019-08-07 00:35:56 +03:00
Andreea Pavel 7003377283 Backed out changeset 3beffacf5f4a (bug 1547385) devtools failures on a CLOSED TREE 2019-08-07 00:07:56 +03:00
Kris Maglione c01ad83372 Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika
Currently, TabGroups know to break their reference cycles only when the last
window leaves them. For TabGroups which have never had a window join (which
happens under Fission), this means they also never see a window leave, and
therefore never break their reference cycles, and leak.

This patch adds a check to break reference cycles if no windows have joined by
the time a BrowserChild they belong to is destroyed.

MANUAL PUSH: Lando fails to rebase.

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

--HG--
extra : source : 03acb28ab60fb77fa06064385a62cc46cf4ad1bd
extra : amend_source : 0a71625d99951bebe45ee6f62570de491a714e97
2019-08-02 18:19:53 -07:00
Julian Descottes 01cd4cb2f4 Bug 1571365 - Add documentation for devtools node tests r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D40605

--HG--
extra : moz-landing-system : lando
2019-08-05 12:08:20 +00:00
Cosmin Sabou 12a8944ce8 Bug 1567597 - Disable browser_perf tests that keep timing out. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40812

--HG--
extra : moz-landing-system : lando
2019-08-06 14:00:50 +00:00
Arun Kumar Mohan 2ae57e4ad5 Bug 1566469 - Rename millis to ms. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39907

--HG--
extra : moz-landing-system : lando
2019-08-06 12:02:21 +00:00
tanhengyeow a6ffd97e5e Bug 1569781 - Refreshing Netmonitor and clicking on a WS request shows Accordion. r=nchevobbe
Set frameDetailsOpen to false when WebSocketsPanel unmounts.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 08:26:58 +00:00
tanhengyeow 9983b8eaa6 Bug 1561553 - WebSocket frame list should hide some columns by default. r=nchevobbe
Show "Data" and "Time" column by default. Allows users to show/hide columns through the header context menu. Also ensures that least one column is shown.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 07:31:10 +00:00
tanhengyeow 9022744f58 Bug 1566775 - No WS messages are shown, if the request is changed with arrow keys. r=nchevobbe
Pass in channelId to "selectRequest" action for keyDown events

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

--HG--
extra : moz-landing-system : lando
2019-08-01 13:50:24 +00:00
yulia 76593f4a6c Bug 1566450 - disable aboutdebugging_process_main_local test on debug builds; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40645

--HG--
extra : moz-landing-system : lando
2019-08-05 15:29:17 +00:00
yulia 05d661890f Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712

--HG--
extra : moz-landing-system : lando
2019-08-05 15:27:51 +00:00
yulia 93b10b4e80 bug 1566450 - Implement a metaclass for content processes r=ochameau,jdescottes
WIP for metaclass concept

The best place to start is the test, it outlines what the API looks like.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 15:15:46 +00:00
Greg Tatum 770b452ba1 Bug 1521929 - Remove the memory feature from profiler DevTools; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D40288

--HG--
extra : moz-landing-system : lando
2019-08-05 15:37:21 +00:00
Bogdan Tara 80a144be91 Backed out 8 changesets (bug 1569676) for failures on browser_toolbox_tool_ready.js CLOSED TREE
Backed out changeset 997ad11003a3 (bug 1569676)
Backed out changeset 2dab5e2243d0 (bug 1569676)
Backed out changeset 59660e3e2e53 (bug 1569676)
Backed out changeset c0b0e0410a66 (bug 1569676)
Backed out changeset 1bc927ef181a (bug 1569676)
Backed out changeset 5227c89295f4 (bug 1569676)
Backed out changeset 8365fc01396b (bug 1569676)
Backed out changeset 996c40dbc9e2 (bug 1569676)
2019-08-05 22:00:23 +03:00
Csoregi Natalia 533d800d89 Backed out changeset 63ffc8b43cc3 (bug 1571221) for failures on browser_ext_devtools_inspectedWindow.js. CLOSED TREE 2019-08-05 20:13:18 +03:00
Alexandre Poirot 17d1e957eb Bug 1569676 - Wait for toolbox to be loaded before closing the toolbox in browser_toolbox_toolbar_reorder_with_secondary_toolbox.js. r=jdescottes
A RDP request is made during toolbox opening and this request isn't awaited for
during the call to gDevTools.showToolbox. This relates to the autohide menu.
Await for this request to be finished and the DOM elements relating to it to be disabled
before trying to close the toolbox.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 10:47:10 +00:00
Alexandre Poirot 1f7e272aad Bug 1569676 - Make style editor panel's destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39714

--HG--
extra : moz-landing-system : lando
2019-08-05 10:47:08 +00:00
Alexandre Poirot fa5f22284f Bug 1569676 - Make storage panel's destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39713

--HG--
extra : moz-landing-system : lando
2019-08-05 10:47:06 +00:00
Alexandre Poirot ab80662a45 Bug 1569676 - Make scratchpad destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39712

--HG--
extra : moz-landing-system : lando
2019-08-05 10:47:05 +00:00
Alexandre Poirot 6127213588 Bug 1569676 - Make new performance panel's destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39711

--HG--
extra : moz-landing-system : lando
2019-08-05 10:47:01 +00:00
Alexandre Poirot e1ca836b59 Bug 1569676 - Make memory panel's destroy synchronous. r=jdescottes
The memory actor is a target scoped one and they are all destroyed
when the toolbox closes. So memory actor's destroy method is called.
It then calls bridge's destroy, which also detach the actor if it was
attached.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 10:46:54 +00:00
Alexandre Poirot 7bb440be2a Bug 1569676 - Make DOM and application panel's destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39709

--HG--
extra : moz-landing-system : lando
2019-08-05 10:46:52 +00:00
Alexandre Poirot d75ac50d93 Bug 1569676 - Make accessibility panel's destroy synchronous. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39708

--HG--
extra : moz-landing-system : lando
2019-08-05 10:46:50 +00:00
Krishnal Ciccolella ce3d0217a4 Bug 1571221 - Add a check for 'this.selection' before calling 'destroy()' on it r=gl
Added an if statement to check for `this.selection`. If it is truthy, `destroy()` will be called on it.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 15:37:16 +00:00
Julian Descottes 4992b2922e Bug 1571318 - Stop using inline styles in event tooltip r=gl
Differential Revision: https://phabricator.services.mozilla.com/D40588

--HG--
extra : moz-landing-system : lando
2019-08-05 13:26:49 +00:00
Nicolas Chevobbe 5b6538716e Bug 1548866 - Fix browser_webconsole_keyboard_accessibility.js intermittent. r=davidwalsh.
The test was supposed to pass custom values to waitFor (for
the number of tries and the interval), but what we end up
using in the webconsole is the waitFor function from the
debugger helper, which is loaded via loadSubScript.
Since the debugger waitFor doesn't allow to pass custom
maxTries nor interval, we are not waiting long enough
for all the messages to be displayed on slow machines.
The quickfix here is to allow debugger waitFor to have
custom maxTries and interval.
A better fix would be to actually not load the waitFor
from the debugger, for example by avoiding loadSubScript
and using modules instead.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 13:19:48 +00:00
Julian Descottes 84eb11c4cf Bug 1570897 - Add test to check that about:devtools-toolbox is focused after reload r=ochameau
Depends on D40232

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:47:25 +00:00
Nicolas Chevobbe e63b4ee826 Bug 1570320 - Rename hudservice into browser-console-manager. r=ochameau.
The file only manages the browser console, so we're
making its name reflect what it does.

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

--HG--
rename : devtools/client/webconsole/hudservice.js => devtools/client/webconsole/browser-console-manager.js
extra : moz-landing-system : lando
2019-08-05 11:40:58 +00:00
Alexandre Poirot 8f0375b40d Bug 1569690 - Use target instead of thread as greatest common divisor. r=loganfsmyth,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39720

--HG--
extra : moz-landing-system : lando
2019-08-05 10:53:52 +00:00
Alexandre Poirot c2d74f2aac Bug 1570692 - Do not restore focus for about:debugging toolboxes. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D40232

--HG--
extra : moz-landing-system : lando
2019-08-05 10:36:36 +00:00
Gabriel Luong 2365ba00a8 Bug 1568151 - Replace `target.getInspector()` by `target.getFront("inspector")`. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39914

--HG--
extra : moz-landing-system : lando
2019-08-06 19:55:15 +00:00
Dhyey Thakore d8099b16fe Bug 1547385 - Implement initial Inline Preview for debugger r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D34175

--HG--
extra : moz-landing-system : lando
2019-08-06 19:47:38 +00:00
Andreea Pavel 53820aa30c Backed out 9 changesets (bug 1564221) xpcshell failures on a CLOSED TREE
Backed out changeset 36e33a3b59f0 (bug 1564221)
Backed out changeset 12d1607c1415 (bug 1564221)
Backed out changeset 8c3157ad3ac9 (bug 1564221)
Backed out changeset ad7a644c5a8d (bug 1564221)
Backed out changeset 31f730109760 (bug 1564221)
Backed out changeset a140da3467e0 (bug 1564221)
Backed out changeset 02a324e713d6 (bug 1564221)
Backed out changeset dc76eeb3a74a (bug 1564221)
Backed out changeset bc933f236434 (bug 1564221)
2019-08-06 20:49:21 +03:00
Razvan Maries 2d23034c48 Backed out changeset 145b187e750f (bug 1570886) for perma xpcshell fails on test_objectgrips-08.js. CLOSED TREE 2019-08-06 20:12:16 +03:00
Nicolas Chevobbe cc5dd3750c Bug 1570985 - Don't create an ObjectClient from ConsoleTable. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D40589

--HG--
extra : moz-landing-system : lando
2019-08-06 15:15:09 +00:00
Barret Rennie bdc312d909 Bug 1564221 - Remove QueryInterface parameter from MockSecurityInfo in devtools tests r=ochameau
The `MockSecurityInfo` instances in the patched devtools tests are not actually
being used as `nsITransportSecurityInfo` instances; while `QueryInterface`
methods were generated for the them, these were never called. Additionally, the
methods they are being passed to are not XPCOM-defined and therefore do not
strictly require `nsITransportSecurityInfo`.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:37:05 +00:00
Andy Wingo 0f20ca98c4 Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-06 10:36:09 +00:00
Brian Hackett 97a8b6a8cd Bug 1538056 Part 4 - Add test for setting column breakpoints in inline scripts, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D33188

--HG--
extra : moz-landing-system : lando
2019-08-04 21:40:20 +00:00
Brian Hackett 94624944d0 Bug 1538056 Part 3 - Adjust breakpoint positions in inline scripts by the starting column offset, r=loganfsmyth.
Depends on D33181

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

--HG--
extra : moz-landing-system : lando
2019-08-04 21:37:03 +00:00
Brian Hackett 23cddcde7f Bug 1538056 Part 2 - Use HTML file contents from parser in devtools server when possible, r=loganfsmyth.
Depends on D33178

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

--HG--
extra : moz-landing-system : lando
2019-08-04 21:34:31 +00:00
Brian Hackett bc685f2db6 Bug 1570089 Part 1 - Recover from replaying process crashes, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D39925

--HG--
extra : moz-landing-system : lando
2019-08-04 16:55:00 +00:00
Arun Kumar Mohan 3f7e593586 Bug 1554872 - Refactor renderFlexibiilitySection method to remove disabled complexity eslint rule. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39623

--HG--
extra : moz-landing-system : lando
2019-07-30 18:07:54 +00:00
Arun Kumar Mohan 5d6470c5e8 Bug 1554875 - Refactor _onShortcut method to remove disabled complexity eslint rule. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39602

--HG--
extra : moz-landing-system : lando
2019-07-31 12:52:39 +00:00
Nicolas Chevobbe 1aeeaf2559 Bug 1465149 - Remove old jsterm code. r=jdescottes.
Since we modified the Editor to be accessible, we got
the green light to remove the old JsTerm code.
This means we can remove the preference for the codeMirror
input, and clean the WebConsole react app a bit.
This also mean we can avoid running a lot of our tests
twice.
Finally, some test helpers had to take argument with
specific shape to work against old jsterm (e.g. checkInputCompletionValue),
that we can now remove to make tests easier to read.

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

--HG--
extra : moz-landing-system : lando
2019-08-04 09:38:25 +00:00
Yura Zenevich fbc5c77152 Bug 1565460 - improve accessibility and configurability of the shared menu components. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39117

--HG--
extra : moz-landing-system : lando
2019-08-03 23:12:58 +00:00
Krishnal Ciccolella ce015b94f1 Bug 1545356 - Hovering over 'flex' and 'grid' buttons, in the inspector view, indicates that they are clickable r=gl
I made changes to the `LOCALIZATION NOTE` in the `inspector.properties` file and updated `DISPLAY_TYPES` in the `element-editor.js` file for `flex`, `grid`, `inline-flex` and `inline-grid`.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 16:31:09 +00:00
Nicolas Chevobbe 2198781106 Bug 1566879 - Simplify WebConsoleConnection connect function. r=ochameau.
The connect function was very hard to follow, with other methods
responsible to resolve or reject the connection Promise.
We modify this to only deal with the connection Promise inside
the connect function so it's easier to follow.
The connection timeout was handled in a similar fashion, with
the callback to a setTimeout responsible to reject the connection
promise.
We modify this behavior in favor of a Promise.race which brings
us the same benefit while being easier to understand.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 08:39:34 +00:00
Nicolas Chevobbe 7a051fbbf2 Bug 1566879 - Switch WebConsoleConnectionProxy to a class. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D39470

--HG--
extra : moz-landing-system : lando
2019-08-03 08:39:15 +00:00
Nicolas Chevobbe b39394d528 Bug 1554857 - Add editor mode button in input. r=ladybenko.
The button is then hidden when in editor mode.
A test is added to ensure the button is displayed
when it's expected, and that clicking on it does
open the editor.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 08:30:16 +00:00
Brian Hackett 73b3de39bd Bug 1519855 - Notify client about sources after BFCache navigations, r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D38440

--HG--
extra : moz-landing-system : lando
2019-08-03 03:12:02 +00:00
Oriol Brufau 4264180ccf Bug 1547320 - Fix formatting of test_objectgrips-20.js. r=bhackett
Depends on D39906

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

--HG--
extra : moz-landing-system : lando
2019-08-02 17:05:06 +00:00
Oriol Brufau ef4df6b27c Bug 1547320 - Test that devtools can safely obtain the length of typed arrays in workers. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D39906

--HG--
extra : moz-landing-system : lando
2019-08-02 17:05:28 +00:00
Boris Chiou f7b833b7ce Bug 1559231 - Make offset-anchor animatable. r=birtles
Per the spec issue, https://github.com/w3c/csswg-drafts/issues/3482,
we update the wpt to keep the percentage in `calc()` for `offset-anchor`.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:12:40 +00:00
Boris Chiou b91b90c199 Bug 1559231 - Support offset-anchor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39432

--HG--
extra : moz-landing-system : lando
2019-08-02 20:12:38 +00:00
Jason Laster e60778b38f Bug 1569811 - Implement async step over in the server. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D39967

--HG--
extra : moz-landing-system : lando
2019-08-02 20:36:19 +00:00
chujun 35ea958caa Bug 1557881 - Update source to get the right isBlackBoxed property r=davidwalsh,jlast
When working for this bug, I noticed a related issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1568985. An up-to-date `source` object is needed for the [[ https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js#130 | label ]] and the [[ https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js#135 | toggleBlackBox function ]]. So instead of creating a function similar to `hasPrettySource`, I get the whole `source` object and add a blackbox icon based on `source.isBlackBoxed`. Let me know what you think.

I also added a snapshot test for prettyPrint icon.
{F1479921}

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:38:24 +00:00
Brindusan Cristian 0b3e26149c Backed out 2 changesets (bug 1559231) for rusttests build bustages. CLOSED TREE
Backed out changeset d47d9f4bf9a9 (bug 1559231)
Backed out changeset 50f92d01c47a (bug 1559231)
2019-08-02 21:55:37 +03:00
Boris Chiou 4dbc9ab7ef Bug 1559231 - Make offset-anchor animatable. r=birtles
Per the spec issue, https://github.com/w3c/csswg-drafts/issues/3482,
we update the wpt to keep the percentage in `calc()` for `offset-anchor`.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 00:47:09 +00:00
Boris Chiou 9463547bb3 Bug 1559231 - Support offset-anchor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39432

--HG--
extra : moz-landing-system : lando
2019-08-02 00:43:11 +00:00
Julian Descottes 0fa207e547 Bug 1569975 - Add documentation about CSP in DevTools toolbox document r=sole
Differential Revision: https://phabricator.services.mozilla.com/D39899

--HG--
extra : moz-landing-system : lando
2019-08-02 16:25:08 +00:00
Nicolas Chevobbe e02548f537 Bug 1570987 - Remove unsused getWebConsoleClient from serviceContainer. r=gl.
Differential Revision: https://phabricator.services.mozilla.com/D40428

--HG--
extra : moz-landing-system : lando
2019-08-02 14:30:11 +00:00
Arun Kumar Mohan 467cd6aa5d Bug 1554873 - Refactor convertUnits function to remove disabled complexity eslint rule. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39586

--HG--
extra : moz-landing-system : lando
2019-07-30 18:04:02 +00:00
Nicolas Chevobbe 9eb7ab91ab Bug 1568143 - Don't use JsTerm reference to evaluate code. r=jdescottes.
JSTerm `execute` function is renamed to `_execute` to emphasize
that it's a private function.
A `dispatchEvaluateExpression` is added to the WebConsoleWrapper
so other panels can use that if they need to.
A test helper is added to be able to evaluate without grabbing
the jsterm reference, and tests are modified to use the new
helper, or the existing `executeAndWaitForMessage`.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:50:28 +00:00
Nicolas Chevobbe 734f57b508 Bug 1567174 - Move expression evaluation to a proper Redux action. r=jdescottes.
The goal is to not directly use the panel.hud.ui.proxy reference
directly from the JsTerm, so we're in better shape when Fission
comes.
It's also a nice refactor to make the JSTerm component more
React-like.
As a nice benefit, we can handle telemetry and history persistence
from their middleware.
As the `requestEvaluation` method is removed from the JSTerm, some
callsites needed to be updated to still work.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:49:21 +00:00
Tom Ritter b497d6b89c Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping. r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

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

Depends on D38808

--HG--
extra : rebase_source : 0e6724304ffc38c9566363f29c7a97a0af8e984a
2019-08-02 07:36:29 +02:00
arthur.iakab f2d5645536 Backed out changeset ec73bc656bd3 (bug 1569690) for causing debugger failures CLOSED TREE 2019-08-02 11:02:29 +03:00
Alexandre Poirot b5978e53e2 Bug 1569690 - Use target instead of thread as greatest common divisor. r=loganfsmyth,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39720

--HG--
extra : moz-landing-system : lando
2019-07-31 06:37:41 +00:00
Alexandre Poirot c23157cdbb Bug 1570623 - Remove unused WebConsoleUI.onLocationChange method. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40195

--HG--
extra : moz-landing-system : lando
2019-08-02 06:10:19 +00:00
Razvan Maries 1fb298eac8 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-08-02 07:11:00 +03:00
Razvan Maries f57bfff083 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/media/encoder/EncodedFrameContainer.h => dom/media/encoder/EncodedFrame.h
2019-08-02 06:50:08 +03:00
Oriol Brufau c673fb4990 Bug 1570279 - Some refactoring for test_objectgrips-17.js. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com//D40023

Depends on D40022

--HG--
extra : histedit_source : 4ec73841e798c5e3d8e5b194950ffa30824b8964
2019-07-31 17:25:30 +03:00
Oriol Brufau 8e65f8c891 Bug 1570279 - Reenable accidentally disabled checks in test_objectgrips-17.js. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com//D40022

--HG--
extra : histedit_source : 557166c573619cf669c717928acbe483f9430df8
2019-07-31 17:25:15 +03:00
Jason Laster 14e8167a5a Bug 1172572 - teach debugger to step into calls at the beginning of statements. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D33073

--HG--
extra : moz-landing-system : lando
2019-08-01 19:55:37 +00:00
Nicolas Chevobbe f228acde3b Bug 1569643 - Fix browser toolbox fission pref. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D39998

--HG--
extra : moz-landing-system : lando
2019-08-01 14:03:30 +00:00
Ciure Andrei 7348fe95a3 Backed out 2 changesets (bug 1568143, bug 1567174) for causing browser_ext_addon_debugging_netmonitor.js to perma fail CLOSED TREE
Backed out changeset a8faaa1c722e (bug 1568143)
Backed out changeset 5dddaeb1e952 (bug 1567174)
2019-08-02 00:50:34 +03:00
Alexandre Poirot 0544e8a72d Bug 1569569 - Make HUDService specific to the browser console. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40021

--HG--
extra : moz-landing-system : lando
2019-07-31 21:56:54 +00:00
Alexandre Poirot bbcb4110b5 Bug 1569569 - Instantiates WebConsole directly from WebConsolePanel. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40020

--HG--
extra : moz-landing-system : lando
2019-07-31 21:56:52 +00:00
Alexandre Poirot a733068fb4 Bug 1569569 - Stop returning self from WebConsole.init. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D40019

--HG--
extra : moz-landing-system : lando
2019-07-31 21:56:45 +00:00
Nicolas Chevobbe 40b05ccad0 Bug 1568143 - Don't use JsTerm reference to evaluate code. r=jdescottes.
JSTerm `execute` function is renamed to `_execute` to emphasize
that it's a private function.
A `dispatchEvaluateExpression` is added to the WebConsoleWrapper
so other panels can use that if they need to.
A test helper is added to be able to evaluate without grabbing
the jsterm reference, and tests are modified to use the new
helper, or the existing `executeAndWaitForMessage`.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 06:52:25 +00:00
Nicolas Chevobbe 2bba275315 Bug 1567174 - Move expression evaluation to a proper Redux action. r=jdescottes.
The goal is to not directly use the panel.hud.ui.proxy reference
directly from the JsTerm, so we're in better shape when Fission
comes.
It's also a nice refactor to make the JSTerm component more
React-like.
As a nice benefit, we can handle telemetry and history persistence
from their middleware.
As the `requestEvaluation` method is removed from the JSTerm, some
callsites needed to be updated to still work.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 06:47:41 +00:00
Razvan Maries fe9603739a Bug 1559605 - disabled browser_webconsole_check_stubs_page_error.js on Windows10 ccov. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D39840

--HG--
extra : moz-landing-system : lando
2019-07-30 08:37:55 +00:00
Alexandre Poirot a7fb7812f4 Bug 1567210 - Use Thread actor reference to distinguish the event loops. r=loganfsmyth
Use thread actor reference instead of target's actor URL *and* connection
to distinguish the currently paused event loop from the other ones which
may be on-pause from another thread actor on another connection/tab.
This happens when connecting more than one client against the same tab.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 15:52:30 +00:00
Alexandre Poirot 82ff0428d0 Bug 1567210 - Ensure resuming page execution when the toolbox closes. r=loganfsmyth
pre and post nest functions are rather something specific to the thread actor
or the event loop classes. The only reason it is today on the target actors
is that the list of targetted windows can be different based on the target.
But we can figure out, from the thread actor's debuggees, the list of these
windows that are inspected by the thread actor.
I think that it is better that was as it better reflect what actual final
globals, the thread actor is interacting with. The previous code could possibly
introduce differences between globals for which we pauses the timeouts and events
versus the globals being inspected by the thread actor.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 15:55:53 +00:00
Alexandre Poirot 7ad86ca18d Bug 1567210 - Better handle non-javascript exception in thread actor. r=loganfsmyth
Exceptions can be something else than `Error`.
An example could be `Cu.Exception()`, but native code can probably throw
unexpected things. It is also possible to throw any kind of object in JS...

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

--HG--
extra : moz-landing-system : lando
2019-07-31 15:52:21 +00:00
David Walsh 7134e2b09b Bug 1570129 - Miscellaneous code cleanup for debugger components r=jlast
Super minor cleanup

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

--HG--
extra : moz-landing-system : lando
2019-07-31 16:48:32 +00:00
Belén Albeza 2b561d0edd Bug 1565171 - Add routing support part 2: Implement a page switcher component r=nchevobbe
This patch implements a page switcher component (`PageContainer`) and a new Redux substate (`UiState`) to handle which page is shown. At the moment, only service workers page is supported. The aim of this patch is to enable support to add new pages later on and be able to switch between them easily.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 11:15:55 +00:00
Julian Descottes 5811296101 Bug 1566020 - Update vendored lodash version to 4.17.14 r=cr,jlast
This is the only version of lodash that actually ships with Firefox.
We have some package.json files that also reference lodash but they are used for tests only.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 05:24:13 +00:00
jaril 60991a8f38 Bug 1452920 - Convert WebConsoleActor to protocoljs Actor. r=nchevobbe,yulia
Differential Revision: https://phabricator.services.mozilla.com/D39490

--HG--
extra : moz-landing-system : lando
2019-07-31 14:13:23 +00:00
Florens Verschelde 812d833d41 Bug 1568746 - Trim input text in Console messages; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39316

--HG--
extra : moz-landing-system : lando
2019-07-31 12:31:30 +00:00
Julian Descottes 98a6aa7764 Bug 1554404 - Add title to disabled serviceworker buttons in aboutdebugging r=fluent-reviewers,Pike,daisuke
Depends on D38850

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

--HG--
extra : moz-landing-system : lando
2019-07-31 11:34:37 +00:00
Alexandre Poirot c61174d61e Bug 1566421 - Make webconsole panel destroy codepath synchronous. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38310

--HG--
extra : moz-landing-system : lando
2019-07-31 08:12:43 +00:00
Alexandre Poirot 635c41621b Bug 1510690 - Do focus the content window from the actor when the toolbox closes. r=nchevobbe
No RDP request should be done when the toolbox closes as there no guarantee that
the request will complete. Instead, such cleanup should be done by the actors.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 08:12:16 +00:00
David Walsh d04500a40f Bug 1463427 - Tidy up debugger strings r=jlast
I created a script (https://gist.github.com/darkwing/37ce7c59f937e36cba02fcb6711328bc) to find unused locale strings in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 00:17:24 +00:00
Daniel Varga 8e64ed723e Merge mozilla-inbound to mozilla-central. a=merge 2019-07-31 00:52:26 +03:00
Emilio Cobos Álvarez 73a81d9f9a Bug 1569911 - followup: Update properties database since the order some structs are loaded changed.
MANUAL PUSH: orange
2019-07-30 14:16:48 +02:00
Daniel Varga c7ecfc9e12 Backed out 9 changesets (bug 1387894) for wpt failures at /web-animations/timing-model/animations/finishing-an-animation.html on a CLOSED TREE
Backed out changeset 998582bf083d (bug 1387894)
Backed out changeset cd58aae7d47b (bug 1387894)
Backed out changeset a51919fb2062 (bug 1387894)
Backed out changeset ef7b589d751b (bug 1387894)
Backed out changeset 75c0249b594a (bug 1387894)
Backed out changeset 4a75f2556242 (bug 1387894)
Backed out changeset 0bff9ba4237c (bug 1387894)
Backed out changeset 80040c0a275e (bug 1387894)
Backed out changeset 02814f69872d (bug 1387894)
2019-07-30 21:05:59 +03:00
Gabriel Luong cbfa9181e7 Bug 1569780 - Remove unused notificationBox reference in the inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39787

--HG--
extra : moz-landing-system : lando
2019-07-30 09:30:14 +00:00
Tom Ritter 48c645ebf2 Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

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

--HG--
extra : moz-landing-system : lando
2019-07-30 15:12:08 +00:00
Oriol Brufau 81146cdc2f Bug 1544175 - Fix browser_console.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38804

--HG--
extra : moz-landing-system : lando
2019-07-29 22:06:57 +00:00
Oriol Brufau 9f8a98e989 Bug 1544175 - Prevent devtools from accessing CPOWs. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38803

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_console.js => devtools/client/webconsole/test/mochitest/browser_console_cpow.js
extra : moz-landing-system : lando
2019-07-29 22:16:49 +00:00
Jason Laster 16912a4087 Bug 1565578 - 'Step in' exits function. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D38769

--HG--
extra : moz-landing-system : lando
2019-07-29 22:40:53 +00:00
Alexandre Poirot b4e2944794 Bug 1568150 - Make Toolbox.destroyInspector synchronous. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D39680

--HG--
extra : moz-landing-system : lando
2019-07-29 16:52:31 +00:00
Alexandre Poirot fb092f76b5 Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 17:16:11 +00:00
Alexandre Poirot 78f9354e3f Bug 1568150 - Stop spinning the event loop when destroying the inspector front. r=gl
InspectorFront.destroy isn't returning a promise. So the `await` in the toolbox
code is not relevant and is only spinning the event loop.
Removing it introduce races which should be fixed.
The toolbox buttons shouldn't try to unhighlight if the inspector isn't used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 16:52:28 +00:00
Kevin Morehouse 940cd11160 Bug 1566903 - Work-in-Progress Patch - Ensure that Ctrl/Cmd + F shortcut always re-selects the search bar query. r=jlast
This patch ensures that any existing query text in the search bar is highlighted when the Cmd/Ctrl + F shortcut is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:33:17 +00:00
Belén Albeza 54ea0f0fd2 Bug 1553799 - Part 3: Move serviceContainer to its own module r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39374

--HG--
extra : moz-landing-system : lando
2019-07-29 12:53:18 +00:00
Belén Albeza 7286fc89e3 Bug 1553799 - Part 2: Move rendering of workers to their own root component r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39373

--HG--
rename : devtools/client/application/test/components/components_application_panel-WorkerList.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerList.test.js
rename : devtools/client/application/test/components/components_application_panel-WorkerListEmpty.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkerListEmpty.test.js
rename : devtools/client/application/test/components/components_application_panel-App.test.js => devtools/client/application/test/components/service-workers/components_application_panel-WorkersPage.test.js
extra : moz-landing-system : lando
2019-07-29 12:52:02 +00:00
Belén Albeza 244f7f3e3b Bug 1553799 - Part 1: Move worker-related components to their own folder r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39372

--HG--
rename : devtools/client/application/src/components/Worker.css => devtools/client/application/src/components/service-workers/Worker.css
rename : devtools/client/application/src/components/Worker.js => devtools/client/application/src/components/service-workers/Worker.js
rename : devtools/client/application/src/components/WorkerList.css => devtools/client/application/src/components/service-workers/WorkerList.css
rename : devtools/client/application/src/components/WorkerList.js => devtools/client/application/src/components/service-workers/WorkerList.js
rename : devtools/client/application/src/components/WorkerListEmpty.css => devtools/client/application/src/components/service-workers/WorkerListEmpty.css
rename : devtools/client/application/src/components/WorkerListEmpty.js => devtools/client/application/src/components/service-workers/WorkerListEmpty.js
extra : moz-landing-system : lando
2019-07-29 12:50:17 +00:00
Csoregi Natalia 6ccfe19186 Backed out 2 changesets (bug 1568150) for failures on browser_ext_devtools_panel.js. CLOSED TREE
Backed out changeset 47f2bc60381a (bug 1568150)
Backed out changeset beb290a8b2a3 (bug 1568150)
2019-07-29 17:08:08 +03:00
Julian Descottes 53c3e8c0ce Bug 1568304 - Add test for local process debugging from aboutdebugging r=remote-debugging-reviewers,Ola,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D39086

--HG--
extra : moz-landing-system : lando
2019-07-29 11:06:46 +00:00
Alexandre Poirot baecf18127 Bug 1567726 - Do not request stylesheets front for content processes in the source map service. r=yulia
This actor isn't implemented for processes, but only by browsing context targets.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:54:34 +00:00
Julian Descottes c9aba0f00c Bug 1531349 - Rename multi-e10s-helper to service-workers-debug-helper r=ladybenko,yulia
Differential Revision: https://phabricator.services.mozilla.com/D38850

--HG--
rename : devtools/shared/multi-e10s-helper.js => devtools/shared/service-workers-debug-helper.js
extra : moz-landing-system : lando
2019-07-29 12:59:25 +00:00
Patrick Brosset c535aefa0b Bug 1569877 - Consider textarea as a replaced element; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39866

--HG--
extra : moz-landing-system : lando
2019-07-30 12:56:03 +00:00
Andreea Pavel 8cbd06b810 Backed out 8 changesets (bug 1387894) for build bustages on a CLOSED TREE
Backed out changeset 09785dc4c5aa (bug 1387894)
Backed out changeset 05728160b89e (bug 1387894)
Backed out changeset 01e5b31bcc17 (bug 1387894)
Backed out changeset c5e16646ddb1 (bug 1387894)
Backed out changeset d1f09b772bac (bug 1387894)
Backed out changeset de538a48f455 (bug 1387894)
Backed out changeset d49cd8ef0825 (bug 1387894)
Backed out changeset fcfe77fab0ec (bug 1387894)
2019-07-30 17:17:39 +03:00
Staś Małolepszy 157da38e6c Bug 1568914 - Update Fluent to @fluent/bundle 0.14.0 r=zbraniecki,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D39400

--HG--
extra : moz-landing-system : lando
2019-07-30 13:21:59 +00:00
Tom Ritter 5245b1205b Bug 1387894 - Fix browser_animation_setCurrentTime.js for unconditional clamping r=birtles
This has to do with double imprecision. The test originally had toPrecision(6) to
account for this imprecision. It'd round up 499.9999 into 500. When we send
double(500) (which is an epsilon below 500) into ReduceTimePrecision we wind up
coming out with 499.98. By reducing our precision requirement in this test
we can handle that and round 499.98 back up to 500

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

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
jaril 32e32e8cea Bug 997119 - Move ThreadActor logic from BrowsingContext. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D36554

--HG--
extra : moz-landing-system : lando
2019-07-30 00:05:04 +00:00
Razvan Maries 749859da5a Bug 1543156 - Disabled test_addon_events.js on Windows 7 x32. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D39845

--HG--
extra : moz-landing-system : lando
2019-07-30 08:44:55 +00:00
Patrick Brosset 66d8801e3b Bug 1390793 - Fix the click and hold feature simulation in RDM r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D39672

--HG--
extra : moz-landing-system : lando
2019-07-29 21:43:58 +00:00
Ciure Andrei a2bea01d84 Backed out 2 changesets (bug 1566450) for causing browser_aboutdebugging_process_main_local.js to perma fail CLOSED TREE
Backed out changeset b0eee59fb22c (bug 1566450)
Backed out changeset ea5411c307fb (bug 1566450)
2019-07-30 13:25:30 +03:00
yulia e3481e107f Bug 1566450 - replace getList process json with processDescriptor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37712

--HG--
extra : moz-landing-system : lando
2019-07-29 13:20:27 +00:00
yulia dc867ee1d5 bug 1566450 - Implement a metaclass for content processes r=ochameau,jdescottes
WIP for metaclass concept

The best place to start is the test, it outlines what the API looks like.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 13:19:49 +00:00
Daisuke Akatsuka 627b67599a Bug 1534674: Add a test for pseudo element which defines CSS variable. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38303

--HG--
extra : moz-landing-system : lando
2019-07-30 08:00:57 +00:00
Daisuke Akatsuka bfa5925f04 Bug 1534674: Add test for CSS variable changing. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37964

--HG--
extra : moz-landing-system : lando
2019-07-30 08:00:45 +00:00
Daisuke Akatsuka deec41ec63 Bug 1534674: Update properties referring CSS variables when the variable was updated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D37963

--HG--
extra : moz-landing-system : lando
2019-07-30 08:00:32 +00:00
Daisuke Akatsuka 4d991b8567 Bug 1534674: Make getVariable() returns the correct value by the pseudo type. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38302

--HG--
extra : moz-landing-system : lando
2019-07-30 08:00:20 +00:00
Arun Kumar Mohan d9dcefe8ce Bug 1554883 - Refactor requests reducer to remove disabled complexity eslint rule. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D39472

--HG--
extra : moz-landing-system : lando
2019-07-27 00:47:00 +00:00
Christoph Kerschbaumer ad40847192 Bug 1567877: Apply Meta CSP to about:devtools-toolbox. r=jdescottes,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D39328

--HG--
extra : moz-landing-system : lando
2019-07-30 07:14:09 +00:00
Patrick Brosset ff5f28adeb Bug 1565652 - Treat all audio elements as replaced; r=miker
Before this patch we would only treat audio elements as replaced if they
had something visible on the page, so if they had the controls attribute.
This is a specific case that we don't really need to worry about. If we
unconditionnally assume audio elements are replaced, then the code is
simpler and the heuristic is still fine for the vast majority of cases.
In fact, it's even more correct, as an audio element that's inline and
does *not* have the controls attribute still has active width/height
properties. So we do need to treat it as replaced even in this case.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:43:54 +00:00
Patrick Brosset 3c8e3aee01 Bug 1565652 - Treat input and select unconditionally as replaced elements; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39199

--HG--
extra : moz-landing-system : lando
2019-07-29 11:42:07 +00:00
Julian Descottes bccd17fa9f Bug 1569495 - Stop using innerHTML in HTML Tooltip r=miker
Depends on D39644

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

--HG--
extra : moz-landing-system : lando
2019-07-29 11:56:59 +00:00
Julian Descottes 589fea9277 Bug 1569495 - Stop using inline styles and inner HTML for image tooltip r=miker
Differential Revision: https://phabricator.services.mozilla.com/D39644

--HG--
extra : moz-landing-system : lando
2019-07-29 11:46:53 +00:00
Alexandre Poirot a4067e2cad Bug 1568150 - Destroy the inspector front after the panels. r=gl
All fronts are destroyed when we call TargetMixin.destroy.
All but the inspector. This changeset move the inspector front destruction
from being done in parallel to panels destruction to do it after.
This highlight races in tests that are not waiting correctly for the full
loading of the grid sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:31 +00:00
Alexandre Poirot 6b20f244f3 Bug 1568150 - Stop spinning the event loop when destroying the inspector front. r=gl
InspectorFront.destroy isn't returning a promise. So the `await` in the toolbox
code is not relevant and is only spinning the event loop.
Removing it introduce races which should be fixed.
The toolbox buttons shouldn't try to unhighlight if the inspector isn't used.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:20:29 +00:00
Tom Schuster c90eade61e Bug 1569122 - Limit Worker/SharedWorker MIME type blocking to Beta/Nightly. r=ckerschb
Depends on D39634

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

--HG--
extra : moz-landing-system : lando
2019-07-29 07:25:37 +00:00
Gurzau Raul 8611828ac4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-29 13:06:31 +03:00
Alexandre Poirot 741e60d13d Bug 1566421 - Ensure that actions.updateRequest resolves only once the action is processed. r=nchevobbe
The code callng action.updateRequest, in FirefoxDataProvider, expects the updateRequest action
to be processed once the returned promise is resolved. Otherwise it may spawn
duplicated requestData requests.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:18:14 +00:00
Nicolas Chevobbe 88c894d090 Bug 1567832 - Retrieve fission pref and use it in console classes. r=yulia.
We retrieve the preference in the hudservice, where
WebConsoles and BrowserConsoles are created from.
If the pref is set to true, we assign a different
title to the Browser Console window so it will be
easier to spot.
The preference is then passes to the BrowserConsole,
WebConsole, WebConsoleUI and finally WebConsoleConnectionProxy
instances.
Later, we'll check this pref to connect to different
targets and listen to new ones.

Depends on D39646

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe e56950f59d Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646

--HG--
extra : moz-landing-system : lando
2019-07-29 08:43:25 +00:00
Daisuke Akatsuka d6be7f04ea Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 08:32:46 +00:00
Bogdan Tara 05b45758c3 Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Daisuke Akatsuka 0933ac4c24 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 02:29:44 +00:00
Arun Kumar Mohan e0595d81ef Bug 1554901 - Refactor onInputKeyDown method to remove disabled complexity eslint rule. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39488

--HG--
extra : moz-landing-system : lando
2019-07-27 14:59:36 +00:00
Gabriel Luong 8923476caf Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-26 21:40:12 +00:00
Bogdan Tara 35bb05e6e9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-27 00:41:55 +03:00
Bogdan Tara 3736b292dc Merge inbound to mozilla-central. a=merge 2019-07-27 00:38:36 +03:00
Krishnal Ciccolella 046d981ba1 Bug 1566283 - Increased width of event listener breakpoint clickable area r=davidwalsh
In `EventListeners.css` I added `width: 100%` to the `.event-listener-label` to increase the width of the clickable area.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 17:55:37 +00:00
Nicolas Chevobbe 1cc59795a9 Bug 1569190 - Remove outputNode getter from webconsole.js .r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D39516

--HG--
extra : moz-landing-system : lando
2019-07-26 16:39:18 +00:00
Nicolas Chevobbe 46b7e6f5ac Bug 1569190 - Remove JSTerm outputNode getter. r=jdescottes.
The reference isn't used within the component itself,
and is available in the webConsoleUI.
Callsites are updated.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:39:08 +00:00
Armando Ferreira 8cec468233 Bug 1558201 - Disable history navigation with Arrow keys in Editor mode. r=nchevobbe
In editor mode, there are dedicated icons to history navigation  (See Bug [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1558198 | 1558198 ]]).
Removing the arrow up/down history navigation which is troublesome when working with multi-line snippets.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 18:23:59 +00:00
Nicolas Chevobbe 52a8f8e0e7 Bug 1569187 - Move blur event listeners outside of JSTerm. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D39510

--HG--
extra : moz-landing-system : lando
2019-07-26 15:50:07 +00:00
Nicolas Chevobbe 74b0e7a43e Bug 1553180 - Move outputNode clear from JsTerm to webconsoleUI. r=jdescottes.
There's no reason it should be JsTerm's responsability
to clear the output node.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 15:49:53 +00:00
Barret Rennie a6aabe4a62 Bug 1562821 - Mirror RemoteWebNavigation state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
In the last patch of this series, I forgot to sync `remoteWebNavigationImpl`
state in the progress listener. This patch corrects that.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 20:14:56 +00:00
Kris Maglione 87884612c0 Bug 1568035: Part 4 - Update test expections for Fission. r=mccr8
Some failures crept in and out after my last sets of annotations landed. This
patch updates most of the annotations to deal with them.

MANUAL PUSH: Lando won't let me land.

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

--HG--
extra : rebase_source : 4cfccf95c5bb2521533a9f5c4c25d67f414fb6f5
extra : histedit_source : c19187a3b3002e0eebdd809738b57641e1e432cd
2019-07-24 13:06:57 -07:00
Kris Maglione ef02b3cbd8 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459

--HG--
extra : rebase_source : 594e7c17a8aa81f9b212ff1fa492a8ab8f40d5ee
2019-07-19 15:31:16 -07:00
Yura Zenevich 9a4d844efc Bug 1568602 - ensure toolbar buttons do not shift when in focus. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D39226

--HG--
extra : moz-landing-system : lando
2019-07-25 23:19:51 +00:00
Noemi Erli 1e52c22f88 Backed out changeset 63fabd70675c (bug 1539764) for causing failures in browser_ext_addon_debugging_netmonitor.js CLOSED TREE 2019-07-26 01:29:13 +03:00
Hiroyuki Ikezoe 7e6638c54c Bug 1498729 - Fix meta viewport content to not scale the document in browser_touch_simulation.js. r=mtigley
The test is supposed that the document is not scalable at all when
"minimum-scale=maximum-scale" is set in the viewport meta content, but it's
actually invalid.  A correct content is assumed "minimum-scale=1,maximum-scale=1"
so that the document is not scaled at all.

The reason why this check has passed is that "user-scalable=no" which is set
right before this check remains in cache so that the content of the meta
viewport becomes "user-scalable=no,minimum-scale=maximum-scale" which means the
document is not scalable.  But we are going to fix this weird behavior in this
commit series so that we are no longer able to rely on the cached
"user-scalable=no" value.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 14:22:57 +00:00
Gabriel Luong d453abb466 Bug 1539764 - Add a targetFront attribute to the Front class to retrieve the target front. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D39130

--HG--
extra : moz-landing-system : lando
2019-07-25 20:44:09 +00:00
Bryan Kok 645a0fa8ca Bug 1528036 - Full page screenshot tool is not functional after page refresh r=yulia,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D33832

--HG--
extra : moz-landing-system : lando
2019-07-22 12:04:04 +00:00
Florens Verschelde c7a66ffd65 Bug 1568846 - Update link of FirefoxUX photon colors repo; r=rcaliman
- Link to new repo https://github.com/FirefoxUX/photon-colors/blob/master/photon-colors.css
- Explain why we don't include all available colors (test failure)
- Explain why we add some custom values
- Move the Red values after the Yellow ones to match upstream

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

--HG--
extra : moz-landing-system : lando
2019-07-25 18:49:06 +00:00
Jason Laster 30aa454f11 Bug 1565695 - Mousing out of a a preview should close the popup in the Browser toolbox. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D37937

--HG--
extra : moz-landing-system : lando
2019-07-25 17:47:27 +00:00
Alexandre Poirot 40f0d43088 Bug 1567860 - Make inspector panel's destroy synchronous. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D39303

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:22 +00:00
Alexandre Poirot 91c0c3d8b5 Bug 1567860 - Make changes view destroy codepath synchronous. r=rcaliman
The fronts are destroyed when the toolbox closes and when a front is destroyed,
all its listeners are removed. So there is no real value in trying to unregister
them. On top of that, this destroy method is called by Inspector.destroy
and doesn't wait for its completion.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:20 +00:00
Alexandre Poirot 2ee4c1769e Bug 1567860 - Make the inspector sidebars destroy codepath synchronous. r=rcaliman
This code in ToolSidebar.destroy looks dead as there shouldn't be any sidebar
loaded in distinct iframes anymore. So we are not trying to call sidebars destroy
from here anymore. Instead, it is being done from Inspector.destroy, via the _panels
Map.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:13 +00:00
Alexandre Poirot 371c9012b2 Bug 1567860 - Make the markup view destroy codepath synchronous. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D39300

--HG--
extra : moz-landing-system : lando
2019-07-25 11:54:11 +00:00
Alexandre Poirot 7a4cbc5d18 Bug 1566421 - Make WebConsoleUI.destroy synchronous. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38460

--HG--
extra : moz-landing-system : lando
2019-07-25 06:43:52 +00:00
Julian Descottes 0ab30c1e08 Bug 1568823 - Simplify parser.js and rename to parser-helper r=nchevobbe
Depends on D39335
Looking in details at get(), the implementation can also be simplified

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

--HG--
rename : devtools/shared/webconsole/parser.js => devtools/shared/webconsole/parser-helper.js
extra : moz-landing-system : lando
2019-07-25 13:21:03 +00:00
Julian Descottes 5689ca6238 Bug 1568823 - Move Parser.jsm to a regular module in devtools/shared/webconsole r=nchevobbe
Depends on D39333

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

--HG--
rename : devtools/shared/Parser.jsm => devtools/shared/webconsole/parser.js
extra : moz-landing-system : lando
2019-07-25 13:17:11 +00:00
Julian Descottes 999495e12c Bug 1568823 - Stop exporting reflectionAPI from Parser.jsm r=nchevobbe
Depends on D39332

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

--HG--
extra : moz-landing-system : lando
2019-07-25 13:15:12 +00:00
Julian Descottes 3920fcb9e9 Bug 1568823 - Remove all unused methods from Parser.jsm r=nchevobbe
Depends on D39321

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

--HG--
extra : moz-landing-system : lando
2019-07-25 14:05:41 +00:00
Nicolas Chevobbe 14505fb3ac Bug 1559717 - Fix displaying getter value for getter returning falsy values. r=davidwalsh.
We were displaying result.value.throw if result.value.return
was falsy. But it can happen that a getter does return a
falsy value, and we want to display it.
So now we turn the expression the other way around, we first
check result.value.throw, and then default to result.value.return.
A mochitest is added to ensure we hav expected value for different
getters returning falsy values.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 13:55:14 +00:00
Julian Descottes d55d46038c Bug 1563474 - Remove unused getScriptInfo from Parser.jsm r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39321

--HG--
extra : moz-landing-system : lando
2019-07-25 11:38:59 +00:00
Nicolas Chevobbe 8ec6376b05 Bug 1568269 - Update console architecture diagram in doc. r=ochameau.
The diagram we had was outdated. We delete
the image, and add 2 ascii diagrams that
reflect the current architecture:
- one for the react part
- one for the non-react part

The style of the page is modified so diagrams can take
the whole horizontal space if needed.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 08:57:14 +00:00
Julian Descottes bfa52ab19d Bug 1565833 - Wait for requests to settle before reloading about:devtools-toolbox in tests r=remote-debugging-reviewers,Ola,daisuke
Depends on D39174
Seems to fix the perma fail on beta

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

--HG--
extra : moz-landing-system : lando
2019-07-25 07:59:02 +00:00
Julian Descottes 2ef81c119d Bug 1565833 - Wait for debugger-client requests to settle before closing the toolbox r=remote-debugging-reviewers,Ola,daisuke
This avoids intermittent leaks in aboutdebugging tests relying on about:devtools-toolbox

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

--HG--
extra : moz-landing-system : lando
2019-07-25 04:26:47 +00:00
Nicolas Chevobbe 93e61f83ac Bug 1568528 - Remove HUDService's lastFinishedRequest. r=ochameau.
Looks like the property is never used, so we can probably
remove it.

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

--HG--
extra : moz-landing-system : lando
2019-07-25 07:02:12 +00:00
Andreea Pavel e4263c00eb Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Barret Rennie e799890ede Bug 1562821 - Mirror state from the <xul:browser> to the <iframe mozbrowser> when in RDM r=ochameau
As part of bug 1510569, the majority of the `nsIWebProgress` event listeners
have moved from the `WebProgressChild`/`RemoteWebProgress` to the
`BrowserChild`/`BrowserParent`. In responsive design mode, the
`RemoteWebProgress` previously would update the state of the `<iframe
mozbrowser>` with document URI and title which would be mirrored back to the
`<xul:browser>` when leaving RDM. However, the event handlers in the
`BrowserParent` call directly into the `<xul:browser>`, skipping the `<iframe
mozbrowser>` entirely. Therefore, when RDM is shut down, old state will be
mirroed to the `<xul:browser>`, leaving it in an inconsistent state. We now
mirror the state from the `<xul:browser>` to the `<iframe mozbrowser>` with an
`nsIWebProgressListener` so that the `<iframe mozbrowser>` will not clobber the
`<xul:browser>`'s state when leaving RDM.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 17:00:16 +00:00
Brendan Dahl efab80cbeb Bug 1550801 - Replace expected XULDocument with HTMLDocument in devtools tests. r=nchevobbe
test_bug819670_getter_throws.html:
Previously, the document context inspected in the console was the test
harness XULDocument, but now it will be an HTMLDocument. Update the
checks to make sure the inspected object has the same own properties as
the test documents own properties.

other tests:
Simply replace the expected document type.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 06:34:05 +00:00
Julian Descottes 8fb98366d6 Bug 1550476 - Replace jsol library by json5 to avoid eval-like usage r=miker
Depends on D38620

json5 is a much bigger library than JSOL but it doesn't rely on any eval-like code.
It should provide similar features, and testing locally it seems to work as expected.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 09:35:49 +00:00
Julian Descottes 2600f5c910 Bug 1550471 - Migrate to JSZip v3.2.1 to avoid usage of eval-like code r=Honza
Depends on D38619

The new version of JSZip doesn't rely on any eval like code.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 06:45:21 +00:00
Julian Descottes 72e1e60982 Bug 1550463 - Remove new Function usage in lodash r=jlast
Depends on D38618

The template() helper seems not used in devtools so I removed it here.
If we could generate a bundle of lodash without this method from the start that would be great.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 15:36:02 +00:00
Julian Descottes 8095fbadfe Bug 1550489 - Remove usage of new Function in react-redux.js r=nchevobbe
Depends on D38617

We should no longer use eval-like code in privileged modules

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

--HG--
extra : moz-landing-system : lando
2019-07-19 07:48:52 +00:00
Julian Descottes 3977257d5e Bug 1550485 - Remove usage of new Function in redux.js r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38514

--HG--
extra : moz-landing-system : lando
2019-07-19 08:34:19 +00:00
Micah Tigley 1dba48a76d Bug 1567335 - Make sure the animation class for the foreground element is removed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38805

--HG--
extra : moz-landing-system : lando
2019-07-23 23:02:39 +00:00
Jonathan Kingston 9cd90ac210 Bug 1301529 - Remove X-Frame-Options allow-from. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D38672

--HG--
extra : moz-landing-system : lando
2019-07-24 12:23:32 +00:00
Ola Gasidlo 078e09a48b Bug 1558756 - Adding jest tests for components, r=ladybenko,jdescottes
added more jest test for components including snapshots + fixtures

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

--HG--
extra : moz-landing-system : lando
2019-07-24 09:27:08 +00:00
Nicolas Chevobbe 802ec8cc65 Bug 1568472 - Add Gitbook hint plugin. r=jdescottes.
The template is used in one of the page, but the
plugin wasn't installed, so Gitbook would fail
generating the doc.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 10:38:20 +00:00
Julian Descottes f15a7e16e5 Bug 1568250 - Fix HTML tooltip auto height calculation r=miker,Maliha
The current auto height and auto width tests were not asserting the proper element.

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

--HG--
extra : moz-landing-system : lando
2019-07-24 11:49:32 +00:00
Nicolas Chevobbe 6abf1502fb Bug 1568439 - Move webconsole-l10n to utils/l10n. r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D39159

--HG--
rename : devtools/client/webconsole/webconsole-l10n.js => devtools/client/webconsole/utils/l10n.js
extra : moz-landing-system : lando
2019-07-24 11:11:34 +00:00
Alexandre Poirot b05d25d7d6 Bug 1568203 - Removed unused requestEvaluation's frame argument. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39052

--HG--
extra : moz-landing-system : lando
2019-07-24 08:35:48 +00:00
Alexandre Poirot 0d64e50e68 Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 08:35:41 +00:00
Bogdan Tara b478ba698c Backed out 2 changesets (bug 1568203, bug 1568185) for ES lint failure on eval-with-debugger.js CLOSED TREE
Backed out changeset adc394f833f9 (bug 1568203)
Backed out changeset 46c3a1fdc706 (bug 1568185)
2019-07-24 11:24:51 +03:00
Alexandre Poirot ee92f37d96 Bug 1568203 - Removed unused requestEvaluation's frame argument. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39052

--HG--
extra : moz-landing-system : lando
2019-07-24 07:48:01 +00:00
Alexandre Poirot 802d183dff Bug 1568185 - Remove unused bindObjectActor argument from console actor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39051

--HG--
extra : moz-landing-system : lando
2019-07-24 07:47:55 +00:00
Nicolas Chevobbe 9eb479e06a Bug 1568193 - Remove devtools/client/shared/webpack/shims/jsterm-stub.js. r=ochameau.
The file isn't used anywhere, so we can probably
remove it safely.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 19:26:53 +00:00
Boris Zbarsky a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Narcis Beleuzu b24422d05d Backed out changeset 637f32b7e43c (bug 1567335) for dt failures on markup.css . CLOSED TREE 2019-07-23 23:24:34 +03:00
Armando Ferreira a22a750ddc Bug 1558198 - Add history navigation buttons in Editor toolbar. r=nchevobbe
Adding History navigation to Editor toolbar

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

--HG--
extra : moz-landing-system : lando
2019-07-23 18:36:01 +00:00
Armando Ferreira 237ff71915 Bug 1540722 - Copy link location should work for learn-more links. r=nchevobbe
Support for coping link location from within the Console panel (through the context menu) can be extended and cover learn more links too.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 18:34:08 +00:00
Belén Albeza 4dbbe95828 Bug 1565571 - Switch components to PureComponent r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D39003

--HG--
extra : moz-landing-system : lando
2019-07-23 13:46:57 +00:00
Alexandre Poirot 75662cc393 Bug 1567760 - Fix OOM failures in browser_webconsole_inspect_cross_domain_object.js. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D38985

--HG--
extra : moz-landing-system : lando
2019-07-23 17:01:28 +00:00
Cosmin Sabou a4efa7bded Backed out 2 changesets (bug 1407945) for devtools failures on browser_tooltip.js.
Backed out changeset 1160c6868061 (bug 1407945)
Backed out changeset 359eec53f12e (bug 1407945)
2019-07-23 19:39:41 +03:00
Micah Tigley 7cd712008e Bug 1567335 - Add an explicit CSS transition duration for the markup view's flash-out class. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38805

--HG--
extra : moz-landing-system : lando
2019-07-23 01:50:11 +00:00
Daisuke Akatsuka 43bb97631f Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-23 13:54:32 +00:00
Mihai Alexandru Michis bae6d95085 Backed out changeset 266931d06efb (bug 1558756) for causing devtools failures CLOSED TREE 2019-07-23 17:49:45 +03:00
Ola Gasidlo b7588f8d35 Bug 1558756 - Adding jest tests for components, r=ladybenko,jdescottes
added more jest test for components including snapshots + fixtures

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

--HG--
extra : moz-landing-system : lando
2019-07-23 14:35:42 +00:00
Oana Pop Rus 763ca8a2dd Bug 1556687 - disable browser_perf-recording-notices-04.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38990

--HG--
extra : moz-landing-system : lando
2019-07-23 12:13:52 +00:00
Tom Schuster 4e4dbeff23 Bug 1523706 - Extend devtools test. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D37912

--HG--
extra : moz-landing-system : lando
2019-07-23 09:47:03 +00:00
yulia 1c9daf26fe Bug 1528730 - Remove ChromeDebugger and rename chromeDebugger field to threadActor; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D38838

--HG--
extra : moz-landing-system : lando
2019-07-23 03:27:04 +00:00
Razvan Maries 54fa5ec03f Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-23 00:51:11 +03:00
Razvan Maries 86980b4bb2 Merge mozilla-inbound to mozilla-central a=merge 2019-07-23 00:37:54 +03:00
Mihai Alexandru Michis a4db5efa81 Backed out changeset 4dd499946b35 (bug 1557694) for causing failures in browser_parsable_css.js CLOSED TREE 2019-07-22 17:51:14 +03:00
David Walsh 93bd4b973a Bug 1567250 - Move async storage and helper to shared location r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38534

--HG--
rename : devtools/client/debugger/src/utils/asyncStoreHelper.js => devtools/client/shared/async-store-helper.js
extra : moz-landing-system : lando
2019-07-22 14:59:55 +00:00
Gabriel Luong 19aca80c51 Bug 1567276 - Refactor inspector to inspectorFront. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D38554
2019-07-18 15:33:55 -04:00
Coroiu Cristina 6d42386a82 Merge mozilla-central to inbound a=merge on a CLOSED TREE
--HG--
extra : amend_source : fe224af87d863a8482fa90b6108ef3c5c93391f9
2019-07-22 19:08:45 +03:00
Brian Hackett aebf72ab33 Bug 1405402 - Re-expand scope entries after resuming and re-pausing in a frame, r=jlast.
--HG--
extra : rebase_source : 16b3ef2e06b1310f01fa635ac99e7f970b2856b6
2019-07-21 14:50:09 -10:00
Brian Hackett a5fa15c505 Bug 1556858 - Track memory/timing statistics in control logic, r=loganfsmyth.
--HG--
extra : rebase_source : a1e5f25258da738ba9dcf3d1814e51c9b2097fd0
2019-07-21 14:49:38 -10:00
Brian Hackett affccc3856 Bug 1556847 - Fix various record/replay bugs, r=loganfsmyth.
--HG--
extra : rebase_source : c4746f6baefb9cbdcbb89397807aba0060a2b369
2019-07-21 14:48:53 -10:00
Belén Albeza 7b23051c6e Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 15:40:12 +00:00
Vikas Mahato 097ac365a2 Bug 1561869 - Font Editor: "normal" value for line-height and letter-spacing is automatically converted on keyboard navigation. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D37967

--HG--
extra : moz-landing-system : lando
2019-07-22 10:48:17 +00:00
Razvan Caliman 6bd3a34df5 Bug 1567164 - Ensure StyleRuleActor.getRuleText() returns text content of minified CSS. r=gl
The patch for Bug 724505 changed the return of `prettifyCSS()` from a string to an object and the reference in the StyleRuleActor.getRuleText() was not updated. This patch fixes this and introduces a test.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 07:58:05 +00:00
Julian Descottes 28d6b32674 Bug 1539321 - Remove unused aboutdebugging debugAddon helper r=remote-debugging-reviewers,daisuke
This helper was only used by the old aboutdebugging and can be removed

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:46:51 +00:00
Nicholas Nethercote 7a3878cec2 Bug 1567329 - Change some mentions of StaticPrefList.h to StaticPrefList.yaml. r=erahm
This is fall-out from bug 1564724.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 02:09:36 +00:00
Belén Albeza 6e6b55ce8f Bug 1564861 - WorkerList should have unique keys r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D38053

--HG--
extra : moz-landing-system : lando
2019-07-16 10:18:17 +00:00
Sebastian Streich d19c155e9e Bug 1100630 - Print Related JS-Line on CSP Violation (if any) r=ckerschb,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D31420

--HG--
extra : moz-landing-system : lando
2019-07-22 09:31:57 +00:00
Belén Albeza 9a0fade87d Bug 1557694 - Use <button> instead of <a> for Start/Debug workers r=Ola
**NOTE: This depends on D35513, so if it has not landed yet, please `arc patch D35513` before patching this one on top.**

- `.devtools-button` styles in `common.css` are kinda broken , so I decided to roll out our own button component (`UIButton`) after consulting with Victoria colors, sizes, etc. The other downside to selectors in `common.css` is that they can have a high specificity :(
- Victoria said to use the "micro" style from Photon as the default style for buttons in the panels. So I created an even smaller "micro" styles (very similar to `.devtools-togglebutton`) for when we need smaller buttons.
- I created some light/dark variables in our stylesheets instead of on `variables.css` because `--theme-button-background` was already taken (only used in a single panel, but still…). Maybe after the buttons are fixed globally in the common folder, we could use the variables there. In the meantime, to avoid losing more time, I rolled out our own vars here.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 12:25:09 +00:00
Daniel Varga 7532e02cff Merge mozilla-central to mozilla-inbound
--HG--
extra : amend_source : a394c138c1e9b99fc0e3dce7fe9acff85ea670cd
2019-07-25 01:04:34 +03:00
Kris Maglione e40b418215 Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

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

--HG--
extra : rebase_source : 292157039c88fc615f5de41679e96e72766ac4db
2019-07-19 12:30:10 -07:00
Kris Maglione 4bd4d680d4 Bug 1566952: Part 1 - Annotate mochitests that crash with Fission enabled. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D38725

--HG--
extra : rebase_source : 3e8b32b86b12b22d038baa770070a5c8095043c9
2019-07-17 13:37:48 -07:00
Mihai Alexandru Michis 006838edcc Merge mozilla-central to mozilla-inbound. a=merge 2019-07-24 19:12:36 +03:00
Gabriel Luong a530f658c5 Bug 1568060 - Replace PropTypes.boolean with PropTypes.bool for geometryEditorEnabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D38935
2019-07-22 18:42:17 -04:00
Krishnal Ciccolella 357ef6d576 Bug 1552142 Text inside the contrast badges should be unselectable r=yzen
I added `-moz-user-select: none;` to the `.badge` class  in devtools/client/accessibility/accessibility.css .

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

--HG--
extra : moz-landing-system : lando
2019-07-20 15:14:27 +00:00
Andreea Pavel c07a5d8ccc Merge mozilla-inbound to mozilla-central a=merge 2019-07-20 12:51:57 +03:00
Andreea Pavel ef5da579b6 Bug 1479782 - disabled browser_net_frame.js on all platforms a=test-only 2019-07-20 11:18:44 +03:00
Krishnal Ciccolella a32c1fe341 Bug 1565714 - Disabled breakpoint numbers should be a shade of blue
In `Breakpoint.js` I added an if else statement to the function `addBreakpoint()` to add/remove class "breakpoint-disabled" depending on the value of `breakpoint.disabled`. I then added a selector in `Editor.css` to set `color: blue`.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 22:43:30 +00:00
Mihai Alexandru Michis e637325c0e Merge mozilla-central to mozilla-inbound. a=merge
--HG--
extra : amend_source : f93ba2cbe8a0ea251a8c95dd565117a109e25a91
2019-07-20 01:23:23 +03:00
Csoregi Natalia 660053d99f Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-07-19 18:31:03 +03:00
longsonr 18aba690d1 Bug 1353164 Part 2 - Bustage fix for devtools 2019-07-19 13:58:15 +01:00
Charlie Marlow f66a867469 Bug 1567282: renamed text-decoration-width to text-decoration-thickness r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D38586

--HG--
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-computed.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-computed.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-initial.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-initial.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-invalid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-invalid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-linethrough-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-linethrough-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-overline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-overline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-scroll-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-scroll-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-underline-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-underline-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-valid.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-valid.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-001.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-001.html.ini
rename : testing/web-platform/meta/css/css-text-decor/text-decoration-width-vertical-002.html.ini => testing/web-platform/meta/css/css-text-decor/text-decoration-thickness-vertical-002.html.ini
rename : testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html.ini => testing/web-platform/meta/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html.ini
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-001-notref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-001-notref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-scroll-001-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-scroll-001-ref.html
rename : testing/web-platform/tests/css/css-text-decor/reference/text-decoration-width-vertical-green-rect-ref.html => testing/web-platform/tests/css/css-text-decor/reference/text-decoration-thickness-vertical-green-rect-ref.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-computed.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-computed.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-initial.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-initial.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-invalid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-invalid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-linethrough-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-linethrough-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-overline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-overline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-scroll-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-scroll-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-underline-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-underline-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-valid.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-valid.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-001.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-001.html
rename : testing/web-platform/tests/css/css-text-decor/text-decoration-width-vertical-002.html => testing/web-platform/tests/css/css-text-decor/text-decoration-thickness-vertical-002.html
rename : testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-width.html => testing/web-platform/tests/css/css-typed-om/the-stylepropertymap/properties/text-decoration-thickness.html
extra : moz-landing-system : lando
2019-07-19 16:33:08 +00:00
Anshul 2b608adeff Bug 1454827 - Rename onSource to source in source actor r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D38191

--HG--
extra : moz-landing-system : lando
2019-07-19 15:33:58 +00:00
Jason Laster 40b23163b1 Revert "Backed out changeset 63ef8fdfff70 (Bug 1354679) for xpcshell failures at test_xpcshell_debugging.js."
This reverts commit e2023eef255628a3b10040b4b6b35c482efd152b.

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

--HG--
extra : moz-landing-system : lando
2019-07-19 18:01:04 +00:00
Jason Laster f2c56f61e0 Bug 1559547 - fix worker-scopes intermittent. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D38533

--HG--
extra : moz-landing-system : lando
2019-07-19 18:13:23 +00:00
Brindusan Cristian dc7d08d54f Backed out changeset 63ef8fdfff70 (bug 1354679) for xpcshell failures at test_xpcshell_debugging.js. 2019-07-19 03:39:04 +03:00
Jason Laster 69066c0a69 Bug 1354679 - re-apply pause overlay. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D38572

--HG--
extra : moz-landing-system : lando
2019-07-18 22:14:49 +00:00
Eden Chuang 2e2e393e21 Bug 1561930 - Correct the wrong attribute isFromChromeContext value for chrome context messages from Cu.reportError r=baku
Differential Revision: https://phabricator.services.mozilla.com/D38464

--HG--
extra : moz-landing-system : lando
2019-07-18 21:49:30 +00:00
Oana Pop Rus f64dbd1034 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-07-19 01:03:15 +03:00
Oana Pop Rus 8526799100 Merge inbound to mozilla-central. a=merge 2019-07-19 00:52:35 +03:00
ui.manish df8521eddf Bug 1505295 - Remove unused BarGraphWidget. r=gl 2019-07-18 14:24:57 -04:00
Brian Hackett ea4bf4d365 Bug 1565343 - Ignore alternate stacks for unknown kinds of channels, r=ochameau.
--HG--
extra : rebase_source : 915d492fc407c433fa33d4adf8fe914fd969267a
2019-07-17 17:49:01 -10:00
Alexandre Poirot ddcf8d83eb Bug 1566435 - Stop emitting requests when the netmonitor closes. r=Honza
There is no guarantee that any RDP request will be completed when the toolbox
closes, so that we should do the cleanup from the actor side if anything
needs to be stopped or removed.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 08:53:02 +00:00
Julian Descottes 05ed6b64d3 Bug 1486717 - Do not emit contextmenu from parentprocess if target is the RDM iframe r=mconley,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D37691

--HG--
extra : moz-landing-system : lando
2019-07-18 16:46:59 +00:00
Hubert B Manilla ef73fd6410 Bug 1561148 - Improve detection of react libraries r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D38236

--HG--
extra : moz-landing-system : lando
2019-07-18 02:24:43 +00:00
Luca Greco b96c8e6c30 Bug 1566520 - Ensure DevToolsShim.getToolboxes returns an empty array if devtools are not yet initialized. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38472

--HG--
extra : moz-landing-system : lando
2019-07-18 12:03:23 +00:00
Alexandre Poirot 040c1a34cc Bug 1566457 - Removed deprecated gDevTools JSM. r=jdescottes
This was kept to support old xul addons. All mozilla-central usages
have been removed and now uses Loader.jsm to get access to this module.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:13 +00:00
Alexandre Poirot 438498ee47 Bug 1566457 - Remove unused provider logic from Loader.jsm. r=jdescottes
We used to have another provider which would load module via file:// URI,
directly from the disk. But the progress on artifact builds and ./mach build faster
made this obsolete and has been removed a long time ago.
We still have a lot of abstraction to support this non-existent feature.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:05 +00:00
Alexandre Poirot c9648fef81 Bug 1566457 - Only export require, loader and DevToolsLoader from Loader.jsm r=jdescottes
The rest was legacy code to support old xul add-ons.
All mozilla-central code used to be refactored, but a few places
were still using the old codepaths.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:03 +00:00
Alexandre Poirot 47fff7b393 Bug 1566457 - Remove unused devtools-cleanup observer message. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38282

--HG--
extra : moz-landing-system : lando
2019-07-18 12:25:01 +00:00
Alexandre Poirot 8164b4a595 Bug 1566457 - Remove unused codepath in the base loader for non-shared globals. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D38281

--HG--
extra : moz-landing-system : lando
2019-07-18 12:24:54 +00:00
Alexandre Poirot 7d4d01eb1d Bug 1566435 - Make netmonitor destroy codepath synchronous. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D38370

--HG--
extra : moz-landing-system : lando
2019-07-17 16:57:53 +00:00
Nicolas Chevobbe bffc60754d Bug 1565781 - Fix ConsoleTable with nested holey array. r=Honza.
A test is added to ensure this is fixed properly.
We also fix the Array previewer to properly return
undefined for unknown array properties, rather than null.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 12:04:42 +00:00