Commit Graph

10988 Commits

Author SHA1 Message Date
yulia
1ed63498ad Bug 1495389 - remove destroy method for performance actor; r=ochameau
Depends on D11294

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

--HG--
extra : moz-landing-system : lando
2018-12-17 11:27:32 +00:00
yulia
cf6757c5e0 Bug 1495389 - refactor toolbox to no longer queue performance events; r=ochameau
Depends on D11293

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

--HG--
extra : moz-landing-system : lando
2018-12-17 11:26:49 +00:00
yulia
b06f0e6f02 Bug 1495389 - add test for expected async behavior in the performance front; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D10562

--HG--
extra : moz-landing-system : lando
2018-12-17 11:54:53 +00:00
Julian Descottes
a19ee2e2a1 Bug 1512303 - Add test for manifest URL link in about:debugging;r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D14389

--HG--
extra : moz-landing-system : lando
2018-12-17 11:12:44 +00:00
Mark Banner
12331afc41 Bug 1503674 - Remove unused PageMetadata. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14678

--HG--
extra : moz-landing-system : lando
2018-12-17 09:33:12 +00:00
Daniel Holbert
1fa765ee63 Bug 1502524: Style devtools' "CodeMirror-scroll" element with "contain: layout size", to hint that it can be a reflow root. r=nchevobbe
This should improve typing resposiveness in the web console, by allowing
reflows to be initiated from an ancestor that's closer to the changed content
(the typed characters).

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

--HG--
extra : moz-landing-system : lando
2018-12-14 09:42:10 +00:00
Cosmin Sabou
b30ca1fd33 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-15 04:47:12 +02:00
Brian Hackett
1eae5d3939 Bug 801304 Part 3 - Add test that XHR does not break run-to-completion when paused in the debugger, r=jimb.
--HG--
extra : rebase_source : 10f681779c25a65e2b446b61e8ff8feffe01dd20
2018-12-14 06:48:13 -10:00
Logan Smyth
b03057f1e8 Bug 1513655 - Remove source-map module and usage from the debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D14296

--HG--
extra : moz-landing-system : lando
2018-12-14 19:49:08 +00:00
Cosmin Sabou
f292d9f90e Backed out changeset 4d61e1b695c9 (bug 1513655) for ESlint failure on devtools/server/actors/thread.js. CLOSED TREE 2018-12-14 21:37:34 +02:00
Logan Smyth
432ea8fcdc Bug 1513655 - Remove source-map module and usage from the debugger server. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D14296

--HG--
extra : moz-landing-system : lando
2018-12-14 19:09:15 +00:00
Razvan Maries
87aca70b7f Merge mozilla-inbound to mozilla-central a=merge 2018-12-14 18:22:09 +02:00
Florens Verschelde
e21748f9bf Bug 1492008 - Remove devtools --theme-*-image CSS variables; r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D14465

--HG--
extra : moz-landing-system : lando
2018-12-13 16:50:22 +00:00
Julian Descottes
b8a07dc612 Bug 1514058 - Restore color of selected about:debugging category;r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D14495

--HG--
extra : moz-landing-system : lando
2018-12-14 11:18:28 +00:00
Bogdan Tara
724c256428 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-12-14 07:45:04 +02:00
Jason Laster
bcae574f68 Bug 1513737 - Stop using Array.shift when mapping pause points. r=dwalsh
Reviewers: davidwalsh

Reviewed By: davidwalsh

Differential Revision: https://phabricator.services.mozilla.com/D14346
2018-12-13 23:07:33 -05:00
Nicolas Chevobbe
540ac9ed72 Bug 1513244 - Close autocomplete navigation on page navigation; r=Honza.
The autocomplete popup contains information about the context
it was opened in. If the context changes, the content of the
popup might be outdated, or plainly wrong.
Closing the popup seems like a safe way to handle this.
We take this as an opportunity to move the willNavigate handler
to webconsole-output-wrapper, where we can dispatch a new
WILL_NAVIGATE action to which reducers might react.
A test is added to make sure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 17:38:46 +00:00
Nicolas Chevobbe
321db66f77 Bug 1513244 - Extract fetchAutocompleteProperties from JsTerm into a Redux action; r=Honza.
The functions needed to build the autocomplete request are moved
to the serviceContainer so it can be called from everywhere in
the code, and not only from the JsTerm.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 17:38:06 +00:00
shindli
7278e97898 Backed out changeset 8aabc712969f (bug 1513244) as requested by Aryx on irc 2018-12-13 19:32:02 +02:00
shindli
4e7827d27f Backed out changeset 3fa4474f947c (bug 1499289) as requested by nchevobbe 2018-12-13 18:30:11 +02:00
Micah Tigley
61cf4613b9 Bug 1513500 - Fixed it so getCurrentDisplay also checks if a flex container is actually a flex item. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D14312

--HG--
extra : moz-landing-system : lando
2018-12-13 15:07:49 +00:00
Nicolas Chevobbe
2b41cc1612 Bug 1513244 - Close autocomplete navigation on page navigation; r=Honza.
The autocomplete popup contains information about the context
it was opened in. If the context changes, the content of the
popup might be outdated, or plainly wrong.
Closing the popup seems like a safe way to handle this.
We take this as an opportunity to move the willNavigate handler
to webconsole-output-wrapper, where we can dispatch a new
WILL_NAVIGATE action to which reducers might react.
A test is added to make sure this works as expected.

Depends on D12939

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

--HG--
extra : moz-landing-system : lando
2018-12-13 14:35:34 +00:00
Nicolas Chevobbe
a587b43474 Bug 1499289 - Bug 1513244 - Extract fetchAutocompleteProperties from JsTerm into a Redux action; r=Honza.
The functions needed to build the autocomplete request are moved
to the serviceContainer so it can be called from everywhere in
the code, and not only from the JsTerm.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 14:37:20 +00:00
Margareta Eliza Balazs
d8f92ab5be Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-13 11:46:22 +02:00
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
Nicolas Chevobbe
a4efb35861 Bug 1513505 - Fix invoke getter on prototype's property; r=jdescottes.
This lands the fix done in the debugger Reps
for ObjectInspector (https://github.com/devtools-html/debugger.html/pull/7484\),
and add a test to ensure we don't regress this.
We take this as an opportunity to put some
object inspector helpers in head.js so we
don't repeat ourselves too much.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 14:50:16 +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
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
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
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
Coroiu Cristina
94e921ee4b Merge inbound to mozilla-central a=merge 2018-12-11 23:32:04 +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