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

2686 Коммитов

Автор SHA1 Сообщение Дата
yulia 57a1e6ce79 Bug 1494796 - fork threadclient for backwards compatibility r=jdescottes
make sure we have a copy of thread client for old servers

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

--HG--
rename : devtools/shared/client/thread-client.js => devtools/shared/client/deprecated-thread-client.js
extra : moz-landing-system : lando
2019-06-14 00:14:36 +00:00
Boris Zbarsky a4410ccb51 Bug 1558726. Stop using [array] in nsISocketTransportService. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D34668

--HG--
extra : moz-landing-system : lando
2019-06-13 04:21:32 +00:00
violet d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ehsan Akhgari b3c4267b3c Bug 1557887 - Part 6: Pass a storage principal to the rest of the call sites for createAboutBlankContentViewer(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D34460

--HG--
extra : moz-landing-system : lando
2019-06-12 09:07:33 +00:00
Miriam 5a1f34625e Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod
Added proper plural form to editor.searchResults and sourceSearch.resultsSummary1. Updated the comments and IDs for the new strings as well. Replaced all instances of old string references with new string references.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 19:25:15 +00:00
tanhengyeow 0d8f2eb67b Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza,jdescottes
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:27:08 +00:00
Oana Pop Rus f872d9fd84 Backed out changeset de1dc8a5ce54 (bug 1552458) for xpcshell failures on service-worker-registration on a CLOSED TREE 2019-06-11 12:10:59 +03:00
tanhengyeow 5b709c20cd Bug 1552458 - Implement backend actor for WebSocket inspection. r=Honza
Implement backend actor for WebSocket inspection

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

--HG--
extra : moz-landing-system : lando
2019-06-11 08:16:31 +00:00
Thomas e4fd1c3d23 Bug 1521188 - Indicate grid/flex container/item in infobar highlighter. r=pbro
Indicate in the infobar highlighter if the element is of kind grid or flex, and if it is a container or an item.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:09:56 +00:00
Charlie Marlow 29aa4dbb9a Bug 1555863 added text-decoration-width support to style system including mochitests and web platform tests r=emilio
from-font support will be added later

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:12:22 +00:00
Yura Zenevich 1deec0a684 Bug 1552067 - adding text label audit type serverside support. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D33185

--HG--
rename : devtools/server/actors/accessibility/contrast.js => devtools/server/actors/accessibility/audit/contrast.js
rename : devtools/server/actors/accessibility/moz.build => devtools/server/actors/accessibility/audit/moz.build
extra : moz-landing-system : lando
2019-06-06 08:05:19 +00:00
Yura Zenevich 8a74234eb8 Bug 1548262 - updating walker/accessible audit API to support per type auditing. r=nchevobbe
This is done so the user has a choice what kind of audit to run or what kind of audit type to filter the accessibility tree by

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

--HG--
extra : moz-landing-system : lando
2019-06-06 17:58:33 +00:00
Nicolas Chevobbe 74f4a28c13 Bug 1556068 - Track JsPropertyProvider's analyzeInput string and bail if it's taking too long. r=Honza.
It can happen that the string we receive is quite large
and as a result takes a long time to analyze, freezing
the process.
This patch simply tracks for how long the for loop is running,
and bail out if it's greater than a given time (set to 2500 ms
for now).
This is mostly a safeguard, a future patch should try to improve
the performance of the function itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 13:08:21 +00:00
Daniel Holbert 4e2947f721 Bug 1556855 part 5: Update devtools css database. r=mats
This patch was generated automatically by running ./mach devtools-css-db

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

--HG--
extra : moz-landing-system : lando
2019-06-05 18:23:10 +00:00
Charlie Marlow da73c04156 Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-04 22:04:14 +00:00
Razvan Caliman 89a6536b37 Bug 1555064 - (Part 2) Centralize the list of supported pseudo-classes. r=gl
Depends on D32867

Reference the shared list of pseudo-elements throughout the codebase:
- markup view context menu + test
- Rule editor
- box model highlighter
- node actor
- new Rules view

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

--HG--
extra : moz-landing-system : lando
2019-05-30 16:14:53 +00:00
Razvan Caliman 212aac6c2b Bug 1555064 - (Part 1) Generalize creation and handling of pseudo-class toggles in the Rules view. r=gl
- Removes the hardcoded references from `index.xhtml` and `rules.js` and uses a centralized list of pseudo-classes to generate the checkboxes for the supported pseudo-class locks at runtime.

- Streamlines the handling for pseudo-class locks state. Fixes Bug 1536676 as a side-effect.

- Updates tests.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 15:22:18 +00:00
Coroiu Cristina b2c75da135 Backed out changeset ba1f75c56457 (bug 1555150) for xpcshell failures at devtools/shared/tests/unit/test_css-properties-db.js 2019-06-04 07:52:50 +03:00
Charlie Marlow a2861fd11e Bug 1555150: adding support for CSS text underline offset to the style system r=emilio
support  for from-font listed in the CSS spec will be implemented in a later bug

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:43:08 +00:00
Emilio Cobos Álvarez 749db71829 Bug 1554150 - Hide some appearance values from content. r=mats
They're not used internally either, so remove all ability to address them.

