Commit Graph

11075 Commits

Author SHA1 Message Date
Bogdan Tara
6dbc2726d8 Backed out changeset b099e7e0b264 (bug 1454358) for build bustages on Element.h CLOSED TREE
--HG--
rename : dom/chrome-webidl/XULScrollElement.webidl => dom/webidl/ScrollBoxObject.webidl
rename : dom/xul/XULScrollElement.cpp => layout/xul/ScrollBoxObject.cpp
rename : dom/xul/XULScrollElement.h => layout/xul/ScrollBoxObject.h
2018-07-12 01:50:53 +03:00
Emma Malysz
c28a132d13 Bug 1454358, removes unneccessary implementation of ScrollBoxObject rr?enndeakin+6102 r=bz,enndeakin+6102
MozReview-Commit-ID: LBQ0RoS0ZVc

--HG--
rename : dom/webidl/ScrollBoxObject.webidl => dom/chrome-webidl/XULScrollElement.webidl
rename : layout/xul/ScrollBoxObject.cpp => dom/xul/XULScrollElement.cpp
rename : layout/xul/ScrollBoxObject.h => dom/xul/XULScrollElement.h
extra : rebase_source : ad00e7030e50229975b0bc0d3c622af4fe244a79
2018-06-25 10:11:31 -07:00
Gurzau Raul
cf965b1f59 Merge inbound to mozilla-central. a=merge 2018-07-12 01:04:09 +03:00
Belén Albeza
093db49ea0 Bug 1467256 - Temporarily disable the test. r=nchevobbe
MozReview-Commit-ID: sWZLg7PCvt

--HG--
extra : rebase_source : 47bf53b4ca4238aa2c2016a3dd58d779c4d999a8
2018-07-11 15:14:42 +02:00
Dão Gottwald
a0ee9ed37a Backed out changeset e711420b85f7 (bug 1461793) for causing bug 1474538 2018-07-11 12:14:26 +02:00
shindli
7c9476695a Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : tools/tryselect/vcs.py => tools/tryselect/push.py
extra : rebase_source : a9f669ebcc49d48fda0a4eb1eab4f3b9b185eae2
2018-07-11 12:46:51 +03:00
Jan de Mooij
70d45075c2 Bug 1468536 - Remove Debugger.Object.prototype.global. r=jimb
With same-compartment realms, cross-compartment wrappers don't have a meaningful global associated with them because CCWs are shared by all realms in the compartment.
2018-07-11 11:44:42 +02:00
Cameron McCormack
8d5efb0c93 Bug 1473450 - Remove angle values from image-orientation. r=emilio
MozReview-Commit-ID: FB74ILJM6Fm

--HG--
extra : rebase_source : 0902aff63e0db070d2fdda3568453975f752b988
2018-07-05 12:04:58 +10:00
Cosmin Sabou
26e792fe42 Merge autoland to mozilla-central. a=merge 2018-07-11 00:50:32 +03:00
yulia
2dde60b42d Bug 1473569 - fix faulty errors in formatCommand; r=nchevobbe
MozReview-Commit-ID: 9PeQySBxWyx

--HG--
extra : rebase_source : 09ea09170531c0f7fa14e37ecb1e9dd2423ca4b3
2018-07-06 18:03:50 +02:00
yulia
1d09ab8d39 Bug 1472673 - fix windows screenshot file test, add more console screenshot command tests; r=nchevobbe
MozReview-Commit-ID: 7P4l5PNjYwV

--HG--
extra : rebase_source : c84707ed6401da17566ec137ee14809cfba143e0
2018-07-09 14:34:06 +02:00
yulia
1d4a181e88 Bug 1472673 - use simpler download and clipboard methods; r=ochameau
MozReview-Commit-ID: DhcObqrGNV

--HG--
extra : rebase_source : 66b864d9efecb996a5d438b32a3d468c70940a5b
2018-07-06 18:48:23 +02:00
Jason Laster
35cd9cbfcc Bug 1474366 - Update Debugger Frontend v70. r=dwalsh 2018-07-10 12:45:20 -04:00
Gijs Kruitbosch
f10d2f2c02 Bug 1472364 - immediately propagate resizes triggered through changing toolbox hosts, r=bgrins
to avoid flicker/delays, immediately enforce we update the size of the inspector once the devtools move from one place to another.

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

--HG--
extra : moz-landing-system : lando
2018-07-10 09:40:30 +00:00
Andreea Pavel
f7083e12e5 Backed out changeset 92fc73895c63 (bug 1473511) on request by yulia 2018-07-10 12:25:17 +03:00
yulia
8338f48220 Bug 1473511 - use protocol.js pool to manage thread actor; r=ochameau
MozReview-Commit-ID: 6Ifmo0GCdwe

--HG--
extra : rebase_source : 3a25cb22577c54f572a34275a1c3e8ed460cb34f
2018-07-05 12:22:27 +02:00
Julian Descottes
c02cc66b8b Bug 1467256 - Wait until about:debugging UI in browser_application_panel_open-links.js;r=ladybenko
MozReview-Commit-ID: 323WvitlWcy

--HG--
extra : rebase_source : cef5ccdcc3742cb1a26c2ec6fc0cedb69f4e8f15
2018-07-05 09:34:48 +02:00
Ciure Andrei
79aa5c6ec9 Merge inbound to mozilla-central. a=merge 2018-07-10 00:59:02 +03:00
Paolo Amadini
432ba73eeb Bug 1461793 - Remove the "popup-base" binding and import the "popup.css" file as a document stylesheet. r=bgrins
MozReview-Commit-ID: ADWsFTNPfhw

--HG--
extra : source : 4d511f7fc5b5c16fdfea91242dea6086cd57c8c3
extra : intermediate-source : 721ad06a848fa442f7f406c8bceb8d31db2aed0d
2018-07-09 08:59:33 +01:00
Daisuke Akatsuka
bc932a40f4 Bug 1330544 - Part 3: Add test of altering properties. r=pbro
MozReview-Commit-ID: 2vvlQgL53UW

--HG--
extra : rebase_source : 5b41dbe78c9886255d68f9609147e3e47b94b211
2018-07-06 17:26:53 +09:00
Daisuke Akatsuka
1aa12c1b25 Bug 1330544 - Part 2: Add 'easing' and 'fill' to the changing flag target. r=pbro
MozReview-Commit-ID: EuFO7yBl7iS

--HG--
extra : rebase_source : 5f6293e29ffe4c6e6d86a7fd1ab5203076ceae97
2018-07-06 17:13:48 +09:00
Ankita
fe4b404792 Bug 1330544 - Part 1: Add 'direction' to the changing flag target. r=pbro
MozReview-Commit-ID: C9cTVxa5av1

--HG--
extra : rebase_source : 3b1505fb40b5d3c92cec296b9d442961adeabc95
2018-07-06 17:06:46 +09:00
Brian Grinstead
b02f93512d Bug 1472161 - Enter tabs in console when not at an autocomplete location;r=nchevobbe
This also allows Tab / Shift+Tab to unfocus the input if it is empty.

MozReview-Commit-ID: C8u5GTzvA8Z

--HG--
extra : rebase_source : 27cbb92f2b894714a8888a108d4f83ee67223db1
2018-07-09 09:11:04 -07:00
Paolo Amadini
0e6d306642 Bug 1470872 - Load "dropmarker.css", "groupbox.css", and "splitter.css" as document stylesheets. r=bgrins
MozReview-Commit-ID: 3jF7wbLpc7R

--HG--
extra : source : 2fc97c8e2e2c6a6f74b533921162f6256f4be249
2018-07-07 11:18:36 +01:00
Dorel Luca
979ce8a6f7 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-07 13:32:05 +03:00
Stefan Hindli
d956f37c5e Bug 1465683 - Disabled browser_dbg_search-symbols.js on Windows !debug r=jmaher 2018-07-06 07:26:00 +03:00
Bogdan Tara
f06fbe92ac Merge inbound to mozilla-central. a=merge 2018-07-07 01:00:41 +03:00
shindli
c76354430a Backed out changeset 7c5a7b0b6bc6 (bug 1465424) for bustages in /builds/worker/checkouts/gecko/js/src/devtools/rootAnalysis/run_complete on a CLOSED TREE 2018-07-06 16:39:55 +03:00
Patrick Brosset
948983b91e Bug 1465424 - Added 3 histograms to test font editor usage assumptions; r=rcaliman
MozReview-Commit-ID: 5RWjUqRhtyH

--HG--
extra : rebase_source : a585fd2a7b85f553f030b83ca163d63a572e4c0a
2018-06-29 18:20:25 +02:00
yulia
27c3a9523c Bug 1472670 - use Protocol.js events instead of this.conn.send; r=ochameau
MozReview-Commit-ID: EtabuC1PCNw

--HG--
extra : rebase_source : 72cdafde2ec363fe7cca9b187f4e361d77fdfca1
2018-07-04 12:55:28 +02:00
Vincent Lequertier
dc8fa92a1b Bug 1468366 - Initialize headersSize to null in the devtools network monitor; r=Honza
This is used to avoid having an undefined value when calculating the transferred
size.

MozReview-Commit-ID: 2cDyCxBcYJS

--HG--
extra : rebase_source : 318119fd9b435c30cfb4edddb0303ebdacdeeae3
2018-06-19 22:05:36 +02:00
Michael Ratcliffe
838616630e Bug 1473842 - Upgrade React to v16.4.1 r=nchevobbe
MozReview-Commit-ID: CKlj71e4ZHy

--HG--
extra : rebase_source : 9529e6e33d4f789eb41b04ff3815379fe41a233d
2018-07-06 10:43:34 +01:00
Nicolas Chevobbe
218266a334 Bug 1472606 - Split browser_jsterm_selfxss test; r=Honza.
The test was doing more than asserting the self-xss protection.
The other assertions are moved to a new test with a comprehensive
name.
The self-xss test is now runned with both old and new JsTerm.

MozReview-Commit-ID: 3y4PY8Lldpg

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_selfxss.js => devtools/client/webconsole/test/mochitest/browser_jsterm_autocomplete_paste_undo.js
extra : rebase_source : 5d52e5b6dd26e09f1196b3a1bf9f10d83c73398a
2018-07-05 15:41:13 +02:00
Nicolas Chevobbe
b3903d9dfe Bug 1472606 - Enable self-xss protection on CodeMirror JsTerm; r=Honza.
Event handlers needed to be added to the codeMirror editor in order
to enable the self-XSS protection that we have on the console.

MozReview-Commit-ID: IIMhhUb5Qj1

--HG--
extra : rebase_source : 6b2bbbe63f6a16c19ab72c2537f8d9ebfb887d28
extra : source : 642f3051c36aaa6b75ee28a14e53ba5aa16eb946
2018-07-02 08:40:46 +02:00
Brindusan Cristian
a5ab081206 Backed out changeset 0340ab4b2be0 (bug 1465424) for causing build bustages. CLOSED TREE 2018-07-06 12:07:13 +03:00
Patrick Brosset
5d2d38b5ce Bug 1465424 - Added 3 histograms to test font editor usage assumptions; r=rcaliman
MozReview-Commit-ID: 5RWjUqRhtyH

