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

15793 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth 431c907781 Bug 1541175 Part 3: Update test expectations. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D26614

--HG--
extra : moz-landing-system : lando
2019-05-03 23:06:54 +00:00
Brad Werth fcf2e160d9 Bug 1541175 Part 2: Force RDM UI to be at 100% zoom. r=pbro,ochameau
Once RDM is up-and-running, the Zoom UI will stay synchronized with the
zoom level of the RDM content pane. These changes ensure that the RDM
tools are forced to 100%, and then does a fixup to get the Zoom UI to
match the RDM content pane zoom level again.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 07:21:13 +00:00
Brad Werth cda550669d Bug 1541175 Part 1: Prevent fullZoom and textZoom from being remapped on RDM docshell swap. r=ochameau
There is no need to transfer these properties because the swap makes
the outer browser act as if it is remote, and then the message manager
tunnel ensures that the outer browser will get and set the zoom values
from the inner browser.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 17:59:36 +00:00
David Walsh 8a3b4ecd9f Bug 1533418 - Support multiple workers as roots. r=jlast
http://dbg-workers.glitch.me

Updated tests in SourcesTree.spec.js to pass and
added test to ensure sources are added to the correct thread

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

--HG--
extra : moz-landing-system : lando
2019-05-07 16:59:04 +00:00
Julian Descottes 2e2113744e Bug 1542286 - Add tests for Firefox Preview runtime info r=daisuke
Depends on D29485

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

--HG--
extra : moz-landing-system : lando
2019-05-07 15:23:16 +00:00
Julian Descottes 4107188124 Bug 1542286 - Share runtime info with DebugTargetInfo component via remote-client-manager r=daisuke
Depends on D29462

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

--HG--
extra : moz-landing-system : lando
2019-05-07 15:21:22 +00: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 590a0556ef Bug 1542286 - Use the Firefox Preview logo in about:debugging r=daisuke
Depends on D29376

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

--HG--
extra : moz-landing-system : lando
2019-05-07 12:02:28 +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
Jim Blandy 570a2fedee Bug 1540314: Devtools promise actor: Use ActorPool 'destroy' method. r=gl
The prior code calls '.cleanup()', but ActorPools have no 'cleanup' method. I
think it means to call 'destroy'.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 01:19:20 +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 a65b27ebde Bug 1542286 - Add tests for Firefox Preview runtime info r=daisuke
Depends on D29485

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

--HG--
extra : moz-landing-system : lando
2019-05-07 06:30:43 +00:00
Julian Descottes 7a0ab85ed8 Bug 1542286 - Share runtime info with DebugTargetInfo component via remote-client-manager r=daisuke
Depends on D29462

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

--HG--
extra : moz-landing-system : lando
2019-05-06 21:04:25 +00: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 3c60886916 Bug 1542286 - Use the Firefox Preview logo in about:debugging r=daisuke
Depends on D29376

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

--HG--
extra : moz-landing-system : lando
2019-05-06 20:56:48 +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
Megan Bailey 76142d0622 Bug 1545270 - Update CSS variable for Add Device Settings Input fields, r=victoria,pbro
Differential Revision: https://phabricator.services.mozilla.com/D29730

--HG--
extra : moz-landing-system : lando
2019-05-06 18:29:57 +00:00
Julian Descottes 6267b7b38c Bug 1401324 - Add mochitest for remembering temporary addon folder; r=daisuke
Depends on D29141

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

--HG--
extra : moz-landing-system : lando
2019-05-07 06:37:19 +00:00
Julian Descottes b0810657e1 Bug 1401324 - Remember last folder used to load a temporary extension r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29141

--HG--
extra : moz-landing-system : lando
2019-05-07 06:32:00 +00:00
Oana Pop Rus 65399363fb Merge inbound to mozilla-central. a=merge 2019-05-07 00:45:24 +03:00
Florens Verschelde 1383024db1 Bug 1549185 - Tweak the 12px Console icons; r=Honza
- Use an explicit 12x12 size in the SVG code
- Add a 12x12 variant of the globe icon, with a 1px stroke similar to the info icon
- Tweak the inner shapes of the info icon so that it looks a bit more clearly like a lowercase "i"

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

--HG--
extra : moz-landing-system : lando
2019-05-06 11:32:38 +00:00
Jason Laster 17836b9070 Bug 1548438 - Repeatedly refreshing causes the UI to go blank. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D29605

--HG--
extra : moz-landing-system : lando
2019-05-06 15:01:02 +00:00
chujun 701692021f Bug 1545129 Prevent "Enter" event from adding a new line in CodeMirror r=davidwalsh
The conditional breakpoint panel is wrapped in CodeMirror (starting from 6b0b968515). When hitting `Enter`, debugger/node_modules/codemirror/lib/codemirror.js will run line 7153 onKeyDown(), in which a new line is added. Then ConditionalPanel.js onKey() runs.

Solution: Ask CodeMirror not to add a new line when hit `Enter`.

Question:
I added two test cases to Mochitest. If I put a `debugger;` statement in the test file, ran ./mach mochitest --jsdebugger file/path`, keep `step over`, all tests pass. But when I ran`./mach mochitest same/file/path`, terminal stopped at "waiting for state change" then gave an error "Failed to retrieve MOZ_UPLOAD_DIR env var."
Error message screenshot:
{F1285339}

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

--HG--
extra : moz-landing-system : lando
2019-05-06 13:18:29 +00:00
Florens Verschelde 396100a0f3 Bug 1549324 - Fix red background color of Params and Response error; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D29995

--HG--
extra : moz-landing-system : lando
2019-05-06 11:24:28 +00:00
Julian Descottes 1390049a51 Bug 1548095 - Hide temporary addon category in about:debugging when xpinstall.enabled is false r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D29424

--HG--
extra : moz-landing-system : lando
2019-05-06 11:40:38 +00:00
Julian Descottes f1c34cfbf7 Bug 1523494 - Increase sw timeout in serviceworker_timeout.js mochitest r=daisuke
This mochitest had a very short SW timeout of 1 second, sometimes the worker would already be terminated before we could finish to attach a toolbox.
Increase the timeout to 4 seconds.

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

--HG--
extra : moz-landing-system : lando
2019-05-06 11:37:26 +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
Florens Verschelde f00a2adf5f Bug 1548317 - Fix twisty color in selected TreeView rows; r=Honza,yzen
Changes impact theme-twisty icons in the TreeView component:
- Make sure theme-twisty uses the selection color (white) in selected rows;
  but override that style for Network details accordion headers.
- Improve the vertical alignment and pixel-perfect icon rendering by
  making sure the icon element takes the full available height (16px)
  and avoiding assymetrical padding (affects the rendering of centered
  background-image, making them blurry on 1x displays).
- Tweak the horizontal spacing of theme-twisty icons so that they take
  up a total of 20px width (similar to what is used in Debugger and
  Inspector), versus 17px previously.

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

--HG--
extra : moz-landing-system : lando
2019-05-05 13:39:41 +00:00
Yura Zenevich af91b95fa3 Bug 1548842 - always try to center selected row when toggling audit filter. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29830

--HG--
extra : moz-landing-system : lando
2019-05-03 17:46:58 +00:00
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