I haven't removed the implementation yet, as some of them are quite complex, and
I don't have a mac / windows build. We should do that when this hits release
though.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 17:32:48 +00:00
Greg Tatum ae0bdac16c Bug 1307227 - Ensure the provider is always initialized for calls to lazyRequireGetter; r=ochameau
The performance profiler pop-up menu wants to be near DevTools, but work
without the complete DevTools initialization. This patch ensure that
any calls to lazyRequireGetter properly initialize the provider.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 15:54:03 +00:00
Emilio Cobos Álvarez 19258bfbb4 Bug 1554716 - Remove nsStyleColor moving the color property to nsStyleText. r=jfkthame
I think this is a good change regardless of other discussion in bug 1552587. If
we decide to move `mColor` to the top-level of the struct that can be done
separately.

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

--HG--
extra : moz-landing-system : lando
2019-05-31 14:48:22 +00:00
yulia a9f8c70111 Bug 1042642 - Use EventEmitter instead of EventSource for the threadClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29373

--HG--
extra : moz-landing-system : lando
2019-05-30 08:37:55 +00:00
yulia 29a61755bc Bug 1042642 - use EventEmitter instead of eventSource on the DebuggerClient; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29371

--HG--
extra : moz-landing-system : lando
2019-05-29 15:51:28 +00:00
Gabriel Luong debbd4220d Bug 1468402 - Part 1: Add isSubgrid to the grid actor form and getParentGridNode to the walker. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29317
2019-04-30 00:50:47 -04:00
Boris Chiou 3b51b642f3 Bug 1429301 - Implement offset-rotate. r=emilio
This includes style system and layout update. I add 3 extra reftests
because the original tests use ray() function as the offset-path, but we
don't support it. It'd be better to add tests using a different type of
offset-path.

The spec issue about the serialization:
https://github.com/w3c/fxtf-drafts/issues/340

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

--HG--
extra : moz-landing-system : lando
2019-05-24 03:42:03 +00:00
Jason Laster 77d4bd0ad9 Bug 1552453 - Breakpoint doesnt pause in file during page load. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D32161

--HG--
extra : moz-landing-system : lando
2019-05-23 12:52:34 +00:00
Patrick Brosset a365f19d19 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:06:16 +00:00
Mihai Alexandru Michis 2ae5a4bb01 Backed out changeset 0f9626b48a66 (bug 1553451) for linting failures. CLOSED TREE 2019-05-23 10:58:22 +03:00
Patrick Brosset 28f446d619 Bug 1553451 - Lower the eslint complexity level to 20 for devtools and exlude more complex functions; r=jdescottes
We want to go back to ESLint's default complexity level so that newly introduced code is checked for complexity.
At the same time, to make that work, we're excluding all of the more complex functions for now.
We should fix them: make them less complex, and remove the eslint-disable comment.
See bug 1553449 for more information about this.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 07:07:49 +00:00
Micah Tigley b15ec7f710 Bug 1357774 - Part 2: Add the ability to update orientation state of a simulated device in RDM r=gl
This patch gives the RDM UI the ability to update the screen orientation based on the orientation of the simulated device screen. It fixes the following issues:

  - Initializing the orientation state of the selected device when RDM is opened.
  - Updating orientation state when the rotate button in the RDM toolbar is pressed.
  - Updating the orientation state when a new device is selected.

There are three actions creators that are responsible for notifying the ResponsiveUI manager, `changeDevice`, `restoreDeviceState`, and `rotateViewport`. In particular:



  - `restoreDeviceState` is dispatched when the Responsive UI has finished initializing. If a previous RDM session had a device selected, then this action creator will also dispatch the `changeDevice` action to update the RDM UI to reflect the currently selected device.
  - `changeDevice` is dispatched when a device is selected.
  - `rotateViewport` is dispatched when the rotate button is clicked in the RDM toolbar.

When either of these actions is dispatched, we post a "viewport-orientation-change" message to the window that notifies the manager to update the screen orientation accordingly.

Finally, when RDM is closed, we need to ensure the original physical screen orientation is restored. We do this by calling the `setRDMPaneOrientation` on the docShell's document in the content frame script.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 20:07:13 +00:00
Patrick Brosset babd28f5c6 Bug 1544223 - Disable a few high complexity functions and lower the limit to prevent more complexity; r=jdescottes
Depends on D31973

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:08:59 +00:00
Patrick Brosset ff3148e04f Bug 1544223 - Don't advance to the next property or value when parsing ; or : inside a CSS block; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D31973

--HG--
extra : moz-landing-system : lando
2019-05-22 10:46:55 +00:00
Oana Pop Rus d71e3be10c Backed out changeset 3c2a368a4c8b (bug 1552464) for xpcshell failures on test_rotate_viewport.js on a CLOSED TREE
--HG--
extra : amend_source : 15c8845b921292468c076b10b0b68c523a835e98
2019-05-22 14:57:46 +03:00
Razvan Caliman b12bac57a5 Bug 1552464 - Add telemetry probe to count the number of viewport changes in RDM. r=mtigley,nchevobbe.
This patch adds telemetry instrumentation to count the number of times the RDM viewport properties are changed (dimensions and rotation). This count will be correlated with the panel open count and time spent open to refine the baseline for RDM usage and filter out accidental usage.