--HG--
extra : rebase_source : 1e11b09ade41ead658cb9b8e18267b767a47ff76
2018-06-29 18:20:25 +02:00
Julian Descottes
0fa00db20c Bug 1473819 - Force height: Infinity for HTMLTooltip used by autocomplete;r=nchevobbe
MozReview-Commit-ID: DpWs2QZ9nNo

--HG--
extra : rebase_source : af0a2564e866b3c195122b505e07cdef9e550d8b
2018-07-06 10:14:23 +02:00
Hemanth Kumar Veeranki
46eb6c4e9d Bug 1344286 - Fix eslint errors from devtools files ignored previously; r=gregtatum,ntim
MozReview-Commit-ID: CXVyorSle4l

--HG--
extra : rebase_source : e74c20b2eeeeaf082be073a36da3f6fc4b57ab43
2018-06-16 15:45:58 +05:30
Alexandre Poirot
d7f92cbc6c Bug 1473628 - Stop supporting actors as functions. r=jryans
MozReview-Commit-ID: GznOYQYETLN

--HG--
extra : rebase_source : 2684373217f0f29c18a53ad3e4025232c8777a6e
2018-07-05 07:49:41 -07:00
Alexandre Poirot
56f3306b1c Bug 1473418 - Improve exception message occuring during toolbox opening. r=jryans
MozReview-Commit-ID: HFXiyNzstGK

--HG--
extra : rebase_source : 599d7955bbf1a983d399222a6ded304d88718628
2018-07-04 15:13:07 -07:00
Jan Odvarko
69a445df74 Bug 1463676 - Don't add an evaluated input to the history if it is the same as the previous evaluation; r=nchevobbe
MozReview-Commit-ID: 74TWpnO6wPx

--HG--
extra : rebase_source : 58ff939a36edf82f935a2394664f0674e322bf74
2018-07-09 11:48:57 +02:00
Julian Descottes
8d50245af4 Bug 1472142 - part2: Add mochitest to test picking an element in shadow dom;r=bgrins
MozReview-Commit-ID: uihd0INlDu

--HG--
extra : rebase_source : 69e1935d4562a0978ae5b2228b07399d809a8826
2018-06-29 16:34:21 +02:00
Julian Descottes
abe18850a6 Bug 1472142 - part1: Support picking elements in shadow dom;r=bgrins
MozReview-Commit-ID: 5wR6IlHxNR4

--HG--
extra : rebase_source : a3212e0d4522a697450894f32fa345664bd7c17b
2018-06-29 15:33:50 +02:00
Jason Laster
75d3075f15 Bug 1473717 - Update Debugger Frontend v69. r=jdescottes 2018-07-06 10:47:04 -04:00
Brindusan Cristian
18efd6980f Backed out changeset d08e63a3f658 (bug 1453815) for dev requirement - test was fixed before this patch landed. CLOSED TREE 2018-07-06 16:37:23 +03:00
Arthur Iakab
dad5e60542 Bug 1453815 - Disabled devtools/client/debugger/new/test/mochitest/browser_dbg-navigation.js for frequent failures. r=jmaher 2018-07-05 21:03:00 +03:00
Alexandre Poirot
77d8c1327c Bug 1474609 - Improve exception logging during Debugger main module loading. r=jlast
MozReview-Commit-ID: HPexsoSCUBC

--HG--
extra : rebase_source : 7791fb45c0de5f1d350d7a1f10b93bc02df7a8ba
2018-07-10 07:58:48 -07:00
Nicolas Chevobbe
1408199967 Bug 1474236 - Remove defer usage in JsTerm.js; r=Honza.
This patch removes defer usage and now relies on async function.
Functions that was using callbacks are also moved to async, since
the callback only purpose was to resolve the deferred promise.

MozReview-Commit-ID: 3Y7cDrS1fkm

--HG--
extra : rebase_source : 33524201c35d52a78de477fa3dfe9f67667e6cc5
2018-07-09 08:59:14 +02:00
yulia
b7a3e35423 Bug 1473511 - use protocol.js pool to manage thread actor; r=ochameau
MozReview-Commit-ID: 6Ifmo0GCdwe

--HG--
extra : rebase_source : 0f26a6315489e1d104ee92070a8d51e3c13a7883
2018-07-05 12:22:27 +02:00
Nicolas Chevobbe
4a2d9b5a7a Bug 1434563 - Do not execute helper if the function is defined in content; r=Honza.
If the content page sets a global keys, values, , … function,
calling them in the jsterm won't work because the helpers we
provide will override them.
This is very disturbing when debugging code, and this patch
fixes this issue by looking at all the registered helpers
and clearing helpers bindings if a function with the same
name as an helper exists in the content page.
This is not done for the print helper though, since the
print function on window always exists.
We also take this as an opportunity to only return unique
item in the autocomplete server function so we don't show
a function twice in the popup if it is defined in content
and as an helper.

The test that was asserting this behaviour for $ and $$ is
renamed and modified to test all the helpers.

MozReview-Commit-ID: 1bTliGUb39U

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

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_dollar.js => devtools/client/webconsole/test/mochitest/browser_jsterm_content_defined_helpers.js
extra : moz-landing-system : lando
2018-07-18 11:51:17 +00:00
Razvan Caliman
4276af9c61 Bug 1476535 - Disable browser_fontinspector_editor-font-size-conversion.js because of intermittent failures. r=pbro
MozReview-Commit-ID: J2feLy6TO0Q

--HG--
extra : rebase_source : cfb1ec685a02ca013c55cc2038c8c7e79a495ed1
2018-07-18 11:49:38 +02:00
Emilio Cobos Álvarez
b29a806017 Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-12 07:29:09 +02:00
Alexandre Poirot
aece1534ef Bug 1473578 - Remove deprecated synchronous DebuggerServer.registerModule feature. r=jryans
MozReview-Commit-ID: DTAEJyfICNz

--HG--
extra : rebase_source : 043241ac68dd00f24236e9583dc262bce4d208b7
2018-07-05 07:13:52 -07:00
abhinav
1ad6b152e7 Bug 1461271 - Copy POST data labelled wrongly for PUT/PATCH requests in network tab.r=Honza
MozReview-Commit-ID: 9WCfCh1T2lc

--HG--
extra : rebase_source : 319a578df14e455c1960458d48851b1b9e5d67d7
2018-06-23 00:00:41 +05:30
Brendan Dahl
4dc9578aa6 Bug 1466897 - Support devtools context menus in top level HTML pages. r=bgrins
Create a popugroup element to setup the context menu behind the scenes.
Create all the menu related elements with the XUL namespace.

MozReview-Commit-ID: DI24aNHHFON
Signed-off-by: Brendan Dahl <brendan.dahl@gmail.com>

--HG--
extra : rebase_source : cd2444bd8ce24e89c8aa6b78ecd203e41156a7fe
2018-07-05 10:56:15 -07:00
sreeise
9a85cba264 Bug 1368199 - Replaced uses of 'defer' with 'new Promise' in the devtools/client/framework directory. r=jryans
MozReview-Commit-ID: CA1XPx90jwW

--HG--
extra : rebase_source : 358cbd7b43a41be1b6b2318bade89fcdcb564ccf
2018-07-03 02:16:31 -04:00
Mark Banner
96cd033dd3 Bug 1452706 - Fix the expected arguments to be RegExps in test_format_command.js. r=yulia
MozReview-Commit-ID: 24DtFcF9o2F

--HG--
extra : rebase_source : 51fcfacfa538a62a9dd0e3ddd09e3c35b341699e
2018-07-05 14:36:54 +01:00
Mark Banner
2a76b96907 Bug 1452706 - Add the 'expected' arguments to throws/rejects for devtools/shared/sourcemap. r=yulia
MozReview-Commit-ID: AdOD0Txwdi7

--HG--
extra : rebase_source : b7c8de55801152aa94e109a3ae998b5f006aad9d
2018-07-03 20:16:20 +01:00
Nicolas Chevobbe
326029dc22 Bug 1419081 - Cmd/Ctrl + click should put object in the sidebar; r=Honza.
In order to do that, we pass an onCmdCtrlClick to the ObjectInspector.
We also extract the dispatching of the SHOW_OBJECT_IN_SIDEBAR action to
its own function so it can be called directly with a grip.
browser_webconsole_object_in_sidebar is renamed and repurposed to test
this specific behavior, since there's already a test checking the context
menu way (browser_webconsole_context_menu_object_in_sidebar.js).

MozReview-Commit-ID: GCF1wFPWTH

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_webconsole_object_in_sidebar.js => devtools/client/webconsole/test/mochitest/browser_webconsole_object_ctrl_click.js
extra : rebase_source : ad40ffb48695e3156a5730a5a41c1e8d9cb73b88
2018-04-19 10:54:36 +02:00
Nicolas Chevobbe
eb9667402d Bug 1473305 - Move browser_jsterm_popup.js to devtools/client/shared/test ;r=Honza.
This test is directly calling Autocomplete popup methods and only uses the
console for the instance and the input it provides. This patch moves the
test to the shared component folder, where the autocompletion code lives
so it feels more natural.
A few test cases are added in the jsterm_accessibility test, this time in
direct relation with the console input.

MozReview-Commit-ID: Ih7rOJ3vHpb

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_jsterm_popup.js => devtools/client/shared/test/browser_autocomplete_popup.js
extra : rebase_source : 148e7d3d9ac69a40facc428c1201a9aa52eeda29
extra : source : b8b912f1999018c8f1677299d7180d3a03bcb2d7
2018-07-04 15:30:07 +02:00
Razvan Caliman
e8303152ce Bug 1473263 - Show "No fonts" message when there are no fonts used on the selected element or its descendants. r=pbro
MozReview-Commit-ID: Bkgs6ulw8nD

--HG--
extra : rebase_source : aef095cc9687a5bdaf2345bf251dde161072f681
2018-07-04 18:39:06 +02:00
Razvan Caliman
3ec682d724 Bug 1473496 - Font editor: replace string IDs for localizable strings that changed value. r=flod
MozReview-Commit-ID: H9bQuOsoZkP

