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

9893 Коммитов

Автор SHA1 Сообщение Дата
Ciure Andrei 1940af33ec Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-24 04:29:20 +03:00
Ciure Andrei 33e644e1da Merge inbound to mozilla-central. a=merge 2018-04-24 04:14:21 +03:00
Emilio Cobos Álvarez 1358a861fd Bug 1454883: Regenerate the devtools CSS database. r=me on a CLOSED TREE
MozReview-Commit-ID: pDEAkqIUTp
2018-04-23 19:40:56 +02:00
Mats Palmgren 9acb0f48fc Bug 1398482 part 6 - Update devtools with the renamed longhands. r=me 2018-04-24 01:52:51 +02:00
Mats Palmgren 21d3390a47 Bug 1398482 part 5 - Update devtools autocompletion expectations. r=me 2018-04-24 01:52:51 +02:00
Mats Palmgren 023ce1dc34 Bug 1398482 part 3 - [css-grid][css-flexbox][css-multicol] Add 'row-gap' and 'gap' properties; make 'grid-[column|row]-gap' and 'grid-gap' alias the respective unprefixed properties (automated devtools update). 2018-04-24 01:52:51 +02:00
Brad Werth 1df9da3101 Bug 1353631 Part 2: Regenerate devtools property database for properties protected by the pref. r=dholbert
MozReview-Commit-ID: 4KbKDMIPcTO

--HG--
extra : rebase_source : 5c1dad69176b2db5fcd0be9170597435103502a8
2018-04-23 07:21:02 -07:00
Andreea Pavel 6ce889bcd3 Backed out 2 changesets (bug 1353631) for failing | devtools/shared/tests/unit/test_css-properties-db.js on a CLOSED TREE
Backed out changeset 6a0c361f18ff (bug 1353631)
Backed out changeset fd5bd538bfe7 (bug 1353631)
2018-04-23 21:44:43 +03:00
Nicolas Chevobbe 295ace1eb2 Bug 1428078 - Enable keyboard navigation in the object sidebar; r=bgrins.
MozReview-Commit-ID: JuZOX3e9AXy

--HG--
extra : rebase_source : d3213b0797d8ca2ed6c5f4b5f42b606b323edf92
2018-04-13 17:47:37 +02:00
Julian Descottes 1115d2987d Bug 1456092 - Move devtools/client/animationinspector to devtools/client/inspector/animation-old;r=daisuke,pbro
MozReview-Commit-ID: HbIYBfoWgk4