A new Redux middleware, `telemetryMiddleware`, is introduced to the RDM Redux store. This observes actions dispatched to the store. For `RESIZE_VIEWPORT` and `ROTATE_VIEWPORT` actions, it increases a numeric value for the new scalar telemetry probe, `"devtools.responsive.viewport_change_count"`.

Other actions may be observed in this middleware for future telemetry instrumentation of RDM.

The `RESIZE_VIEWPORT` action is a dispatched with a high frequency when dragging to resize. Therefore, we debounce logging for this action. To ensure the test can reliably test counting this action without adding needless complexity to account for the asynchronicity, the `debounce()` utility is extended with an `immediate` parameter to cause the very first call to be executed immediately before going into the debounce behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 18:40:23 +00:00
Razvan Caliman ff22a40fa6 Bug 1553194 - Remove unrelated code comment from shared/css-logic.js r=pbro
Depends on D32016
The code comment is perhaps a leftover from a file duplication to extract shared methods to `shared/inspector/css-logic.js` from `server/actors/inspector/css-logic.js`.

The comment is confusing because there is no usage of any of the CssLogic terminology within the file.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 07:35:02 +00:00
Emilio Cobos Álvarez ca59532ce8 Bug 1553227 - Remove old CSS scroll snap implementation. r=hiro
This will save us some time from figuring out what's the best thing to do in
bug 1552587, so that other patches I have in flight (mainly bug 1552708) can
land, since we cannot add a single byte to nsStyleDisplay right now otherwise.

The code removed here is well isolated and not that complicated, so it seems to
me that should be easy to bring back should we have an emergency (and I commit
to doing that while preserving the nsStyleDisplay size limit if we need to :)).

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

--HG--
extra : moz-landing-system : lando
2019-05-21 22:51:54 +00:00
Emilio Cobos Álvarez 84b1872a1c Bug 1383650 - followup: Regenerate property database again. r=bustage
CLOSED TREE
2019-05-21 13:59:18 +02:00
violet 058a50476b Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
This is the last part of this seris of patches to implement geometry property.
This particular patch just run `./mach devtools-css-db` to update db per instruction
at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db.

After this patch, the SVG geometry propery is implemented for <rect>, <circle>,
<ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the
remainings are inner <svg> and <image>, which are kind of different to the
others, so they will be handled in some follow-ups. Note that these patches won't
impact old behavior of inner <svg> and <image>.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 13:21:22 +00:00
Boris Chiou ce15d305e2 Bug 1429299 - Part 2: Implement offset-distance. r=emilio
Define the offset-distance property in style system.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 23:42:52 +00:00
Jonathan Kew 837368bc29 Bug 1011369 - Add parsing of the loose|normal|strict values of the CSS line-break property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D30785

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:28 +00:00
Jonathan Kew eb2e0187f1 Bug 1531715 - Implement the CSS line-break property, with values "auto | anywhere". r=emilio
Note that the "loose | normal | strict" values are not yet parsed/implemented.

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

--HG--
extra : moz-landing-system : lando
2019-05-20 20:46:07 +00:00
Brendan Dahl 543c10a1d2 Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D31295

--HG--
extra : moz-landing-system : lando
2019-05-20 16:50:28 +00:00
Emilio Cobos Álvarez c1954c0d3a Bug 1492739 - Unprefix user-select. r=mats
The CSSWG decided that our behavior regarding inheritance is what we want,
see [1].

[1]: https://github.com/w3c/csswg-drafts/issues/3344

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

--HG--
extra : moz-landing-system : lando
2019-05-17 02:43:59 +00:00
Csoregi Natalia 60874606d0 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 00:58:59 +03:00
Csoregi Natalia 8ef3142853 Merge inbound to mozilla-central. a=merge 2019-05-17 00:55:45 +03:00
Julian Descottes 824f4a9e82 Bug 1464132 - devtools l10n use console.error if localized string is unavailable r=jlast
Throwing errors can lead to blank panels when we uplift strings to beta and language packs have not been regenerated yet.
Try at: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1520df8aa12a84b5c50b205ffda49a1e86e545c9

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

--HG--
extra : moz-landing-system : lando
2019-05-16 15:20:03 +00:00
Brian Hackett 27c0a0fcda Bug 1547084 Part 4 - Switch to a search focused control logic architecture, r=loganfsmyth.
--HG--
extra : rebase_source : 395c14562519d79a9bf620e3f0e5ead58cbd22c8
2019-05-12 13:17:40 -10:00
Brian Hackett c201146e83 Bug 1547084 Part 2 - Remove reverseStepIn and reverseStepOut logic, r=loganfsmyth.
--HG--
extra : rebase_source : 9cd48bddd6d4156036b5732a94d3a2c79fd3e992
2019-05-12 13:15:05 -10:00
Julian Descottes f0febee0fe Bug 1552108 - Do not wait for runtimes in about:debugging init if ADB not started r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D31403

