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

15014 Коммитов

Автор SHA1 Сообщение Дата
Jason Laster 17ca504ef6 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 13:40:19 +00:00
Emilio Cobos Álvarez 0b5807bc62 Bug 1215878 - Implement CSS revert keyword. r=heycam,birtles
The only fishy bit is the animation stuff. In particular, there are two places
where we just mint the revert behavior:

 * When serializing web-animations keyframes (the custom properties stuff in
   declaration_block.rs). That codepath is already not sound and I wanted to
   get rid of it in bug 1501530, but what do I know.

 * When getting an animation value from a property declaration. At that point
   we no longer have the CSS rules that apply to the element to compute the
   right revert value handy. It'd also use the wrong style anyway, I think,
   given the way StyleBuilder::for_animation works.

   We _could_ probably get them out of somewhere, but it seems like a whole lot
   of code reinventing the wheel which is probably not useful, and that Blink
   and WebKit just cannot implement either since they don't have a rule tree,
   so it just doesn't seem worth the churn.

The custom properties code looks a bit different in order to minimize hash
lookups in the common case. FWIW, `revert` for custom properties doesn't seem
very useful either, but oh well.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 11:59:36 +00:00
Helena Moreno ae3e8af4b4 Bug 1466040 - Ctrl/Cmd + click on a network log in console output should open the link in a new tab - r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D22050

--HG--
extra : moz-landing-system : lando
2019-03-07 08:53:26 +00:00
sole ec976d82a9 Bug 1522511 - [remote-dbg-next] Do not prevent service-worker debugging if new sw implementation is enabled r=ladybenko
Take into account new service worker implementation to decide if workers can be debugged

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

--HG--
extra : moz-landing-system : lando
2019-03-07 09:35:52 +00:00
Dorel Luca 25265b82d1 Backed out changeset 238d9fba1b5a (bug 1533160) for Debugger failures 2019-03-07 05:56:24 +02:00
Jason Laster c2596e8439 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 03:01:30 +00:00
ravefalcon92 1944262d43 Bug 1530423 - Ensure breakpoints are added to newly-cloned JSScripts for existing sources. r=loganfsmyth
Similar to bug 1528654, we currently bail out too early and don't process all of the correct scripts when adding breakpoints.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 01:01:05 +00:00
Daisuke Akatsuka a66aaef5b2 Bug 1524610: Add a document for Reference Browser. r=jdescottes,agi,snorp
Depends on D19106

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:57:16 +00:00
Daisuke Akatsuka 49ee8d1cb0 Bug 1524610: Add a document for building GeckoView Example. r=jdescottes,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D19106

--HG--
extra : moz-landing-system : lando
2019-02-22 04:00:29 +00:00
Jason Orendorff 8fcb34f772 Bug 1525395 - Part 2: Rewrite a Scratchpad test to eliminate some race conditions. r=jimb
I don't understand how the test ever worked. I think the idea was that each
operation would result in changes to the prefs, because those prefs are the
source of truth for the recent-files list. However, I don't understand why some
tests would not trigger multiple observer callbacks, which should have been a
huge mess.

The new code doesn't observe the prefs at all. Where possible, it waits for an
appropriate promise; in other places it uses `setTimeout()` to wait for the
next tick, relying on the Scratchpad implementation to be done reacting by
then.

Since the original code was event-driven, most tests were split across two
functions. Each test function had the bottom half of one test and the top half
of the next test. The new code uses async/await and can therefore at least
group related functionality into single cohesive test functions. But those test
functions aren't as independent as they look -- most of them still depend on
previous tests to set up the expected starting state.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:04:01 +00:00
Jason Orendorff d03888d5bf Bug 1525395 - Part 1: Make Scratchpad.openFile return a promise. r=jimb
Tests can use the promise to avoid racing on the text being available and the
UI ready for interaction.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 23:03:47 +00:00
Dorel Luca 156277940a Backed out 2 changesets (bug 1525395) for Devtools failures in devtools/client/scratchpad/test/browser_scratchpad_recent_files.js
Backed out changeset 19d2e4ea75cf (bug 1525395)
Backed out changeset af3e74a36fec (bug 1525395)

--HG--
extra : rebase_source : db36751a03f54c9e1d3acd6f8d3a49f3f06faed8
2019-03-06 22:37:22 +02:00
Brian Hackett d7f53e1675 Bug 1532298 - Fix viewSourceInDebugger calls, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D22336

--HG--
extra : moz-landing-system : lando
2019-03-06 18:55:37 +00:00
Jason Orendorff c65e8f08f7 Bug 1525395 - Part 2: Rewrite a Scratchpad test to eliminate some race conditions. r=jimb
I don't understand how the test ever worked. I think the idea was that each
operation would result in changes to the prefs, because those prefs are the
source of truth for the recent-files list. However, I don't understand why some
tests would not trigger multiple observer callbacks, which should have been a
huge mess.

The new code doesn't observe the prefs at all. Where possible, it waits for an
appropriate promise; in other places it uses `setTimeout()` to wait for the
next tick, relying on the Scratchpad implementation to be done reacting by
then.

Since the original code was event-driven, most tests were split across two
functions. Each test function had the bottom half of one test and the top half
of the next test. The new code uses async/await and can therefore at least
group related functionality into single cohesive test functions. But those test
functions aren't as independent as they look -- most of them still depend on
previous tests to set up the expected starting state.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:06:46 +00:00
Jason Orendorff 05d6cd72a1 Bug 1525395 - Part 1: Make Scratchpad.openFile return a promise. r=jimb
Tests can use the promise to avoid racing on the text being available and the
UI ready for interaction.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 01:06:31 +00:00
Jason Laster 5b46393d34 Bug 1531350 - Add column breakpoints (w/ fix for sourcemaps-reload). r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22329

--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:37 +00:00
Micah Tigley d7034f8c9b Bug 1532855 - Ensure that highlightProperty does not highlight overridden computed properties. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D22247

--HG--
extra : moz-landing-system : lando
2019-03-06 04:22:32 +00:00
Nicolas Chevobbe 75a87e1bab Bug 717611 - Clear ConsoleService cached messages in webconsole actor's clearMessagesCache; r=Honza.
We were clearing the ConsoleAPI messages, but not the one
issued by the ConsoleService. A previous patch added
Services.console.resetWindow, so we can use it in `clearMessagesCache`.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:40:47 +00:00
Mrigank Krishan f83e8a1161 Bug 1512757 - Remove icons from file column. r=Honza
Removed the icon class from file column. I kept the css classes in RequestList.css so that we can easily add icons later.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 12:30:10 +00:00
Razvan Caliman 55d5ea2bb8 Bug 1532583 - Add scalars for copy options in Changes panel. r=pbro
Track the number of times people use any of the export options from the Changes panel:

- Copy All Changes button
- Copy Rule button
- Copy Rule context menu option
- Copy Declaration context menu option

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:38:36 +00:00
Csoregi Natalia 56c430aac5 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : rebase_source : 10555d94c948e45e86188feff6153ac981879fcc
2019-03-06 12:39:05 +02:00
Csoregi Natalia fbb251448f Merge inbound to mozilla-central. a=merge 2019-03-06 11:56:17 +02:00
shindli b7d4901086 Backed out changeset dd4c4ce4a78d (bug 1531350) for debugger failure CLOSED TREE 2019-03-06 05:11:45 +02:00
Gurzau Raul 00a2f1d12f Backed out changeset 295288a58683 (bug 1531350) for failing at /browser_dbg-sourcemaps-reload.js on a CLOSED TREE. 2019-03-06 10:49:10 +02:00
Jason Laster 90414405ea Revert "Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE"
This reverts commit 2b1fea9435191242f8aadc04da3ed1b0e0d99b02.

Bug 1497839 - fix eslint issues for babel build. r=jlast

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

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 05:10:25 +00:00
Jason Laster dc0b7ff1d8 Revert "Backed out changeset dd4c4ce4a78d (bug 1531350) for debugger failure CLOSED TREE"
This reverts commit 6e063ce2d1ff7aaa4a261b9c20fe6b2f05e842a4.

Bug 1531350 - fix flow + jest issues with column breakpoints. r=me

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

--HG--
extra : moz-landing-system : lando
2019-03-06 04:38:03 +00:00
Jason Laster f81988d9c0 Bug 1531350 - [release 128] [Breakpoints] use the selected location for column breakpoints.
Differential Revision: https://phabricator.services.mozilla.com/D21843

--HG--
extra : moz-landing-system : lando
2019-03-05 21:29:48 +00:00
Jason Laster 3688c50ea4 Bug 1532641 - Skip Pausing should persist across reloads and reopens. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D22091

--HG--
extra : moz-landing-system : lando
2019-03-05 23:28:25 +00:00
Jason Laster 5b509d2a2c Bug 1532779 - Add a helper for dumping the current state of the thread actor. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22178

--HG--
extra : moz-landing-system : lando
2019-03-05 21:48:58 +00:00
Alexandre Poirot c2edd1c174 Bug 1532238 - Run Browser console's server in a dedicated compartment. r=nchevobbe
Bug 1517210 ensured that the debugger server was running in the shared system compartment.
The same one for JSMs, JS-XPCOM and DevTools Sandboxes. But that doesn't work when
the server has to debug system Javascripts. In such case, we have to ensure loading
the server in a special loader flagged with invisibleToDebugger=true. This forces
loading the server in another compartment and helps the debugger indentify the boundaries
between debugee and debugger code.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:55:34 +00:00
Nicolas Chevobbe a9a5b592d9 Bug 1457109 - Open links in the next tab, in background if Ctrl/Cmd is pressed; r=yulia.
This patch passes the relevant options to the `openDocLink` function,
which means now links:
- will open right next to the current tab
- will open in background if Ctrl/Cmd is pressed.

A test case is added to ensures this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:10:19 +00:00
Brindusan Cristian c11291ea12 Backed out changeset 7f51bc3757d9 (bug 1497839) for ESlint failure at build-debugger.js. CLOSED TREE
--HG--
rename : devtools/client/shared/build/babel.js => devtools/client/debugger/new/build/babel.js
rename : devtools/client/shared/build/build-debugger.js => devtools/client/debugger/new/build/copy-module.js
extra : histedit_source : a4f0d58045b176391d54c3aff09072a67f80cafc
2019-03-06 06:46:38 +02:00
David Walsh fc32189620 Bug 1532397 - Fix multiple highlight issues in debugger r=jlast
Replaces previous commit which was backed out for flow issue

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

--HG--
extra : moz-landing-system : lando
2019-03-05 19:28:27 +00:00
Alexandre Poirot e81a254114 Bug 1532237 - Use a Debugger loaded in a distinct compartment when debugging chrome in the event collector codebase. r=miker
Now that the server is by default loaded in the shared system compartment,
we have to special cases the code debugging system compartments.
When devtools.chrome.enabled is turned on, the event collector is
inspecting the system compartment's event listener.
In this case, we are using a special Debugger instance loaded in
a sandbox flagged with invisibleToDebugger=true. This forces loading it
in a distinct compartment and helps the debugger know about the boundaries
between debugger and debuggee code.
It should be safe to only load the Debugger and not the whole server here
as event collector is only inspecting and doesn't register any callback on
the Debugger API.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:58:05 +00:00
Felipe Gomes 7a9810f6b4 Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:53 +00:00
David Walsh 4222a51e78 Bug 1497839 - Provide method for NetMonitor to use JSX r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D20888

--HG--
rename : devtools/client/debugger/new/build/babel.js => devtools/client/shared/build/babel.js
rename : devtools/client/debugger/new/build/copy-module.js => devtools/client/shared/build/build-debugger.js
extra : moz-landing-system : lando
2019-03-06 03:12:49 +00:00
shindli d03156f6a3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-05 23:46:24 +02:00
shindli 1be0a5d3ce Merge inbound to mozilla-central. a=merge 2019-03-05 23:41:05 +02:00
Danielle Leblanc-Cyr 9423c6df6d Bug 1398725 - Adds tooltip to offset parent indicator and moves ComputedProperty.js to boxmodel/components directory. r=gl
--HG--
rename : devtools/client/inspector/layout/components/ComputedProperty.js => devtools/client/inspector/boxmodel/components/ComputedProperty.js
2019-03-05 11:49:12 -05:00
Noemi Erli edd8d7fc40 Backed out changeset ed389b1ea7da (bug 1532397) for debugger failure CLOSED TREE 2019-03-05 19:04:35 +02:00
Julian Descottes db8791247c Bug 1527224 - Skip browser_aboutdebugging_serviceworker_multie10s.js on debug || asan;r=ladybenko
Fails primarily on asan and debug. Have sent try pushes to try fo force GC to see if it helps.
Main worry is that if this is GC related, skipping the test might just move the intermittent to the next test.
Try pushes
base: https://treeherder.mozilla.org/#/jobs?repo=try&revision=153e1a9cae6afe923d706126755db9871b195cdf
skip(this patch): https://treeherder.mozilla.org/#/jobs?repo=try&revision=be3cfc2d597195ccc60cec4b35796a812b7f91f7
forceGC: https://treeherder.mozilla.org/#/jobs?repo=try&revision=d9ba430399b00bc2134b3af89b35034fe6e9fa9d
force + shrinkGC: https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f184f1063749dcaf8f3fe6a8654404f3f649eec

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