--HG--
rename : devtools/client/animationinspector/README.md => devtools/client/inspector/animation-old/README.md
rename : devtools/client/animationinspector/animation-controller.js => devtools/client/inspector/animation-old/animation-controller.js
rename : devtools/client/animationinspector/animation-inspector.xhtml => devtools/client/inspector/animation-old/animation-inspector.xhtml
rename : devtools/client/animationinspector/animation-panel.js => devtools/client/inspector/animation-old/animation-panel.js
rename : devtools/client/animationinspector/components/animation-details.js => devtools/client/inspector/animation-old/components/animation-details.js
rename : devtools/client/animationinspector/components/animation-target-node.js => devtools/client/inspector/animation-old/components/animation-target-node.js
rename : devtools/client/animationinspector/components/animation-time-block.js => devtools/client/inspector/animation-old/components/animation-time-block.js
rename : devtools/client/animationinspector/components/animation-timeline.js => devtools/client/inspector/animation-old/components/animation-timeline.js
rename : devtools/client/animationinspector/components/keyframes.js => devtools/client/inspector/animation-old/components/keyframes.js
rename : devtools/client/animationinspector/components/moz.build => devtools/client/inspector/animation-old/components/moz.build
rename : devtools/client/animationinspector/components/rate-selector.js => devtools/client/inspector/animation-old/components/rate-selector.js
rename : devtools/client/animationinspector/graph-helper.js => devtools/client/inspector/animation-old/graph-helper.js
rename : devtools/client/animationinspector/moz.build => devtools/client/inspector/animation-old/moz.build
rename : devtools/client/animationinspector/test/.eslintrc.js => devtools/client/inspector/animation-old/test/.eslintrc.js
rename : devtools/client/animationinspector/test/browser.ini => devtools/client/inspector/animation-old/test/browser.ini
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_displayed.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_displayed.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_for_delayed_starttime_animations.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_for_delayed_starttime_animations.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_path.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_path.js
rename : devtools/client/animationinspector/test/browser_animation_animated_properties_progress_indicator.js => devtools/client/inspector/animation-old/test/browser_animation_animated_properties_progress_indicator.js
rename : devtools/client/animationinspector/test/browser_animation_click_selects_animation.js => devtools/client/inspector/animation-old/test/browser_animation_click_selects_animation.js
rename : devtools/client/animationinspector/test/browser_animation_controller_exposes_document_currentTime.js => devtools/client/inspector/animation-old/test/browser_animation_controller_exposes_document_currentTime.js
rename : devtools/client/animationinspector/test/browser_animation_detail_displayed.js => devtools/client/inspector/animation-old/test/browser_animation_detail_displayed.js
rename : devtools/client/animationinspector/test/browser_animation_detail_easings.js => devtools/client/inspector/animation-old/test/browser_animation_detail_easings.js
rename : devtools/client/animationinspector/test/browser_animation_empty_on_invalid_nodes.js => devtools/client/inspector/animation-old/test/browser_animation_empty_on_invalid_nodes.js
rename : devtools/client/animationinspector/test/browser_animation_keyframe_markers.js => devtools/client/inspector/animation-old/test/browser_animation_keyframe_markers.js
rename : devtools/client/animationinspector/test/browser_animation_mutations_with_same_names.js => devtools/client/inspector/animation-old/test/browser_animation_mutations_with_same_names.js
rename : devtools/client/animationinspector/test/browser_animation_panel_exists.js => devtools/client/inspector/animation-old/test/browser_animation_panel_exists.js
rename : devtools/client/animationinspector/test/browser_animation_participate_in_inspector_update.js => devtools/client/inspector/animation-old/test/browser_animation_participate_in_inspector_update.js
rename : devtools/client/animationinspector/test/browser_animation_playerFronts_are_refreshed.js => devtools/client/inspector/animation-old/test/browser_animation_playerFronts_are_refreshed.js
rename : devtools/client/animationinspector/test/browser_animation_playerWidgets_appear_on_panel_init.js => devtools/client/inspector/animation-old/test/browser_animation_playerWidgets_appear_on_panel_init.js
rename : devtools/client/animationinspector/test/browser_animation_playerWidgets_target_nodes.js => devtools/client/inspector/animation-old/test/browser_animation_playerWidgets_target_nodes.js
rename : devtools/client/animationinspector/test/browser_animation_pseudo_elements.js => devtools/client/inspector/animation-old/test/browser_animation_pseudo_elements.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_on_added_animation.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_on_added_animation.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_on_removed_animation.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_on_removed_animation.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_when_active.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_when_active.js
rename : devtools/client/animationinspector/test/browser_animation_refresh_when_active_after_mutations.js => devtools/client/inspector/animation-old/test/browser_animation_refresh_when_active_after_mutations.js
rename : devtools/client/animationinspector/test/browser_animation_running_on_compositor.js => devtools/client/inspector/animation-old/test/browser_animation_running_on_compositor.js
rename : devtools/client/animationinspector/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js => devtools/client/inspector/animation-old/test/browser_animation_same_nb_of_playerWidgets_and_playerFronts.js
rename : devtools/client/animationinspector/test/browser_animation_shows_player_on_valid_node.js => devtools/client/inspector/animation-old/test/browser_animation_shows_player_on_valid_node.js
rename : devtools/client/animationinspector/test/browser_animation_spacebar_toggles_animations.js => devtools/client/inspector/animation-old/test/browser_animation_spacebar_toggles_animations.js
rename : devtools/client/animationinspector/test/browser_animation_spacebar_toggles_node_animations.js => devtools/client/inspector/animation-old/test/browser_animation_spacebar_toggles_node_animations.js
rename : devtools/client/animationinspector/test/browser_animation_summarygraph_for_multiple_easings.js => devtools/client/inspector/animation-old/test/browser_animation_summarygraph_for_multiple_easings.js
rename : devtools/client/animationinspector/test/browser_animation_target_highlight_select.js => devtools/client/inspector/animation-old/test/browser_animation_target_highlight_select.js
rename : devtools/client/animationinspector/test/browser_animation_target_highlighter_lock.js => devtools/client/inspector/animation-old/test/browser_animation_target_highlighter_lock.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_add_animation.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_add_animation.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_currentTime.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_currentTime.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_header.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_header.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_iterationStart.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_iterationStart.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_01.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_01.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_02.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_02.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_pause_button_03.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_pause_button_03.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_rate_selector.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_rate_selector.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_rewind_button.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_rewind_button.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_exists.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_exists.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_movable.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_movable.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_scrubber_moves.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_scrubber_moves.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_setCurrentTime.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_setCurrentTime.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_short_duration.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_short_duration.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_delay.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_delay.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_endDelay.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_endDelay.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_iterations.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_iterations.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_name_label.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_name_label.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_shows_time_info.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_shows_time_info.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_takes_rate_into_account.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_takes_rate_into_account.js
rename : devtools/client/animationinspector/test/browser_animation_timeline_ui.js => devtools/client/inspector/animation-old/test/browser_animation_timeline_ui.js
rename : devtools/client/animationinspector/test/browser_animation_toggle_button_resets_on_navigate.js => devtools/client/inspector/animation-old/test/browser_animation_toggle_button_resets_on_navigate.js
rename : devtools/client/animationinspector/test/browser_animation_toggle_button_toggles_animations.js => devtools/client/inspector/animation-old/test/browser_animation_toggle_button_toggles_animations.js
rename : devtools/client/animationinspector/test/browser_animation_toolbar_exists.js => devtools/client/inspector/animation-old/test/browser_animation_toolbar_exists.js
rename : devtools/client/animationinspector/test/browser_animation_ui_updates_when_animation_data_changes.js => devtools/client/inspector/animation-old/test/browser_animation_ui_updates_when_animation_data_changes.js
rename : devtools/client/animationinspector/test/doc_add_animation.html => devtools/client/inspector/animation-old/test/doc_add_animation.html
rename : devtools/client/animationinspector/test/doc_body_animation.html => devtools/client/inspector/animation-old/test/doc_body_animation.html
rename : devtools/client/animationinspector/test/doc_delayed_starttime_animations.html => devtools/client/inspector/animation-old/test/doc_delayed_starttime_animations.html
rename : devtools/client/animationinspector/test/doc_end_delay.html => devtools/client/inspector/animation-old/test/doc_end_delay.html
rename : devtools/client/animationinspector/test/doc_frame_script.js => devtools/client/inspector/animation-old/test/doc_frame_script.js
rename : devtools/client/animationinspector/test/doc_keyframes.html => devtools/client/inspector/animation-old/test/doc_keyframes.html
rename : devtools/client/animationinspector/test/doc_modify_playbackRate.html => devtools/client/inspector/animation-old/test/doc_modify_playbackRate.html
rename : devtools/client/animationinspector/test/doc_multiple_animation_types.html => devtools/client/inspector/animation-old/test/doc_multiple_animation_types.html
rename : devtools/client/animationinspector/test/doc_multiple_easings.html => devtools/client/inspector/animation-old/test/doc_multiple_easings.html
rename : devtools/client/animationinspector/test/doc_multiple_property_types.html => devtools/client/inspector/animation-old/test/doc_multiple_property_types.html
rename : devtools/client/animationinspector/test/doc_negative_animation.html => devtools/client/inspector/animation-old/test/doc_negative_animation.html
rename : devtools/client/animationinspector/test/doc_pseudo_elements.html => devtools/client/inspector/animation-old/test/doc_pseudo_elements.html
rename : devtools/client/animationinspector/test/doc_script_animation.html => devtools/client/inspector/animation-old/test/doc_script_animation.html
rename : devtools/client/animationinspector/test/doc_short_duration_animation.html => devtools/client/inspector/animation-old/test/doc_short_duration_animation.html
rename : devtools/client/animationinspector/test/doc_simple_animation.html => devtools/client/inspector/animation-old/test/doc_simple_animation.html
rename : devtools/client/animationinspector/test/doc_timing_combination_animation.html => devtools/client/inspector/animation-old/test/doc_timing_combination_animation.html
rename : devtools/client/animationinspector/test/head.js => devtools/client/inspector/animation-old/test/head.js
rename : devtools/client/animationinspector/test/unit/.eslintrc.js => devtools/client/inspector/animation-old/test/unit/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/test_findOptimalTimeInterval.js => devtools/client/inspector/animation-old/test/unit/test_findOptimalTimeInterval.js
rename : devtools/client/animationinspector/test/unit/test_formatStopwatchTime.js => devtools/client/inspector/animation-old/test/unit/test_formatStopwatchTime.js
rename : devtools/client/animationinspector/test/unit/test_getCssPropertyName.js => devtools/client/inspector/animation-old/test/unit/test_getCssPropertyName.js
rename : devtools/client/animationinspector/test/unit/test_timeScale.js => devtools/client/inspector/animation-old/test/unit/test_timeScale.js
rename : devtools/client/animationinspector/test/unit/test_timeScale_dimensions.js => devtools/client/inspector/animation-old/test/unit/test_timeScale_dimensions.js
rename : devtools/client/animationinspector/test/unit/xpcshell.ini => devtools/client/inspector/animation-old/test/unit/xpcshell.ini
rename : devtools/client/animationinspector/utils.js => devtools/client/inspector/animation-old/utils.js
extra : rebase_source : 28aeafe670b038439568951be554cb780cfc29ef
2018-04-23 14:39:45 +02:00
Julian Descottes a42470c264 Bug 1456092 - Add README to old animation inspector folder;r=daisuke
MozReview-Commit-ID: 5uVusbsbkKg