--HG--
extra : moz-landing-system : lando
2019-05-16 13:23:40 +00:00
Julian Descottes dc81ec93ee Bug 1552116 - Move devtools.inspector.inactive.css.enabled to devtools shared preferences r=miker
This preference is used both by the client and the server and cannot be stored in devtools/client
Also added default fallback values.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 09:58:43 +00:00
Coroiu Cristina b4731ed54d Backed out 12 changesets (bug 1383650) for landing in the soft-freeze period
Backed out changeset 4316d55f87be (bug 1383650)
Backed out changeset 0118148f1534 (bug 1383650)
Backed out changeset 447c9248342b (bug 1383650)
Backed out changeset 6730776560c0 (bug 1383650)
Backed out changeset a7b8e6460fb8 (bug 1383650)
Backed out changeset e864696f6cf8 (bug 1383650)
Backed out changeset 2b003d678c58 (bug 1383650)
Backed out changeset 7bc3bff991c4 (bug 1383650)
Backed out changeset f1f7b4ad9547 (bug 1383650)
Backed out changeset 18b030b31660 (bug 1383650)
Backed out changeset 70e74dd6b45d (bug 1383650)
Backed out changeset 55a283e793df (bug 1383650)
2019-05-16 04:47:58 +03:00
violet 2fea323951 Bug 1383650 - Run mach devtools-css-db to sync css db r=emilio
This is the last part of this seris of patches to implement geometry property.
This particular patch just run `./mach devtools-css-db` to update db per instruction
at the beginning of devtools/shared/tests/unit/test_css-properties-db.js, and also a manual addition to the animation property db.

After this patch, the SVG geometry propery is implemented for <rect>, <circle>,
<ellipse> and <foreignObject>. We already implemented outer <svg>. Thus the
remainings are inner <svg> and <image>, which are kind of different to the
others, so they will be handled in some follow-ups. Note that these patches won't
impact old behavior of inner <svg> and <image>.

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

--HG--
extra : moz-landing-system : lando
2019-05-16 00:56:22 +00:00
Oriol Brufau 4be85f2295 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-05-14 06:46:30 +00:00
yulia 814de9f0fc Bug 1450284 - rename script spec to thread.js; r=jdescottes
Rather straighforward -- as per jryans recommendation, I have renamed the file to reflect
our naming conventions.

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

--HG--
rename : devtools/shared/specs/script.js => devtools/shared/specs/thread.js
extra : moz-landing-system : lando
2019-05-13 13:56:18 +00:00
yulia cbc7ef06f1 Bug 1450284 - Complete method set in the Spec for Thread; r=jdescottes,ochameau
We need a complete specification in order to move forward with the front conversion. I
think this will also impact other parts of the refactoring, such as some of the thread specific code
in the debugger-client. This is a first pass, I did not go into detail about the return types.

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

--HG--
extra : moz-landing-system : lando
2019-05-13 13:55:44 +00:00
Yura Zenevich 4ba1b5ae4c Bug 1549397 - add progress indicator to accessibility panel audit. r=yulia,flod
Differential Revision: https://phabricator.services.mozilla.com/D30454

--HG--
extra : moz-landing-system : lando
2019-05-13 14:01:16 +00:00
Cameron McCormack f5b7d1380b Bug 866102 - Implement -webkit-line-clamp. r=mats,emilio,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D20115

--HG--
extra : moz-landing-system : lando
2019-05-09 02:32:30 +00:00
Csoregi Natalia 26aadf7f93 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-05-08 06:40:43 +03:00
Julian Descottes f828dbc07e Bug 1542286 - Show the application version instead of the Gecko version for Fenix runtimes r=daisuke
Depends on D29377

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

--HG--
extra : moz-landing-system : lando
2019-05-07 12:04:36 +00:00
Julian Descottes 049dde546f Bug 1542286 - Show proper runtime name for Fenix in about:debugging r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29376

--HG--
extra : moz-landing-system : lando
2019-05-07 12:02:05 +00:00
Mihai Alexandru Michis 50e4f13359 Backed out 5 changesets (bug 1542286) for causing devtool failures at browser_about-devtools-toolbox_reload.js CLOSED TREE
Backed out changeset 8b43cfcebf9f (bug 1542286)
Backed out changeset d02d934560c5 (bug 1542286)
Backed out changeset dbb72223a684 (bug 1542286)
Backed out changeset 8a220edc2db3 (bug 1542286)
Backed out changeset 38220ee5ab0c (bug 1542286)
2019-05-07 12:04:53 +03:00
Julian Descottes effa80f058 Bug 1542286 - Show the application version instead of the Gecko version for Fenix runtimes r=daisuke
Depends on D29377

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

--HG--
extra : moz-landing-system : lando
2019-05-06 21:02:00 +00:00
Julian Descottes d69877ee25 Bug 1542286 - Show proper runtime name for Fenix in about:debugging r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29376

--HG--
extra : moz-landing-system : lando
2019-05-06 20:56:47 +00:00
Daniel Varga f59107b417 Backed out changeset a0a023dac829 (bug 1392760) for debugger failure at object-inspector/types 2019-05-06 03:14:57 +03:00
Oriol Brufau 4687ff5e88 Bug 1392760 - Avoid exponential behavior when inspecting nested proxies. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28214

--HG--
extra : moz-landing-system : lando
2019-04-26 15:32:50 +00:00
Micah Tigley 827e4e2e78 Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 16:32:22 +00:00
Coroiu Cristina ea0445309e Backed out changeset 20874bfade8e (bug 1509255) for xpcshell failures at devtools/client/responsive.html/test/unit/test_rotate_viewport.js 2019-05-03 18:07:43 +03:00
Micah Tigley 97fb7f346e Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 14:00:37 +00:00
Julian Descottes aadde2aead Bug 1548569 - Fire event from ADB track-devices to unblock aboutdebugging initialization r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D29675