--HG--
extra : rebase_source : 87a6558f72fdaf388a18c78bb8edb74188b11db8
2018-07-05 10:38:48 +02:00
Andreea Pavel
edb6aafdea Backed out 2 changesets (bug 1471838) for failing css/vendor-imports/mozilla/mozilla-central-reftests/shapes1/shape-outside-border-box-border-radius-005.html
Backed out changeset b21c5080232a (bug 1471838)
Backed out changeset 5e99a3c65b2f (bug 1471838)
2018-07-05 10:44:45 +03:00
Emilio Cobos Álvarez
e87afd528c Bug 1471838: Update the properties database. r=me CLOSED TREE
MozReview-Commit-ID: IXeZmnElMHU
2018-07-05 05:46:56 +02:00
Coroiu Cristina
a4fb127451 Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Gabriel Luong
d57137608c Bug 1456681 - Toggle the flexbox highlighter from the markup display badges. r=pbro 2018-07-04 16:20:29 -04:00
Gurzau Raul
6ef785903f Merge inbound to mozilla-central. a=merge 2018-07-04 19:30:07 +03:00
Gabriel Luong
c8f132a6bd Bug 1473061 - Provide an option to show flex basis in the flexbox highlighter. r=pbro 2018-07-04 07:20:16 -04:00
Gurzau Raul
03062dd04b Merge inbound to mozilla-central. a=merge 2018-07-04 12:58:33 +03:00
shindli
1384968ccc Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 01:35:17 +03:00
shindli
3d917e5382 Merge inbound to mozilla-central. a=merge
--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
2018-07-04 00:56:24 +03:00
Gijs Kruitbosch
09a107bc24 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 180442deeef92f0e9202d76c5e4e46b630072d99
extra : source : be11a32900298eb6fd4d18ad21b9a699995254c3
2018-06-22 15:41:39 +01:00
Jason Laster
e94b727beb Bug 1472768 - Update Debugger Frontend v68. r=jdescottes 2018-07-03 14:12:01 -04:00
Noemi Erli
33704bae93 Bug 1446760 - Disable browser_dbg-stepping.js for frequent failures on Windows r=jmaher
--HG--
extra : rebase_source : 64a99f4dafa8f39d782e87a12f33d7ee5eb47079
2018-07-03 18:55:56 +03:00
Gijs Kruitbosch
9396488809 Backed out changeset be11a3290029 (bug 1469916) for test orange involving Not enough arguments [nsIWebBrowserPersist.saveURI] 2018-07-03 15:45:13 +01:00
Daisuke Akatsuka
19a456b691 Bug 1472684: Hide info bar and guides from highlighter. r=gl
MozReview-Commit-ID: AAchCYg0d61

--HG--
extra : rebase_source : 7d95cae3bdec07fabba719a66a37d02b2e40fe59
2018-07-04 10:50:12 +09:00
Daisuke Akatsuka
ba800e3517 Bug 1472859 - Part 2: Add test for same colors and currentcolor. r=gl
MozReview-Commit-ID: KRnajXPdwSq

--HG--
extra : rebase_source : 11b257753ef21bfe6a822ed5dd4859a3a2dadb8d
2018-07-03 16:22:46 +09:00
Daisuke Akatsuka
d1deefa106 Bug 1472859 - Part 1: Avoid crashing which is in case the all values of keyframes are same. r=gl
MozReview-Commit-ID: Bz60drhwohf

--HG--
extra : rebase_source : 32663181e498b1f46a0b498ac5ee75303f50c578
2018-07-03 16:22:28 +09:00
shindli
5cc2efce78 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 01:01:25 +03:00
J. Ryan Stinnett
57e795108b Bug 1472366 - Remove listeners in ToolboxTabs on unmount. r=mantaroh
ToolboxTabs can leave some listeners still bound after unmount leading to errors
during test runs.

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

--HG--
extra : moz-landing-system : lando
2018-07-03 01:52:25 +00:00
Gijs Kruitbosch
0d0616cad1 Bug 1469916, r=ckerschb,jkt
--HG--
extra : rebase_source : 5c2f49af85664fdb5375f6dc4cc57d6913f1eff9
2018-06-22 15:41:39 +01:00
Gabriel Luong
05c2a6ee1f Bug 1468910 - Flexbox highlighter should update on size or alignment changes of flex items. r=pbro 2018-07-02 21:53:18 -04:00
Jason Laster
c367b58df7 Bug 1472735 - Update Debugger Frontend v67. r=jdescottes 2018-07-02 18:10:25 -04:00
Tiberius Oros
93bed26733 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-03 00:59:47 +03:00
Andreea Pavel
9f7c364a08 Backed out changeset c1f20fc7d71b (bug 1472023) for leaks at devtools/client/debugger/new/test/mochitest/browser_dbg-wasm-sourcemaps.js on a CLOSED TREE 2018-07-03 00:57:37 +03:00
Andreea Pavel
476f752665 Backed out changeset d56426c4190b (bug 1472735) for damp failures at debugger/simple.js on a CLOSED TREE 2018-07-03 00:28:09 +03:00
Jason Laster
5877ab780b Bug 1472735 - Update Debugger Frontend v67. r=jdescottes 2018-07-02 15:34:04 -04:00
Gabriel Luong
b099b01fd9 Bug 1472309 - Don't enable the 3 pane inspector by default on the browser toolbox. r=pbro 2018-07-02 15:16:19 -04:00
Jason Laster
4795ef3dab Bug 1472023 - Update Debugger Frontend v66 (enable wasm test). r=dwalsh
MozReview-Commit-ID: Crpn1ftnRe9
2018-07-02 14:33:10 -04:00
Jason Laster
db19c052dd Bug 1472023 - Update Debugger Frontend v66. r=dwalsh
MozReview-Commit-ID: 8FV5f3SVjUO
2018-07-02 13:17:47 -04:00
Gabriel Luong
dac6e06246 Bug 1472561 - Provide an option to show alignment in the flexbox highlighter. r=pbro 2018-07-02 12:43:47 -04:00
Mark Banner
cbfcd78cd5 Bug 1470455 - Add the 'expected' arguments to throws/rejects for devtools. r=jdescottes
MozReview-Commit-ID: 3HmVFhiA2FZ

--HG--
extra : rebase_source : 2f9fa5372e91f964bdcad4f1e254aff71ce823cd
2018-06-21 16:56:08 +01:00
Patrick Brosset
91d8af86bd Bug 1472116 - Show the font overview in a collapsible section in the font editor; r=rcaliman
MozReview-Commit-ID: AcA1jkGKCW9

--HG--
extra : rebase_source : 70fcaf0f7cfcb65ac0cd142610ec2b48306c9ac9
2018-07-02 14:29:34 +02:00
J. Ryan Stinnett
d281ff76c8 Bug 1471941 - Clean up dangling stylesheet listener in DevTools. r=ochameau
In bug 1465637, we removed the redundant actor pool that was used only for
creating stylesheet actors in a target.  This change happened to lead to errors
that uncovered a dangling listener in `StyleSheetsActor` that would continue to
create actors after toolbox destroy when a new sheet is added.

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

--HG--
extra : moz-landing-system : lando
2018-07-03 13:53:30 +00:00
yulia
bb71a2c1bc Bug 1464461 - add back mochitests for screenshot command; r=nchevobbe,ochameau
MozReview-Commit-ID: 4yGM74AXwoP

--HG--
extra : rebase_source : d13e13020c32b0949bf677a0f16ff88b419d3a42
2018-06-08 20:14:36 +02:00
yulia
47b52c6bb7 Bug 1464461 - implement unix style syntax for console commands; r=nchevobbe,ochameau
MozReview-Commit-ID: 8rQ9IQdsZkm

--HG--
extra : rebase_source : 8f5c302b5eff7d20daf581c7dd904ddcfd30efdd
2018-06-05 17:27:07 +02:00
yulia
0ff331b89e Bug 1464461 - make dispatchMessagesAdd use batching; r=nchevobbe
MozReview-Commit-ID: 7sCFIfC2ovi

--HG--
extra : rebase_source : 2a29272d39c858301fa1adb7233ebcbfe4663b78
2018-06-28 12:00:55 +02:00
yulia
4e3efc1eb4 Bug 1464461 - implement screenshot command in console panel; r=nchevobbe,ochameau
MozReview-Commit-ID: 8MDZglPqTz9

--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
extra : rebase_source : 018acf14945ede0dd58c4f7ecb6d694267deaa6b
2018-06-04 17:46:48 +02:00
Cosmin Sabou
e092bc3111 Backed out 4 changesets (bug 1464461) for Talos damp failures on webconsole/objectexpand.js. CLOSED TREE
Backed out changeset 001370fe21e3 (bug 1464461)
Backed out changeset 014fa1322e94 (bug 1464461)
Backed out changeset 50f7f633bb7d (bug 1464461)
Backed out changeset 6c9488ed5ebd (bug 1464461)
2018-07-03 15:28:03 +03:00
yulia
100018a879 Bug 1464461 - add back mochitests for screenshot command; r=nchevobbe,ochameau
MozReview-Commit-ID: 4yGM74AXwoP

--HG--
extra : rebase_source : 47c927331542dc8f09f04b087b7a39bb217c5bee
2018-06-08 20:14:36 +02:00
yulia
2a8a3c6748 Bug 1464461 - implement unix style syntax for console commands; r=nchevobbe,ochameau
MozReview-Commit-ID: 8rQ9IQdsZkm

--HG--
extra : rebase_source : 6a5c17686e0619adbc0499564da2925e84368f8f
2018-06-05 17:27:07 +02:00
yulia
fb775616de Bug 1464461 - make dispatchMessagesAdd use batching; r=nchevobbe
MozReview-Commit-ID: 7sCFIfC2ovi

--HG--
extra : rebase_source : b76d3eb3b523961346534a1da367d0c4d82e5b90
2018-06-28 12:00:55 +02:00
yulia
f8458d5382 Bug 1464461 - implement screenshot command in console panel; r=nchevobbe,ochameau
MozReview-Commit-ID: 8MDZglPqTz9

--HG--
rename : devtools/shared/gcli/commands/screenshot.js => devtools/server/actors/webconsole/screenshot.js
rename : devtools/shared/gcli/commands/screenshot.js => devtools/shared/webconsole/screenshot-helper.js
extra : rebase_source : 2934d853e9ad0364ac2929f6c07739ba13685578
2018-06-04 17:46:48 +02:00
arthur.iakab
de2ee4f3a3 Merge mozilla-central to autoland 2018-07-03 11:57:10 +03:00
Jan Odvarko
e348885910 Bug 1460843 - Console clean up: split hudservice.js; r=nchevobbe
MozReview-Commit-ID: 41ZUhbk1fBY

--HG--
rename : devtools/client/webconsole/hudservice.js => devtools/client/webconsole/browser-console.js
rename : devtools/client/webconsole/hudservice.js => devtools/client/webconsole/webconsole.js
extra : rebase_source : ba39dc03456759368c42842beddba59596bb44ff
2018-07-02 17:08:02 +02:00
Mantaroh Yoshinaga
da14eeae31 Bug 1468364 - Part 2. Add animation inspector test which checks the created time when changing the playback rate and current time. r=daisuke
MozReview-Commit-ID: HvLl67GaOhi

