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

15762 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 6eb2084136 Bug 1544811 - Use web processes on a per-site basis for fission-enabled windows, r=mconley
This patch introduces a new type of content process, which has a dynamic name.
This type of content process is labeled as `webIsolated=${SITE_ORIGIN}` and is
used within fission-enabled windows.

To enable this, additional information about the fission status of the target
window must be passed into E10SUtils. This was done by updating every call site
manually to pass an extra boolean. A better solution perhaps should be used in
the future.

With this patch enabled, we now perform process switches, but only when
navigating to HTTP URIs. If we navigate to a non-HTTP URI in an iframe with
fission enabled, it will not behave correctly. This must be done in a
follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 21:31:57 +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
Daniel Holbert 28786b973e Bug 1548589: Fix a code-comment in devtools to reference the new name of a renamed file. r=Honza
DONTBUILD because this is just a comment tweak.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 08:21:25 +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
Razvan Caliman ee3a5432fb Bug 1093953 - (Part 2) Update test fixtures and add new test for CSS warnings in console. r=Honza
Depends on D28457

This commit separates the test-related changes from part one in D28457.

It updates the test fixtures to include the newly introduced `cssSelectors` field for messages used in tests.

It adds a test file for the newly introduced `CSSWarning` React component which is mostly a trimmed-down clone of the test for `PageError` component from which the component was forked. For now, just the basic toggle behavior of the component is tested. The test for calling the server to query DOM elements is not yet instrumented.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 11:21:09 +00:00
Razvan Caliman d0f3354428 Bug 1093953 - (Part 1) Make CSS warnings expandable to show affected DOM elements. r=Honza
This patch builds on [Bug 1537876](https://bugzilla.mozilla.org/show_bug.cgi?id=1537876) which associates CSS selectors with error messages where applicable.

This patch introduces a new React component, `CSSWarning`, for messages of type CSS. It forks the`PageError` component which was shared for `LOG` messages of type `JAVASCRIPT` and type `CSS`.

The `CSSWarning` component is expandable when the message has an associated CSS selector. When expanded, it runs a `document.querySelectorAll()` command to list all elements matching the selector. Clicking on any of the elements in the result jumps to the Inspector and select the corresponding node in the markup view.

Not all errors have associated CSS selectors. Not all selectors match elements. The errors/warnings are a result of the CSS Parser; there is no guarantee that the CSS rule is used anywhere on the document. The query may return an empty `NodeList`.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 13:01:27 +00:00
Julian Descottes 7b911e7022 Bug 1539456 - part2: Remove WebIDE toolbar button r=ntim,Ola
Depends on D29219

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

--HG--
extra : moz-landing-system : lando
2019-05-03 08:40:49 +00:00
Julian Descottes 6cc021278c Bug 1539456 - part1: Rename Service Workers menu-item to Remote Debugging r=Ola,flod
Removed the Service Workers menu item, added Remote Debugging instead. Remote Debugging is displayed just above WebIDE

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

--HG--
extra : moz-landing-system : lando
2019-05-03 11:41:24 +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
Ola Gasidlo 9dda0571c2 Bug 1547182 - Added borders for error / warning messages r=jdescottes
Added borders for error / warning messages. Reduced line height in message body. Added more space between device list / message and refresh device button

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

--HG--
extra : moz-landing-system : lando
2019-05-03 07:32:32 +00:00
Ola Gasidlo 33220dfdc0 Bug 1547658 - fix second line cut off in sidebar item__runtime__details r=jdescottes
Fixed second line that has been cut off in the sidebar item detail of the remote runtime

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

--HG--
extra : moz-landing-system : lando
2019-05-03 07:13:09 +00:00
Yura Zenevich e1400699f4 Bug 1546081 - ensure that a11y audit filters do not shrink or wrap when resized. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29394

--HG--
extra : moz-landing-system : lando
2019-05-02 16:51:43 +00:00
Yura Zenevich 66f7cf81b0 Bug 1545304 - polish for a11y panel audit throbber styling. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29374

--HG--
extra : moz-landing-system : lando
2019-05-02 16:48:59 +00:00
Yura Zenevich e3cbd41a42 Bug 1547068 - making badges in tree non-interactive as per ui-review. r=mtigley
Depends on D29342

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

--HG--
extra : moz-landing-system : lando
2019-05-02 18:55:33 +00:00
Yura Zenevich c087faa4dc Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-03 04:05:36 +00:00
Bogdan Tara a3eab309d8 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html crashes CLOSED TREE
Backed out changeset fc0ae629221a (bug 1510569)
Backed out changeset 97f6ac273b5d (bug 1510569)
2019-05-03 03:48:15 +03:00
Barret Rennie 93a50953e0 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-02 23:36:24 +00:00
Gurzau Raul 0068b9927d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-05-03 01:17:27 +03:00
Gurzau Raul 39cabb27e2 Merge inbound to mozilla-central. a=merge 2019-05-03 01:02:21 +03:00
Brindusan Cristian 05b6a8de1e Backed out 6 changesets (bug 1392408) for build bustages at nsContentPolicy.cpp and nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset a32ab60deb60 (bug 1392408)
Backed out changeset 69cbc0afb1f1 (bug 1392408)
Backed out changeset cd9081aac4bf (bug 1392408)
Backed out changeset d88d5959f4a6 (bug 1392408)
Backed out changeset 01fd757e335b (bug 1392408)
Backed out changeset 872645a5122c (bug 1392408)
2019-05-02 19:57:25 +03:00
Thomas Nguyen 23f12685bd Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22787

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
shindli f58e49c03e Backed out changeset 082c0dba73cb (bug 1544710) for causing dt permafailures in devtools/client/netmonitor/test/browser_net_propertiesview-copy.js CLOSED TREE 2019-05-02 15:33:01 +03:00
Yura Zenevich 3a6c1c6a49 Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-02 04:32:33 +00:00
Julian Descottes 46a3720013 Bug 1531315 - Rename aboutdebugging test classnames from js-* to qa-* r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28946

--HG--
extra : moz-landing-system : lando
2019-05-02 10:14:47 +00:00
Brian Grinstead 787d9413a8 Bug 1500626 - Convert <menuitem> bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D9322

--HG--
extra : moz-landing-system : lando
2019-05-02 19:28:18 +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
Bogdan Tara 86cbef62d0 Backed out 2 changesets (bug 1510569) for crashtests/1419902.html failures CLOSED TREE
Backed out changeset 13c5249d66a7 (bug 1510569)
Backed out changeset a6ad4039d785 (bug 1510569)
2019-05-02 21:30:20 +03:00
Barret Rennie b32c02517c 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-02 16:20:34 +00:00
Harald Kirschner ef4cfc237c Bug 1538404 - Adding button hover to jump-to-definition on event handlers r=nchevobbe
The button (using a div) did not have any hover state before this patch.
While the CSS tried to control the stroke color, the SVG was not set up
for this – also fixed in this bug to correctly use the theme colors.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:35:15 +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
Julian Descottes d6ec45959c Bug 1548461 - Set about:debugging sidebar width to 280px to fit connection warning r=Ola
Connection warnig is too tall in the current 260px-wide sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 09:35:59 +00:00
Brian Hackett 239349eaf6 Bug 1392408 Part 6 - Add test for capturing worker stacks in net monitor, r=ochameau.
--HG--
extra : rebase_source : 4d4c0e454dbe607462875a655aa407cfc9d57075
2019-04-19 07:34:51 -10:00
Brian Hackett 0a2217b0f5 Bug 1392408 Part 5 - Listen for alternate stack traces in StackTraceCollector, r=ochameau.
--HG--
extra : rebase_source : bcf3ad535fb151edecfd3e3e0f538e38827d4d67
2019-04-19 07:25:52 -10:00
Brian Hackett 1b63eb551b Bug 1544976 - Ignore exceptions thrown while attaching to worker threads, r=loganfsmyth.
--HG--
extra : rebase_source : 6e418bc3040f8ba82b9485b1f9706c16dd8dec87
2019-05-01 07:15:32 -10:00
Razvan Maries 8580df0d11 Bug 1456013. Disabled test browser_dbg-worker-scopes.js on Linux. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D29454

--HG--
extra : moz-landing-system : lando
2019-05-01 12:27:25 +00:00
neha 302a31866e Bug 1236509 -Fixes inconsistency in network panel: connection is secure but displayed icon is the globe instead of the lock r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24320

--HG--
extra : moz-landing-system : lando
2019-05-01 15:16:11 +00:00
Razvan Maries f88dffff7e Backed out 2 changesets (bug 1306054) for l10n issues.
Backed out changeset 88fb590040c4 (bug 1306054)
Backed out changeset 4369c5635972 (bug 1306054)
2019-05-01 13:27:12 +03:00
Sylvestre Ledru e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Joel Maher 6611f95ab0 Bug 1546459 - remove subsuite=clipboard from manifests. r=ahal
remove subsuite=clipboard from manifests

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:16:44 +00:00
Daniel Varga 5e20c14b02 Backed out 2 changesets (bug 1322385) for mochitest failure at: toolkit/content/tests/chrome/test_findbar_entireword.xul
Backed out changeset 31a0bd977b2f (bug 1322385)
Backed out changeset feef45c56170 (bug 1322385)
2019-04-30 22:10:33 +03:00
Brad Werth 97d34abaef Bug 1322385 Part 2: Add a test that RDM content triggers typeahead find correctly. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29085

--HG--
extra : moz-landing-system : lando
2019-04-29 22:01:07 +00:00
Logan Smyth 329acb6ec4 Bug 1547811 - Part 2: Use Resource utilities to implement Source getAllDisplayedSources. r=jlast
Depends on D29261

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:49:22 +00:00
Logan Smyth d18ac69d16 Bug 1547811 - Part 1: Use Resource utility for Source type. r=jlast
Depends on D29260

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

--HG--
extra : moz-landing-system : lando
2019-04-29 21:48:10 +00:00
Logan Smyth 35c2b39937 Bug 1547318 - Change resource util to more usable and update source-actor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D29260

--HG--
extra : moz-landing-system : lando
2019-04-30 15:52:52 +00: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
Julian Descottes 8430fc3bfe Bug 1547984 - Reduce aboutdebugging sidebar width r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D29359

--HG--
extra : moz-landing-system : lando
2019-04-30 15:38:45 +00:00
Michael Ratcliffe 5aab30087d Bug 1306054 - [inactive CSS] Fix current tests and add new test r=rcaliman
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=0bad22682ebfa917a91e9b95dab5345093f68d79

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

--HG--
extra : moz-landing-system : lando
2019-04-30 15:22:46 +00:00