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

13764 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen 3288f151d4 Bug 1518159 - Remove usages of and support for XUL textbox[type='search'] in DevTools. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D15842

--HG--
extra : moz-landing-system : lando
2019-01-09 13:29:31 +00:00
Razvan Caliman 74ec2ef320 Bug 1516275 - Allow users to close RDM on first click even when tooltip is visible; r=jdescottes
Setup RDM tooltip to not consume clicks and allow users to interact with the RDM on first try. The behavior of consuming clicks led at least one user to believe RDM could not be closed and filed a bug. Likely others encountered the same (small) road block when trying other actions.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 10:32:05 +00:00
Julian Descottes fb34f9ae99 Bug 1495382 - Check isMultiE10s from runtime info;r=daisuke,ladybenko
Depends on D15081

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

--HG--
rename : devtools/client/shared/multi-e10s-helper.js => devtools/shared/multi-e10s-helper.js
extra : moz-landing-system : lando
2019-01-09 09:44:15 +00:00
Julian Descottes d802ac102d Bug 1495382 - Add support for Workers in network locations runtimes;r=daisuke,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D15081

--HG--
extra : moz-landing-system : lando
2019-01-09 09:44:13 +00:00
Razvan Maries bc86cecc3c Merge mozilla-inbound to mozilla-central a=merge 2019-01-09 05:49:28 +02:00
Andrea Marchesini 7728c152a2 Bug 1417463 - Default accept header should follow the fetch spec - tests, r=mayhemer 2019-01-08 23:36:17 +01:00
Brian Hackett 049a2340a5 Bug 1517167 Part 4 - Test fixes for introduction information in dynamically generated <script> elements, r=lsmyth.
--HG--
extra : rebase_source : f1687de0167824f9137eeb46c44198716d013adb
2019-01-08 09:29:25 -10:00
Brian Hackett 014d919037 Bug 1517167 Part 3 - Add test for source maps in dynamically generated <script> elements.
--HG--
extra : rebase_source : ce1c2a587a6c7429030c4884509ece3429d2863c
2019-01-03 06:28:40 -10:00
Brian Hackett 1ed7757baf Bug 1517167 Part 2 - Watch for dynamically generated <scripts> in devtools server/client, NOT REVIEWED YET.
--HG--
extra : rebase_source : 2c7d2c98f0d44cc0c07af6d3f5642425eb6cf0f2
2019-01-03 06:27:48 -10:00
Razvan Maries 83db861464 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-01-09 00:11:59 +02:00
Gabriel Luong c5848de16a Bug 1478894 - Part 3: Render the Rule toolbar in the new rule view. r=pbro 2019-01-08 15:58:11 -05:00
Gabriel Luong d9298a9ad2 Bug 1478894 - Part 2: Render the list of rules in the new Rules View. r=pbro, rcaliman 2019-01-08 15:58:11 -05:00
Jason Laster 57e03cb91c Bug 1518262 - Should be able to check flow types locally. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D15865

--HG--
extra : moz-landing-system : lando
2019-01-08 16:12:38 +00:00
Nicolas Chevobbe 9d3647c581 Bug 1494941 - Fix browser_jsterm_await_helper_dollar_underscore.js intermittent; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D15838

--HG--
extra : moz-landing-system : lando
2019-01-08 13:31:57 +00:00
Nicolas Chevobbe 3da4123892 Bug 1506970 - Request longer timeout for browser_jsterm_hide_when_devtools_chrome_enabled_false; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D15833

--HG--
extra : moz-landing-system : lando
2019-01-08 12:20:06 +00:00
Tom Schuster 82d1aa2207 Bug 1510223 - Test for MIME type warning. r=ckerschb,nchevobbe
Turns out we also produced an error instead of a warnings.
Good that we added those test \o/

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

