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

13390 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 3937fdfc00 Bug 1512220 - Convert debugger server test helper to async functions. r=yulia
This cleanup will help next refactorings.
Note that attachTestThread and attachTestTabAndResume are still using the callback style
as it is still being used by tests that aren't using threadClientTest helper.

MozReview-Commit-ID: 6FvoDtzEBmL

Depends on D13901

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

--HG--
extra : moz-landing-system : lando
2018-12-11 12:14:59 +00:00
Alexandre Poirot 6448b30e9c Bug 1512220 - Refactor debugger test using testGlobal to threadClientTest helper. r=yulia
This isn't removing listTabs calls as these tests were using attachTestTab,
but all these tests are using testGlobal helper whereas they don't have to if they were using threadClientTest helper.

MozReview-Commit-ID: FPtYlDvYUeD

Depends on D13900

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

--HG--
extra : moz-landing-system : lando
2018-12-11 15:19:43 +00:00
Alexandre Poirot c1ea0a64c2 Bug 1512220 - Refactor promises tests to use the same test helper than memory actor's tests. r=yulia
This isn't thread client test, but here we could share some more code with the memory tests
and use Target objects to retrieve the fronts.

MozReview-Commit-ID: C9S1VjTLrSF

Depends on D13899

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

--HG--
extra : moz-landing-system : lando
2018-12-11 15:58:13 +00:00
Alexandre Poirot 2bb751479d Bug 1512220 - Switch devtools/server/tests/unit/test_setBreakpoint* tests to threadClientTest. r=yulia
All these tests are clearly copy pasting existing threadClientTest helper.
They might run as well against workers but today we don't run them there, so I used the doNotRunWorker flag.

MozReview-Commit-ID: 7k1lJ06WeGZ

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

--HG--
extra : moz-landing-system : lando
2018-12-11 17:46:10 +00:00
Coroiu Cristina add0a6f476 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-12-11 23:59:59 +02:00
Mark Banner e2234d6da6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 21:39:38 +00:00
Coroiu Cristina 94e921ee4b Merge inbound to mozilla-central a=merge 2018-12-11 23:32:04 +02:00
Csoregi Natalia 9e970681f2 Backed out 2 changesets (bug 1415483) for multiple failures e.g. on test_message_manager_ipc.html. CLOSED TREE
Backed out changeset d00748de66fc (bug 1415483)
Backed out changeset 8dea94258f54 (bug 1415483)
2018-12-11 19:30:57 +02:00
Alexandre Poirot 37fcc38aa4 Bug 1510949 - Make protocol.js support es6 classes for fronts. r=yulia
MozReview-Commit-ID: JegR2JsyNrI

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

--HG--
extra : moz-landing-system : lando
2018-12-11 16:32:41 +00:00
Alexandre Poirot 4f56468ce4 Bug 1502128 - Remove last old debugger test. r=davidwalsh
This test is broken for a while as it doesn't wait for resumeDebuggerThenCloseAndFinish to finish...
If was trying to ensure that resumeDebuggerThenCloseAndFinish wasn't throwing.
The test is most about testing old debugger test helper rather than test a particular STR.

MozReview-Commit-ID: 3gAWOSxjFet

Depends on D13823

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

--HG--
extra : moz-landing-system : lando
2018-12-11 14:15:56 +00:00
Alexandre Poirot 1b70409821 Bug 1502128 - Migrate promises actor tests to server tests. r=yulia
MozReview-Commit-ID: JobfpedA88C

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

--HG--
rename : devtools/client/debugger/test/mochitest/doc_promise-get-allocation-stack.html => devtools/server/tests/browser/doc_promise-get-allocation-stack.html
rename : devtools/client/debugger/test/mochitest/doc_promise-get-fulfillment-stack.html => devtools/server/tests/browser/doc_promise-get-fulfillment-stack.html
rename : devtools/client/debugger/test/mochitest/doc_promise-get-rejection-stack.html => devtools/server/tests/browser/doc_promise-get-rejection-stack.html
extra : moz-landing-system : lando
2018-12-11 14:15:54 +00:00
Mark Banner 4d543888a6 Bug 1415483 - Extend reject-importGlobalProperties to reject any priviliged items already in scope. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13753

--HG--
extra : moz-landing-system : lando
2018-12-11 14:09:24 +00:00
Nicolas Chevobbe 1ee3ef7e09 Bug 1512289 - Remove webconsole reverse search pref; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D13913

--HG--
extra : moz-landing-system : lando
2018-12-11 13:01:30 +00:00
Julian Descottes 1716fafd0a Bug 1508435 - Delete downloaded screenshots in inspector screenshot tests;r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D14105

--HG--
extra : moz-landing-system : lando
2018-12-11 08:05:29 +00:00
Daisuke Akatsuka cd8a18605f Bug 1505286 - Part 2: Unzombify tab on Android when the tab debugs. r=ochameau,jdescottes
Depends on D13223

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