--HG--
extra : rebase_source : 6ce8c84ac9a2ee6886483c3e2bb91320c557c371
2018-04-23 14:23:47 +02:00
Brad Werth 5a2b37172b Bug 1353631 Part 2: Regenerate devtools property database for properties protected by the pref. r=dholbert
MozReview-Commit-ID: 4KbKDMIPcTO

--HG--
extra : rebase_source : 86b84f9e81e1c39e2a9e3ca9bd47b7bee84bc222
2018-04-23 07:21:02 -07:00
Fred Lin 8b58cf6bdc Bug 1426041 - Fix toolbar layout in Portrait mode; r=davidwalsh
MozReview-Commit-ID: 8yHx0qAmq09

--HG--
extra : rebase_source : 935463d90781d7dbdd9bc9743aa00cc332716c2c
2018-01-04 11:40:27 +08:00
Alexandre Poirot c3e6358671 Bug 1455437 - Prevent multiple Map query by simplifying _sendEvent method. r=jryans
MozReview-Commit-ID: H5ora5qsunx

--HG--
extra : rebase_source : 0d5f044a9af96940762ba838aa4dade95ce9344b
2018-04-18 15:42:37 -07:00
Alexandre Poirot c0429f7ad9 Bug 1455437 - Inline isIterator helper in protocol.js. r=jryans
MozReview-Commit-ID: DLoXENvbKOe