--HG--
extra : moz-landing-system : lando
2019-01-08 12:28:32 +00:00
Nicolas Chevobbe 03639d8ea6 Bug 1499289 - Allow to invoke getters from webconsole autocomplete function; r=bgrins,flod.
This patch introduces a new component, ConfirmDialog, that will
be rendered on screen when the autocomplete service indicates
that there's an unsafe getter in the completion path.
The component is rendered in the toolbox document, like the
autocomplete popup. In order to still write it in React, it uses
a React portal, which allow to render an element outside of the
React component tree.

Tests are added to make sure the dialog works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 17:53:55 +00:00
Nicolas Chevobbe 415af1ba97 Bug 1499289 - Change how we deal with getter evaluation in JsPropertyProvider; r=bgrins.
While trying to implement the invoke getter from
autocomplete popup, it became clear to me that the
initial implementation in js-property-provider wasn't
good enough, as we need to keep track of all the
authorizations the user gave when working on a given
expression.

In order to handle this, JsPropertyProvider now
returns an array of strings representing the path
to the unsafe getter when no matching authorizations
are provided.

If authorizations are provided, we can check for each
properties that the user authorized the execution.
This way, we can handle deep object access after a getter
(e.g. `x.myGetter.foo.bar.baz.entries`) without asking
the user if they want to invoke `myGetter` on each
step of the completion.

This makes handling intermediary getters (e.g.
`x.myGetter.foo.myOtherGetter.bar`) way easier as well.
In the UI, the user will be prompted to invoke the getter one
after the other (if for example they try to complete a pasted
expression which contains multiple getters, they will have
prompts for `myGetter`, and then for `myOtherGetter`).

We wire-up the webconsole client and the webconsole actor for
the autocomplete function, to make them ready for frontend
use.

The existing JsPropertyProvider getters test are updated to
match the change of parameter (invokeGetter -> authorizedEvaluations),
and some tests are added to make sure everything work as intended.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 09:49:10 +00:00
Julian Descottes 53e84aa3af Bug 1500383 - Migrate tmp addon reload & remove tests to new about:debugging;r=daisuke
Depends on D15466

Removed one of the test methods from the original test as I couldn't see the added value

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:27:56 +00:00
Julian Descottes 3dfa0f47c7 Bug 1500383 - Fix conflicts between bugs 857456 and 1510620;r=daisuke
Depends on D15465

Some leftovers from previous bugs

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

--HG--
extra : moz-landing-system : lando
2019-01-07 10:27:28 +00:00
Julian Descottes a36a923325 Bug 1500383 - Rename test helpers to enable stronger linting;r=daisuke,Ola
Using head-*.js as the name of a test helper makes it automagically visible from all
tests in the suite thanks to the import-headjs-globals.js plugin.

Renaming them to helper-*.js forces to explicitly import them and get linting errors
if we forgot to do so.

All helpers have been consistently renamed to helper-*.js. One method from the
collapsibilities helper has been moved to the main head.js, because it doesn't
have any relation with collapsing target panes.

All ADB tests also now check that ADB is not running before starting. I tried forcing
ADB to stop in this case, but we can't kill it from the tests apparently, so the only
option is for the user to manually kill the process. At least now we get a somewhat
helpful error message, and no timeout.

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