--HG--
extra : moz-landing-system : lando
2019-03-05 16:07:29 +00:00
Razvan Caliman 6200563298 Bug 1532511 - Update colors for buttons in Changes panel; r=pbro
Reflecting latest UI changes: https://mozilla.invisionapp.com/share/VFQC7MQSD9W#/screens

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

--HG--
extra : moz-landing-system : lando
2019-03-05 15:28:47 +00:00
Nicolas Chevobbe 5f9d2acd17 Bug 1407630 - Clean support-files in devtools/client/webconsole/test/mochitest/; r=Honza.
These files aren't used anymore, so we can
remove them.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:40:07 +00:00
David Walsh f0e5e29f4f Bug 1532397 - Fix multiple highlight issues in debugger r=jlast
https://github.com/firefox-devtools/debugger/issues/7954

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

--HG--
extra : moz-landing-system : lando
2019-03-05 00:33:08 +00:00
bomisore 29045a1971 Bug 1463347 - Add distinction between timeLog and timeEnd messages r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21306

--HG--
extra : moz-landing-system : lando
2019-03-04 17:12:47 +00:00
lucas 8c4bf2f69e HeadersPanel: unecessary isRequired on PropTypes (Bug 1530323) r=Honza
Before this change, member was considered a required Prop on the file
HeadersPanel.js. The component itself wasn't using this prop, it was only passing to the
renderValue as a prop, and then renderValue uses member to render the data. So, the simpler
solution is remove isRequired from the PropTypes.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:55:42 +00:00
Martin Koroknay f8151e922a Bug 1159078 - Display a useful message in network monitor response tab when response body is truncated. r=Honza
Previously when a JSON response's size was over the limit specified in pref devtools.netmonitor.responseBodyLimit, when inspecting this response in the Network Monitor one simply saw a JSON parse error message. This was due to the fact that the response was truncated in this view and thus no longer a valid JSON, even if the actual response was a valid JSON. Of course the actual response could have been invalid in the first place -- there was no way to know.

This patch will ensure that in such cases a truncation warning message is displayed instead of a parse error message, thus avoiding a likely misleading parse error message.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 13:55:07 +00:00
Laphets befcb837ee Bug 1446018 - Set HAR log version to 1.2. r=Honza
Before the change, the HAR export log version is 1.1. After this change, the log version is set to 1.2.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 12:23:37 +00:00
ECarr cea157f39b Bug 1247403 - Rename tabActive property to activeTab in the Tab Component. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D21498

--HG--
extra : moz-landing-system : lando
2019-03-05 12:21:53 +00:00
Alexandre Poirot 24ef486f1d Bug 1530861 - Fix typo in deprecated firefox version comment. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D21511

--HG--
extra : moz-landing-system : lando
2019-03-05 11:13:28 +00:00
yulia 6f475afa31 Bug 1529247 - remove unused eventlisteners method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21703

--HG--
extra : moz-landing-system : lando
2019-03-05 10:42:20 +00:00
phoenixabhishek db1e6b953a Bug 1532247 - Focused node should have a white arrow. r=nchevobbe
Focused node should have a white arrow

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

--HG--
extra : moz-landing-system : lando
2019-03-05 09:31:30 +00:00
devguru c0169d8829 Bug 1254242 - Clean up React propType definitions in devtools/client/memory/components/Toolbar.js. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D22004

--HG--
extra : moz-landing-system : lando
2019-03-05 09:19:11 +00:00
Patrick Brosset 558e4bd3c4 Bug 1493745 - Make the RDM toolbar responsive; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D20827

--HG--
extra : moz-landing-system : lando
2019-03-04 16:26:18 +00:00
ECarr cc122e6827 Bug 1530936 - Add a role=main attribute to the output element. r=nchevobbe
Added a role=main attribute to address accessability within the browser console.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 07:48:28 +00:00
Daisuke Akatsuka 616caf8ad0 Bug 1531259: Avoid to shrink buttons open inspector. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D21638

--HG--
extra : moz-landing-system : lando
2019-03-05 01:04:31 +00:00
lloan b6eaf76b2a Bug 1242003 - Load More row in dominator trees should be styled differently. r=julienw
Updated "Load More" row in dominator trees to look more like a link in order to tell it apart from other text and to indicate that the element can be clicked.

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

--HG--
extra : moz-landing-system : lando
2019-03-04 16:26:39 +00:00
Jason Laster 88c546c50c Bug 1521864 - Fix launchpad. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D21871