--HG--
extra : moz-landing-system : lando
2018-12-11 04:42:15 +00:00
Daisuke Akatsuka 3ec2e5f237 Bug 1505286 - Part 1: Show proper URL of zombie tab on Android. r=ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D13223

--HG--
extra : moz-landing-system : lando
2018-12-10 15:40:26 +00:00
Yura Zenevich 5138b7b9c3 Bug 1434888 - set accessibility panel command key to Shift + F10. r=gl
MozReview-Commit-ID: HkL5dDfo0p9

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

--HG--
extra : moz-landing-system : lando
2018-12-10 20:43:49 +00:00
Daisuke Akatsuka 4c9372bcb0 Bug 1497450: Get DOMTitleChanged event of Android from DevTools server. r=ochameau,jdescottes
Currently, when `about:debugging` is displaying, even if move to another URL on
Android, its update does not reflect to `about:debugging` page. Because the `DOMTitleChanged` event on message manager comes from only in case of remote browser. In this patch, get the event on even not remote browser, then notify to clients.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 02:16:25 +00:00
Logan Smyth df4ad60746 Bug 1512434 - Remove pretty-printing from the debugger server and related tooling. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D13915

--HG--
extra : moz-landing-system : lando
2018-12-10 17:02:02 +00:00
Csoregi Natalia 9520851a30 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-12-11 18:30:44 +02:00
Yura Zenevich edfcc41e95 Bug 1512980 - ensure that the right window is used when calculating the contrast ratio in accessibility highlighter. r=pbro
MozReview-Commit-ID: 9AFXlLnkZvs

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

--HG--
extra : moz-landing-system : lando
2018-12-10 16:41:43 +00:00
Florens Verschelde 3c6fc58b10 Bug 1512263 - Photonize the devtools accessibility icon; r=yzen,gl
Differential Revision: https://phabricator.services.mozilla.com/D14008

--HG--
extra : moz-landing-system : lando
2018-12-10 16:56:24 +00:00
Cosmin Sabou e3d5f2a521 Backed out changeset 6f69dc19ed7c (bug 1507487) for devtools failures on browser_scratchpad_pprint.js CLOSED TREE 2018-12-10 19:04:49 +02:00
Patrick Brosset d6c7097c51 Bug 1273997 - Minimap support for alerts in RDM by relaying alerts on outer browser r=ochameau,jryans
Differential Revision: https://phabricator.services.mozilla.com/D13812

--HG--
extra : moz-landing-system : lando
2018-12-10 16:37:54 +00:00
Mark Banner d4cd673de5 Bug 1507487 - Handling of importScripts by ESLint should fallback to the file name if there is no entry in modules.json. r=mossop
We already have a fallback for items that aren't in a worker scope, we should have the same for ones that are. This means we don't need single maps (foo.js -> foo) in modules.json, and also we can identify more as explicit variables, so that no-unused-vars can detect them.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 17:27:56 +00:00
Julian Descottes 6b7c1b63a9 Bug 1488500 - Add test for temporary extension install error;r=daisuke
Depends on D12571

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

--HG--
extra : moz-landing-system : lando
2018-12-07 15:59:03 +00:00
Julian Descottes 98258f6603 Bug 1488500 - Show install error message for temporary addons;r=daisuke,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D12571

--HG--
extra : moz-landing-system : lando
2018-12-07 15:56:30 +00:00
Dorel Luca 48e7ee73b2 Backed out changeset 1046da966669 (bug 1511334) for devtools failures in devtools/client/inspector/flexbox/test/browser_flexbox_toggle_display_change_hides_highlighter.js 2018-12-07 23:35:41 +02:00
Michael Ratcliffe 6eb26453a5 Bug 1511334 - Add tests to disable/re-enable and delete/bring flexbox and grid patch r=gl
https://treeherder.mozilla.org/#/jobs?repo=try&revision=228d738caf1403aaa5e62b2348af2e57fb4a06a6

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

--HG--
extra : moz-landing-system : lando
2018-12-07 07:09:35 +00:00
Daisuke Akatsuka a9e8a601b4 Bug 1506513: Add worker mock test. r=jdescottes
Depends on D13970

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

--HG--
extra : moz-landing-system : lando
2018-12-07 16:27:47 +00:00
Daisuke Akatsuka 5e124e657d Bug 1506513: Use clientWrapper instead of client. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D13970