--HG--
extra : rebase_source : c3c4185eaa69b58661a9720d73576977e8326203
2018-07-02 15:08:58 +09:00
Mantaroh Yoshinaga
7da7ae2094 Bug 1468364 - Part 1. Calculate the created time of animation every creating the AnimationPlayerActor. r=daisuke
This patch will drop animationCreatedTimeMap in order to calculate created time
every creating the AnimationPlayerActor, as result of it, we can adjust the
current time even if AnimationsActor has the different current times of
animation.

MozReview-Commit-ID: DZ7m5wZcJF7

--HG--
extra : rebase_source : 674cdb4ce2eb47cf2047c583f31405396677b5b4
2018-07-02 14:52:47 +09:00
Michael Ratcliffe
4e428a3269 Bug 1463092 - Instrument inspection of 'Jump to Source' in the Web Console with event telemetry r=jdescottes
MozReview-Commit-ID: DF54uBCDX1n

--HG--
extra : rebase_source : e1466cc046a5cd5a211bbc39a050fc40df9b4522
2018-06-22 16:56:51 +01:00
Michael Ratcliffe
b441397dbd Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : 64f03f765a8060a3478b50e25f248286cdab8e3f
2018-06-29 16:36:24 +01:00
Julian Descottes
d27be980f4 Bug 1471162 - Style codemirror scrollbar corners correctly in dark-theme;r=gl
MozReview-Commit-ID: 875fTgrmpJO

--HG--
extra : rebase_source : 6291c64f72fc33a4ecb99130085410b1d09628cf
2018-06-29 16:03:22 +02:00
Julian Descottes
76d3fbf537 Bug 1471162 - Stop using fake floating scrollbar in OSX dark theme;r=pbro
MozReview-Commit-ID: 8nFpHCWojYC

--HG--
extra : rebase_source : af1196714bdda62acf289d624de6b4c84053d016
2018-06-28 12:24:46 +02:00
Razvan Caliman
e0808fc9a0 Bug 1466816 - Ensure rule models are available to the font editor even if the Rule view is not visible. r=gl
MozReview-Commit-ID: 2OHQp3cfk08

--HG--
extra : rebase_source : b3671508e0928bcee41041eb87e0cd84d6cb724c
2018-06-27 20:26:00 +02:00
Coroiu Cristina
85cfb65d4b Backed out changeset 57c6388be227 (bug 1466880) for devtools failures at devtools/client/responsive.html/test/browser/browser_telemetry_activate_rdm.js on a CLOSED TREE 2018-06-29 20:42:35 +03:00
Michael Ratcliffe
36f5977d20 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : c15d2768be6c551c8f2bfea51de7d96c1fcff11f
2018-06-29 16:36:24 +01:00
Razvan Caliman
ac39c4621d Bug 1470416 - Rename "property-value-change" event handler and ignore non-font properties. r=pbro
MozReview-Commit-ID: Hm3rc7vtgCX

--HG--
extra : rebase_source : 039d0024a9dcfac9dae20cd1586eca811ff55795
2018-06-28 16:14:01 +02:00
Razvan Caliman
b452302082 Bug 1470416 - Prevent jitter when dragging Font Editor sliders. r=pbro
Changes that are persisted to the Rule view trigger debounced events which may reflect an older value of the Font Editor.
This causes a visible jitter while dragging the sliders until the final value settles.

This patch makes the sliders rely on internal state while interactive while still accepting outside state after the user
is done dragging.

MozReview-Commit-ID: LCB00qpMPjC

--HG--
extra : rebase_source : be01df1978362ae4cf795e9ca9bb74866c1d4b4f
2018-06-25 16:57:25 +02:00
Razvan Caliman
2a31478195 Bug 1470416 - Debounce listening for "property-value-change" event. r=pbro
Still causes a refresh of the Font Editor at most once every 100ms after
the last "property-value-change" is dispatched. This is done in order
to account for Bug 1464340. Updating a font property may cause a
different font face to be used (ex Courier -> Courier Italic) and that
should be reflected in the Font Editor.

The Font Editor needs to react to "property-value-change" to:
- update its state as a result of manual property changes in the Rule view
- update its state for the used font as a result of property changes
originating from within itself (dragging sliders, selecting instances).

MozReview-Commit-ID: IubQK42NccM

--HG--
extra : rebase_source : 941ffbc5af68e5771e90c701b499cd0e7277047c
2018-06-25 16:46:33 +02:00
Julian Descottes
6c30b83d4b Bug 1470128 - Instrument inspector shadowdom support;r=pbro
MozReview-Commit-ID: JCknoaPiSlR

--HG--
extra : rebase_source : 2cc46308ab464b27da256ba9dd3473bd037ed1e6
2018-06-25 14:33:21 +02:00
Margareta Eliza Balazs
f5b2c7c8e6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 12:51:31 +03:00
Margareta Eliza Balazs
ee85ffa45d Merge inbound to mozilla-central. a=merge 2018-06-29 12:41:54 +03:00
Gerald Squelart
fadefb87a2 Bug 1459524 - Removed layout.css.all-shorthand.enabled pref - r=heycam
The 'all' shorthand has shipped a long time ago, so this pref is not needed
anymore.

MozReview-Commit-ID: GND8qSVAfCG

--HG--
extra : rebase_source : 10708e749911fa95554ed423a5782db61df67cd0
2018-06-28 14:51:38 +10:00
shindli
c57ab475c6 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 01:51:06 +03:00
shindli
d288e9cae7 Merge inbound to mozilla-central. a=merge 2018-06-29 00:53:32 +03:00
Nicolas Chevobbe
e27df170c7 Bug 1471849 - Add mock for Services in json-viewer; r=Honza.
Services is now used in the reps bundle but can't be loaded in the json-viewer.
Since it's only used in the ObjectInspector, which we don't use in the json-viewer,
we can mock it.

MozReview-Commit-ID: DvAxzXTb67K

--HG--
extra : rebase_source : 59c907824e94825357e5049b83ba60afebeddc9a
2018-06-28 10:43:02 +02:00
Razvan Caliman
b819dcbaab Bug 1471914 - Check that the font editor pref is on before rendering it. r=pbro
MozReview-Commit-ID: C0uQkZCJ2Ck

--HG--
extra : rebase_source : fc2b2f482bbc43a9e6bc9b7b4f5b6a08987d0295
2018-06-28 17:16:54 +02:00
Jason Laster
f17dc6e8fc Bug 1471343 - Update Debugger Frontend v65. r=dwalsh
MozReview-Commit-ID: CIkUk582phi
2018-06-28 19:38:01 -04:00
Gabriel Luong
aa6bca839b Bug 1471779 - Use the correct operator when checking if it's a grid or inline grid for toggling the display badges. r=pbro 2018-06-28 09:41:37 -04:00
Cosmin Sabou
a612a6fdf5 Merge mozilla-central to mozilla-inbound. a=merge 2018-06-28 13:13:46 +03:00
Benjamin Bouvier
1c9f5a8af9 Bug 1447591: Stub out a few Debugger APIs for wasm; r=yury
--HG--
extra : rebase_source : b8c8b2afeac3a3bdefa8f412354579f601a3af86
2018-06-20 17:56:19 +02:00
Micah Tigley
61dd076163 Bug 1469877 - XUL accessible highlighter position is incorrect at different zoom levels. r=pbro,yzen
MozReview-Commit-ID: JifRFqv5oGE

--HG--
extra : rebase_source : 8479eb19c81fdc4b9a9b3758e6c553aa65cb0b3b
2018-06-21 15:47:45 -04:00
Ciure Andrei
9a3f27233a Backed out 1 changesets (bug 1466880) for devtools perfails browser_exit_button.js CLOSED TREE
Backed out changeset e52c11b8f8ec (bug 1466880)
2018-06-28 01:52:52 +03:00
Tiberius Oros
945c24abe5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-28 01:12:18 +03:00
Tiberius Oros
705b995848 Merge inbound to mozilla-central. a=merge 2018-06-28 01:07:30 +03:00
Emilio Cobos Álvarez
3ef9fe1263 Bug 1464782: Regenerate the devtools db. r=me
MozReview-Commit-ID: FJxRDsDFsaU
2018-06-27 18:03:10 +02:00
Dorel Luca
bc2fbd0648 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f5c3c308ce6ddd6fb9fcb49b83d4450a24d67dc
2018-06-27 13:33:04 +03:00
Alexandre Poirot
b18ae66a40 Bug 1471152 - Package all panel scripts under resource://devtools/ instead of chrome://devtools/. r=jdescottes
MozReview-Commit-ID: 72iggFSZswN

--HG--
extra : rebase_source : 9e6192682deb3c7ecd162515a2a5ac6b391f9674
2018-06-25 12:59:22 -07:00
Razvan Caliman
7d8cbdcea7 Bug 1467408 - (Part 2) Add test for keyword values in font editor UI. r=gl
MozReview-Commit-ID: 2ROABhBBjFU

--HG--
extra : rebase_source : f60c1483081131f15eeafea5b1cfdd3127cf9101
2018-06-26 17:58:35 +02:00
Razvan Caliman
d2a0bdfb8e Bug 1467408 - (Part 1) Skip keyword values and use computed styles when populating the font editor. r=gl
MozReview-Commit-ID: DpOjrfEudL6

--HG--
extra : rebase_source : a625d0822049e4fc2a1bc1293cb6fe86e7bf862c
2018-06-26 17:00:07 +02:00
Emilio Cobos Álvarez
e0ca8be691 Bug 1464782: Update references to offset-* properties in the rest of the tree. r=xidorn
MozReview-Commit-ID: AOMoLSJKySy
2018-06-27 16:12:02 +02:00
Coroiu Cristina
e555bb0ae4 Backed out 2 changesets (bug 1447591) for mochitest failures at dom/base/test/test_postMessages.html
Backed out changeset 0800fdb509d2 (bug 1447591)
Backed out changeset 9b5347dee1f2 (bug 1447591)
2018-06-27 13:09:31 +03:00
Benjamin Bouvier
21b1a66af6 Bug 1447591: Stub out a few Debugger APIs for wasm; r=yury
--HG--
extra : rebase_source : 22a489d5a3d917f18087fba5342207fcb8d59f02
extra : histedit_source : a23c5f7d75cf8b8ffd6d01a3d00536f75d1591d8
2018-06-20 17:56:19 +02:00
Gabriel Luong
e02ae1a7f9 Bug 1456680 - Part 7: Make the grid display markup badge able to toggle on and off the grid highlighter. r=pbro 2018-06-26 23:33:26 -04:00
Gabriel Luong
c4d4ac2f81 Bug 1456680 - Part 4: Rename event and display node to badge in element-editor.js; r=pbro 2018-06-26 23:33:26 -04:00
Gabriel Luong
a5425a976a Bug 1456680 - Part 3: Show an active state for the grid markup badge if its grid container is highlighted. r=pbro
highlighted.
2018-06-26 23:33:25 -04:00
Jeff Gilbert
5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Razvan Caliman
03a8f4c93f Bug 1465500 - Show list of font families declared but not used. r=gl
MozReview-Commit-ID: 4GfpV8RmK0N

