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

2708 Коммитов

Автор SHA1 Сообщение Дата
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
Thomas dfa7158ec5 Bug 1521917 - Set a max width on infobar text. r=mtigley
Add a max width on infobar when inspecting elements.
The intent is to prevent very long infobars due to autogenerated classes or id.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 16:44:53 +00:00
Julian Descottes 6ccaf3f597 Bug 1544372 - part2: filter out hidden webextensions by default in about:debugging r=daisuke,Ola
Depends on D28629
Follows exactly the same pattern as showSystemAddons. Enabled by default for local builds, disabled otherwise.

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

--HG--
extra : moz-landing-system : lando
2019-04-26 13:58:35 +00:00
Julian Descottes 6bb4bedecb Bug 1544372 - part1: sort webextension actor objects alphabetically (tidying) r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28629

--HG--
extra : moz-landing-system : lando
2019-04-26 13:57:04 +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
Honza Bambas 5f945421d4 Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
Differential Revision: https://phabricator.services.mozilla.com/D23150

--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Brindusan Cristian f92b05e5f0 Merge inbound to mozilla-central. a=merge
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Julian Descottes 08809aa81d Bug 1507459 - Register performance actor even if new performance panel is enabled r=julienw
The server should not be driven by a client-side performance about which perf panel is enabled.
To preserve the behavior, the performance connection will not be initiated by the toolbox if the new perf panel is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 09:31:27 +00:00
jaril 1aa19f42ad Bug 1538054 - Toggle off 'Pause on Exception' immediately. r=loganfsmyth
After toggling off 'Pause on exceptions' in the debugger, exceptions were still being paused on once.

This was because the server's exception-pausing behavior was not toggled off until an exception was paused on. This patch makes it so that the behavior is changed immediately after unchecking the 'Pause on exceptions' checkbox in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 16:30:03 +00: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
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 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
Razvan Caliman 19ecfe66b0 Bug 1542213 - Track newly added CSS rules in the Changes panel. r=pbro
Introduces tracking for newly created CSS rules in the PageStyleActor.

Adds a boolean flag, `isNew`, to the tracked rule in the Changes Redux store. Using this flag, render the new rule's selector in the React component as added (plus sign, green background). Ensure selector changes for thew new rule always overwrite the original selector (fix for Bug 1542288) instead of erroneously showing the original selector as removed.

Removes obsolete documentation for "changeType" from the tracked rule in the Changes Redux store. This was never used.

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

--HG--
extra : moz-landing-system : lando
2019-04-23 07:59:12 +00:00
Ryan Hunt d6509bb237 Bug 1534395 - Rename TabChild to BrowserChild. r=nika
This commit renames TabChild to BrowserChild.

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

--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05: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
Gurzau Raul 52b651e168 Merge inbound to mozilla-central. a=merge 2019-04-20 12:54:53 +03:00
Coroiu Cristina e687fbf549 Backed out changeset dedf066bfcfc (bug 1538054) for xpcshell failures at devtools/server/tests/unit/test_pause_exceptions-04.js on a CLOSED TREE 2019-04-20 00:09:05 +03:00
jaril 2e143cda16 Bug 1538054 - Toggle off 'Pause on Exception' immediately. r=loganfsmyth
After toggling off 'Pause on exceptions' in the debugger, exceptions were still being paused on once.

This was because the server's exception-pausing behavior was not toggled off until an exception was paused on. This patch makes it so that the behavior is changed immediately after unchecking the 'Pause on exceptions' checkbox in the debugger.

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

--HG--
extra : moz-landing-system : lando
2019-04-19 15:35:53 +00: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
Jason Laster f2cd91cb30 Bug 1545103 - applyBreakpoint should no longer support fuzzy matches.
Differential Revision: https://phabricator.services.mozilla.com/D28203

