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

16069 Коммитов

Автор SHA1 Сообщение Дата
David Walsh 52443a5de3 Bug 1551945 - Ensure search inputs receive focus r=jlast
The previous patch for focus CSS was to aggressive -- this reverts that change and better focuses the feature

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

--HG--
extra : moz-landing-system : lando
2019-05-28 14:03:56 +00:00
Jason Laster 050fe9e3d6 Bug 1552424 - Go to file is slow when searching for a file. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32328

--HG--
extra : moz-landing-system : lando
2019-05-28 13:23:39 +00:00
David Walsh 2db41012f6 Bug 1157817 - Show blocked requests in the Network Monitor r=Honza,Harald
Displays blocked requests in the Network monitor request listing, providing a reason for why the request was blocked based on response codes provided b nsILoadInfo.idl

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

--HG--
extra : moz-landing-system : lando
2019-05-28 12:13:08 +00:00
Patrick Brosset a6088694e9 Bug 1554727 - Check if selectorText exists before testing its content; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32737

--HG--
extra : moz-landing-system : lando
2019-05-28 09:37:53 +00:00
Chris DeLuca bc3eb51448 Bug 1543008 - Prevent event propagation in OpenLink webconsole function. r=nchevobbe
Before this change, ctrl/cmd clicking a url in an array in the web
console also opened the sidebar. Preventing event propagation stop the
click from getting to sidebar opening function.

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

--HG--
extra : moz-landing-system : lando
2019-05-27 06:24:11 +00:00
Vincent Lequertier 3f41c3104f Bug 1552629 - Fix misaligned "Edit and Resend" button in the netmonitor Headers panel;r=Honza
If the "Referrer Policy" header is missing, summaryReferrerPolicy is null,
so summaryEditAndResendBtn contains only the "Edit and Resend" button, making it
misaligned. We fix this by making sure summaryEditAndResendBtn always contains
the last non-null header.

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

--HG--
extra : moz-landing-system : lando
2019-05-27 07:23:44 +00:00
tanhengyeow ddb81c7a43 Bug 1554095 - Fix Block URL action. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D32522

--HG--
extra : moz-landing-system : lando
2019-05-27 06:47:10 +00:00
pradeepgangwar 60e1e451c8 Bug 1436043- Fix: console missing coloured bars, adds requests.css to webconcole; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32571

--HG--
extra : moz-landing-system : lando
2019-05-27 06:10:39 +00:00
Jean-Yves Avenard 022c57caf3 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-26 14:31:53 +00:00
Yura Zenevich 32e7d4ed2b Bug 1553192 - filter visible rows on demoand instead of when calculating refs. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D32030

--HG--
extra : moz-landing-system : lando
2019-05-25 13:46:49 +00:00
Gurzau Raul 967bc2a754 Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422)
Backed out changeset a16295296035 (bug 1550422)
Backed out changeset 3b70307c0db5 (bug 1550422)
Backed out changeset 69df7818d4a3 (bug 1550422)
Backed out changeset d98dfc565927 (bug 1550422)
Backed out changeset 6f0997976944 (bug 1550422)
Backed out changeset 0edd264464c2 (bug 1550422)
Backed out changeset 9ea6da7a74ec (bug 1550422)
Backed out changeset f855f9309c8b (bug 1550422)
Backed out changeset 1033546224a7 (bug 1550422)
Backed out changeset ade7384c6186 (bug 1550422)
Backed out changeset 75b04de7e99c (bug 1550422)
Backed out changeset 91c3acdb2454 (bug 1550422)
Backed out changeset 77d2f80257d1 (bug 1550422)
Backed out changeset e0cd10d35327 (bug 1550422)
Backed out changeset 097091082423 (bug 1550422)
Backed out changeset 2f328853c1ab (bug 1550422)
Backed out changeset f92f2cc29cb1 (bug 1550422)
Backed out changeset 6dc82f88333d (bug 1550422)
Backed out changeset c20f66494d69 (bug 1550422)
Backed out changeset 2ba22cddeb6f (bug 1550422)
Backed out changeset 3aa72f89e295 (bug 1550422)
Backed out changeset ab4c4e806977 (bug 1550422)
Backed out changeset 72e5de040dda (bug 1550422)
Backed out changeset 7d3c2d486706 (bug 1550422)
Backed out changeset 132e0b8d8468 (bug 1550422)
Backed out changeset 54c85ac75dd0 (bug 1550422)
Backed out changeset d7ba4a18dd54 (bug 1550422)
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard 074aea57fe Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-24 11:37:50 +00:00
David Walsh 1f92597fe6 Bug 1553278 - Fix download file functionality in debugger r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D32050