--HG--
rename : devtools/client/aboutdebugging-new/test/browser/head-addons-script.js => devtools/client/aboutdebugging-new/test/browser/helper-addons.js
rename : devtools/client/aboutdebugging-new/test/browser/debug-target-pane_collapsibilities_head.js => devtools/client/aboutdebugging-new/test/browser/helper-collapsibilities.js
rename : devtools/client/aboutdebugging-new/test/browser/head-mocks.js => devtools/client/aboutdebugging-new/test/browser/helper-mocks.js
rename : devtools/client/aboutdebugging-new/test/browser/head-serviceworker.js => devtools/client/aboutdebugging-new/test/browser/helper-serviceworker.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-client-wrapper-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-client-wrapper-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-runtime-client-factory-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-runtime-client-factory-mock.js
rename : devtools/client/aboutdebugging-new/test/browser/mocks/head-usb-runtimes-mock.js => devtools/client/aboutdebugging-new/test/browser/mocks/helper-usb-runtimes-mock.js
extra : moz-landing-system : lando
2019-01-08 08:21:21 +00:00
Nicolas Chevobbe 09c8a73d83 Bug 1231489 - Use content prototype for autocompletion of String, Number and Array literals; r=bgrins.
When provided a string, number or array literals, we use to
simply return the properties from String.prototype, Number.prototype
and Array.prototype.
This is working fine unless the content prototypes are modified.
In order to make it work properly, we retrieve the actual content
prototype.
The js-property-provider unit test is modified to ensure this is
working as expected.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 07:59:24 +00:00
Bogdan Tara 77560bd888 Backed out 2 changesets (bug 1504659) for test_innerWidthHeight_script.html failures CLOSED TREE
Backed out changeset 0b7bbe6dda1d (bug 1504659)
Backed out changeset 2ebae5c1463b (bug 1504659)
2019-01-08 04:10:11 +02:00
Brad Werth 1d200a75b3 Bug 1504659 Part 2: Add tests of viewport RDM scroll behavior, with and without touch simulation. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D13174

--HG--
extra : moz-landing-system : lando
2019-01-07 23:00:17 +00:00
Csoregi Natalia 5573623926 Merge mozilla-central to autoland. CLOSED TREE 2019-01-07 23:49:15 +02:00
Nazım Can Altınova 6f9887c6a5 Bug 1515197 - Remove the "max" from "Max buffer size" label since it's not resizable anymore r=julienw
We made the profiler buffer resizable before that patch but then we decided that
it's not a good idea to do since we are spending so much time to allocate memory.
Since buffer size is constant, we don't need to add "max" anymore.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 21:37:30 +00:00
Nazım Can Altınova 89859d7246 Bug 1515197 - Remove the window length setting from devtools performance panel r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D15655

--HG--
extra : moz-landing-system : lando
2019-01-07 21:37:05 +00:00
Jason Laster 6258bc84e7 Bug 1507937 - Run debugger jest tests. r=davidwalsh
Reviewers: davidwalsh

Tags:

Bug #: 1507937

Differential Revision: https://phabricator.services.mozilla.com/D15742
2019-01-07 13:47:09 -05:00
Alexandre Poirot 62ca1ad0e4 Bug 1514817 - Convert Target to ES Class. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D14842

--HG--
extra : moz-landing-system : lando
2019-01-07 11:57:51 +00:00
yulia d4e4f4d0b4 Bug 1517187 - fix rulers and measure buttons to display state; r=jdescottes
This fixes an issue with the buttons and also adds a test

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

--HG--
extra : moz-landing-system : lando
2019-01-07 11:13:28 +00:00
Julian Descottes 2aafe8b742 Bug 1508435 - Enable browser_markup_screenshot_node_shadowdom;r=jmaher
I just landed the patch that fixes this intermittent, can we reenable?

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

--HG--
extra : moz-landing-system : lando
2019-01-07 09:56:14 +00:00
Oana Pop Rus 3cc1338377 Mergemozilla-central to autoland. a=merge CLOSED TREE 2019-01-07 11:59:43 +02:00
Julian Descottes 58725b2fa2 Bug 1508435 - Wait for one second between each screenshot test;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D15512