--HG--
extra : moz-landing-system : lando
2019-04-19 16:07:24 +00:00
Noemi Erli cf310dc4ad Backed out changeset 3240b92c5566 (bug 1545103) for failures in test_setBreakpoint-at-the-beginning-of-a-minified-fn.js 2019-04-19 17:29:37 +03:00
Jason Laster 6828479873 Bug 1545103 - applyBreakpoint should no longer support fuzzy matches. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D27943

--HG--
extra : moz-landing-system : lando
2019-04-19 13:29:50 +00:00
Brian Hackett ee403cec34 Bug 1544170 Part 3 - Inspector changes to fetch style sheets from replaying process, r=pbro.
Differential Revision: https://phabricator.services.mozilla.com/D27410

--HG--
extra : rebase_source : a70fc90d042f7b9d0fdec65aadff911c90f8edf7
2019-04-12 16:36:12 -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
Dorel Luca 928f6e4b9f Merge mozilla-central to inbound
--HG--
extra : rebase_source : 54aeee031a564bbb761eb853f092e26626dd7ee2
2019-04-20 00:46:59 +03:00
Arpit 474e467436 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418

--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
Andreea Pavel eb0b5758ea Merge mozilla-central to autoland. on a CLOSED TREE 2019-04-19 00:48:30 +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
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
Yura Zenevich f69345fb1f Bug 1544714 - ensure that the contrast ratio check required stylesheet does not get removed while calculating contrast. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D27897

--HG--
extra : moz-landing-system : lando
2019-04-18 07:16:07 +00:00
Rob Wu 1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00: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 060fc67e56 Bug 1544678 - fixing a11y audit when checking an accessible object with no bounds. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D27884

--HG--
extra : moz-landing-system : lando
2019-04-17 12:28:04 +00:00
Brindusan Cristian ee3905439a Merge inbound to mozilla-central. a=merge 2019-04-17 12:37:47 +03:00
Brian Hackett 5c94bc3cfa Bug 1543751 Part 3 - Use stack for error location if none was specified, r=nchevobbe.
--HG--
extra : rebase_source : c6e220d486ea9886f307ef70cb044ab9dc08c586
extra : histedit_source : 76faa1811cc2f7064d803e18917430dc8312b961
2019-04-15 13:48:32 -10: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
Nicolas Chevobbe d1db0f1589 Bug 1260877 - Add a `chromeContext` property to ConsoleMessage. r=bgrins.
This property was already in console api message packet,
and this patch also adds it to pageError packets (retrieving
it from nsIScriptError.isFromChromeContext).

Stubs are updated to include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 09:08:34 +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
Razvan Maries 37613b6718 Backed out 3 changesets (bug 1260877) for perma dt fails on devtools/client/webconsole/test/fixtures/stub-generators/browser_webconsole_check_stubs_page_error.js. CLOSED TREE
Backed out changeset 10fd2d1f0fa2 (bug 1260877)
Backed out changeset e4f28c656165 (bug 1260877)
Backed out changeset 17059c813d40 (bug 1260877)
2019-04-16 10:09:37 +03:00
Julian Descottes 1f5a3831f6 Bug 1544261 - Skip tests that try to disable a11y service on aarch64 r=yzen
Depends on D27468

As suggested, some additonal tests that should be skipped on this platform.
A first batch of tests were disabled in Bug 1533184

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

--HG--
extra : moz-landing-system : lando
2019-04-16 06:37:21 +00:00
Nicolas Chevobbe fa11ea4fc4 Bug 1260877 - Add a `chromeContext` property to ConsoleMessage. r=bgrins.
This property was already in console api message packet,
and this patch also adds it to pageError packets (retrieving
it from nsIScriptError.isFromChromeContext).

Stubs are updated to include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 05:32:34 +00: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
Brian Grinstead e1abf1b768 Bug 1542843 - Don't special case XUL documents in webExtensionTargetPrototype._shouldAddNewGlobalAsDebuggee;r=rpl
As we convert more chrome documents away from XUL we end up running
through two different paths in this function. These are going to be
filtered out in later checks anyway, so this change removes the early return.

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

--HG--
extra : moz-landing-system : lando
2019-04-08 19:26:23 +00:00