--HG--
extra : moz-landing-system : lando
2018-12-07 14:11:39 +00:00
Nicolas Chevobbe bc3db80dc7 Bug 1512046 - Stop propagation of callstack group click; r=Honza.
This also adds a console test to make sure we don't regress
this in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-07 11:36:10 +00:00
Andreea Pavel 1daccecb89 Backed out changeset a9c528fe96d5 (bug 1512046) for failing devtools/client/webconsole/test/mochitest/browser_webconsole_error_with_grouped_stack.json a CLOSED TREE 2018-12-07 01:03:29 +02:00
Nicolas Chevobbe add8a15000 Bug 1512046 - Stop propagation of callstack group click; r=Honza.
This also adds a console test to make sure we don't regress
this in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 20:34:36 +00:00
Nicolas Chevobbe aa450f8374 Bug 1508549 - Better SmartTrace rendering strategy; r=Honza.
We used to re-render the component each time the sourcemapService
would give us a result for a single frame.
Combined with the frame grouping system, this could trigger
weird re-layout and might confuse user.
What's done in this patch is that when mounting, if a sourcemapService
is passed, we don't render anything, and start a race between
a delay of 300ms and the sourcemap results for *all* the frames.
If we don't have the original frames within 300ms, we render the
bundled frames. But, whenever we have the sourcemap results, we
trigger a re-render of the component.
This gives some room for the sourcemapService to fetch map files
without re-ordering things on the screen.
A test case is added to ensure we have the expected renders
when the sourcemap service takes more time than the inital delay.
We already have a case where the sourcemap service resuls are
received before the initial delay.

We also take this as an opportunity to fix minor CSS issues.

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:21:01 +00:00
Julian Descottes b46615ab97 Bug 1492700 - Fix eslint failure in test_adb.js;r=fix 2018-12-06 10:33:02 -05:00
Julian Descottes 64a210a9e1 Bug 1492700 - Add mochitest to check that ADB is stopped after closing about:debugging;r=daisuke
Depends on D13477

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:25 +00:00
Julian Descottes cefef81b96 Bug 1492700 - Introduce adb singleton to register adb consumers;r=daisuke
Depends on D13476

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

--HG--
extra : moz-landing-system : lando
2018-12-06 14:57:03 +00:00
Julian Descottes 5931fd827f Bug 1492700 - Rename adb.js to adb-process.js and switch to class;r=daisuke
Depends on D13475

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

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/adb-process.js
extra : moz-landing-system : lando
2018-12-05 20:51:58 +00:00
Julian Descottes 77a80c888c Bug 1492700 - Remove unused observables in commands/track-devices;r=daisuke
Depends on D13474

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:51:41 +00:00
Julian Descottes 7e3924ecbf Bug 1492700 - Migrate adb/commands/track-devices to a Class;r=daisuke
Depends on D13473

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:49:24 +00:00
Julian Descottes b77ab873fa Bug 1492700 - Split adb.js in several files;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D13473

--HG--
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/list-devices.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/prepare-tcp-connection.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/run-command.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/shell.js
rename : devtools/shared/adb/adb.js => devtools/shared/adb/commands/track-devices.js
extra : moz-landing-system : lando
2018-12-05 20:47:34 +00:00
Sylvestre Ledru eaf6089240 Bug 1511900 - Fix some wording r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13712

--HG--
extra : moz-landing-system : lando
2018-12-05 20:00:57 +00:00
Florens Verschelde e289318fd4 Bug 1512278 - add empty alt text to ToolboxTab icon; r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D13865

--HG--
extra : moz-landing-system : lando
2018-12-06 07:58:15 +00:00
Patrick Brosset 3b848da5e6 Bug 1284852 - Part 3 - Re-format/factor browser_rules_cycle-color.js so it's easier to read; r=miker
Depends on D13808

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:16:36 +00:00
Patrick Brosset e46e005962 Bug 1284852 - Part 2 - Augment the color cycling test to also check cycling after a diffent type as chosen; r=miker
Depends on D13806

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:38:02 +00:00
Patrick Brosset 9d70931958 Bug 1284852 - Part 1 - Set the used unit when appending a color to the rule-view; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D13806

--HG--
extra : moz-landing-system : lando
2018-12-05 16:49:29 +00:00
yulia ef8f9622b4 Bug 1512086 - fix console highlighting and update test to fail if it doesnt; r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D13826

--HG--
extra : moz-landing-system : lando
2018-12-05 22:02:36 +00:00
Nicolas Chevobbe e9ad1155fa Bug 1512257 - Enable reverse search on every channel; r=bgrins.
This patch only removes condition for the preference,
since removing the preference would require more important
code changes that might not be good to land during the
soft freeze.

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

--HG--
extra : moz-landing-system : lando
2018-12-05 20:40:29 +00:00
Narcis Beleuzu d69962cc06 Backed out 2 changesets (bug 1504659) for mochitest failures on test_innerWidthHeight_script.html . CLOSED TREE
Backed out changeset f2574f5b186e (bug 1504659)
Backed out changeset 45f63618f66e (bug 1504659)
2018-12-05 22:19:24 +02:00