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

19459 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 8402a087bc Backed out changeset f216619d394a (bug 766661) for failures on browser_jsterm_screenshot_command_warnings.js. CLOSED TREE 2020-02-28 18:11:05 +02:00
Nicolas Chevobbe f530815a66 Bug 1609942 - Display autocomplete popup at the top of the input. r=jdescottes,Honza.
This prevents the popup to cover the eager evaluation result.
In order for the popup to be able to appear outside of the
toolbox, we pass the useXulWrapper option to the HTMLTooltip.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 15:10:19 +00:00
Nicolas Chevobbe ed86c822c0 Bug 1616847 - When xulWrapper is visible move it instead of trying to show it again. r=jdescottes.
If the XUL wrapper was opened and a consumer called show again,
the panel wouldn't update its position. This can be fixed by checking the
state of the element, and if it's open move the panel using `_moveXulWrapperTo`.

With this change in place, we can remove the updateContainerBounds methods,
as it has the same arguments and is only used in one place.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 15:08:22 +00:00
Patrick Brosset e2b30dea5c Bug 766661 - Attempt to prevent screenshot failures and warn user on errors r=nchevobbe
The changes made here are meant to make the screenshot code in DevTools
closer to how the Firefox Screenshots addon works.

1. It cuts off large images to 10000x10000
2. It reduces drp to 1 for fullpage images

When those things happen, a warning is logged in the content console so
the user is aware that they did happen.

Finally, because there are still cases when taking a screenshot could fail,
an error is logged in the content console when this happens.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 11:00:05 +00:00
Kriti Singh 77a2caa4f0 Bug 1614912: Prop not required in Toolbar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D64594

--HG--
extra : moz-landing-system : lando
2020-02-28 12:07:59 +00:00
Tom Schuster 153e94dcd2 Bug 1549641 - Add devtools test for overwritten name and message in error object r=bzbarsky
I had problems running this test locally and it turns out cssErrorReportingEnabled is not
set/unset correctly. Thanks to Boris for pointing that out.

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

--HG--
extra : moz-landing-system : lando
2020-02-28 12:13:49 +00:00
Julian Descottes c556500039 Bug 1579042 - Test tab descriptor in browser_target_parents.js r=ochameau
Depends on D63504

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

--HG--
extra : moz-landing-system : lando
2020-02-28 12:11:43 +00:00
Julian Descottes 2070a97ab6 Bug 1579042 - Fix race condition in tests after introducing tab descriptors r=ochameau
Depends on D63503

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

--HG--
extra : moz-landing-system : lando
2020-02-28 11:46:02 +00:00
Julian Descottes b55ae3db68 Bug 1579042 - Return threadActor in browsing context form updates r=ochameau
Depends on D63502

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

--HG--
extra : moz-landing-system : lando
2020-02-28 11:45:49 +00:00
Julian Descottes 5672e124d1 Bug 1579042 - Move tab call to getTarget from the server to the client r=ochameau
Depends on D63501

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

--HG--
extra : moz-landing-system : lando
2020-02-28 11:45:32 +00:00
Julian Descottes 2f82400fe9 Bug 1579042 - migrate TabDescriptorActor to a protocol.js actor r=ochameau
depends on D63498

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

--HG--
extra : moz-landing-system : lando
2020-02-28 11:45:14 +00:00
Julian Descottes fef1bfd954 Bug 1579042 - Rename FrameTargetProxyActor to TabDescriptorActor r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D63498

--HG--
rename : devtools/server/actors/targets/frame-proxy.js => devtools/server/actors/descriptors/tab.js
extra : moz-landing-system : lando
2020-02-28 11:44:51 +00:00
Vuong Hoang a6f782307d Bug 1601278 - Enable LONG MODE JSONPreview by default r=bomsy
Differential Revision: https://phabricator.services.mozilla.com/D64701

--HG--
extra : moz-landing-system : lando
2020-02-28 11:15:41 +00:00
Nicolas Chevobbe 67c18495c0 Bug 1618244 - Simplify browser_webconsole_split.js function. r=Honza.
Use async function instead of the complex single Promise we had before.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 17:27:34 +00:00
Outvi V fc092fc7f8 Bug 1617672 - Avoid outputting filter category as an unprefixed class on filter buttons. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D64600

--HG--
extra : moz-landing-system : lando
2020-02-28 08:51:44 +00:00
Jason Laster 94122266ac Bug 1605329: Console input should execute expression in the right context. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D63423

--HG--
extra : moz-landing-system : lando
2020-02-27 22:43:23 +00:00
Hubert Boma Manilla e3c1ae3a47 Bug 1613890 - Refactored the Security panel to use request-details/PropertiesView r=Honza
- Moved and updated SecurityPanel
	- upated moz.build files
	- removed unused openLink parameter

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

--HG--
rename : devtools/client/netmonitor/src/components/SecurityPanel.js => devtools/client/netmonitor/src/components/request-details/SecurityPanel.js
extra : moz-landing-system : lando
2020-02-27 16:58:33 +00:00
Andrew McCreight 4babb2b5ab Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 17:39:15 +00:00
Hubert Boma Manilla 9913a2ecc8 Bug 1618511 - Added the accordion css to the console index file r=nchevobbe
Added the shared accordion css to the console's index file so
	that the xhr request tabs get the accordion style updates.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 14:47:40 +00:00