--HG--
extra : rebase_source : 525b030ed67eebb6ff036a92d426a95d51b12ba4
2018-06-06 14:06:47 +02:00
Julian Descottes
5e87e075c9 Bug 1460848 - Always scroll to container element when clicking on reveal;r=bgrins
MozReview-Commit-ID: 6KY8EBYX0uD

--HG--
extra : rebase_source : 575a73f7b28db217e7f1c59c05b01a4cd23eddb6
2018-06-25 17:59:04 +02:00
Margareta Eliza Balazs
ac26190e4f Backed out changeset ed0176b3adac (bug 1460848) for ES lint failure in builds/worker/checkouts/gecko/devtools/client/inspector/markup/views/slotted-node-container.js on a CLOSED TREE 2018-06-27 11:47:39 +03:00
Julian Descottes
21ef5c06f8 Bug 1460848 - Always scroll to container element when clicking on reveal;r=bgrins
MozReview-Commit-ID: 6KY8EBYX0uD

--HG--
extra : rebase_source : 363691328e52002951e6b882c7c616912f753f56
2018-06-25 17:59:04 +02:00
Julian Descottes
4de57e5d54 Bug 1464785 - Use native scrollbars in devtools dark theme for windows;r=pbro
MozReview-Commit-ID: IXbpqdEKdi1

--HG--
extra : rebase_source : 4b9e904afd93678ea26e750f39995113078b7372
2018-06-14 14:06:51 -07:00
Alexandre Poirot
63b32d2839 Bug 1470989 - Rename all panel modules to "panel.js". r=jdescottes
MozReview-Commit-ID: HN33KNmbCaY

--HG--
rename : devtools/client/accessibility/accessibility-panel.js => devtools/client/accessibility/panel.js
rename : devtools/client/dom/dom-panel.js => devtools/client/dom/panel.js
rename : devtools/client/scratchpad/scratchpad-panel.js => devtools/client/scratchpad/panel.js
rename : devtools/client/styleeditor/styleeditor-panel.js => devtools/client/styleeditor/panel.js
extra : rebase_source : 24bef9ee149421ac77a5d05f7f1d98e66f556875
2018-06-25 12:47:52 -07:00
Daisuke Akatsuka
b80e5f9c71 Bug 1470807: Enable new animation inspector on Beta and Release channel. r=pbro
MozReview-Commit-ID: 8uZTr4B2yw0

--HG--
extra : rebase_source : daf803db3af2d752a517f3083d5c1186bb3bcbdc
2018-06-27 14:52:55 +09:00
Daisuke Akatsuka
01f620c390 Bug 1468711 - Part 2: Modify a test for pseudo element. r=pbro
MozReview-Commit-ID: KTUh83kC5yX

--HG--
extra : rebase_source : a59c0ebb5fb1a74e0493e9ace448c85dc79a97fd
2018-06-27 11:16:17 +09:00
Daisuke Akatsuka
7b6b501480 Bug 1468711 - Part 1: Send a proper element for pseudo element to nsDOMWindowUtils::ComputeAnimationDistance. r=pbro
MozReview-Commit-ID: 4xTST1tBeEW

--HG--
extra : rebase_source : e314ac4e70cdbe6c7b32f0931b3176c64516dafa
2018-06-27 10:22:06 +09:00
Gurzau Raul
729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Jason Laster
14007bf2ac Bug 1470999 - Compress Pause Points data-structure. r=jimb
MozReview-Commit-ID: CKt4tpLLf4g
2018-06-26 15:30:07 -04:00
Nicolas Chevobbe
d808bc13f0 Bug 1450944 - Throw in actor methods instead of returning an error packet; r=ochameau.
Since protocol.js catches exceptions and returns an appropriate
packet as a result, we can use this instead of returning manually
an error packet.

MozReview-Commit-ID: 6lREam5sEVs

--HG--
extra : rebase_source : dcc87d659281b909fe973da33b13b9a655d9d300
2018-05-17 15:04:24 +02:00
Ciure Andrei
177ceadc18 Backed out 3 changesets (bug 1466897) for xpcshell failures test_ext_schemas_interactive.js and test_ext_contentscript_create_iframe.js CLOSED TREE
Backed out changeset 87bb8b686a7e (bug 1466897)
Backed out changeset 4443f1f6e8f3 (bug 1466897)
Backed out changeset 067ee6342782 (bug 1466897)

--HG--
rename : layout/xul/nsIPopupContainer.h => layout/xul/nsIRootBox.h
2018-07-03 06:03:15 +03:00
Brendan Dahl
0cb38e81f6 Bug 1466897 - Support devtools context menus in top level HTML pages. r=bgrins
Create a popugroup element to setup the context menu behind the scenes.
Create all the menu related elements with the XUL namespace.

MozReview-Commit-ID: DI24aNHHFON
Signed-off-by: Brendan Dahl <brendan.dahl@gmail.com>

--HG--
extra : rebase_source : 4f0863ec40cdb33be577671ee7f130b125101a74
2018-06-06 14:55:23 -07:00
Nicolas Chevobbe
193de9df94 Bug 1450944 - Convert ObjectActor to protocol.js; r=ochameau.
MozReview-Commit-ID: KFsBT3aywBz

--HG--
extra : rebase_source : 3c2400ba0bdc0d12daf339667fe8c50891c194a0
2018-04-20 07:56:26 +02:00
Nicolas Chevobbe
daff92c135 Bug 1471812 - Remove defer usage in webconsole panel initialization; r=ochameau.
This patch removes the use of defer and switches the open function to
an async one, which makes things easier to follow.

MozReview-Commit-ID: Iezrfs3NNBz

--HG--
extra : rebase_source : 84e01ed8756013f68b440cb890be00a32fc19eab
2018-06-27 17:18:52 +02:00
Julian Descottes
4045d85ad1 Bug 1451734 - Add basic telemetry for application panel (open count, active time);r=ladybenko,miker
MozReview-Commit-ID: KONx4KdDhTU

--HG--
extra : rebase_source : 581ee5c66e6e20d40132830953c7957941d45662
2018-05-25 16:10:33 +02:00
Gurzau Raul
112c3bb6dd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 13:01:13 +03:00
Julian Descottes
3c75e1e85c Bug 1449959 - Listen to shadowrootattached events to update markup view;r=bgrins,ochameau
MozReview-Commit-ID: JcYGg8lKupl

--HG--
extra : rebase_source : 422196dec309321d8ac7629ba1f0628ce4007494
extra : source : 05991bc825e334630c53eae02bb3b7c4a471100f
2018-06-25 12:22:26 +02:00
Brian Birtles
2439e9431a Bug 1461522 - Switch meatball menu to a doorhanger; r=jdescottes
MozReview-Commit-ID: BHBJqiwOfHW

--HG--
extra : rebase_source : 88045b6e88e73b3835d14702402bb5dca9b43784
2018-06-28 15:16:09 +09:00
Brian Birtles
210c9ece94 Bug 1461522 - Update comments in ToolboxToolbar.js; r=jdescottes
MozReview-Commit-ID: 18EJzeao8Xq

--HG--
extra : rebase_source : 9d9f10951832fbdb20e71ca6aa3787698d93c7f2
2018-06-28 15:14:53 +09:00
Brian Birtles
76564f5674 Bug 1461522 - Update browser_toolbox_zoom_popup.js to handle doorhanger menus too; r=jdescottes
MozReview-Commit-ID: 6OoqIeW8Agk

--HG--
extra : rebase_source : ce963bdd89143a0049b24bd010ba93a04e49b8da
2018-06-28 15:14:40 +09:00
Brian Birtles
aaacc2173c Bug 1461522 - Persist active styles for a button with an expanded menu; r=jdescottes
When we open the menu, the menu button should remain active so long as the menu
is open.

MozReview-Commit-ID: DPYEjbNiOuY

--HG--
extra : rebase_source : 47d44c326f012c45f988b3594c0fd15ddaa82365
2018-06-28 15:14:13 +09:00
Brian Birtles
9518077b79 Bug 1461522 - Add Menu components; r=jdescottes
MozReview-Commit-ID: DJVU4rRYQYU

--HG--
extra : rebase_source : e855f004085749562ba5fce75abf748b284b100b
2018-06-28 15:13:06 +09:00
Brian Birtles
59e52349bd Bug 1461522 - Add a mechanism to allow updating an HTMLTooltip's size and position; r=jdescottes
MozReview-Commit-ID: 4SDxlTTFp8E

--HG--
extra : rebase_source : c8e429c8d88512bc807a3169b6651609e01e5556
2018-06-28 15:13:05 +09:00
Brian Birtles
1b60bc9ae5 Bug 1461522 - Honor ui.popup.disable_autohide setting in HTMLTooltip; r=jdescottes
MozReview-Commit-ID: ReYYKPYaVm

--HG--
extra : rebase_source : faa54c474ab6f79b5be03d5b0c7eae05218cdb8d
2018-06-28 15:13:05 +09:00
Brian Birtles
94d751c803 Bug 1461522 - Add ID and class properties to HTMLTooltip; r=jdescottes
In particular, the ID allows us to associate the tooltip with the button that
triggers it using the aria-controls attribute.

MozReview-Commit-ID: ArjH2s5JNlC

--HG--
extra : rebase_source : 5fed7b40a09c01d9b3d0f70de42d22388f2e5d63
2018-06-28 15:13:05 +09:00
Brian Birtles
341736279e Bug 1461522 - Add focus() and focusEnd() methods to HTMLTooltip; r=jdescottes
We will use these methods later when we put menu content inside HTMLTooltip in
order to set the initial focus.

MozReview-Commit-ID: HR02wg543gP

--HG--
extra : rebase_source : d873b490db0358b813bc6fb019b70a3277b419a9
2018-06-28 15:10:42 +09:00
Brian Birtles
e9258ddad8 Bug 1461522 - Factor out a focusableSelector utility; r=jdescottes
We will use this later when we introduce a MenuList class since it will want to
manage focus for its menu items.

This patch also extends the definition of focusable elements somewhat.

MozReview-Commit-ID: 3shnC0t79rF

--HG--
extra : rebase_source : 177e05adeef9708bdb78d46fda5286216db6cbb7
2018-06-28 15:10:27 +09:00
Brian Birtles
b8e1efcc44 Bug 1461522 - Add doorhanger type to HTMLTooltip; r=jdescottes
MozReview-Commit-ID: 6Oq9qauwngX