--HG--
extra : moz-landing-system : lando
2019-03-04 15:25:02 +00:00
shindli b27cb46fce Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-06 06:58:43 +02:00
Jason Laster 678b0ca442 Bug 1532397 - Fix flow issues for multiple highlights. r=me 2019-03-05 22:44:32 -05:00
Jason Laster 7c40a0016e Revert "Backed out changeset ed389b1ea7da (bug 1532397) for debugger failure CLOSED TREE"
This reverts commit d97dce2b582c47b155883a2bd1118faacf12046f.
2019-03-05 22:44:13 -05:00
Brian Hackett 0b88bf9c95 Bug 1530133 - Fix flow/lint failures. 2019-03-05 13:05:55 -10:00
Brian Hackett 8e4f3cd0e5 Bug 1530133 Part 4 - Add logpoint tests.
--HG--
extra : rebase_source : 8dbfcbf4fe1b92918905b1286375a4febe3b4723
2019-02-23 16:19:59 -10:00
Brian Hackett da5ea03e75 Bug 1530133 Part 3 - Support conditional logpoints when replaying, r=lsmyth.
--HG--
extra : rebase_source : 89eb161655913929e7e0746cb3e8195ba44515de
2019-02-23 16:19:42 -10:00
Brian Hackett 6b3a4e9e58 Bug 1530133 Part 2 - Allow clearing console messages by their logpoint ID, r=nchevobbe.
--HG--
extra : rebase_source : 5482795e0fd29ec4bd4542f57db537db18250ddb
2019-02-23 16:19:17 -10:00
Brian Hackett 8c5b6ad7e9 Bug 1530133 Part 1 - Debugger changes for removing obsolete log points, r=lsmyth.
--HG--
extra : rebase_source : 431488d0ee5bed6795b72649382eecd6e35e095f
2019-02-23 16:18:57 -10:00
Brian Hackett cffc603b55 Bug 1532362 - Lookup sources by actor URL instead of source URL, r=lsmyth. 2019-03-07 06:41:25 -10:00
Brian Hackett ab6b030e03 Bug 1533260 - Fix browser_dbg_rr_logpoint-02.js test failures. 2019-03-07 06:35:30 -10:00
Razvan Maries a8ef3b94b0 Backed out changeset a52dffe6d7be (bug 1532362) for perma fails on devtools/client/debugger/new/test/mochitest/browser_dbg-sourceURL-breakpoint.js. CLOSED TREE 2019-03-07 17:33:50 +02:00
Brian Hackett 10b02eb394 Bug 1530699 - Apply breakpoints to all discovered sources, r=loganfsmyth.
--HG--
extra : rebase_source : 24bf939c56df08dfbf9f7bad37d06f96ae9118f8
2019-03-05 15:56:00 -10:00
Brian Hackett 2c77f72e39 Bug 1532362 - Lookup sources by actor URL instead of source URL, r=lsmyth.
--HG--
extra : rebase_source : ed338e0539445ee5ec0bc34c92b0a150e69634ce
2019-03-04 10:03:20 -10:00
Brian Hackett add5ceefa8 Bug 1531826 Part 4 - Add tests for console/inspector links to eval sources.
--HG--
extra : rebase_source : b67e3713f0839c257f5b3d5ba4715ce158e28286
2019-03-05 07:46:37 -10:00
Brian Hackett 194035443a Bug 1531826 Part 3 - Convert source IDs in console message stack traces, r=lsmyth.
--HG--
extra : rebase_source : ab3baebb3d16d2d467cc1a574e27a0ea62fae2bb
2019-03-04 06:41:37 -10:00
Brian Hackett 02ef503dea Bug 1531826 Part 2 - Frames with source IDs should always be linkable, r=nchevobbe.
--HG--
extra : rebase_source : 2eeb3af85bc0c8456719988bb34ef54ffdc78b17
2019-03-04 06:20:09 -10:00
Brian Hackett 7bdab9da0c Bug 1531826 Part 1 - View event handler sources by ID, r=ochameau.
--HG--
extra : rebase_source : 372a529e62b35c985ec8c1bc49ca33e2003fe3a4
2019-03-04 05:45:19 -10:00
Nicolas B. Pierron d348fe8fc5 Bug 1525711 - Index MDN page for JSMSG_REDECLARED_VAR errors. r=fscholz 2019-03-07 11:50:03 +01:00
fanny 06f53c0bdb Bug 1457111 - Implement copy link adress option. r=nchevobbe
Before this change, when we tried to select a URL to copy,
the label "Copy Message" or "Copy Object" was displayed which
does not represent the context. You can now detect if a link exists
and the label is "Copy link address"

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

--HG--
extra : moz-landing-system : lando
2019-03-04 10:36:11 +00:00
Coroiu Cristina 88984d43ff Backed out changeset 0d9daf8104d7 (bug 1463347) for devtools failures at webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_console_api.js 2019-03-04 13:12:13 +02:00
phoenixabhishek 8906c3e29f Bug 1494711 - Don't RTL the twisties in the 'Show DOM properties' panel. r=nchevobbe
Don't RTL the twisties in the 'Show DOM properties' panel

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

--HG--
extra : moz-landing-system : lando
2019-03-04 10:49:02 +00:00
bomisore a441c0b8a7 Bug 1463347 - Add distinction between timeLog and timeEnd messages r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21306

--HG--
extra : moz-landing-system : lando
2019-03-04 09:23:24 +00:00
Daisuke Akatsuka d37327cfb2 Bug 1520745: Remove unused getAllAnimations function. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D21640

--HG--
extra : moz-landing-system : lando
2019-03-04 08:47:47 +00:00
ui.manish 45a5d7f5cd Bug 1505297 - Remove unused BreadcrumbsWidget r=gl
Differential Revision: https://phabricator.services.mozilla.com/D20932

--HG--
extra : moz-landing-system : lando
2019-02-23 20:37:12 +00:00
ui.manish e429cd924b Bug 1505298 - Remove unused FastListWidget.js r=gl
Differential Revision: https://phabricator.services.mozilla.com/D20931

--HG--
extra : moz-landing-system : lando
2019-02-23 20:27:14 +00:00
Aaditya Arora 7993d1d070 Bug 1530612 - Pass CSS warning column through viewSouceInStyleEditor; r=nchevobbe.
Pass CSS warning column location through viewSourceInStyleEditor
so clicking on CSS warnings in console jumps to the right location in style editor

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

--HG--
extra : moz-landing-system : lando
2019-03-01 16:43:02 +00:00
neha b39b2ba581 Bug 1523290 - Test for JSTerm menu in Browser Console r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21661

--HG--
extra : moz-landing-system : lando
2019-03-01 16:15:01 +00:00
Gurzau Raul 0a8285a043 Merge inbound to mozilla-central. a=merge 2019-03-03 23:57:22 +02:00
Brian Hackett 448cf790fe Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth. 2019-03-03 07:05:07 -10:00
Emilio Cobos Álvarez dc03ea30c7 Bug 1532134 - Remove Options from TransformOperation. r=xidorn
This may or may not be part of the plan to get rid of nsCSSValue ;)

Option is not usable via FFI, and they should not be needed (we should be
following the shortest serialization principle instead). These patches also do
that, which matches the other transform properties. I think that slight change
is fine, if we can make it work, and consistent with other properties.

Alternative is adding more TransformOperation variants or such, which I rather
not do.

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