--HG--
extra : moz-landing-system : lando
2019-01-07 09:23:21 +00:00
Cosmin Sabou c9e5cb9283 Bug 1479782 - Disable devtools/client/netmonitor/test/browser_net_frame.js on win10. r=jmaher
--HG--
extra : rebase_source : aaaa31c284cc12a13a7892ff5488c6bf7b900c01
2019-01-07 02:41:17 +02:00
Natalia Csoregi 1c2e42d9db Bug 1508435 - Disabled devtools/client/inspector/markup/test/browser_markup_screenshot_node_shadowdom.js on Windows pgo/opt. r=jmaher 2019-01-05 06:56:00 +02:00
Brian Hackett dac2eb70cb Bug 1177346 Part 4 - Add test for using inspector while paused.
--HG--
extra : rebase_source : ad8d9a0b2a72d112e54028f3b6f141a635f5a6ba
2019-01-04 13:46:04 -10:00
Brian Hackett 2e57e98ac1 Bug 1177346 Part 3 - Remove debugger paused warning, r=ochameau.
--HG--
extra : rebase_source : d162952d703892be0546460e5272d491ab91601d
2019-01-03 06:40:21 -10:00
Brian Hackett 6efdb381f5 Bug 1177346 Part 2 - Use setSuppressedEventListener in highlighter and eyedropper, r=ochameau.
--HG--
extra : rebase_source : 3376a95ccea712cfacd5e7a5d6f74aa4d6f1804a
2019-01-03 06:39:58 -10:00
Florens Verschelde ae851622f4 Bug 1517189 - Use Photon styling for toolbox icons (inspector, console, etc.); r=gl,ntim
Differential Revision: https://phabricator.services.mozilla.com/D15563

--HG--
extra : moz-landing-system : lando
2019-01-05 10:53:38 +00:00
shindli a0841a254f Merge inbound to mozilla-central. a=merge 2019-01-05 06:00:21 +02:00
Timothy Guan-tin Chien bd38b39f8a Bug 1512048 - Convert tabmodalprompt binding to JSM module r=Gijs
This converts the tabmodalprompt binding to a class, to be constructed along side with the element
by TabModalPromptBox.

TabModalPromptBox will keep the instances in a map and pass it to the callers, instead of the element.
The tests and callers can access the class instance by passing the element reference to the map.

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

--HG--
rename : toolkit/components/prompts/content/tabprompts.xml => toolkit/components/prompts/content/tabprompts.jsm
extra : moz-landing-system : lando
2019-01-04 19:29:34 +00:00
Noemi Erli c32eaed37e Merge inbound to mozilla-central. a=merge 2019-01-04 18:11:50 +02:00
Julian Descottes 1f9aa75808 Bug 1516529 - Test that network runtime connections are also persisted;r=daisuke
Depends on D15409

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

--HG--
extra : moz-landing-system : lando
2019-01-04 12:44:57 +00:00
Julian Descottes b3a52f0804 Bug 1516529 - Restore connections for NetworkRuntimes;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D15409

--HG--
extra : moz-landing-system : lando
2019-01-04 12:44:09 +00:00
Andreea Pavel 1f4b010b4c Bug 1466377 - Disable test on win64 opt and pgo. r=jmaher
--HG--
extra : amend_source : dbe8cba662b48d9799f3fa7c9ca91bdfe2c8c7b4
2019-01-04 13:08:45 +02:00
Hiroyuki Ikezoe 88483b9261 Bug 1517682 - Drop layout.css.background-blend-mode.enabled pref. r=heycam
It was enabled by default in bug 970600.

Depends on D15707

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:21:32 +00:00
Hiroyuki Ikezoe 1415d28adf Bug 1517682 - Drop layout.css.scroll-behavior.property-enabled pref. r=heycam
It was enabled by default in bug 1041833 (for desktops) and
bug 1087562 (for Fennect).

Depends on D15706

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:21:53 +00:00
Hiroyuki Ikezoe 602a0bb6c3 Bug 1517682 - Drop layout.css.mix-blend-mode.enabled pref. r=heycam
It was enabled by default in bug 952643.

Depends on D15705

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:13 +00:00
Hiroyuki Ikezoe bed5a404f1 Bug 1517682 - Drop layout.css.isolation.enabled pref. r=heycam
It was enabled by default in bug 1091885.

Depends on D15704

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:27 +00:00
Hiroyuki Ikezoe 9bdfa0cf64 Bug 1517682 - Drop layout.css.image-orientation.enabled pref. r=heycam
It was enabled by default in bug 825771.

Depends on D15703

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

--HG--
extra : moz-landing-system : lando
2019-01-04 07:22:52 +00:00