--HG--
extra : moz-landing-system : lando
2019-05-03 08:11:54 +00:00
Jason Laster 8f13b0d82f Bug 1537779 - Improve column breakpoint UI performance. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D28868

--HG--
extra : moz-landing-system : lando
2019-05-02 19:21:21 +00:00
yulia 77f46589d6 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
Brian Hackett 42e04a6b23 Bug 1230194 Part 2 - Show stack for console evaluations that throw something, r=nchevobbe.
Differential Revision: https://phabricator.services.mozilla.com/D27827

--HG--
extra : rebase_source : 78bedd752592f1c8b6940b356c1ad43d9f1b6590
2019-04-16 11:51:52 -10:00
yulia 2a531fdb64 Bug 1529247 - remove unused pausedLongString method, threadLongString and arrayBuffer methods; r=ochameau
Finally! the goal of all of this: removing three functions from threadClient that really belong as part of source client. PauseLongString is never used except in tests. ThreadLongString is only ever used by sourceClient. Same goes for the arrayBuffer method. This clears all of that out.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 14:44:23 +00:00
yulia ef38cc7174 Bug 1545021 - Convert ArrayBuffer to a Front and Protocoljs actor; r=ochameau,jdescottes
This introduces an ArrayBuffer front, so that we no longer need to go through the thread client to get an array buffer for the sourceFront (this is the only place it is used).

It also converts the arrayBufferActor to a protocol.js actor. I was running into an issue between them. I need to double check what this issue was. If these two refactors need to be split, I can do that, but for now it looks like it wasn’t that large of a change.

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

--HG--
rename : devtools/shared/client/array-buffer-client.js => devtools/shared/fronts/array-buffer.js
extra : moz-landing-system : lando
2019-04-30 14:40:43 +00:00
yulia 69aff42510 Bug 1544697 - use LongStringFront in SourceFront; r=ochameau,jdescottes
This change does two things: it starts returning the longstring actor directly from the server. It also introduces a new type in the spec — sourcedata.

This sourcedata can handle either a plain form (for array buffer) or it writes to and from a front. This is the major change. It could be the basis for writing a union type for protocol.js, which would do the same thing based on a list (ie — RetVal(“nullable:arraybuffer|nullable:longstring”))