--HG--
extra : rebase_source : f4b9c4b0401da2f287645d592794c2be748bbb7e
2018-04-18 15:31:30 -07:00
Julian Descottes 8fe425e916 Bug 1456075 - Remove standalone inspector initialization code;r=ochameau
MozReview-Commit-ID: 6uwKogI7079

--HG--
extra : rebase_source : bd9e5b8bf6d4caa89b7f7b2ae1dcb15a579794ae
2018-04-23 12:16:08 +02:00
arthur.iakab f2a0f162d7 Merge mozilla-central to autoland 2018-04-23 13:05:54 +03:00
Daisuke Akatsuka 9f38b4533c Bug 1453294: Reduce devtools min-width when docked to side. r=jdescottes
MozReview-Commit-ID: 19NWuivvY1k

--HG--
extra : rebase_source : bb66443ba9f35c04dd58a28d4b6100067fc1a585
2018-04-23 14:39:20 +09:00
Razvan Caliman ef0592fd09 Bug 1455535 - Add support for vmin/vmax units. Ensure vh/vw are computed against actual host window. r=pbro
MozReview-Commit-ID: 1ifVJu1OW5L

--HG--
extra : rebase_source : 876f9adf2cac9fbff3965f26452f4239b18d0ee4
2018-04-20 17:31:39 +02:00
Mantaroh Yoshinaga 40919c22b6 Bug 1455496 - Part 2. Add test of existence of scratchpad's menu bar. r=jdescottes 2018-04-23 09:26:15 +09:00
Mantaroh Yoshinaga f65311bb20 Bug 1455496 - Part 1. Hide toolbar of scratchpad panel. r=dao
The scratchpad panel(in the toolbox) should not display menu bar.
This patch will hide this menu bar if target is toolbox.
2018-04-23 09:25:59 +09:00
Jason Laster a8ddb25f47 Bug 1455887 - Update Debugger Frontend v43. r=jdescottes
MozReview-Commit-ID: EI8UAJgHRwW