Nicolas Chevobbe 6e76399b0e Bug 1618480 - Improve browser_dbg_-scopes-duplicated coverage. r=jdescottes.
This patch adds more test cases so we also check
deep-properties with the same shared value can
still be expanded.
A helper is added so it's easier to visualize the
actual state of the scopes panel.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 10:56:56 +00:00
Outvi V 9a3becb360 Bug 1593837 - Add corresponding tests. r=Honza
This test is based on browser_net-ws-filter-freetext.js.

Depends on D64409

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

--HG--
extra : moz-landing-system : lando
2020-02-27 10:56:35 +00:00
Outvi V 4f5b9e90d2 Bug 1593837 - Filter WS messages with regular expressions. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D64409

--HG--
extra : moz-landing-system : lando
2020-02-27 10:54:53 +00:00
2cl 0705262353 Bug 1617529 - Rename client/shared/components/AutoCompletePopup.js to SearchBoxAutocompletePopup. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D64417

--HG--
rename : devtools/client/shared/components/AutoCompletePopup.js => devtools/client/shared/components/SearchBoxAutocompletePopup.js
extra : moz-landing-system : lando
2020-02-27 10:42:12 +00:00
Narcis Beleuzu b2ccce862e Backed out changeset 2c1dd534e937 (bug 1603673) for geckoview failures on webAppManifestPref. CLOSED TREE 2020-02-27 08:50:39 +02:00
Marcos Cáceres 2cc840acbb Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp,agi,ladybenko
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 18:41:59 +00:00
Ciure Andrei 00dd87f6f4 Backed out changeset d407a28318e6 (bug 1609815) for causing windows ming bustages CLOSED TREE
--HG--
extra : histedit_source : b2c748e31e0f6ba8fcf9960a336e0bbd361b07e6
2020-02-27 07:05:19 +02:00
Andrew McCreight b197e1f783 Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown
Patch by bhackett and jlaster. Also reviewed by mccr8.

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

--HG--
extra : moz-landing-system : lando
2020-02-27 04:43:48 +00:00
chujun 069ae644a5 Bug 1564272 - Add WebSocket events to event breakpoints r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D64278

--HG--
extra : moz-landing-system : lando
2020-02-27 01:19:56 +00:00
Cosmin Sabou 0d4837b9f2 Backed out changeset 8f9a32288d2c (bug 1605329) for dt failures on browser_toolbox_remoteness_change.js.
CLOSED TREE

--HG--
extra : rebase_source : 089fcd86febdece7e450d1c03eaeee7dedebf2d8
2020-02-27 00:12:22 +02:00
Jason Laster 92da0c32c4 Bug 1605329: Console input should execute expression in the right context. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D63423

--HG--
extra : moz-landing-system : lando
2020-02-26 20:38:09 +00:00
Kris Maglione 9fe389f830 Bug 1609443: Part 2 - Fix most dodgy uses of fission.autostart pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D64435

--HG--
extra : moz-landing-system : lando
2020-02-26 19:43:32 +00:00
Cosmin Sabou 118b61a3ad Backed out 2 changesets (bug 1616847, bug 1609942) for devtools failures on browser_jsterm_autocomplete_getters_cache.js.
CLOSED TREE

Backed out changeset 0ee1ac6bab06 (bug 1609942)
Backed out changeset 2357c3d7aa4a (bug 1616847)

--HG--
extra : histedit_source : 2b51afa3c551d06d8ca8b3a35ab0466be1921400
2020-02-26 21:39:11 +02:00
Nicolas Chevobbe 53f7daba4b Bug 1609942 - Display autocomplete popup at the top of the input. r=jdescottes,Honza.
This prevents the popup to cover the eager evaluation result.
In order for the popup to be able to appear outside of the
toolbox, we pass the useXulWrapper option to the HTMLTooltip.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:46:45 +00:00
Nicolas Chevobbe 0283a587d3 Bug 1616847 - When xulWrapper is visible move it instead of trying to show it again. r=jdescottes.
If the XUL wrapper was opened and a consumer called show again,
the panel wouldn't update its position. This can be fixed by checking the
state of the element, and if it's open move the panel using `_moveXulWrapperTo`.

With this change in place, we can remove the updateContainerBounds methods,
as it has the same arguments and is only used in one place.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 13:03:41 +00:00
Micah Tigley 59b1a9bb5b Bug 1604726 - Use a ResizeObserver to responsively size the toolbar. r=bgrins
The RDM toolbar currently scrolls with the page when there is overflow in `.browserStack`. This is because the browser viewport can be set to a size larger than browser window. The solution here sets makes the toolbar `position: fixed` and utilizes the `ResizeObserver` to adjust the size of the device modal/selector to take up the size of the browser stack.

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

--HG--
extra : moz-landing-system : lando
2020-02-26 14:46:58 +00:00
Florens Verschelde b5994c2d76 Bug 1616343 - Align EagerEvaluation vertical spacing to message spacing; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D63243