--HG--
extra : moz-landing-system : lando
2019-03-03 11:31:54 +00:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Razvan Maries c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Dorel Luca 5d73bddbc6 Merge mozilla-central to autoland 2019-03-02 01:23:22 +02:00
Daniel Varga 74f08acf9b Backed out changeset 4047bcadec73 (bug 1522244) for mochitest failure at devtools/client/debugger/new/test/mochitest/browser_dbg-worker-scopes.js a=backout
--HG--
extra : rebase_source : 3ad963907a2364fa351e67b957f49d3d754e5efb
2019-03-02 00:01:01 +02:00
Jason Laster 0dba6abe5a Bug 1531350 - Update debugger frontend Release 128. r=dwalsh 2019-03-01 19:36:26 -05:00
Errietta Kostala 5b892e6148 Bug 1531350 - [release 128] [ast] Migrate AST reducer off of immutable (#7982). r=dwalsh 2019-03-01 19:36:25 -05:00
Jason Laster 1c59f0ed38 Bug 1531350 - [release 128] [Breakpoints] memoize breakpoint position fetching (#8001). r=dwalsh 2019-03-01 19:36:23 -05:00
Nicolas Chevobbe 79e260ff88 Bug 1531350 - [release 128] Add a BigInt rep. (#7975). r=dwalsh 2019-03-01 19:36:22 -05:00
Alex Rosenfeld e62e7ff183 Bug 1531350 - [release 128] Update debugging-the-debugger.md (#8021). r=dwalsh 2019-03-01 19:36:21 -05:00
Logan Smyth e9c8a4ecd8 Bug 1531350 - [release 128] [Breakpoints] Use the union of all mapped and unmapped regions when fetching original breakpoints. (#8014). r=dwalsh 2019-03-01 19:36:20 -05:00
Jason Laster 7dde268924 Bug 1531350 - [release 128] [Breakpoints] getBreakpointPositionsForLine should return null when nothing is found (#8006). r=dwalsh 2019-03-01 19:36:19 -05:00
Kevin Morehouse af69810658 Bug 1531350 - [release 128] Update name of repository (#8018). r=dwalsh 2019-03-01 19:36:18 -05:00
Anthony X 99954040eb Bug 1531350 - [release 128] [Breakpoints] Fix color for disabled conditional breakpoints and logpoints (#8008). r=dwalsh 2019-03-01 19:36:17 -05:00
Jaril 19669221bc Bug 1531350 - [release 128] Update snapshots for SourcesTreeItem (#8016). r=dwalsh 2019-03-01 19:36:16 -05:00
Nicolas Chevobbe 693433ce41 Bug 1531350 - [release 128] Fix reps launchpad (#8015). r=dwalsh 2019-03-01 19:36:16 -05:00
Jason Laster 23775fa3da Bug 1531350 - [release 128] Sync 128. r=dwalsh 2019-03-01 19:36:15 -05:00
Jason Laster 329026ecd7 Bug 1531350 - [release] use webpack manifest. r=dwalsh 2019-03-01 19:36:14 -05:00
Jason Laster 5129253d61 Bug 1530441 - Enable eslint locally. r=dwalsh
Tags: #secure-revision

Differential Revision: https://phabricator.services.mozilla.com/D21544
2019-03-01 19:36:13 -05:00
Dorel Luca 0284221047 Merge mozilla-central to mozilla-inbound 2019-03-02 01:26:01 +02:00
Gurzau Raul cdf9392948 Merge inbound to mozilla-central. a=merge 2019-03-01 15:01:31 +02:00
Emilio Cobos Álvarez 3d044b1111 Bug 1296042 - Make word-break: break-word behave like word-break: normal; overflow-wrap: anywhere. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D21398

--HG--
extra : moz-landing-system : lando
2019-03-01 02:33:07 +00:00
Cosmin Sabou 6b7713fbbc Merge mozilla-central to mozilla-inbound. 2019-03-02 23:50:58 +02:00
Jason Laster 3bf40eb51c Bug 1530056 - fix flow issues for windowless-workers test. r=me 2019-03-02 13:54:26 -05:00
Jason Laster 441e2bffa9 Bug 1530056 - fix browser_dbg-windowless-workers.js intermittent. r=bhackett
Reviewers: bhackett

Tags: #secure-revision

Bug #: 1530056

Differential Revision: https://phabricator.services.mozilla.com/D21800
2019-03-02 13:39:06 -05:00
Felipe Gomes 07bc0f448c Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:53 +00:00
Julian Descottes a43cc7d8f9 Bug 1530997 - Record additional extras in devtools.main runtime_connected event;r=daisuke,janerik
Differential Revision: https://phabricator.services.mozilla.com/D21373

--HG--
extra : moz-landing-system : lando
2019-03-01 19:58:23 +00:00
Jason Laster 13dda6d88c Bug 1530441 - Enable eslint locally. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D21544

--HG--
extra : moz-landing-system : lando
2019-03-01 20:26:48 +00:00
Logan Smyth 6a327e3d2b Bug 1531874 - Add a no-op event-breakpoint API. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21764

--HG--
extra : moz-landing-system : lando
2019-03-01 19:47:25 +00:00
Yura Zenevich 4ea882ce49 Bug 1424159 - make trees in console keyboard accessible. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21546

--HG--
extra : moz-landing-system : lando
2019-03-01 08:16:44 +00:00
lloan 9d53cb56b4 Bug 1530199 - Remove hasSupportsHighlighters check in supportsEyeDropper r=gl
Cleans up the try statement of supportsEyeDropper https://searchfox.org/mozilla-central/source/devtools/client/inspector/inspector.js#1036 by removing the hasSupportsHighlighters check and simplifying it to do a single return:
```
return await this.inspector.supportsHighlighters()
```

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

--HG--
extra : moz-landing-system : lando
2019-02-28 20:33:45 +00:00
Ola Gasidlo e4b6f46368 Bug 1505130 - Update styling of USB scanning status in sidebar, r=jdescottes,ladybenko
Added message-info component to sidebar (including styling + icon)

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

--HG--
extra : moz-landing-system : lando
2019-03-01 13:31:00 +00:00
yulia beb91522fe Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834

--HG--
extra : moz-landing-system : lando
2019-03-01 15:26:18 +00:00
Helena Moreno 284d7ce470 Bug 1525289 - Use https:// on the repository url. r=sole
Differential Revision: https://phabricator.services.mozilla.com/D21548

--HG--
extra : moz-landing-system : lando
2019-03-01 05:21:48 +00:00
paarmita 353dbe7188 Bug 1530275- Replace defer usage with async/await in SwatchCubicBezierTooltip.js; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21658

--HG--
extra : moz-landing-system : lando
2019-03-01 15:19:11 +00:00
Brian Hackett 59b0afdf35 Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 80e4880695f4fb1516946dc70e87b0949d89402f
2019-02-28 06:25:10 -10:00
akshitha 026dcd113f Bug 1200686 - Unify pseudo class colors in markup view and rule view. r=fvsch
Bug 1200686 - Unify pseudo class clors in markup view and rule view. r=fvsch

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

--HG--
extra : moz-landing-system : lando
2019-03-01 13:43:31 +00:00
Gurzau Raul a218f01445 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-01 15:14:00 +02:00
Razvan Caliman cab229d0a5 Bug 1531419 - Address errors shown by React in dev mode for Font Editor; r=gl
- add `key` where necessary;
- fix element attribute typos;
- use consistent Number type for axis and font property values as defined by `propTypes`.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 18:13:39 +00:00
Razvan Caliman 2c240a5304 Bug 1531343 - Remove auto-increment from range inputs in Font Editor; r=gl
With @mbalfanz's permission, I am removing the auto-increment behavior from the range inputs in the Font Editor.

The feature isn't easily discoverable and when it does work, its user experience isn't good. We never invested time to refine it and we're unlikely to do so. At this point, this is dead code so we should remove it.

What is getting removed is the logic to support the esoteric auto-increment behavior which happens when dragging the range input thumb to the end of the slider and waiting for a while (1000ms). There's needless complexity in handling the concert of events for a little perceived user value.

Users can still type out-of-range values in the text input field for the properties which allow it: `font-size` and `line-height`. For these properties' components, there's a new prop, `allowOverflow`, which permits values above the `max` defined. Other properties are bounded by `min` and `max` just like before.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 18:15:38 +00:00
Gurzau Raul 6b94d177d1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-01 09:28:28 +02:00
Oana Pop Rus 12c70e6b88 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-01 00:00:53 +02:00
Oana Pop Rus 5c86c9efec Merge inbound to mozilla-central. a=merge 2019-02-28 23:47:12 +02:00
Razvan Caliman 9aba44b1e3 Bug 1529599 - (Part 2) Rename Copy Property Declaration to Copy Declaration in Rules panel context menu; r=gl
Depends on D21526
This is a request from @mbalfanz in order to keep the naming of the option consistent.
This patch just replaces the l10n string and renames all the places where copyPropertyDeclaration is used in order to avoid confusion.

No functional changes are introduced.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 17:31:54 +00:00
Razvan Caliman 0e24372fd4 Bug 1529599 - (Part 1) Add Copy Declaration to Changes panel context menu; r=gl
Adds a new option to the context menu which is visible only when it's invoked on a CSS declaration.
Builds a string with the property name and value and copies to the clipboard.
If the declaration is marked as removed, the string is wrapped in a comment block.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 17:30:02 +00:00
Gabriel Luong 16382caf6f Bug 1531230 - Stop using the TextPropertyEditor value in the TextProperty model. r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D21480
2019-02-27 23:39:03 -05:00
Alexandre Poirot c811984607 Bug 1529018 - Use table DOM elements instead of div. r=Honza
Depends on D20383

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

--HG--
extra : moz-landing-system : lando
2019-02-28 09:26:26 +00:00
Alexandre Poirot f50f3deb80 Bug 1529018 - Simplify netmonitor DOM/CSS around table elements. r=Honza
* Use the right hiearchy of table elements:
  <table>
    <thead> (display: table-header-group)
      <td>...</td> (display: table-cell)
    </thead>
    <tbody> (display: table-row-group)
      <tr> (display: table-row)
        <td>...</td>
      </tr>
      ...
    </tbody>
  </table>
* Prevent using position:absolute within the <table>
  Instead set the overflow: auto on the parent of <table> in order to create
  an scrollable table.
* Remove any wrapper / intermediate elements that would be intermediate childs
  between <table> and <thead> or between <tbody> and <tr>, ...
* Remove manual size definition in JS from RequestListContent.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 10:08:52 +00:00
Aaditya Arora a395a5dee9 Bug 1525821 - Add a clear button in the console filter input. r=nchevobbe.
The button is only displayed when the input is not empty.
A test case is added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-01 06:35:05 +00:00
Cosmin Sabou 00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
lloan 5114c5e45b Bug 1512621 - Navigated to text in console should not have a border if it's the first message in the output. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D21390

--HG--
extra : moz-landing-system : lando
2019-02-28 07:23:46 +00:00
Julian Descottes 8afe065885 Bug 1524731 - Fix ADB tests in aarch64;r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D21424

--HG--
extra : moz-landing-system : lando
2019-02-28 07:07:55 +00:00
Dorel Luca d43c47ed29 Bug 1511247 - Disabled devtools/client/accessibility/test/browser/browser_accessibility_panel_highlighter_multi_tab.js on Linux64 debug for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D21375

--HG--
extra : moz-landing-system : lando
2019-02-27 15:39:45 +00:00
Micah Tigley 0549a341af Bug 1530823 - Use pushPref to temporarily enable highlighting boxmodel properties in tests. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D21573

--HG--
extra : moz-landing-system : lando
2019-02-28 18:12:28 +00:00
Daisuke Akatsuka e5218cb8ab Bug 1522760: Modify a test to confirm whether the name of sidebar item was updated. r=jdescottes
Depends on D21182

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

--HG--
extra : moz-landing-system : lando
2019-03-01 00:52:32 +00:00
Daisuke Akatsuka f0153aa820 Bug 1522760: Update sidebar item content which connected. r=jdescottes
Depends on D21181

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

--HG--
extra : moz-landing-system : lando
2019-02-28 17:25:37 +00:00
Daisuke Akatsuka d854dfdf8c Bug 1522760: Use appinfo.brandName instead of appinfo.name. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D21181

--HG--
extra : moz-landing-system : lando
2019-02-28 07:04:52 +00:00
Chris H-C 527d62f75f Bug 1527299 - Update devtools' Event Telemetry doc and example r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20866

--HG--
extra : moz-landing-system : lando
2019-02-28 09:23:14 +00:00
Jason Laster 7c335e3b2b Bug 1496341 - Run debugger tests on try. r=loganfsmyth,ahal
Differential Revision: https://phabricator.services.mozilla.com/D21217

--HG--
extra : moz-landing-system : lando
2019-02-28 14:18:59 +00:00
Michael Ratcliffe 3a13844ccd Bug 1531283: Add MOZ_QUIET description to explain how to disable ++DOMWINDOW and ++DOCSHELL logging r=sole
Differential Revision: https://phabricator.services.mozilla.com/D21514

--HG--
extra : moz-landing-system : lando
2019-02-28 12:02:44 +00:00
tanhengyeow 4ee330b62d Bug 1530140 - Change Netmonitor's localization access keys to lower case. r=Honza,flod
Changed affected access keys to lower case

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

--HG--
extra : moz-landing-system : lando
2019-02-27 12:53:00 +00:00
Cosmin Sabou 48fed2590e Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 7b6922917d1ee0d20fd7127648e1fe5e422a1bd9
2019-02-28 16:33:22 +02:00
Razvan Caliman 2406133e7f Bug 1526054 - Set target node in Font Editor according to selected node type. r=gl
Refactors the logic so the target node on which the Font Editor operates can point to a parent node in case of text nodes without explicitly changing the node selection.

The target node is assigned to `this.node`. When that is null, it means the node selection is not supported by the Font Editor. This removes the need for the `isSelectedNodeValid()` method.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 11:16:13 +00:00
Alexandre Poirot 567eb5fdc3 Bug 1530861 - Acknowledged newSource events sent by remote devices on FF66 and less. r=jdescottes
newSource events used to be sent on the target actors on FF66 and before,
this is no longer the case. But we still have to accept them if we connect
to old remotes, otherwise the events are considered as a method reply
and confuses packet ordering.

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

--HG--
extra : moz-landing-system : lando
2019-02-28 08:25:36 +00:00
Alexandre Poirot b37d7ca095 Bug 1517210 - Stop always loading DevTools modules in fresh compartments. r=jandem,nchevobbe
Now, DevTools server is loaded with a custom loader every time we want to debug chrome
resources. We ensure toggling the "invisibleToDebugger" flag on Loader.jsm which itself
propagates to DevTools Sandboxes.

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

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

--HG--
extra : moz-landing-system : lando
2019-02-28 16:03:26 +00:00
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston dd4c731d8c Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20771

--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Julian Descottes 4615ed9f9b Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:08:43 +00:00
Julian Descottes 235dde6c92 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 19:17:37 +00:00
Dorel Luca e44a331ef0 Backed out changeset 19b29b2e2f5e (bug 1526054) for eslint failures. CLOSED TREE 2019-02-27 19:52:40 +02:00
Logan Smyth 2cfdeb0deb Bug 1530549 - Ensure that _clearSteppingHooks() runs _after_ we pause. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21384

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:31 +00:00
Razvan Caliman dbbe2953a3 Bug 1526054 - Set target node in Font Editor according to selected node type. r=gl
Refactors the logic so the target node on which the Font Editor operates can point to a parent node in case of text nodes without explicitly changing the node selection.

The target node is assigned to `this.node`. When that is null, it means the node selection is not supported by the Font Editor. This removes the need for the `isSelectedNodeValid()` method.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:40:49 +00:00
Razvan Caliman ac817f3c89 Bug 1530976 - Remove functionality to mark rules as selected in the Rules view. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D21344

--HG--
extra : moz-landing-system : lando
2019-02-27 15:31:16 +00:00
Razvan Caliman 294be58640 Bug 1530972 - Remove obsolete modifySelctor2 method from StyleRule actor, front and spec. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D21342

--HG--
extra : moz-landing-system : lando
2019-02-27 15:33:33 +00:00
Helena Moreno 010dd5db65 Bug 1525613 - Create a preference to enable message grouping in the console. r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D21356

--HG--
extra : moz-landing-system : lando
2019-02-27 14:04:46 +00:00
Alexandre Poirot f439c41435 Bug 1520835 - Removed now-useless front pool from DebuggerClient. r=jdescottes
Depends on D20704

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

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:38 +00:00
Alexandre Poirot 252ea7758f Bug 1520835 - Remove unused attachTarget methods. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20704

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:52 +00:00
saumya 03d6f7f411 Bug 1470253 - Don't show console.timeStamp() messages. r=nchevobbe
Made changes to messages.js and added a test file.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:42:11 +00:00
Nicolas Chevobbe 0050fc9adc Bug 1529545 - Fix console mocha tests; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D20652

--HG--
rename : devtools/client/webconsole/test/components/new-console-output-wrapper.test.js => devtools/client/webconsole/test/components/webconsole-wrapper.test.js
extra : moz-landing-system : lando
2019-02-27 13:28:43 +00:00
Nicolas Chevobbe afd0f67662 Bug 1529497 - Remove `promise` and `defer` usage in `devtools/shared/DevToolsUtils.js`; r=yulia.
The `yieldingEach` is moved into the only file that
is using it, in canvas debugger, and is not migrated
as the panel will be removed in a few months.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:28:16 +00:00
Amy Chan 4b3c09df36 Bug 1498565 - Getting Firefox to stop freezing when large file is loaded in Response tab r=Honza
When large files's Response tab in Network Devtools is open, Firefox freezes. This checks for file size & switches from SourceEditor to pre() when the files is too big.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 13:09:32 +00:00
Nicolas Chevobbe 09acaeaaa2 Bug 1494941 - Add requestLongerTimeout in browser_jsterm_await_helper_dollar_underscore.js; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D20803

--HG--
extra : moz-landing-system : lando
2019-02-27 13:07:08 +00:00
Nicolas Chevobbe 69369fb53b Bug 1463128 - Expose setInputValue and getInputValue at hud level; r=Honza.
Now that the JsTerm is a React component, we shouldn't
let external consumers have to get the instance in order
to perform some actions on the console input.
We start with the most used actions, setInputValue and getInputValue,
and might extend that in the future.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:09:35 +00:00
Nicolas Chevobbe f21b834258 Bug 1463128 - Add setInputValue/getInputValue helper in console head.js;r=Honza.
This abstracts the most used console input functions,
and might make it easier to refactor things in the
future.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:09:00 +00:00
Nicolas Chevobbe 4d98e3462d Bug 1463128 - Make test helpers function more consistent; r=Honza.
This patch make sure that all the helper functions
take the hud as a reference to the webconsole.
This makes them simpler to use as the user does not
have to remember what kind of object it takes.
We also rename some functions to not include the term
JsTerm, but rather console input, to make it easier
to reason about the code.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:07:12 +00:00
Nicolas Chevobbe 36e515d435 Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
Doing this allows us to use native `extends` instead of
the custom one.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:05:51 +00:00
Nicolas Chevobbe c273e7f9d4 Bug 1463128 - Rename WebConsoleUI.owner into WebConsoleUI.hud; r=bgrins.
Renaming this property makes it easier to grasp what
it represents (instead of the vague `owner` term).

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

--HG--
extra : moz-landing-system : lando
2019-02-27 10:04:53 +00:00
Dorel Luca cde6aa9ebe Backed out 2 changesets (bug 1335740) for devtools failures. CLOSED TREE
Backed out changeset 1bddabb7bafb (bug 1335740)
Backed out changeset e31483efc331 (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
extra : rebase_source : e6fc9bc5fc3eac450e65d6ff38b672b01a4cbe5d
2019-02-27 12:00:27 +02:00
yulia be92800480 Bug 1527294 - implement deprecation notice for shader editor, canvas editor, and audio editor; r=pbro
The goal of this deprecation notice is to inform people that these panels are going away. This code should be short lived, only firefox versions 67-68.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 17:08:52 +00:00
yulia 6b47255bce Bug 1530554 - Fix expression evaluation in worker threads; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21226

--HG--
extra : moz-landing-system : lando
2019-02-26 15:58:21 +00:00
Julian Descottes 2f48ae10e8 Bug 1530833 - Use correct document in browser_aboutdebugging_telemetry_runtime_updates.js;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D21271

--HG--
extra : moz-landing-system : lando
2019-02-27 03:24:25 +00:00
Jan-Ivar Bruaroey 5739f01e2d Bug 1335740 - Update wpt & mochitests to work w/[SecureContext] navigator.mediaDevices. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D20425

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html
extra : moz-landing-system : lando
2019-02-27 03:51:14 +00:00
Daisuke Akatsuka 4b869d9db6 Bug 1525533: Stop supporting inspection of addon in Browser Toolbox. r=jdescottes,rpl
Depends on D20786

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

--HG--
extra : moz-landing-system : lando
2019-02-27 01:57:19 +00:00
Daisuke Akatsuka f1d3bec0f2 Bug 1525533: Debug local addon as well via debugger client. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20786

--HG--
extra : moz-landing-system : lando
2019-02-25 13:52:17 +00:00
Julian Descottes 61a763b33b Bug 1525619 - Update typography for RuntimeInfo r=ladybenko,daisuke
Depends on D20472

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:43:17 +00:00
Julian Descottes 446b55e82e Bug 1525619 - Add Disconnect button as disabled in the RuntimeInfo layout r=daisuke,ladybenko
Depends on D20471

I can drop this changeset if we prefer, but this is how I imagine the disconnect button would fit in the RuntimeInfo.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:46 +00:00
Julian Descottes 310f4e13bc Bug 1525619 - Update layout for RuntimeInfo to display device name on separate line;r=ladybenko,daisuke
Depends on D20464

For this change I moved all the layout logic for the RuntimeInfo h1 to RuntimeInfo.css
I don't know if we prefer to have layout info in base.css or in specialized components, but the RuntimeInfo header has a very specific structure.
I can't see how this would be worth having in base.css. And it is the only consumer for main-heading, so I removed all layout rules from base.css for main-heading.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:38:44 +00:00
Julian Descottes 16b6c78cce Bug 1525619 - Separate runtime action buttons from addon debug checkbox r=daisuke
Depends on D20439

I want to separate the addon checkbox and the load temporary addon for 2 reasons:
- we will get remove the checkbox after Bug 1525533
- we may support temporary addons for remote runtimes later

The "load temporary addon" might also move inside the Temporary Extensions category.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 20:37:07 +00:00
Gurzau Raul 7f1653d151 Backed out 5 changesets (bug 1463128) for failing at webconsole/autocomplete.js on a CLOSED TREE.
Backed out changeset 31a85e2ed53e (bug 1463128)
Backed out changeset fcd93f64c934 (bug 1463128)
Backed out changeset ae460b3a30c2 (bug 1463128)
Backed out changeset 97a1eeb8db65 (bug 1463128)
Backed out changeset c504e9730eac (bug 1463128)
2019-02-27 00:19:15 +02:00
Andreea Pavel 3f0c70001c Backed out 2 changesets (bug 1526557, bug 1522244) for failing xpcshell at test_framebindings-02.js on a CLOSED TREE
Backed out changeset 67bef7d63d86 (bug 1526557)
Backed out changeset 09f23a363606 (bug 1522244)
2019-02-28 03:27:12 +02:00
Brian Hackett 34cf4f38cd Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 9618e98ff2b9b61e39bcaa06e239c56f055d4921
2019-02-26 17:11:52 -10:00
Brian Hackett 337b884850 Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : 2af71f479062e128c1a01d772a19840f87dca4b0
2019-02-27 09:42:58 -10:00
Daniel Varga 3599b0576d Merge mozilla-central to mozilla-inbound. a=merge
--HG--
rename : browser/base/content/test/general/browser_bug655584.js => browser/components/urlbar/tests/browser/browser_switchTab_closesUrlbarPopup.js
rename : browser/base/content/test/general/browser_bug555767.js => browser/components/urlbar/tests/browser/browser_switchToTab_closes_newtab.js
rename : mobile/android/themes/core/about.css => toolkit/themes/mobile/global/about.css
rename : mobile/android/themes/core/aboutMemory.css => toolkit/themes/mobile/global/aboutMemory.css
rename : mobile/android/themes/core/aboutSupport.css => toolkit/themes/mobile/global/aboutSupport.css
extra : rebase_source : 5fd5811cdafdf926348a80fbb1a1427b9c113f90
2019-02-27 18:36:49 +02:00
Brian Hackett 4fc81c3414 Bug 1527203 Part 5 - Listen to workerListChanged events on the tab target, r=jlast.
--HG--
extra : rebase_source : 586558d9dd0c86cd9cd394e9ba11156e3928c5f0
2019-02-26 11:37:09 -10:00
Brian Hackett fa46449a23 Bug 1527203 Part 4 - Add test for hitting breakpoints early in a worker's execution.
--HG--
extra : rebase_source : f44156edeeb1dbcb24666a720ac333cd95b80724
2019-02-12 13:06:43 -10:00
Brian Hackett 55a473dd19 Bug 1527203 Part 3 - Send and install breakpoints when attaching to a thread, r=ochameau,jlast.
--HG--
extra : rebase_source : 48c12164ef88f33aaf4e9ea1e2d4d8da29e7dd8e
2019-02-12 13:06:08 -10:00
Brian Hackett a342374c62 Bug 1527203 Part 2 - Prevent worker debuggee execution until the thread actor has attached, r=ochameau.
--HG--
extra : rebase_source : 00d301909314379c3667af456579f9dbf0b47016
2019-02-12 13:05:34 -10:00
Nicolas Chevobbe e07650bddf Bug 1463128 - Expose setInputValue and getInputValue at hud level; r=Honza.
Now that the JsTerm is a React component, we shouldn't
let external consumers have to get the instance in order
to perform some actions on the console input.
We start with the most used actions, setInputValue and getInputValue,
and might extend that in the future.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:42:13 +00:00
Nicolas Chevobbe d1ea1da3da Bug 1463128 - Add setInputValue/getInputValue helper in console head.js;r=Honza.
This abstracts the most used console input functions,
and might make it easier to refactor things in the
future.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:41:31 +00:00
Nicolas Chevobbe de516a7a0e Bug 1463128 - Make test helpers function more consistent; r=Honza.
This patch make sure that all the helper functions
take the hud as a reference to the webconsole.
This makes them simpler to use as the user does not
have to remember what kind of object it takes.
We also rename some functions to not include the term
JsTerm, but rather console input, to make it easier
to reason about the code.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:40:42 +00:00
Nicolas Chevobbe e17d5340cd Bug 1463128 - Refactor WebConsole and BrowserConsole to ES6 classes; r=bgrins.
Doing this allows us to use native `extends` instead of
the custom one.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:45:00 +00:00
Nicolas Chevobbe 2156f2ea21 Bug 1463128 - Rename WebConsoleUI.owner into WebConsoleUI.hud; r=bgrins.
Renaming this property makes it easier to grasp what
it represents (instead of the vague `owner` term).

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

--HG--
extra : moz-landing-system : lando
2019-02-26 14:39:03 +00:00
yulia 69d42691df Bug 1529247 - remove unused getPrototypesAndProperties method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20835

--HG--
extra : moz-landing-system : lando
2019-02-26 16:24:49 +00:00