--HG--
extra : rebase_source : b7e9fc2dc41dad8187b53294c73bf67c37946873
2018-04-22 18:16:17 +02:00
Razvan Caliman d265ff3a16 Bug 1449893 - Implementation for managing variation instances. r=gl
MozReview-Commit-ID: DoJig5FAMQn
2018-04-20 05:13:00 +03:00
Razvan Caliman 751e8102a2 Bug 1449893 - Redux setup for managing font variation instances. r=gl
MozReview-Commit-ID: G4xrAHypsyJ
2018-04-20 05:12:00 +03:00
Kris Maglione 882b43fb78 Bug 1454202: Part 5b-c - Remove interstitial callback argument from getInstall* APIs. r=aswan
***
Bug 1454202: Part 5b - Remove interstitial callback argument from getInstall* APIs. r=aswan

MozReview-Commit-ID: ATKWozPZF4d
***
Bug 1454202: Part 5c - Update callers for new getInstall* signature. r=aswan

MozReview-Commit-ID: FWzZ2dxZOGs

--HG--
extra : rebase_source : f5460c6c7cb7dbd844c03edb6158cfdeb5e1dd9f
extra : absorb_source : d112aeea40576383a9acc7573cc4cde71b5150fb
extra : histedit_source : fb0ac000504068db820193823bcf1e6fac9fa3cf
2018-04-15 14:22:55 -07:00
Kris Maglione 4aca6ba34b Bug 1454202: Part 4 - Convert add-on providers to use promise-based methods. r=aswan
MozReview-Commit-ID: 9e4CtcxWSiM

--HG--
extra : rebase_source : a59906e79090adc6f14ec04420a4caadc3aa8054
extra : absorb_source : 63a34a639e3ea87fb52d6c68a85b5c0158ab3874
extra : histedit_source : ddb47d22ac82b78beac32883591126f37a9088ba
2018-04-21 15:30:40 -07:00
Kris Maglione 877eae8863 Bug 1454202: Part 1 - Update legacy callers to use Promise-based AddonManager APIs. r=aswan
***
Bug 1454202: Part 1a - Auto-replace uses of callback-based AddonManager APIs with Promise-based versions. r=aswan

This was done using the following script:

4cd5ae9597/processors/aom-api-generators.jsm

MozReview-Commit-ID: 8hobLz15a66
***
Bug 1454202: Part 1b - Manually fix eslint errors after auto-rewrite. r=aswan

This also deletes an obsolete test whose xpcshell variant was already deleted.

MozReview-Commit-ID: DM9W9Q2SVIE
***
Bug 1454202: Part 1c - Manually fix non-eslint issues after auto-rewrite. r=aswan

MozReview-Commit-ID: DtMscWZuExc

--HG--
extra : rebase_source : d4c2f80bdf02ec4a07e3713a9ae1823145d25942
2018-04-14 19:38:18 -07:00
Andreea Pavel a217a02a9e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-21 18:26:31 +03:00
Jason Laster 85bba01ca2 Bug 1455345 - Update Debugger Frontend v42. r=jdescottes 2018-04-21 07:49:05 -04:00
Andreea Pavel 5743b5b700 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 12:31:28 +03:00
Boris Zbarsky 17995a441f Bug 1453869 part 9. Stop creating DOMParser by contract in devtools. r=tromey
There are some extra hoops here because devtools has a lint to prevent Cu.importGlobalProperties, which is the normal way one would import a WebIDL constructor.

MozReview-Commit-ID: 2mdNI6N1z5B
2018-04-20 23:04:40 -04:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Andreea Pavel 5bb0fde6e9 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-04-21 12:34:21 +03:00
Mark Banner 6e2b2b6f35 Bug 1455581 - Enable ESLint rules no-undef and no-unused-vars for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: IGwI0JkIDkf