--HG--
extra : rebase_source : 0e6d333aa10e1580840fe107a8812260d16d0379
2018-06-28 15:04:13 +09:00
Brian Birtles
ae34b55b6a Bug 1461522 - Allow { height: "auto" } in HTMLTooltip setContent and make it the default; r=jdescottes
The current default value for height of Infinity has the unfortunate side
effect that, when combined with using a XUL wrapper, there will be a large
filler element stretching vertically on one side of the tooltip that effectively
neuters all content beneath it. While this is probably fine for tooltips that
are shown on hover, it is problematic if we want to use this for DevTools menus
because it means the user is unable to click anything above/below the menu so
long as it is open (which can be particularly problematic once we make
HTMLTooltip support the "Disable popup autohide" feature"). Even if we were to
decide that clicks outside the tooltip should be consumed anyway we would still
have the problem that hover styles don't apply in this "dead" region.

As a result, this patch makes the { height: Infinity } behaviour opt-in for
those tooltips that really need it. For most uses, however, a height calculated
when the tooltip is shown should be sufficient (and later in this patch series
we will add a mechanism to HTMLTooltip to explicitly request it recalculate its
size and position in response to content changes).

This patch introduces the { height: "auto" } mechanism and also reverses the
order in which size/position properties are calculated to match the regular
manner in which layout is performed: widths first, then heights.

MozReview-Commit-ID: 7BeVkxGVhYn

--HG--
extra : rebase_source : 4f0d88b377e00efc9d443db1a5ef0a7d29295929
2018-06-28 15:03:57 +09:00
Brian Birtles
e34c3dfb54 Bug 1461522 - Fix some comments in HTMLTooltip.js; r=jdescottes
MozReview-Commit-ID: F01ofl9u5lR

--HG--
extra : rebase_source : d2abf115d4e7fdbd8ea23b377c4a3f9d553f995c
2018-06-28 14:56:30 +09:00
Brian Birtles
2fddf4e8ec Bug 1461522 - Use the currentZoom as opposed to the pref value; r=jdescottes
In a couple of places in DevTools we read back the value of the
"devtools.toolbox.zoomValue" pref and take that to be the zoom value. However,
at certain zoom levels these two can differ: the pref value representing the
ideal zoom and currentZoom giving the actual zoom value in use.

This patch makes us use the actual zoom value in the two places where this
occurs.

Unfortunately, we cannot easily adjust the browser_html_tooltip_zoom.js test for
this since it uses a separate XUL document that does not take into account the
pref value---as a result that test directly sets the currentZoom on the separate
doc and hence this problem won't occur.

Instead, this patch adjusts the browser_toolbox_zoom_popup.js test since the
toolbox menu positioning uses the same problematic pattern so we can reproduce
the bug in the browser_toolbox_zoom_popup.js. (This patch fixes both
occurances of this pattern.)

At least locally browser_toolbox_zoom_popup.js passes for me with a zoom of 1.5
but fails with a zoom of 1.4. Similarly in my testing of HTMLTooltip, zoom
values such as 1.2 and 1.4 often show significant misalignment whilst a zoom of
1.3 or 1.5 is fine.

With the code changes in this patch, the test passes with any given zoom factor.

(This patch also incidentally replaced isNaN with the more robust Number.isNaN.)

MozReview-Commit-ID: JmlRoidARVp

--HG--
extra : rebase_source : 39370089e38c473987c9bfb1a4ba582cc781db1b
2018-06-28 14:55:48 +09:00
Brian Birtles
f60bbdefb3 Bug 1461522 - Make HTMLTooltip position the arrow correctly in RTL mode; r=jdescottes
Currently the arrow offset is not correctly positioned in RTL mode as evidenced
by the test case included in this patch (which fails without the code changes
included in this patch).

This patch logicalizes the calculations for positioning the tooltip which fixes
this and other issues when using RTL mode and will make it easier to introduce
a new "doorhanger" type tooltip later in this patch series.

MozReview-Commit-ID: BQXhDHbPTbl

--HG--
extra : rebase_source : c9227a18442dafef84643981a98b5f3697d9e50b
2018-06-28 14:52:10 +09:00
Margareta Eliza Balazs
a7c34ef314 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-26 18:10:15 +03:00
Razvan Caliman
b9811fc162 Bug 1468806 - Do not populate Font Editor with inherited property values; use computed. r=pbro
MozReview-Commit-ID: Bv0y3X6WPY2

--HG--
extra : rebase_source : 38555a21fcbb685a988fa62559724557db270f83
2018-06-25 17:49:54 +02:00
Paolo Amadini
3cb26f3bcd Bug 1448126 - Part 1 - Remove tests for the "scale" binding. r=bgrins
MozReview-Commit-ID: 9LxA3ERl89r

--HG--
extra : rebase_source : d71a398bf09d954ce6213f37bf276e2f13943191
2018-06-24 17:19:15 +01:00
Alexandre Poirot
f7e331b36e Bug 1470244 - Rename all panel documents to index.{xul|html}. r=jdescottes
MozReview-Commit-ID: 5C3ehYKBt3m

--HG--
rename : devtools/client/accessibility/accessibility.html => devtools/client/accessibility/index.html
rename : devtools/client/canvasdebugger/canvasdebugger.xul => devtools/client/canvasdebugger/index.xul
rename : devtools/client/debugger/debugger.xul => devtools/client/debugger/index.xul
rename : devtools/client/dom/dom.html => devtools/client/dom/index.html
rename : devtools/client/inspector/inspector.xhtml => devtools/client/inspector/index.xhtml
rename : devtools/client/memory/memory.xhtml => devtools/client/memory/index.xhtml
rename : devtools/client/performance-new/perf.xhtml => devtools/client/performance-new/index.xhtml
rename : devtools/client/performance/performance.xul => devtools/client/performance/index.xul
rename : devtools/client/scratchpad/scratchpad.xul => devtools/client/scratchpad/index.xul
rename : devtools/client/storage/storage.xul => devtools/client/storage/index.xul
rename : devtools/client/styleeditor/styleeditor.xul => devtools/client/styleeditor/index.xul
rename : devtools/client/webaudioeditor/webaudioeditor.xul => devtools/client/webaudioeditor/index.xul
rename : devtools/client/webconsole/webconsole.html => devtools/client/webconsole/index.html
extra : rebase_source : 30d4a2b96c7caf9c2543866e11519559d73f75dc
2018-06-21 11:08:25 -07:00
Julian Descottes
0db1432e3a Bug 1452061 - CamelCase all React component files in devtools performance panel;r=gregtatum
MozReview-Commit-ID: 3RW6DRE95bY

--HG--
rename : devtools/client/performance/components/jit-optimizations.js => devtools/client/performance/components/JITOptimizations.js
rename : devtools/client/performance/components/jit-optimizations-item.js => devtools/client/performance/components/JITOptimizationsItem.js
rename : devtools/client/performance/components/recording-button.js => devtools/client/performance/components/RecordingButton.js
rename : devtools/client/performance/components/recording-controls.js => devtools/client/performance/components/RecordingControls.js
rename : devtools/client/performance/components/recording-list.js => devtools/client/performance/components/RecordingList.js
rename : devtools/client/performance/components/recording-list-item.js => devtools/client/performance/components/RecordingListItem.js
rename : devtools/client/performance/components/waterfall.js => devtools/client/performance/components/Waterfall.js
rename : devtools/client/performance/components/waterfall-header.js => devtools/client/performance/components/WaterfallHeader.js
rename : devtools/client/performance/components/waterfall-tree.js => devtools/client/performance/components/WaterfallTree.js
rename : devtools/client/performance/components/waterfall-tree-row.js => devtools/client/performance/components/WaterfallTreeRow.js
extra : rebase_source : 751d10f91cd97c6ce3d916f401ce57ec94f744f1
2018-06-14 14:45:15 -07:00
Julian Descottes
a17f7800df Bug 1441535 - Remove unnecessary shadowdom check in isXBLAnonymous;r=bgrins
doc.getAnonymousNodes no longer returns shadow dom nodes, so no need
to filter them out in isXBLAnonymous.

This feature is tested in browser_markup_anonymous_02.js so reenabling
this test.

toolbarbutton has 4 children now, but since our tests are no longer
running in non-e10s, the regression was missed!

MozReview-Commit-ID: BHYb5ufyQjg

--HG--
extra : rebase_source : bb933452d3780fa1c632240314014ad9c605c52a
2018-07-24 15:56:35 +02:00
Patrick Brosset
ddd372f44f Bug 1471893 - Write to a new property if the one we're trying is disabled or overwritten. r=pbro
MozReview-Commit-ID: B306en6o2M0

--HG--
extra : rebase_source : dd3b2923a94edeaa2c71c0e3c4afe661ef1e8f0d
2018-07-20 15:41:37 +02:00
Gurzau Raul
b7807c2f1e Backed out changeset 9162b1c01237 (bug 1452061) for failing at performance/components/test/test_jit_optimizations_01.html on a CLOSED TREE
--HG--
rename : devtools/client/performance/components/JITOptimizationsItem.js => devtools/client/performance/components/jit-optimizations-item.js
rename : devtools/client/performance/components/JITOptimizations.js => devtools/client/performance/components/jit-optimizations.js
rename : devtools/client/performance/components/RecordingButton.js => devtools/client/performance/components/recording-button.js
rename : devtools/client/performance/components/RecordingControls.js => devtools/client/performance/components/recording-controls.js
rename : devtools/client/performance/components/RecordingListItem.js => devtools/client/performance/components/recording-list-item.js
rename : devtools/client/performance/components/RecordingList.js => devtools/client/performance/components/recording-list.js
rename : devtools/client/performance/components/WaterfallHeader.js => devtools/client/performance/components/waterfall-header.js
rename : devtools/client/performance/components/WaterfallTreeRow.js => devtools/client/performance/components/waterfall-tree-row.js
rename : devtools/client/performance/components/WaterfallTree.js => devtools/client/performance/components/waterfall-tree.js
rename : devtools/client/performance/components/Waterfall.js => devtools/client/performance/components/waterfall.js
2018-07-24 17:11:01 +03:00
Julian Descottes
c14ce480de Bug 1452061 - CamelCase all React component files in devtools performance panel;r=gregtatum
MozReview-Commit-ID: 3RW6DRE95bY

--HG--
rename : devtools/client/performance/components/jit-optimizations.js => devtools/client/performance/components/JITOptimizations.js
rename : devtools/client/performance/components/jit-optimizations-item.js => devtools/client/performance/components/JITOptimizationsItem.js
rename : devtools/client/performance/components/recording-button.js => devtools/client/performance/components/RecordingButton.js
rename : devtools/client/performance/components/recording-controls.js => devtools/client/performance/components/RecordingControls.js
rename : devtools/client/performance/components/recording-list.js => devtools/client/performance/components/RecordingList.js
rename : devtools/client/performance/components/recording-list-item.js => devtools/client/performance/components/RecordingListItem.js
rename : devtools/client/performance/components/waterfall.js => devtools/client/performance/components/Waterfall.js
rename : devtools/client/performance/components/waterfall-header.js => devtools/client/performance/components/WaterfallHeader.js
rename : devtools/client/performance/components/waterfall-tree.js => devtools/client/performance/components/WaterfallTree.js
rename : devtools/client/performance/components/waterfall-tree-row.js => devtools/client/performance/components/WaterfallTreeRow.js
extra : rebase_source : afb1dc2e55dc6912b0b0c6c1168a5f41307bb974
2018-06-14 14:45:15 -07:00
Andreea Pavel
3fc22dbcb2 Backed out changeset 727a835af2ff (bug 1472566) for failing devtools at devtools/client/inspector/grids/test/browser_grids_color-in-rules-grid-toggle.js on a CLOSED TREE 2018-07-17 23:40:37 +03:00
Gabriel Luong
02a0aef58d Bug 1472566 - Add a color picker to the flexbox listings to change the flexbox highlighter colour. r=jdescottes 2018-07-17 15:29:21 -04:00
J. Ryan Stinnett
9d30878aa5 Bug 1473687 - Wait for files to finish loading in Scratchpad test. r=ochameau
In devtools/client/scratchpad/test/browser_scratchpad_recent_files.js, we would
import test files and delete them from disk before the read had fully completed,
which caused an error.  (This test also had various other troubles like not
actually writing anything to the test files.)

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

--HG--
extra : moz-landing-system : lando
2018-07-06 07:44:41 +00:00
Arthur Deschamps
62e98d1fe8 Bug 1438458 - Differentiate hover and selected colors in the devtools autocomplete popup - r=nchevobbe
MozReview-Commit-ID: GNFea0JLBQ2

--HG--
extra : rebase_source : fe8b8a93830f26eb0976d0825aa0861a8b6da406
2018-02-20 19:09:33 +01:00
Michael Ratcliffe
e76c933ee5 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n

--HG--
extra : rebase_source : a247143c183d3ee32cee50e257bdff531b066087
2018-06-22 14:08:47 +01:00
Gijs Kruitbosch
5f6ae8c428 Bug 1448096 - use promiseDocumentFlushed to avoid sync reflows when resizing devtools windows, r=bgrins,mconley
MozReview-Commit-ID: HATxzjdbQDj

--HG--
extra : rebase_source : 374e1915b04ac76f3b82ac42bf4ad170e366ef0a
2018-06-19 18:12:42 +01:00
Nicolas Chevobbe
b9474d997c Bug 1469959 - Don't use relatedTarget to check if the ObjectInspector was focused by tabbing; r=bgrins.
Basically this rolls back the changes made to the reps bundle
in Bug 1463415. This change will be backported in Github later
so the fix can ride the train.
A test is added to make sure we don't regress again.

MozReview-Commit-ID: Csak2pPyTOR

--HG--
extra : rebase_source : a3f24dab9e062f0743cdbc4e9cec9d1ce62c86d1
2018-06-25 17:57:15 +02:00
Alexandre Poirot
4d61fa3588 Bug 1470086 - Refactor shader editor initializer. r=jdescottes
MozReview-Commit-ID: sLVVmv8ZUF

--HG--
rename : devtools/client/shadereditor/shadereditor.xul => devtools/client/shadereditor/index.xul
extra : rebase_source : 8e6e0d46c8935bb80cd21f1904fd2c7b6ee8ac64
2018-06-20 14:28:06 -07:00
Julian Descottes
9bc114fa66 Bug 1078374 - Add mochitest for markup view with template tag;r=bgrins
MozReview-Commit-ID: 4knVStt5QzY

--HG--
extra : rebase_source : 3f37819f8305e6c373d957f93da2ff7d63c38ce5
2018-06-21 16:58:08 +02:00
Julian Descottes
b277b3d6bd Bug 1078374 - Move helper_shadowdom in markup-view head.js;r=bgrins
MozReview-Commit-ID: C3O5LjSfxqS

--HG--
extra : rebase_source : 615e49721e6e7b527255d3dde910de931d33ccae
2018-06-23 08:42:33 +02:00
Julian Descottes
814b067b4a Bug 1078374 - Return empty string in getPath/Selector methods for nodes outside document;r=bgrins
MozReview-Commit-ID: 5hxtjz23vXh

--HG--
extra : rebase_source : be16034feeac2868938bc9a88ec30162f4d99433
2018-06-23 08:29:16 +02:00
Julian Descottes
be3f1a69c1 Bug 1078374 - Show content of template tags in markup view;r=bgrins
MozReview-Commit-ID: pbctIItlC9

--HG--
extra : rebase_source : af386c52748c55d518445c0175ac129c101a63da
2018-06-08 18:17:15 +02:00
J. Ryan Stinnett
ca90a5ef7b Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

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

--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 13:27:57 +00:00
Brindusan Cristian
6060756652 Backed out changeset 78f117b43e0a (bug 1464785) for devtools failures on browser_parsable_css.js. CLOSED TREE 2018-06-26 15:17:52 +03:00
Brindusan Cristian
b881500a7d Backed out changeset e973dc385fd1 (bug 1470086) for devtools failures on browser_se_editors-contents.js. CLOSED TREE
--HG--
rename : devtools/client/shadereditor/index.xul => devtools/client/shadereditor/shadereditor.xul
2018-06-26 14:58:57 +03:00
Daisuke Akatsuka
3930107a17 Bug 1470345: Set stroke to summary graph. r=jdescottes
MozReview-Commit-ID: GIQItU0VH9C

--HG--
extra : rebase_source : 46316b15c60ad3818da1b2352621aeaf7c46c65a
2018-06-25 10:40:59 +09:00
Daisuke Akatsuka
d985560459 Bug 1468343 - Part 4: Add test for infinity duration. r=jdescottes
MozReview-Commit-ID: Jc9UefSr1To

--HG--
extra : rebase_source : ed4b3135511b7422f6b8b6072740243967377d2c
2018-06-26 17:21:24 +09:00
Daisuke Akatsuka
baa2f53ea1 Bug 1468343 - Part 3: Change tooltip content to address infinity duration. r=flod,jdescottes
MozReview-Commit-ID: 4DXXbhGgWF1

--HG--
extra : rebase_source : 6b1d60c2145360a53eccd5c645222544186d0a11
2018-06-26 17:21:17 +09:00
Daisuke Akatsuka
8d088259fc Bug 1468343 - Part 2: Change tick label to address infinity duration. r=flod,jdescottes
MozReview-Commit-ID: LBnH5GnZ25z

--HG--
extra : rebase_source : d93cf3bd6f7036d4b9dda792a600e4e927422592
2018-06-26 16:05:11 +09:00
Daisuke Akatsuka
cf0be17a9d Bug 1468343 - Part 1: Make graph to address infinity duration. r=pbro
MozReview-Commit-ID: Cc5a55Qglpi

--HG--
extra : rebase_source : 188cbe344e3ae3a58b57fefced204952ccf5fead
2018-06-26 12:39:48 +09:00
Alexandre Poirot
8b4f66898a Bug 1470086 - Refactor shader editor initializer. r=jdescottes
MozReview-Commit-ID: sLVVmv8ZUF

--HG--
rename : devtools/client/shadereditor/shadereditor.xul => devtools/client/shadereditor/index.xul
extra : rebase_source : 5dc6d874ae2cfef77cf49f4f5ba5e14012c3bad2
2018-06-20 14:28:06 -07:00
Julian Descottes
a58b37acb3 Bug 1449333 - Display closed shadow roots in the inspector;r=bgrins
MozReview-Commit-ID: GIA5A4kOYFX

--HG--
extra : rebase_source : 03766e229910776476910a90ba4cebe97648c767
2018-06-15 15:35:28 -07:00
Julian Descottes
64805aee8d Bug 1464785 - Use native scrollbars in devtools dark theme for windows;r=pbro
MozReview-Commit-ID: IXbpqdEKdi1

--HG--
extra : rebase_source : 0cf5bd8de49f62348ad64554bc0899782d56ccbf
2018-06-14 14:06:51 -07:00
Daisuke Akatsuka
8c5b175f2f Bug 1449477: Add test for short duration. r=gl
MozReview-Commit-ID: 6ZkqS0iDqcG

--HG--
extra : rebase_source : 00a9506364025919f4e67bcf8e089fe6a593299b
2018-06-26 10:59:30 +09:00
Daisuke Akatsuka
f24d951078 Bug 1468953: Use node bounds in viewport instead of offsets from offsetParent. r=jdescottes
MozReview-Commit-ID: nqMLetevCZ

--HG--
extra : rebase_source : 8ca955be72b36a7554024103ceede82bce0b5076
2018-06-26 10:51:40 +09:00
arthur.iakab
f375978f3e Backed out changeset 48f880cffaed (bug 1448096) for devtools mass failure on a CLOSED TREE 2018-06-26 03:10:03 +03:00
Gijs Kruitbosch
c53b224b4f Bug 1448096 - use promiseDocumentFlushed to avoid sync reflows when resizing devtools windows, r=bgrins,mconley
MozReview-Commit-ID: HATxzjdbQDj

--HG--
extra : rebase_source : f0157ee79c917205f053c7b53ebbe67d1f7c9144
2018-06-19 18:12:42 +01:00
Gijs Kruitbosch
4991b73f4a Bug 1470002 - remove pageshow message passing, too, r=adw,jryans
MozReview-Commit-ID: 27v79lVOODG

--HG--
extra : rebase_source : ffa5561834b03205bf5f5b0cb3ee65b29eb82a9b
2018-06-20 22:53:40 +01:00
Gijs Kruitbosch
839706233a Bug 1470002 - remove pagehide message passing from browser code, r=mixedpuppy
MozReview-Commit-ID: 18hsSwHsWzz

--HG--
extra : rebase_source : f5d93272bd437f135a9d9f8242c3e02be1a2659a
2018-06-20 22:41:27 +01:00
arthur.iakab
ff23802cfd Backed out changeset 88960670cf9f (bug 1465637) for failing talos damp tests on server/protocol.js: Error: Can't manage front without an actor ID on a CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js
2018-06-25 21:56:27 +03:00
J. Ryan Stinnett
8433b7ff9f Bug 1465637 - Rename tab-scoped actors to target-scoped actors. r=ochameau
The term "tab actor" was used ambiguously to mean either the "target actor
representing a tab" or "a child actor of the tab target actor" (such as the
console actor).  Here we rename the second case to "target-scoped actor".

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

