Commit Graph

15014 Commits

Author SHA1 Message Date
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
yulia
12c5ac3425 Bug 1342237 - remove Shader Editor Actor and Front; r=vporof
Depends on D14732

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:47:48 +00:00
yulia
8c86559f59 Bug 1342237 - remove Shader Editor Panel; r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D14732

--HG--
extra : moz-landing-system : lando
2019-03-13 16:47:10 +00:00
yulia
83e3a56687 Bug 1403938 - remove Canvas Debugger actor from the server; r=vporof
Depends on D14730

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:42 +00:00
yulia
7ccc815e9a Bug 1403938 - remove Canvas Debugger client; r=vporof
Assigning sole for now

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

--HG--
extra : moz-landing-system : lando
2019-03-13 16:46:12 +00:00
Edwin Gao
a5bef7a7c7 Bug 1531590, 1531598, 1534811, 1336075, 1531571, 1531572, 1531572, 1531574, 1534855, 1534857, 1535082 - skip tests in mochitest-dev-tools and mochitest-browser-chrome suites for windows10-aarch64 r=jmaher
Bug 1531598 - disable browser_markup_copy_image_data.js
Bug 1531598 - disable browser_markup_links_04.js
Bug 1531598 - disable browser_inspector_menu-01-sensitivity.js
Bug 1534811 - disable accessible/tests/browser/general
Bug 1336075 - disable browser_largeAllocation_non_win32.js
Bug 1531571 - disable browser_jsterm_context_menu_labels.js
Bug 1531572 - disable browser_jsterm_helper_dollar_x.js
Bug 1531573 - disable browser_jsterm_no_input_and_tab_key_pressed.js
Bug 1531574 - disable browser_jsterm_syntax_highlight_output.js
Bug 1534855 - disable accessible/tests/browser/
Bug 1534857 - disable browser_ext_slow_script.js
Bug 1535082 - disable browser_jsterm_helper_dollar_dollar.js

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

--HG--
extra : moz-landing-system : lando
2019-03-13 19:47:25 +00:00
Kyle Machulis
b1414002ac Bug 1524709 - Remove aShouldBeRemote from updateBrowserRemoteness; r=nika
Just set the RemoteType in the options object argument, instead of
doubling up the information.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 00:51:30 +00:00
lenka
307840b6b6 Bug 1534548 - Align header labels left, show sorting icon; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D23119

--HG--
extra : moz-landing-system : lando
2019-03-13 10:39:30 +00:00
Brindusan Cristian
d6ae112e84 Backed out changeset 52e8296f4d36 (bug 1164195) as requested by nchevobbe for missing the reviewer information. 2019-03-13 09:49:45 +02:00
Dhruvi Butti
cca262c961 Bug 1164195 - Add a resultType param to $x console helper. .
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/D21476

--HG--
extra : moz-landing-system : lando
2019-03-13 06:39:50 +00:00
Noemi Erli
9d0b92de49 Backed out changeset bb3918322c3c (bug 1534837) for debugger failures CLOSED TREE 2019-03-13 03:26:08 +02:00
Daisuke Akatsuka
635bde9fed Bug 1528140: Wait for removing about:devtools-toolbox tab info from about:debugging. r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D23105

--HG--
extra : moz-landing-system : lando
2019-03-12 14:28:13 +00:00