--HG--
extra : moz-landing-system : lando
2019-05-24 14:39:51 +00:00
Brindusan Cristian 5a5f5a78fb Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-25 00:54:26 +03:00
Brindusan Cristian fd5a4a259a Merge inbound to mozilla-central. a=merge 2019-05-25 00:49:05 +03:00
Micah Tigley 645a8295e3 Bug 1352070 - Part 2: RDM tests for ensuring that the values for the selected device's outerHeight/outerWidth properties are correct. r=bradwerth
Depends on D32253

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

--HG--
extra : moz-landing-system : lando
2019-05-24 16:58:53 +00:00
Jason Laster 4e00235a03 Bug 1551871 - Fix Intermittent browser_dbg-sourcemapped-preview.js. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D32498

--HG--
extra : moz-landing-system : lando
2019-05-24 17:57:04 +00:00
Barret Rennie 1cca2811c0 Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 18:49:08 +00:00
Yury Delendik a78fb97ef2 Bug 1554180 - Use devtools-mc-assets version of dwarf_to_json.wasm r=jlast
Debugger fails with current version of dwarf_to_json.wasm. Using proper version
fixes it when DWARF is used as source maps.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 14:22:40 +00:00
Kevin Morehouse 25f075630a Bug 1546109 - Replace references to generated properties in the server r=jlast
Replace:
        generatedSourceActor —> sourceActor
        generatedLine —> line
        generatedColumn —> column
        generatedLastColumn —> lastColumn
        generatedUrl —> url
        generatedLocation —> location
        GeneratedLocation —> SourceLocation
        parentGeneratedLocation —> parentLocation
    Replace references in comments to match the above changes.

The affected files are:

    devtools/server/actors/breakpoint.js
    devtools/server/actors/common.js
    devtools/server/actors/frame.js
    devtools/server/actors/thread.js
    devtools/server/actors/utils/TabSources.js

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

--HG--
extra : moz-landing-system : lando
2019-05-24 13:43:11 +00:00
Jan Odvarko 952295a420 Bug 1552110 - Properly render values in the Security panel r=fvsch
Differential Revision: https://phabricator.services.mozilla.com/D32324

--HG--
extra : moz-landing-system : lando
2019-05-24 13:01:01 +00:00
Noemi Erli f19596c1f0 Backed out changeset dc38da197244 (bug 1552464) for devtools failures in browser_telemetry_viewport_change.js 2019-05-24 15:48:34 +03:00
ivan 0a329b55e0 Bug 1533857 - Fix the broken link in docs r=sole
Fix the broken link in docs to devtools. The link to chapter about testing.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 12:21:18 +00:00
Brian Hackett d8aca5bfb7 Bug 1483350 - Fix some control logic bugs, r=loganfsmyth.
--HG--
extra : rebase_source : 28501766085216f8e731a0ea205a80eea069a798
2019-05-21 17:44:53 -10:00
Razvan Caliman 49cc754a87 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-24 08:52:41 +00: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
Andreea Pavel 47b1468a3e Bug 1551871 - disabled browser_dbg-sourcemapped-preview.js on linux and macosx1010 r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D32377

--HG--
extra : moz-landing-system : lando
2019-05-24 01:12:00 +00:00
Jason Laster c0b86a149c Bug 1550495 - Set directory root does not work for debugger.html. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D31313

--HG--
extra : moz-landing-system : lando
2019-05-23 18:00:47 +00:00
Julian Descottes 56918ca9d7 Bug 1552516 - Fix race condition in a devtools test. r=jdescottes,jlast
Differential Revision: https://phabricator.services.mozilla.com/D31800

--HG--
extra : moz-landing-system : lando
2019-05-23 16:45:08 +00:00
Daniel Varga af42676c4a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-05-23 18:59:21 +03:00
Daniel Varga 4cbc287f63 Merge mozilla-inbound to mozilla-central. a=merge 2019-05-23 18:54:21 +03: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
Florens Verschelde 2ca50ad16d Bug 1553556 - Revert devtools warning icon size and use console info icon in Rules; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D32181

--HG--
extra : moz-landing-system : lando
2019-05-23 11:01:43 +00:00
lloan 5e373b947c Bug 1341155 - Show full path in File column in developer tools. r=Honza
New column, defaulted to hidden, to show full URL for resource in netMonitor panel.

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