--HG--
extra : rebase_source : 249c0dafab4bafca8a30c3c90fa2ebc266131722
2018-04-20 12:17:40 +01:00
Julian Descottes 4ca0c8f5e9 Bug 1445197 - part 4: Implement application panel UI to display all workers;r=Honza,nchevobbe,sole
Add redux, a store, listen to events that can lead to a change in the workers
list to update the store.

MozReview-Commit-ID: Fo0jn7Cldep

--HG--
extra : rebase_source : 835294eb76b49ee696030ab6fa6ba45c4bcdedef
2018-04-05 21:39:10 +02:00
Julian Descottes 2833977cbb Bug 1445197 - part 3: Move about:debugging worker module to a shared module;r=ochameau
Extract all the logic that will be shared between about debugging and the application
panel to a dedicated client module.

MozReview-Commit-ID: Ccnmp3dCZpW

--HG--
extra : rebase_source : ec559b332cc5cc5b563a8d122acbe3d139b64b00
2018-04-20 16:27:15 +02:00
Julian Descottes 20d06fef31 Bug 1445197 - part 2: Add a temporary icon for the application panel;r=sole
Basic icon to display something while we wait for a better icon to replace
it.

MozReview-Commit-ID: 2BT6jqLrd95

--HG--
extra : rebase_source : f51e5dff37694442becd83341fca03a94f5ccc15
2018-03-21 11:40:56 +01:00
Julian Descottes 302d577066 Bug 1454931 - Display help screen when no service worker is available;r=sole
MozReview-Commit-ID: JDPX45YIkrB

--HG--
extra : rebase_source : 73e5f73be441e11a160276344fcd14cc6b379149
2018-03-19 18:55:22 +01:00
Dorel Luca 3409e8f9fb Merge mozilla-central to autoland
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Nicolas Chevobbe 13c27bdca7 Bug 1310630 - Pass a createLongStringClient prop to the ObjectInspector; r=bgrins,Honza.
This will allow long strings to be expanded.
Tests will be added per Bug 1403448.

MozReview-Commit-ID: CUUN6uWTMDF

--HG--
extra : rebase_source : 4f27d63213e25f5a559225e2875a5794040bd554
extra : source : ddcfd0eb2d9ea20ddec56c9d8f25c6c0c4ec12e2
2018-04-16 11:32:29 +02:00
Julian Descottes ee27225940 Bug 1445197 - part 1: Create an application panel for DevTools;r=Honza,nchevobbe,sole
Register a new application panel, disabled by default, with no icon, no shortcut
and hidden from the devtools options.

Set devtools.application.enabled to true to enable it.

MozReview-Commit-ID: L5PXZVDCRlF

--HG--
extra : rebase_source : 0ec04569b6050cfb1f7549aa042551879a22a842
2018-03-14 21:21:02 +01:00
Gurzau Raul a49de7679a Backed out changeset 0ffcaeada9fc (bug 1454045) for devtools failures on browser_rules_edit-value-after-name_04.js on a CLOSED TREE
--HG--
extra : histedit_source : f98131a3bbea2c364e5e20037f4e17dfe8dde783
2018-04-20 18:14:32 +03:00
abhinav eb9675f500 Bug 1454045 - Downgrade `openTrustedLinkIn` for DevTools where pages don't need special powers. r=jryans
MozReview-Commit-ID: 50woQbADx79

--HG--
extra : rebase_source : 52408918f0653725cc407178b008392ff4b197b7
2018-04-19 22:33:12 +05:30
Xidorn Quan def50aae9b Bug 1448757 part 2 - Move longhand animation type table into devtools. r=daisuke
After switching to Stylo, animation is handled by Servo, and thus it no
longer relies on the animation type recorded in nsCSSPropList.h, and
devtools become the only consumer of that information.

This patch puts a map of longhands to animation types into devtools
instead. The map is extracted from nsCSSPropList.h by the script below
based on the logic of nsDOMWindowUtils::GetAnimationTypeForLonghand.

There are two reasons that I don't port this into Servo:

First, Servo doesn't have a concept of property-level animation type.
Animation change in Servo is directly encoded into value types. It means
porting this to Servo would require creating a new concept purely for
devtools. It's not great because that data doesn't reflect how animation
is handled in the engine, and people may keep forgetting to give proper
animation type to new animatable types they add.