--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-25 17:53:40 +00:00
J. Ryan Stinnett
ead390bee8 Bug 1470497 - Fix navigation after opening container in RDM. r=gl
This fixes the case of navigating a container tab from about:newtab to a remote
site.  This case triggers the process flip machinery where parent process is
told to manage the load.  We needed to allow certain session store messages for
this to complete successfully.

--HG--
extra : rebase_source : bb89e430941039d13a5352c9fc21777844de94e4
2018-06-22 17:28:01 -05:00
J. Ryan Stinnett
9c965eb38f Bug 1470487 - Move netmonitor security localization to client. r=Honza
--HG--
extra : rebase_source : d31f01e59685d1c2ba59ed7fbaef837f88102e9b
2018-06-22 18:32:39 -05:00
J. Ryan Stinnett
7a3561c266 Bug 1470487 - Move grid highlighter strings to shared. r=gl
--HG--
extra : rebase_source : 379b8d2d453a1d0252a091028ba4affb4eb43494
2018-06-22 17:51:30 -05:00
Julian Descottes
58aba64766 Bug 1459398 - log a clear test failure if mandatory telemetry-test-helpers.js cannot be loaded;r=miker
MozReview-Commit-ID: KuMO6VeAfsw

--HG--
extra : rebase_source : c34968f0d45920ce03ce3e0228035bd7998ed708
2018-05-05 12:49:39 +02:00
Nicolas Chevobbe
4db52c9716 Bug 1463672 - Destroy editor when destroying JSTerm; r=Honza.
We need to call editor.destroy in order to not leak windows.

