Commit Graph

13416 Commits

Author SHA1 Message Date
Cosmin Sabou
7a9da4ebbf Merge mozilla-central to mozilla-inbound. 2018-12-13 06:01:44 +02:00
Cosmin Sabou
9835fdf72c Merge mozilla-inbound to mozilla-central. a=merge 2018-12-13 05:56:48 +02:00
Cosmin Sabou
77839dcc2d Merge mozilla-central to mozilla-inbound. 2018-12-13 00:02:44 +02:00
Jason Laster
fcd9f9a2a9 Bug 1513397 - Update Debugger Frontend v107. r=davidwalsh 2018-12-12 16:11:18 -05:00
Jason Laster
5f143dbce7 Bug 1513397 - [release 107] Remove unnecessary constructors (#7419). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14277
2018-12-12 16:10:13 -05:00
Jason Laster
2afbb547a2 Bug 1513397 - [release 107] Change conditional panel to use location (#7366). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14276
2018-12-12 16:10:13 -05:00
Jason Laster
5b01a30f05 Bug 1513397 - [release 107] Clean up editor functions (#7413). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14275
2018-12-12 16:10:13 -05:00
Jason Laster
15825c1942 Bug 1513397 - [release 107] Add flow types to BreakpointContextMenu props (#7393). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14274
2018-12-12 16:10:12 -05:00
Jason Laster
b7d0e9a201 Bug 1513397 - [release 107] Typecheck addBreakpoint and require breakpoint line numbers in editor gutter fns (#7390). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14273
2018-12-12 16:10:12 -05:00
Jason Laster
98c5693277 Bug 1513397 - [release 107] Only show the XHR breakpoint checkbox underline if there are real xhr bps (#7381). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14272
2018-12-12 16:10:12 -05:00
Jason Laster
5fa7a50263 Bug 1513397 - [release 107] Don't filter out dollar symbols in function names (#7386). r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D14271
2018-12-12 16:10:11 -05:00
Jason Laster
e089fdf3d3 Bug 1513397 - [release 107] Resolve pause-point flow errors due to new mapped points. (#7375). r=davidwalsh 2018-12-12 16:10:11 -05:00
Patrick Brosset
9aeed849cd Bug 1500921 - Tunnel the pagestyle message through RDM; r=gl
Differential Revision: https://phabricator.services.mozilla.com/D14256

--HG--
extra : moz-landing-system : lando
2018-12-12 16:34:51 +00:00
Julian Descottes
e81f73f61a Bug 1509038 - Update client wrapper mocks;r=ladybenko
Depends on D14078

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

--HG--
extra : moz-landing-system : lando
2018-12-12 14:26:16 +00:00
Julian Descottes
24ae4caadb Bug 1512454 - Register about:debugging-new for Nightly builds;r=ladybenko,Ola
Differential Revision: https://phabricator.services.mozilla.com/D13923

--HG--
extra : moz-landing-system : lando
2018-12-12 13:30:34 +00:00
Julian Descottes
08226e3138 Bug 1509038 - Port serviceworker push test to new about:debugging;r=daisuke
Depends on D14077

This test is a conversion of devtools/client/aboutdebugging/test/browser_service_workers_push.js
It turns out I forgot to file a bug to migrate this test, so doing it here.

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

--HG--
rename : devtools/client/aboutdebugging/test/service-workers/push-sw.html => devtools/client/aboutdebugging-new/test/browser/resources/service-workers/push-sw.html
rename : devtools/client/aboutdebugging/test/service-workers/push-sw.js => devtools/client/aboutdebugging-new/test/browser/resources/service-workers/push-sw.js
extra : moz-landing-system : lando
2018-12-12 13:26:09 +00:00
Julian Descottes
c1946a4cbd Bug 1509038 - Set allowChromeProcess to true when starting local DebuggerServer;r=daisuke
Depends on D14075.

allowChromeProcess will allow to retrieve workers from children processes

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

--HG--
extra : moz-landing-system : lando
2018-12-12 13:25:52 +00:00
Julian Descottes
73c0c6668a Bug 1509038 - Use worker front push() in aboutdebugging-new;r=daisuke
Depends on D14074

The current code using request works now that actor points to a real
actor ID, so this doesn't really fix anything. It is a cleanup because we should
move away from using the request API. Also the current about:debugging uses
front.push() so this is better for consistency.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 13:24:17 +00:00
Julian Descottes
7c4c189144 Bug 1509038 - Listen to worker updates on contentProcess fronts;r=daisuke
This is a followup to Bug 1506549 where some of the frontend
code was migrated to listen to worker updates on the content process fronts.
The current about:debugging was migrated, but not the new one.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 13:23:50 +00:00
Jeff Walden
913f4402bd Replace an unnecessary U+00A0 NO-BREAK SPACE with a plain ol' ASCII space in devtools/client/inspector/test/head.js to make the file entirely ASCII, as a simplifying measure for another bug being fixed. No bug, rs=me and DONTBUILD
--HG--
extra : rebase_source : 718c02107a16162e0c488a5429bac1000ebfcbe7
2018-12-11 13:39:46 -08:00
Ciure Andrei
b3b5a48999 Backed out changeset 3babbb8e7ec0 (bug 1512454) for failing browser_aboutURLs.js CLOSED TREE 2018-12-12 14:04:02 +02:00
Belén Albeza
9d45e711a2 Bug 1503908 - Add test for selecting a runtime in the sidebar. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D14079

--HG--
extra : moz-landing-system : lando
2018-12-12 10:50:31 +00:00
Julian Descottes
69162b31b3 Bug 1512454 - Register about:debugging-new for Nightly builds;r=ladybenko,Ola
Differential Revision: https://phabricator.services.mozilla.com/D13923

--HG--
extra : moz-landing-system : lando
2018-12-10 22:30:35 +00:00
Belén Albeza
6f4781eae9 Bug 1509470 - Add license for react-router-dom. r=jdescottes,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D14152

--HG--
extra : moz-landing-system : lando
2018-12-11 16:52:48 +00:00
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
Jeff Walden
efc00313f9 Bug 1513152 - Load .sjs scripts in httpd.js as UTF-8, updating consumers of the in-tree .sjs scripts as necessary for the change. r=kmag
--HG--
extra : rebase_source : 1eed4ea5b846e5ce608593ef732bedc3194268e3
2018-12-08 18:00:33 -05:00
Yura Zenevich
ec09b6b3b9 Bug 1434888 - update accessibility panel command key from Shift + F10 to Shift + F12. r=gl,flod
MozReview-Commit-ID: JchHjW7nKkH

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

--HG--
extra : moz-landing-system : lando
2018-12-12 18:25:41 +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