--HG--
extra : moz-landing-system : lando
2019-05-23 12:24:57 +00:00
Nicolas Chevobbe 68f7c8321c Bug 1553473 - Fix PropTypes. r=Honza.
The FilterBar propType was a leftover from a
previous patch where the prop was removed.
The SearchBox one was added in a recent patch,
but shouldn't have been required (as we have
a default in the render function for it).

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

--HG--
extra : moz-landing-system : lando
2019-05-23 09:26:44 +00:00
Gurzau Raul 74c555539e Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
Backed out changeset 5dd10a365ba9 (bug 1550422)
Backed out changeset 529f5be01ab9 (bug 1550422)
Backed out changeset b6861d3badf8 (bug 1550422)
Backed out changeset 059cff1a3dde (bug 1550422)
Backed out changeset 6ada1116b241 (bug 1550422)
Backed out changeset ca67e8e45262 (bug 1550422)
Backed out changeset a1961a51ae44 (bug 1550422)
Backed out changeset 1c90b9cb3ad4 (bug 1550422)
Backed out changeset 285fa46e4f26 (bug 1550422)
Backed out changeset e2938a444234 (bug 1550422)
Backed out changeset 7a930fc51125 (bug 1550422)
Backed out changeset 898ed02804fe (bug 1550422)
Backed out changeset e1b7abc99ae9 (bug 1550422)
Backed out changeset f781d415cef6 (bug 1550422)
Backed out changeset 2fef10a7cce5 (bug 1550422)
Backed out changeset ea64b4d8d4ff (bug 1550422)
Backed out changeset 86a8ba1b755c (bug 1550422)
Backed out changeset 9c0c9e80f309 (bug 1550422)
Backed out changeset 10c153ddbaea (bug 1550422)
Backed out changeset 60fe635ec2c9 (bug 1550422)
Backed out changeset a38796266b28 (bug 1550422)
Backed out changeset 2db647dcdf1c (bug 1550422)
Backed out changeset 952ddac02972 (bug 1550422)
Backed out changeset ba46b53643ec (bug 1550422)
Backed out changeset ca47ef6c59f7 (bug 1550422)
Backed out changeset f45f471a1a40 (bug 1550422)
Backed out changeset 371b4da5b771 (bug 1550422)
Backed out changeset 02fc78890032 (bug 1550422)
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard 8d7b592625 Bug 1550422 - P27. Fix long line. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D32247

--HG--
extra : moz-landing-system : lando
2019-05-23 00:22:21 +00:00
Jean-Yves Avenard d59781ac33 Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
And with some tidying some comments and removing stray #include "gfxPrefs.h"

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:46:30 +00:00
Bogdan Tara a0b69fc936 Backed out 4 changesets (bug 1510569) for 1419902.html failures CLOSED TREE
Backed out changeset 756519a7cf79 (bug 1510569)
Backed out changeset 39c6818fdb12 (bug 1510569)
Backed out changeset 3d9715a5ecd4 (bug 1510569)
Backed out changeset 418a61f5f87b (bug 1510569)
2019-05-23 01:58:51 +03:00
Brendan Dahl 2488d71403 Bug 1551320 - Replace another instance of createElement with createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D32211

--HG--
extra : moz-landing-system : lando
2019-05-22 20:19:28 +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
Gabriel Luong 4b9b573a46 Bug 1468402 - Part 3: Add test for subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D30512
2019-05-09 11:28:53 -04:00
Gabriel Luong 22a53ea7f9 Bug 1468402 - Part 2: Indent the subgrids in the grid list. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D29316
2019-04-30 00:50:50 -04: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
Barret Rennie 7f9cce7b9a Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-21 21:35:04 +00:00
Sebastian Hengst 14f9191527 Backed out changeset e20df5f95e44 (bug 1552434) for devtools failures in devtools/client/framework/test/browser_toolbox_options.js CLOSED TREE 2019-05-22 23:35:43 +02:00
Nicolas Chevobbe 0f03ba2e09 Bug 1552434 - Move timestamp preference change handler from webconsole-ui to App component. r=rcaliman.
It makes more sense to declare the preference changes in the root
React component, as other components (aboutdebugging, netmonitor, ...)
already do it.
Since we don't want to unmount the App component (which means we
won't fire any componentWillUnmount), we're turning the observer
into a weak referenced one so we don't leak.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 15:30:28 +00:00