MozReview-Commit-ID: 2BdxV3uQaOE

--HG--
extra : rebase_source : 36636a1bfc3b890dbdac3f2d5c26f60c62e398e5
2018-06-12 14:03:46 -07:00
Nicolas Chevobbe
802b83e663 Bug 1463672 - Add history support in CodeMirror-JsTerm; r=Honza.
This implements history navigation support in CodeMirror-JsTerm
using Arrow keys (and Ctrl-N/Ctrl-P on OSX).
The tests covering that feature now runs with both the old and the
new JsTerm so we can be confident about the CodeMirror-JsTerm.

MozReview-Commit-ID: J7AY4CeNzW9

--HG--
rename : devtools/client/webconsole/test/mochitest/browser_webconsole_history_arrow_keys.js => devtools/client/webconsole/test/mochitest/browser_jsterm_history_arrow_keys.js
extra : rebase_source : 2c8518ed2c34cbf49b5c8964c10c9f1c58b0ed1e
2018-06-01 15:38:56 +02:00
Jan Odvarko
92b7e2ec2d Bug 1470826 - Use correct prop type; r=nchevobbe
MozReview-Commit-ID: 3UYbwYE7HQh

--HG--
extra : rebase_source : 40c9410ff346085ef597fe21454d24fb779a095b
2018-06-25 11:06:09 +02:00
Nicolas Chevobbe
a5a24db90b Bug 1468989 - Fix isTextInMessageText for longStrings; r=Honza.
MozReview-Commit-ID: 7jINj8Etmpv

--HG--
extra : rebase_source : 6d3bafc4a0238302f4c6b874b1e52db88df1b87c
2018-06-15 11:33:32 -07:00
Nicolas Chevobbe
30395f24bf Bug 1468989 - Add a longString exception in filter tests; r=Honza.
This way we make sure we handle them as they should be.

MozReview-Commit-ID: AQILE8NqbSE

--HG--
extra : rebase_source : bb758d7d793358f8f45ad0a1befcafb73c6d733e
2018-06-15 11:27:55 -07:00
Nicolas Chevobbe
42184305a1 Bug 1468989 - Fix mocha tests; r=Honza.
A fixture was needed for asyncStorage.

MozReview-Commit-ID: CerVMppdhzk

--HG--
extra : rebase_source : d7b9078789cb9b93b97bc4670e6183eb1646f418
2018-06-15 11:20:31 -07:00
Coroiu Cristina
e631b8c1ea Backed out 3 changesets (bug 1452706) for xpcshell failures at devtools/server/tests/unit/test_format_command.js
Backed out changeset 6abc5dc6baaf (bug 1452706)
Backed out changeset 4fbd34b0807a (bug 1452706)
Backed out changeset 626c790eb6f3 (bug 1452706)
2018-07-04 21:20:21 +03:00
Julian Descottes
1903f696ea Bug 1465873 - part6: Allow selection and breadcrumbs to walk from shadowRoot to host element;r=bgrins
By returning the shadow root as the parentNode of some elements, the breadcrumbs could no longer
display the chain of elements correctly, because shadowRoot.parentNode is null.

This changeset:
- returns the host actor ID as part of the shadowRoot form
- adds a parentOrHost convenience method on the node form
- uses said method in selection and breadcrumbs when walking up the ancestor chain

I don't think we should unconditionally return the host element as the parentNode of the
shadow root, because that is too disconnected from the reality.

MozReview-Commit-ID: JLeDb4VuT1q

--HG--
extra : rebase_source : 33f1f6e8dd221754a4a8fb32f954e5d277110917
2018-06-28 13:11:08 +02:00
Julian Descottes
f347163e14 Bug 1465873 - part5: Add mochitest for hovering shadowdom with element-picker;r=bgrins
MozReview-Commit-ID: FCzWwF8bKZW

--HG--
extra : rebase_source : fcdb2d81471e05d8335968ddd81867929798ccd7
extra : intermediate-source : fb2a11e66f80fe06ecbbd529d6a8cbcffa8ff137
extra : source : 40277ae5dba52ca07d2bb23d3967cf67a3f30727
2018-06-26 19:22:31 +02:00
Julian Descottes
a436a69576 Bug 1465873 - part4: Update document-walker::parentNode() to return shadow roots;r=bgrins
MozReview-Commit-ID: GwAl9DCT3Fs

--HG--
extra : rebase_source : 9dbae35e59b81283337281d7eae47e2d0b8f8800
2018-06-28 11:38:46 +02:00
Julian Descottes
a2e1f4d2af Bug 1465873 - part3: Move generic node utils from Node actor to layout/utils helper;r=bgrins
MozReview-Commit-ID: ASB5m4Eyrck

--HG--
extra : rebase_source : 892bbcc01923bdbf4819a0155d7f7fb7653557d1
2018-06-28 11:22:12 +02:00
Julian Descottes
96dfe1ad61 Bug 1465873 - part2: Update walker::children() to avoid updating refMap to detect pseudo elements;r=bgrins
MozReview-Commit-ID: DId4pM2rGmb

--HG--
extra : rebase_source : 6d591fb5c90e81a1aad2c5bef278765e2ca8cae8
2018-06-27 13:52:21 +02:00
Julian Descottes
77070bfc9b Bug 1465873 - part1: Implement walker::countChildren() to count children without updating refMap;r=bgrins
MozReview-Commit-ID: CvJFIvn7Kdr

--HG--
extra : rebase_source : 2f5ad39436b98a833997851d98c950a817197f97
2018-06-27 13:51:26 +02:00
Mark Banner
b04a798804 Bug 1452706 - Add the 'expected' arguments to throws/rejects for devtools/shared/sourcemap. r=yulia
MozReview-Commit-ID: AdOD0Txwdi7

--HG--
extra : rebase_source : a308fadfe4f553edd3db8e865260943c5f48ca4a
2018-07-03 20:16:20 +01:00
Gurzau Raul
c3de990ec0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-04 19:31:50 +03:00
Razvan Caliman
cd3349539a Bug 1472966 - Miscellaneous tweaks to paddings, margins and borders for font editor. r=gl
MozReview-Commit-ID: 5eCbnTdKvqO

--HG--
extra : rebase_source : 6353002400e1275e7b68e8ae863f911c263dc858
2018-07-04 14:05:23 +02:00
Razvan Caliman
b66c3bca04 Bug 1472966 - Do not show "Rendered fonts" accordion if there are no fonts to show. r=gl
MozReview-Commit-ID: CF1eAnPvLnO

--HG--
extra : rebase_source : e64635a4cf5441a08565c4391a2746b38126263a
2018-07-03 20:14:09 +02:00
Razvan Caliman
8baecde7e2 Bug 1472966 - Limit list of used fonts to 3 and put others in a collapsed list. r=gl
MozReview-Commit-ID: AYKkU7MsMWD

--HG--
extra : rebase_source : e87991efa58d8c28afd82a58c95fd9777d4388fd
2018-07-03 20:05:40 +02:00
Razvan Caliman
e82f93418a Bug 1472966 - Replace label for list of unused font families. r=gl
MozReview-Commit-ID: J5X2BT3YQY3

--HG--
extra : rebase_source : 74b9dfcfbd994c3f301464026b1afb222122b064
2018-07-03 17:21:10 +02:00
Razvan Caliman
9875cb25a8 Bug 1472966 - Styling tweaks for Font Editor. r=gl
MozReview-Commit-ID: 6T2IrHIHxpQ

--HG--
extra : rebase_source : cf572ccf27eba37746a49b2a1b94c7b3048c3c70
2018-07-03 14:44:08 +02:00
Daisuke Akatsuka
66aaca733d Bug 1473201: Change fill-opacity for color path to show actual color. r=jdescottes
MozReview-Commit-ID: HlDpuKkM5Se

--HG--
extra : rebase_source : 347e4a28b91944fca5dc2a3499f00e6f806f3c4d
2018-07-04 11:19:10 +09:00
Hemanth Kumar Veeranki
b14e2fdc1c Bug 1471284 - Adjust appearance of throttling menu to match other controls; r=Honza
MozReview-Commit-ID: 5Xl9poqc8B8

--HG--
extra : rebase_source : 403958c1cc33dba129f580489cf3f979c6eec145
2018-07-17 15:39:39 +05:30
Belén Albeza
cb2d3ee5bc Bug 1473901 - show shadow root mode. r=bgrins
MozReview-Commit-ID: Axt9W0uX4FB

--HG--
extra : rebase_source : a2708ee55feca17c79b110e6ea4507c8cb41caa1
2018-07-11 14:53:51 +02:00
Jan Odvarko
3eefd5203a Bug 1465352 - Clean up history reducer state; r=nchevobbe
MozReview-Commit-ID: LgWQ5fe7WXJ

--HG--
extra : rebase_source : 0ba660b19cf51f5963e1d4f56fee4546173cbb38
2018-07-19 14:26:34 +02:00
Patrick Brosset
ca555bea46 Bug 1465424 - Added 3 histograms to test font editor usage assumptions; r=rcaliman
MozReview-Commit-ID: BIkqEzp5BNA

--HG--
extra : rebase_source : 376ba65ab069bd35b29672a29c8ee723af9bad90
2018-07-19 14:29:40 +02:00
Mantaroh Yoshinaga
7d2d8808bf Bug 1474221 - Part 3. Balance vertical padding of doorhanger popup menus and add more horizontal padding. r=birtles
MozReview-Commit-ID: 8plpV3rMx8t

--HG--
extra : rebase_source : 8aa1d3cebb5d8dc21685ae7c8ea2f6196ebb444c
2018-07-20 15:58:48 +09:00
Mantaroh Yoshinaga
0728ffb894 Bug 1474221 - Part 2. Make the chevron menu to be doorhanger menu. r=birtles
This patch will make the chevron menu to doorhanger menu and modify some tests
which related with this chevron menu.

MozReview-Commit-ID: BkdVHgRlHIw

--HG--
extra : rebase_source : 9c2300bdb40e70d0b975abbed2f9a424066e9312
2018-07-20 15:58:35 +09:00