Commit Graph

15025 Commits

Author SHA1 Message Date
Michael Ratcliffe
cffcfc6b1c Bug 1535661 - Fix CORS issues in Markup Panel r=pbro
One change is in `node.js::isScrollable()` so I decided to assign this to you for review. Feel free to re-assign as you feel appropriate if you don't have time.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e2f20af3f902ea65436bcfd288b3e075d6508f8

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

--HG--
extra : moz-landing-system : lando
2019-03-18 09:22:50 +00:00
Laphets
1ee91a6323 Bug 1457379 - [Adding Tests] Fix webSockets show only under 'other' filter. r=Honza
//Before this change, the websocket request will be filtered in to "other" subject. After this change, the websocket request will be in "ws" subject.//

## About Tests
The original test has some problem that it doesn't mock websocket request well, (since it use `XMLHttpRequest` to mock websocket, so the "upgrade" header can't be added due to some browser restrictions)

In the updated test file, the native `new WebSocket()` method is used to perform websoket request. The origin http based server at [[ https://searchfox.org/mozilla-central/rev/89414a1df52d06cfc35529afb9a5a8542a6e4270/devtools/client/netmonitor/test/sjs_content-type-test-server.sjs#237 | Here ]] is still utilized. However, the `ws://example.com` request will be proxy to websocket server at port 9988 instead of 8888, so the ip url is used to make sure the request is handled by the orginal test [[ https://searchfox.org/mozilla-central/rev/89414a1df52d06cfc35529afb9a5a8542a6e4270/devtools/client/netmonitor/test/sjs_content-type-test-server.sjs#237 | server ]].

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

--HG--
extra : moz-landing-system : lando
2019-03-18 08:57:07 +00:00
Andrea Marchesini
5bb6c49ba8 Bug 1535799 - nsIHttpChannel.isTrackingResource should be a method, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23765

--HG--
extra : moz-landing-system : lando
2019-03-17 06:55:50 +00:00
Narcis Beleuzu
1db0b113d0 Backed out changeset 6e1f82657583 for debugger failures on Breakpoints.css . CLOSED TREE
--HG--
rename : devtools/client/debugger/new/src/components/Editor/Breakpoints.css => devtools/client/debugger/new/src/components/Editor/ColumnBreakpoints.css
2019-03-16 06:11:21 +02:00
David Walsh
c975d0fb5d No bug - Update debugger's column breakpoint colors
This replaces https://phabricator.services.mozilla.com/D23701, which couldn't be autoland-ed due to merge conflict, but my local gecko-dev wouldn't work properly, so I needed to start from scratch.

This has been submitted via mercurial.

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

--HG--
rename : devtools/client/debugger/new/src/components/Editor/ColumnBreakpoints.css => devtools/client/debugger/new/src/components/Editor/Breakpoints.css
extra : moz-landing-system : lando
2019-03-16 03:37:46 +00:00
Jason Laster
1f0f446316 Bug 1532309 - Log points should show multiple values. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D23313

--HG--
extra : moz-landing-system : lando
2019-03-15 20:31:37 +00:00
David Walsh
422f77cced No bug - Ensure preview displays on paused column breakpoint lines r=jlast
TODO:  Don't use the alias function and import getBreakpointsList from all used locations (many)

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

--HG--
extra : moz-landing-system : lando
2019-03-15 22:17:08 +00:00
Jason Laster
b2bdc8fa72 Bug 1534786 - Ensure that breakpoints are visible when you reload formatted files. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D23386

--HG--
extra : moz-landing-system : lando
2019-03-14 21:41:40 +00:00
Jason Laster
dc6e9abad0 Bug 1535607 - Breakpoint does not appear in the gutter until scrolling. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D23699

--HG--
extra : moz-landing-system : lando
2019-03-15 19:35:54 +00:00
Yura Zenevich
443948e48a Bug 1531584 - catch promise error when updating a11y menu item when DOMWalker connection is already closed. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D23321

--HG--
extra : moz-landing-system : lando
2019-03-13 15:44:55 +00:00
Ola Gasidlo
f3155b5e0a Bug 1505128 - Add feature to disconnect from a device, r=ladybenko,daisuke
Added disconnect from device funtion + button to be displayed in runtime page when device is connected

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

--HG--
extra : moz-landing-system : lando
2019-03-15 14:19:17 +00:00
Nicolas Chevobbe
24dc1bfecc Bug 1535305 - Guard this.jsterm access in webconsole-ui.js. r=Honza.
Depending on the load, this.jsterm might not be
set when switching to the console panel, and can
cause a crash (blank tab).
This patch checks that this.jsterm exists before
taking further actions.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 11:43:41 +00:00
arthur.iakab
54d67a13d1 Backed out changeset 6af97458ab5d (bug 1505124) for causing Eslint failure on connect/ConnectPage.js CLOSED TREE 2019-03-15 11:10:38 +02:00
Belén Albeza
cf948bd6b9 Bug 1505124 - UX implementation for the Connect Page. r=daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D21542

--HG--
extra : moz-landing-system : lando
2019-03-15 08:50:03 +00:00
Razvan Maries
3d59436341 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-15 05:48:49 +02:00
Razvan Maries
b5f0d05bc9 Merge mozilla-inbound to mozilla-central a=merge 2019-03-15 05:40:21 +02:00
Logan Smyth
d8a86aa10f Bug 1534847 - Part 3: Pass originalText load failure through to UI instead of failing silently. r=jlast
Summary:

Returning null here leaves us in an infinite loading state because null is treated as neither
success nor failure.

Reviewers: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23453
2019-03-14 19:00:21 -04:00
Logan Smyth
d1e54f1409 Bug 1534847 - Part 2: Invalidate the loadSourceText cache on navigation. r=jlast
Summary:

If users navigate while source text is loading, we need to ignore existing
cached promises because they may resolve and then not actually set the
resulting source, because the source was deleted from the source list.
We want to explicitly use a new cache entry if we have navigated.

Reviewers: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23452
2019-03-14 19:00:20 -04:00
Logan Smyth
cefa9c5b9c Bug 1534847 - Part 1: Refactor loadSourceText to separate caching from logic. r=jlast
Summary:

Splitting up this logic makes us less likely to introduce code that would break
the caching behavior. If you look closely at these changes, you'll notice that
there actually one one early return in this code that would cause us to
exit without clearing the 'requests' cache meaning we could get stuck in
an infinite loading state.

Reviewers: jlast

Reviewed By: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23451
2019-03-14 19:00:19 -04:00
Daisuke Akatsuka
de75b1f93a Bug 1488991: Update remote browser position before showing context menu. r=pbro,smaug
The position of remote browser was not updated by resizing the window and
changing the align of viewport etc, although will be updated when the window
moves, the frame reflows and so on.
Thus, in this patch, update the position of remote browser before showing
context menu so as to locates at proper position.
I investigated though, when reflow and moving happens, the position is updated
by TabParent::UpdateDimensions()[1]. This patch as well is taking an approach
which update the position explicitly by TabParent::UpdateDimensions() before
showing context menu.

[1] https://searchfox.org/mozilla-central/source/dom/ipc/TabParent.cpp#729

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

--HG--
extra : moz-landing-system : lando
2019-03-15 00:09:20 +00:00
Razvan Maries
b52345353d Merge mozilla-inbound to mozilla-central a=merge 2019-03-14 23:41:17 +02:00
David Walsh
6cea4e91ca Bug 1535130 - Don't show breakpoint line when focused on close button r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D23409

--HG--
extra : moz-landing-system : lando
2019-03-14 20:30:28 +00:00
David Walsh
a4f5eefd90 Bug 1534808 - Don't show pretty print option for non-JS sources r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D23333

--HG--
extra : moz-landing-system : lando
2019-03-14 20:31:41 +00:00
Andreea Pavel
b6170418e2 Backed out 3 changesets (bug 1534847) for failing debugger on a CLOSED TREE
Backed out changeset ee3da1413835 (bug 1534847)
Backed out changeset 27a3400989c9 (bug 1534847)
Backed out changeset 7cf6462189e8 (bug 1534847)
2019-03-15 00:30:59 +02:00
Logan Smyth
ca45dac2df Bug 1534847 - Part 3: Pass originalText load failure through to UI instead of failing silently.
Returning null here leaves us in an infinite loading state because null is treated as neither
success nor failure.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:05:54 +00:00
Logan Smyth
233dfff347 Bug 1534847 - Part 2: Invalidate the loadSourceText cache on navigation. r=jlast
If users navigate while source text is loading, we need to ignore existing
cached promises because they may resolve and then not actually set the
resulting source, because the source was deleted from the source list.
We want to explicitly use a new cache entry if we have navigated.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:04:28 +00:00
Logan Smyth
272a75e5ec Bug 1534847 - Part 1: Refactor loadSourceText to separate caching from logic. r=jlast
Splitting up this logic makes us less likely to introduce code that would break
the caching behavior. If you look closely at these changes, you'll notice that
there actually one one early return in this code that would cause us to
exit without clearing the 'requests' cache meaning we could get stuck in
an infinite loading state.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 20:38:20 +00:00
Jan Odvarko
8531967e8e Bug 1531400 - Missing bottom border on netmonitor table's header; r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D22959

--HG--
extra : moz-landing-system : lando
2019-03-14 16:49:04 +00:00
Brian Hackett
4c2b26578f Bug 1534786 - Show pending breakpoints as soon as their generated source appears, r=jlast.
--HG--
extra : rebase_source : 016c850ae88ee4a9b3c3aec7ebabee2f8c95a21f
2019-03-14 04:42:47 -10:00
Dorel Luca
db38f9a7f7 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-03-14 18:33:49 +02:00
Dorel Luca
2d369e149e Backed out changeset c0c0b342f39e (bug 1531400) for DevTools failures in devtools/client/netmonitor/test/browser_net_autoscroll.js 2019-03-14 12:24:32 +02:00
Jan Odvarko
e8fa711caf Bug 1531400 - Missing bottom border on netmonitor table's header; r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D22959

--HG--
extra : moz-landing-system : lando
2019-03-13 16:08:47 +00:00
Gabriel Luong
98dd36c099 Bug 1535077 - Switch to using Ref and PureComponent in the SearchBox component. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D23366
2019-03-13 14:31:54 -04:00
Csoregi Natalia
085bd77843 Merge mozilla-central to autoland. CLOSED TREE 2019-03-14 07:02:39 +02:00
Csoregi Natalia
97b04f2a07 Merge inbound to mozilla-central. a=merge 2019-03-14 06:56:57 +02:00
Brian Hackett
aa430e4e60 Bug 1533417 - Update selected location when selecting a new thread, r=jlast.
--HG--
extra : rebase_source : 25c40acfe50c7f01deca7c72a8bb7c54d85f1470
2019-03-12 10:26:02 -10:00
Brian Hackett
83df285edd Bug 1534772 - Evaluate expressions when selecting new threads, r=jlast.
--HG--
extra : rebase_source : 661073f04074fb85fd18c26cca328fb3050de35a
2019-03-12 10:11:48 -10:00
Csoregi Natalia
d89aaed68c Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-03-13 23:48:05 +02:00
Brian Hackett
6717d898fd Bug 1532180 - Always specify thread when accessing debugger pause state, r=jlast.
--HG--
extra : rebase_source : 6ad349d06a373d06393ea14d312b402c885a8cfe
2019-03-13 05:48:27 -10:00
Dhruvi Butti
2c074bae46 Bug 1164195 - Add a resultType param to $x console helper. r=nchevobbe.
This makes it possible to pass a third parameter which is a XPathResult constant.
Test cases are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-03-13 13:16:15 +00:00
yulia
994e78fd2f Bug 1532567 - remove unused eval method from threadClient and threadActor; r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D21700

--HG--
extra : moz-landing-system : lando
2019-03-12 15:03:47 +00:00
yulia
970debcc65 Bug 1528296 - remove comma; r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D23154

--HG--
extra : moz-landing-system : lando
2019-03-13 16:53:21 +00:00
yulia
4e032f2ecf Bug 1528296 - remove deprecation message r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22574

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:41 +00:00
yulia
d8f0e4a4eb Bug 1528296 - remove unused function call r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22497

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:10 +00:00
yulia
3bb03b982a Bug 1528296 - remove unused viewer-helpers; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22496

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:03 +00:00
yulia
d849fb1a59 Bug 1528296 - remove call watcher (and references to removed panels in the debugger including the r=vporof
gcli);

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:52:01 +00:00
yulia
ec915fed01 Bug 1528296 - remove eslint empty file requirements for old panels; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22494

--HG--
extra : moz-landing-system : lando
2019-03-13 16:50:05 +00:00
yulia
7671d5db19 Bug 1528296 - remove SideMenuWidget and dependancies; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D22493

--HG--
extra : moz-landing-system : lando
2019-03-13 16:49:42 +00:00
yulia
58c5e6cec7 Bug 1403944 - Remove Web Audio Editor actor and spec; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D19528

--HG--
extra : moz-landing-system : lando
2019-03-13 16:49:15 +00:00
yulia
824ce51c8e Bug 1403944 - Remove Web Audio Editor front and panel; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D19527

--HG--
extra : moz-landing-system : lando
2019-03-13 16:48:42 +00:00