Second, the handling of animation type in devtools also looks rather
arbitrary to me. For example, eStyleAnimType_Corner_* types are actually
two coordinate values, bug GetAnimationTypeForLonghand returns "coord"
for them, and devtools just parses the first value and uses it. This
means the animation type here is really more closely related to how
devtools handles the value, rather than how the style engine does so.

Given above, I decided to put the list into devtools rather than encode
the information into Servo code. To encourage people to think about
animation handling in devtools for new properties, there is also a new
test added to ensure every property has a devtools animation type.

The content of ANIMATION_TYPE_FOR_LONGHANDS is generated via running
the following script in layout/style:

```python
#!/usr/bin/env python3

import subprocess
from collections import defaultdict

ANIMTYPE_MAPPING = {
    "Custom": "custom",
    "Coord": "coord",
    "Sides_Top": "coord",
    "Sides_Right": "coord",
    "Sides_Bottom": "coord",
    "Sides_Left": "coord",
    "Corner_TopLeft": "coord",
    "Corner_TopRight": "coord",
    "Corner_BottomRight": "coord",
    "Corner_BottomLeft": "coord",
    "nscoord": "length",
    "float": "float",
    "Color": "color",
    "ComplexColor": "color",
    "PaintServer": "paintServer",
    "Shadow": "shadow",
    "Discrete": "discrete",
    "None": "none",
}

input = b"""
#define CSS_PROP(name, id, method, flags, pref, \\
                 variant, kwtable, animtype) name, flags, animtype
#include "nsCSSPropList.h"
"""
props = subprocess.check_output(["clang", "-E", "-P", "-"], input=input)
props = props.decode("ascii")
result = defaultdict(list)
for line in props.splitlines():
    line = line.strip()
    if not line:
        continue
    name, flags, animtype = line.split(", ")
    assert animtype.startswith("eStyleAnimType_")
    if "CSS_PROPERTY_PARSE_INACCESSIBLE" in flags:
        continue
    animtype = ANIMTYPE_MAPPING[animtype[15:]]
    result[animtype].append(name)
print("[")
for animtype, names in result.items():
    print('  ["{}", new Set(['.format(animtype))
    for name in names:
        print('    "{}",'.format(name))
    print("  ])],")
print("]")
```

MozReview-Commit-ID: BGiGq0jUgG5

--HG--
extra : rebase_source : 54fc15b9ccdb6c11d06160d63b8f4b911b754d5a
2018-04-20 14:06:47 +10:00
Nicolas Chevobbe 2a7ab5bc4d Bug 1452566 - Release: devtools-reps 0.23.0 bundle; r=nchevobbe.
Change disabledFocus to focusable as it changed in the ObjectInspector.

MozReview-Commit-ID: CDHotb0d4sL

--HG--
extra : rebase_source : 3390cf6aa1d79ef24f98b74cdece50cae36b937b
2018-04-17 15:16:44 +02:00
Daisuke Akatsuka 6aafb71029 Bug 1226272 - Part 5: Add test for reordering the tabs in toolbox. r=jdescottes
MozReview-Commit-ID: 563QluM2sGw

--HG--
extra : rebase_source : 897214e6882be7f0c5ce92c54eb4c15571648189
2018-04-19 18:49:02 +09:00
Daisuke Akatsuka a1056f191a Bug 1226272 - Part 4: Change the style which is for while dragging. r=jdescottes
MozReview-Commit-ID: 1JQ0bix8eZ

--HG--
extra : rebase_source : 24d2f411dd47382dac6897f1969d7632a496e13a
2018-04-19 18:48:58 +09:00
Daisuke Akatsuka 00f1e63edd Bug 1226272 - Part 3: Handle overflowed tabs. r=jdescottes
MozReview-Commit-ID: 77V2VIbIp0l

--HG--
extra : rebase_source : 22583399166915bd4eeb7fa22297a008824c5f1f
2018-04-19 18:48:53 +09:00
Daisuke Akatsuka 099d3af18c Bug 1226272 - Part 2: Implement saving and loading the tabs order preference. r=jdescottes
MozReview-Commit-ID: JoVcnPwvVW7

--HG--
extra : rebase_source : 4d8026100088525815cb1fdc64e4843f8405aafc
2018-04-19 18:46:55 +09:00