Commit Graph

13431 Commits

Author SHA1 Message Date
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
Razvan Caliman
98480e5f1e Bug 1512665 - Clear changes only when parent document navigates, not iframes; r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D14460

--HG--
extra : moz-landing-system : lando
2018-12-13 16:19:08 +00: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
Nicolas Chevobbe
f2644f2991 Bug 1513888 - Remove evaluateJSAsync trait; r=yulia.
The trait was added in 37 to handle older server,
but given how old it is now, I think it's safe
to remove it.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 15:45:40 +00: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
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