This could be useful for getting handling the return value of createValueGrip (https://searchfox.org/mozilla-central/rev/f46e2bf881d522a440b30cbf5cf8d76fc212eaf4/devtools/server/actors/object/utils.js#75)

This requires that this stack lands first: https://phabricator.services.mozilla.com/D27709

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

--HG--
extra : moz-landing-system : lando
2019-04-30 08:04:33 +00:00
yulia 9c5ed9f5ef Bug 1042642 - Remove eventSource from EnvironmentClient; r=jdescottes
After reviewing how the EnvironmentClient is used, it looks like the use of eventSource
might be some cruft from the past. Here is the try run:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=df4bb52f188f79b8006e8c40401e5af2258493ce

with the exception of whatever is going on Window 7 (which appeares also on central), it looks like
things are working as expected. The environment client will eventually have the event emitter, once
it is moved to being a front.

adding @nchevobbe as a subscriber, as this touches a dependancy of the scratchpad.

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

--HG--
extra : moz-landing-system : lando
2019-04-30 14:57:10 +00:00
shindli 69784b3472 Backed out 2 changesets (bug 1544976) for causing xpcshell failures in devtools/client/memory/test/unit/test_action_diffing_02.js. a=backout
Backed out changeset 30b551b1a212 (bug 1544976)
Backed out changeset 1ebc89e3ad97 (bug 1544976)

--HG--
extra : source : 618d85aa18ee8402d69354e4980939fb89521436
extra : histedit_source : 1dab80aecf02d2cbc98cb97064a42cce16bb0511
2019-04-30 04:37:53 +03:00
shindli 06e03621c4 Merge inbound to mozilla-central. a=merge 2019-04-30 06:44:40 +03:00
Yura Zenevich ed9d7a2698 Bug 1544713 - make full page audit non-blocking. Fire 'audit-event' events when the full page audit completes or fails. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D28854

--HG--
extra : moz-landing-system : lando
2019-04-29 21:08:31 +00:00
Julian Descottes 4bd5637bbd Bug 1514787 - Remain on the same Runtime page when reloading about:debugging r=ladybenko,daisuke
The idea is to wait for ADB runtimes to be available before trying to render the initial route.
This way if we happen to find the runtime matching the current runtime, and if we still have a connected client for it, we can display the same runtime page.

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

--HG--
extra : moz-landing-system : lando
2019-04-29 19:32:16 +00:00
Brian Hackett b72f8bf1f1 Bug 1544976 Part 2 - Add devtools.debugger.quiet quiet pref to suppress warnings from protocol errors, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D28933

--HG--
extra : rebase_source : da560fbf26cac1b7e48b36a254af4f0e279f6b1b
2019-04-25 14:21:26 -10:00
Jason Laster d831a88525 Bug 1547314 - Remove references to updatedSource. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29036

--HG--
extra : moz-landing-system : lando
2019-04-29 17:52:58 +00:00
Yura Zenevich cae455a8a2 Bug 1546555 - include WCAG score as part of contrast check to only calculate once. Rename ColorContrastScores constant to SCORES to be used by all checks. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28753

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:27 +00:00
Yura Zenevich 7684e5c002 Bug 1546555 - make AccessibleActor form data a smallest set of accessible data necessary for the a11y panel to work. Allow for fetching full accessible object data via new hydrate method. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28752

--HG--
extra : moz-landing-system : lando
2019-04-27 13:33:17 +00:00
yulia 1aa3bce3f9 Bug 1544694 - move and rename SourceClient to SourceFront; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27709

--HG--
rename : devtools/shared/client/source-client.js => devtools/shared/fronts/source.js
extra : moz-landing-system : lando
2019-04-26 13:50:47 +00:00
yulia 47738413e6 Bug 1544694 - Convert Source Client to a Front; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27708

--HG--
extra : moz-landing-system : lando
2019-04-26 12:51:07 +00:00
yulia 418c70d897 Bug 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27707

--HG--
extra : moz-landing-system : lando
2019-04-26 12:43:45 +00:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
yulia 854b687951 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-23 13:48:59 +00:00
Hemakshi Sachdev e8ed10a457 Bug 1542172 - Firefox freezes when inspecting large POST data. r=Honza
Truncate the Request Payload if it exceeds the `devtools.netmonitor.requestBodyLimit` pref and show `Request has been truncated` error in the Params Tab

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

--HG--
extra : moz-landing-system : lando
2019-04-23 13:30:42 +00:00
Belén Albeza ec2a8fd626 Bug 1498469 - Part 1: Wait until adb process is ready to show the 'Usb enabled' message r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D27296

--HG--
extra : moz-landing-system : lando
2019-04-23 11:44:44 +00:00
Dorel Luca e349607790 Backed out 2 changesets (bug 1544694) for XPCshell failures in devtools/server/tests/unit/test_blackboxing-01.js. CLOSED TREE
Backed out changeset 63d133aae187 (bug 1544694)
Backed out changeset fc739beb6782 (bug 1544694)
2019-04-23 13:09:41 +03:00
Alexandre Poirot 31940b3696 Bug 1540693 - Fix BrowserTabList leak. r=jdescottes
BrowserTabList._actorByBrowser still contains opened tab we attached
to when destroying the RootActor. This prevents correctly unregistering
the DOM listener set on browser.xul, leading to permanent leaks.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 08:23:16 +00:00
yulia ffb0df9c92 Bug 1544694 - remove unused client getters 'request' and '_transport' from sourceClient; r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D27707

--HG--
extra : moz-landing-system : lando
2019-04-19 09:21:56 +00:00
yulia a2dd505a24 Bug 1544694 - remove unused method 'getExecutableLines' from sourceClient; r=ochameau,jdescottes,loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27706

--HG--
extra : moz-landing-system : lando
2019-04-17 16:15:15 +00:00
Gurzau Raul 52b651e168 Merge inbound to mozilla-central. a=merge 2019-04-20 12:54:53 +03:00
J. Ryan Stinnett 4c41f2a87f Bug 1151368 - Unblock requests by URL in DevTools. r=ochameau
This is nearly the same the first patch for blocking, but adds the unblock
option as well.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:38 +00:00
J. Ryan Stinnett cc8110e6ff Bug 1151368 - Display blocked requests in Network Monitor. r=ochameau,Honza
This updates the request list to indicate a request was blocked by marking the
entire request item and also replaces transferred size column with "blocked by
DevTools". In the future, we may show other reasons for blocking in this way,
such as CORS, etc.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:29 +00:00
J. Ryan Stinnett d4c5593416 Bug 1151368 - Block requests by URL in DevTools. r=ochameau
This is a very basic form of request blocking for the Network Monitor. It only
supports blocking a request via right-click. This change adds the minimal UI and
server support to block the request.

There is no UI to indicate what happened to the request yet, so it will just
look like a "confused" request that never started. Future patches will improve
from here.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 18:25:19 +00:00
Brian Hackett 18578fbd02 Bug 1544170 Part 4 - Don't infinitely recurse in newChannelForURL on failure, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D27411

--HG--
extra : rebase_source : 658df8227afa78826ef32b63f87e7c0f9554bda2
2019-04-12 16:37:00 -10:00
Brian Hackett a151fd40c6 Bug 1544170 Part 2 - ReplayInspector changes to support showing styles, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D27409

--HG--
extra : rebase_source : fa3dde431c55e731c58297bb64dc405c3b8f7dd8
2019-04-12 16:35:18 -10:00
Andreea Pavel 1d5a79ec29 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2019-04-19 00:50:26 +03:00
Andreea Pavel e5b695eefd Merge mozilla-inbound to mozilla-central. a=merge 2019-04-19 00:36:23 +03:00
Brian Grinstead 381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Julian Descottes bbcab0f303 Bug 1544749 - Add shared helper to retrieve the top window r=bgrins
Some classes in DevTools will not have an easy way to get access to the toolbox.
However they might still want to use the topmost chrome window.
Extract the logic from toolbox.js to a shared helper.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 09:06:32 +00:00
Daisuke Akatsuka f145a56427 Bug 1539328: Introduce new unique id for service worker actor. r=jdescottes
Depends on D25771

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:47:37 +00:00
Daisuke Akatsuka 6f3ba76797 Bug 1539328: Introduce new unique id for normal worker actor. r=jdescottes,bhackett
Depends on D25207

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

--HG--
extra : moz-landing-system : lando
2019-04-18 00:47:24 +00:00
Daisuke Akatsuka c21d56872c Bug 1539328: Introduce getWorker(id) to RootFront to avoid re-using client debugger. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25207

--HG--
extra : moz-landing-system : lando
2019-04-18 00:45:20 +00:00
Gabriel Luong 468b74194b Bug 1544829 - Implement print media type emulation in the new rules view. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D27814
2019-04-16 16:37:11 -04:00
Brian Hackett 87d3e60af3 Bug 1533202 Part 2 - Enumerate WeakMap/WeakSet entries in workers, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D27610

--HG--
extra : rebase_source : da6f0d2dac40be4cfa1897e2247487711f9bf6d4
2019-04-15 12:05:38 -10:00
Yura Zenevich 08eb4962e6 Bug 1536802 - add contrast badge for accessible objects in accessibility tree. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26460

--HG--
extra : moz-landing-system : lando
2019-04-16 14:53:07 +00:00
Art-Vanderlay 1174054e9b Bug 1514766 - Change the order of the autocomplete popup to display lowercase items and perfect matches first. r=nchevobbe.
The autocomplete popup in the web console now favours matches
with the user input in alphabetical order with lowercase letters and
perfect matches brought to the top of the list.
e.g.

Typing 'document.styleSheets' brings up the result:

-styleSheets
-styleSheetSets

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

--HG--
extra : moz-landing-system : lando
2019-04-16 12:31:51 +00:00
Brian Grinstead c4fa4cfc0c Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 4` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 04:01:46 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Julian Descottes 5091f67021 Bug 1505289 - Move unknown runtime logic to aboutdebugging r=Ola,ladybenko
The notion of unknown runtime is only relevant to aboutdebugging
As we will complexify this to handle unplugged devices, moving it to aboutdebugging seems reasonable.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 22:23:01 +00:00
Hiroyuki Ikezoe f7645a5770 Bug 1531228 - Enable the new scroll snap and disable the old scroll snap on nightly. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D22804

--HG--
extra : moz-landing-system : lando
2019-04-11 06:22:01 +00:00
Hiroyuki Ikezoe eab764a7ae Bug 1312163 - Switch to the new scroll-snap-type syntax for the old scroll snap implementation and drop the scroll-snap-type-{x,y} longhands. r=emilio
Now scroll-snap-type is a longhand property.

Depends on D21621

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

--HG--
extra : moz-landing-system : lando
2019-04-11 06:19:31 +00:00
Yura Zenevich 4c0b4af80b Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458

--HG--
extra : moz-landing-system : lando
2019-04-10 18:36:02 +00:00
Yura Zenevich 2c9b6e5406 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457

--HG--
extra : moz-landing-system : lando
2019-04-10 18:36:00 +00:00
Brindusan Cristian 04da27ce4e Backed out 4 changesets (bug 1541666, bug 1541446, bug 1540904, bug 1540601) for dt failures at browser_accessibility_node_audit.js
Backed out changeset 7bcd00bbcb71 (bug 1541666)
Backed out changeset a27b2d203885 (bug 1540904)
Backed out changeset 9f43419c7b40 (bug 1541446)
Backed out changeset e3294a1be947 (bug 1540601)
2019-04-10 07:13:57 +03:00
Yura Zenevich a2e55d282e Bug 1540904 - added full page API for accessibility walker actor. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26458

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:31 +00:00
Yura Zenevich a26dda1735 Bug 1541446 - added audited event to AccessibleActor/Front. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D26457

--HG--
extra : moz-landing-system : lando
2019-04-10 00:58:24 +00:00
Alexandre Poirot 859279017c Bug 1541819 - Expose the number of still-allocated objects via the allocation tracker. r=jdescottes
Depends on D26106

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:29 +00:00
Alexandre Poirot 93a3d67506 Bug 1541819 - Ship allocation-tracker when running tests and test it. r=jdescottes
Using official build flag was breaking tests on try as the builds
are done with the official build flag turned on.
Convert this module into a "supports" file, like other test-only files.
And also introduce a test for this module. It helps as we have to have
a browser.ini file in order to reference allocation-tracker.js,
and you can't have a browser.ini without any test in it.

Depends on D26105

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:27 +00:00
Alexandre Poirot 1b208f0f0e Bug 1541819 - Allow the loader to load modules in a distinct system compartment. r=jdescottes
Depends on D26104

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

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:25 +00:00
Alexandre Poirot 74167a96b0 Bug 1541819 - Allow tracking memory only for one global or only DevTools ones. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D26104

--HG--
extra : moz-landing-system : lando
2019-04-09 18:58:23 +00:00
Oriol Brufau 0c1218e4d5 Bug 1541422 - Escape special characters in autocomplete. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D26617

--HG--
extra : moz-landing-system : lando
2019-04-09 16:46:34 +00:00
Alexandre Poirot 953f28d1a8 Bug 1540694 - Fix DEBUG_DEVTOOLS_ALLOCATIONS now that DevTools share the unique system compartment. r=jdescottes
In bug 1517210, DevTools started sharing the same compartment than JSMs.
So we can no longer use a Debugger instance bound to jsdebugger.jsm as it
would run in the same compartment than DevTools code we want to inspect
from the allocation tracker.
Instead, we instantiate the Debugger from a custom Sandbox loaded
in a unique and distinct compartment.

Depends on D26077

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

--HG--
extra : moz-landing-system : lando
2019-04-09 08:41:19 +00:00
Noemi Erli dd7e27f4a8 Merge inbound to mozilla-central. a=merge 2019-04-09 12:55:19 +03:00
Brian Hackett 7154d679ab Bug 1542659 Part 1 - Hook require() when replaying, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D26451

--HG--
extra : rebase_source : 6697485b1dc098d6b276957953b537bfdcfb1109
2019-04-07 16:00:49 -10:00
Micah Tigley 270557bf86 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 20:22:12 +00:00
Dorel Luca ca1e4e263d Backed out changeset 4fef2150bef9 (bug 1534984) for DevTools Failures in devtools/client/responsive.html/test/browser/browser_toolbox_swap_browsers.js. CLOSED TREE 2019-04-08 19:23:02 +03:00
Micah Tigley a17d89a9d3 Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl
Differential Revision: https://phabricator.services.mozilla.com/D25142

--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:57 +00:00
Brian Hackett f4af857cef Bug 1497393 Part 7 - Server side changes for inspector support while replaying, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D22863

--HG--
extra : rebase_source : 1069a8534dd79e1d2cf309c9d3f3c27079077087
extra : histedit_source : 1a750a022d46da836181f913d012081ea608da7f
2019-03-09 16:45:50 -10:00
Brian Hackett eefdeac0e8 Bug 1497393 Part 5 - Add ReplayInspector module for accessing objects in a replaying process, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22861

--HG--
extra : rebase_source : 63c20073bb6e76d882ed0719e550685b2874a28e
2019-03-09 16:41:32 -10:00
Brian Hackett f5672e6b59 Bug 1497393 Part 2 - Tweak definition of target.isReplayEnabled(), r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22858

--HG--
extra : rebase_source : a8d0aeaf08920454dd27084c3e1663719d0116bf
2019-03-09 16:38:34 -10:00
Brian Hackett 0e51aaf966 Bug 1497393 Part 1 - Add isReplaying global to server bindings, r=loganfsmyth.
Differential Revision: https://phabricator.services.mozilla.com/D22857

--HG--
extra : rebase_source : 14b0daad9f6ef4f372b44e0081bd5ff9b1d270cf
2019-03-09 16:37:20 -10:00
Gerald Squelart e1bd1f5588 Bug 1429613 - Using upgraded Variant::match where appropriate - r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24891

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:55 +00:00
Gerald Squelart e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from `match` to `operator()` - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Ian Moody adf896c1ab Bug 1539265 - Don't represent ::marker pseudo-elements with the internal _moz_generated_content_marker tagName in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25108

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:55 +00:00
Ian Moody 85f74da0e4 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:53 +00:00
Ian Moody 53e960c394 Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:38 +00:00
Ian Moody 71b7e1fa5d Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-02 07:45:31 +00:00
arthur.iakab cf3b3f1eb5 Backed out 11 changesets (bug 1539265) for causing debugger failures CLOSED TREE
Backed out changeset 8206b880f9ec (bug 1539265)
Backed out changeset be9f5f73bdfe (bug 1539265)
Backed out changeset f78146b8aa17 (bug 1539265)
Backed out changeset 18fa7e971a0d (bug 1539265)
Backed out changeset 6eaf5bdd945c (bug 1539265)
Backed out changeset 3add7d4d4853 (bug 1539265)
Backed out changeset 8015aeb5279d (bug 1539265)
Backed out changeset 19c8e404ac5f (bug 1539265)
Backed out changeset 637a9d6af0f3 (bug 1539265)
Backed out changeset 72bbb4b28932 (bug 1539265)
Backed out changeset 931e98129878 (bug 1539265)
2019-04-02 02:44:43 +03:00
Ian Moody efc53df901 Bug 1539265 - Don't represent ::marker pseudo-elements with the internal _moz_generated_content_marker tagName in the markup view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25108

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:49 +00:00
Ian Moody 76dd66e399 Bug 1539265 - Add a few optimisations for ::marker pseudos. r=jdescottes
Where there is existing for ::before and ::after.

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:44 +00:00
Ian Moody addac983bb Bug 1539265 - Add isMarkerPseudoElement function to layout/utils.js. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25105

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:33 +00:00
Ian Moody 8e985aa314 Bug 1539265 - Handle ::marker pseudo-elements in css-logic.js, so their rules show in the rule view. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D25071

--HG--
extra : moz-landing-system : lando
2019-04-01 21:45:28 +00:00
Philip Chimento 7262bcdffb Bug 1506324 - Use DefaultGlobalClassOps in existing code. r=tcampbell
Reviewers: tcampbell

Subscribers: jandem

Bug #: 1506324

Differential Revision: https://phabricator.services.mozilla.com/D11571
2019-03-31 15:30:45 -07:00