--HG--
extra : moz-landing-system : lando
2020-02-26 13:49:53 +00:00
Julien Wajsberg 8d66af6027 Bug 1497403 - Account for cases where the buffer gets full during the run of the test r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D64098

--HG--
extra : moz-landing-system : lando
2020-02-25 16:58:00 +00:00
Sebastian Zartner 70f1b4f8ba Bug 1152321 - Added tests for measuring tool resizing via mouse. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D54433

--HG--
extra : moz-landing-system : lando
2020-02-23 19:49:39 +00:00
Sebastian Zartner e989717d58 Bug 1152321 - Added handlers to measuring tool allowing to resize the selected area via mouse. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D57198

--HG--
extra : moz-landing-system : lando
2020-02-23 19:49:01 +00:00
Tanny_m 010d102d37 Bug 1597046 - addressing the revision. r=sebo
Differential Revision: https://phabricator.services.mozilla.com/D55384

--HG--
extra : moz-landing-system : lando
2019-12-10 21:54:05 +00:00
Jason Laster 65cbf8cd38 Bug 1616322 - Update Async Stack UI.
Differential Revision: https://phabricator.services.mozilla.com/D63212

--HG--
extra : moz-landing-system : lando
2020-02-26 06:24:04 +00:00
Andrew McCreight de671d8e92 Bug 1604593 - Weaken assert in getNonWrapperObjectForCurrentCompartment(). r=bzbarsky
If we try to wrap an inner whose outer has navigated out of process,
then we'll get a remote window proxy, not a window proxy.

This was happening during the JS devtools test
browser_webconsole_block_mixedcontent_securityerrors.js

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

--HG--
extra : moz-landing-system : lando
2020-02-26 04:22:13 +00:00
Arthur Iakab 2f1c972d30 Backed out 6 changesets (bug 1144438, bug 1617208, bug 1597378) for causing devtools failures on browser_all_files_referenced.js
Backed out changeset eef173a3678d (bug 1617208)
Backed out changeset cc21fa09b88d (bug 1597378)
Backed out changeset b802ce66aa59 (bug 1597378)
Backed out changeset c65103d7bf0b (bug 1597378)
Backed out changeset 35da034acf03 (bug 1597378)
Backed out changeset 4e152220ad14 (bug 1144438)

--HG--
rename : devtools/client/performance-new/test/browser/browser_popup-record-capture.js => devtools/client/performance-new/test/browser/browser_popup-end-to-end-click.js
rename : devtools/client/performance-new/test/browser/browser_aboutprofiling-env-restart-button.js => devtools/client/performance-new/test/browser/browser_popup-env-restart-button.js
rename : devtools/client/performance-new/test/browser/browser_aboutprofiling-features-disabled.js => devtools/client/performance-new/test/browser/browser_popup-features-disabled.js
2020-02-26 03:22:40 +02:00
Daisuke Akatsuka 7f93d2e008 Bug 1607999: Add a test for the redirection from RDM. r=mtigley
Depends on D60210

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

--HG--
extra : moz-landing-system : lando
2020-02-14 14:10:01 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Greg Tatum a73463458c Bug 1617208 - Make about:profiling available everywhere by removing ifdef; r=julienw
This enables about:profiling everywhere, and removes the ifdefs. I can confirm that it
does not break things on a full Beta simulation in my manual tests. The DevTools panel
cannot be enabled. The popup cannot be enabled either.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 20:42:10 +00:00
Greg Tatum 7a74223d84 Bug 1597378 - Migrate profiler popup tests; r=julienw
This commit adds tests for the profiler popup, and migrates some of the
older ones to use about:profiling instead.

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

--HG--
rename : devtools/client/performance-new/test/browser/browser_popup-env-restart-button.js => devtools/client/performance-new/test/browser/browser_aboutprofiling-env-restart-button.js
rename : devtools/client/performance-new/test/browser/browser_popup-features-disabled.js => devtools/client/performance-new/test/browser/browser_aboutprofiling-features-disabled.js
rename : devtools/client/performance-new/test/browser/browser_popup-end-to-end-click.js => devtools/client/performance-new/test/browser/browser_popup-record-capture.js
extra : moz-landing-system : lando
2020-02-25 20:41:15 +00:00
Greg Tatum f34a461b3d Bug 1597378 - Create new UI for the profiler popup; r=julienw
This commit implements the actual UI changes. A follow-up commit adds the
tests for the changes. The CSS is a little bit awkard since it uses lots of
ID selectors rather than class selectors. I wanted to be able to write quick
selects, since it's selecting across the entire browser document. I feel
a little conflicted with the approach, as I would prefer to use classes in
general.

The panel.jsm.js file collects all of the UI handling changes rather than
having everything in menu-button.jsm.js, as the latter can get loaded
at startup. I'm not sure if it's completely worth the trouble of having
two files, as most of it should be pretty light.

This commit does not handle localization for the panel, as we should be moving
to Fluent. Rather than solve that here, I will follow-up with it in Bug 1599774.

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

--HG--
extra : moz-landing-system : lando
2020-02-25 20:39:27 +00:00