Logan Smyth
d52bd98684
Bug 1592644 - Ensure that we are always passing a global to listen for events. r=jlast
...
We are being inconsistent here and sometimes calling `.connect` with a
Debugger.Object that points at a global instead of the global itself.
Passing the Debugger.Object fails since it isn't a global.
Differential Revision: https://phabricator.services.mozilla.com/D57270
2019-12-16 15:41:31 +00:00
Alexandre Poirot
726f829875
Bug 1602791 - Make the storage panel use the TargetList and support target switching. r=miker
...
Differential Revision: https://phabricator.services.mozilla.com/D56552
2019-12-16 16:22:15 +00:00
Nicolas Chevobbe
2f8b59dc62
Bug 1566850 - Remove target.activeConsole usage in tests. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D56688
2019-12-13 13:58:54 +00:00
Thiago Arrais
a6e59550ac
Bug 765651 - Fix console protocol for ws connections. r=Honza,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D56965
2019-12-16 11:42:01 +00:00
Julian Descottes
9a994d5c09
Bug 1599962 - OBT should list remote <browser> elements when debugging non browser windows r=ochameau
...
Code change suggested by :Gijs to support non browser windows
Differential Revision: https://phabricator.services.mozilla.com/D56349
2019-12-12 16:23:21 +00:00
Kris Maglione
cb86a77af6
Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53746
2019-12-13 20:36:40 +00:00
Kris Maglione
7b2657b231
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-13 20:36:24 +00:00
Kris Maglione
8c0d38f33d
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-13 20:36:16 +00:00
Boris Zbarsky
4f463b2eab
Bug 1603666. Network monitor should not lose track of whether the request was blocked. r=ochameau,jryans
...
Not everything that blocks requests sets a reason other than BLOCKING_REASON_NONE.
Differential Revision: https://phabricator.services.mozilla.com/D57072
2019-12-13 18:10:26 +00:00
Micah Tigley
91ec5fd85d
Bug 1598893 - Add check for elements absolutely positioned within a grid container. r=pbro,miker,Oriol
...
This revision introduces a check for whether or not grid-item properties have an affect on an “absolutely-positioned” grid element. It’s important to note this grid element is not necessarily a grid item, it just needs to be contained within a grid container that generates its containing block. The general algorithm for this is to first check whether or not the element is either `position: fixed` or `position: absolute` then find an ancestor grid element that generates its containing block.
To help DevTools identify such an element, InspectorUtils provides an API called `containingBlockOf` that returns the absolutely-positioned element’s containing block. If the element’s containing block is the viewport, then this method returns null. For now, `containingBlockOf` is designed for absolute/fixed positioned elements. So it’s important to be aware that trying to use it for other purposes might return unexpected results.
This revision also adds/updates tests that check whether or not grid-item properties are active on a grid element.
Differential Revision: https://phabricator.services.mozilla.com/D55400
2019-12-13 17:47:02 +00:00
Nicolas Chevobbe
3b5f03a0f6
Bug 1602709 - Remove unused DebuggerClient.close onClosed parameter. r=ladybenko.
...
Differential Revision: https://phabricator.services.mozilla.com/D56562
2019-12-13 13:11:45 +00:00
Ksenia Berezina
8ca141a222
Bug 1554915 - Remove eslint-disable-next-line complexity from DOMEvent and GenericObject r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D56647
2019-12-13 13:27:02 +00:00
shindli
9969261559
Backed out 8 changesets (bug 1566850, bug 1603035) for causing perma bc failures in browser/components/extensions/test/browser/browser_ext_devtools_inspectedWindow.js CLOSED TREE
...
Backed out changeset da1672f831d1 (bug 1566850)
Backed out changeset b3aea303d3ed (bug 1566850)
Backed out changeset 3c8ef35fde92 (bug 1566850)
Backed out changeset 4deadf97378f (bug 1566850)
Backed out changeset 55ac64d74725 (bug 1566850)
Backed out changeset 33c4706a4255 (bug 1566850)
Backed out changeset 1796a39b020b (bug 1566850)
Backed out changeset ae02ae71f846 (bug 1603035)
2019-12-13 12:50:45 +02:00
Nicolas Chevobbe
b25e763547
Bug 1566850 - Remove target.activeConsole usage in tests. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D56688
2019-12-13 09:10:33 +00:00
Brian Hackett
46d73b286c
Bug 1602489 - Basic eager evaluation support, r=nchevobbe.
...
Differential Revision: https://phabricator.services.mozilla.com/D56393
2019-12-12 21:48:03 +00:00
Logan Smyth
2b017e1cf1
Bug 1592430 - Basic support for async live stacks in the debugger server. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D56661
2019-12-12 06:19:03 +00:00
Sai Hemanth Beeraka
1ad34fed92
Bug 1566521 - Indicate that WS connection is closed. r=Honza,Harald
...
***
Revision changes: Rename div.p to dom.p
***
Localize connection closed message and add test
***
Display code and reason with connection closed message
***
Remove unnecessary brackets
Differential Revision: https://phabricator.services.mozilla.com/D56235
2019-12-12 08:03:06 +00:00
Brian Hackett
ce924e2aad
Bug 1598180 - Optimize searching for matching scripts in a source, r=loganfsmyth.
...
Differential Revision: https://phabricator.services.mozilla.com/D55592
2019-12-11 22:54:13 +00:00
Julian Descottes
124c80e6c3
Bug 1565200 - Add frame connector relying on JsWindowActor instead of message manager r=ochameau
...
Differential Revision: https://phabricator.services.mozilla.com/D51130
2019-12-11 20:09:24 +00:00
Julian Descottes
cdf779c751
Bug 1525966 - Reject Error object instead of string in DevTools Front:onPacket r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D55829
2019-12-11 17:31:39 +00:00
chujun
ae5b304e3b
Bug 1596114 - Refactor server unit tests part1 r=bhackett,jlast
...
I refactored some of the unit tests to see if I'm on the right direction. If so, I'll continue with other unit tests.
Differential Revision: https://phabricator.services.mozilla.com/D55923
2019-12-11 16:13:18 +00:00
Brian Hackett
4141875b37
Bug 1582266 - Use actual source text when mismatches are found with contents fetched over the network, r=loganfsmyth.
...
Differential Revision: https://phabricator.services.mozilla.com/D55402
2019-12-11 14:22:12 +00:00
shindli
0aa47af90e
Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
...
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
2bcb58b665
Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53746
2019-12-10 23:07:28 +00:00
Kris Maglione
eb68f8b548
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-10 23:07:21 +00:00
Kris Maglione
ad3537fc50
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-10 23:07:13 +00:00
Miriam
edf50bad54
Bug 1601311 - Ensure removing watchpoint does not change value of corresponding property. r=jlast.
...
Differential Revision: https://phabricator.services.mozilla.com/D56604
2019-12-10 21:07:05 +00:00
jaril
d17b2c2b21
Bug 1582193 - Skipping breakpoints should also skip watchpoints r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D56477
2019-12-10 16:16:46 +00:00
Andreea Pavel
863544a460
Backed out changeset c59242299608 (bug 1582193) for failing xpcshell at test_watchpoint-01.js on a CLOSED TREE
2019-12-10 04:39:52 +02:00
jaril
355a785e4e
Bug 1582193 - Skipping breakpoints should also skip watchpoints r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D56477
2019-12-10 00:31:56 +00:00
Miriam
bd06b27cb5
Bug 1601476 - Update value with watchpoint when stepping or hitting breakpoint. r=jlast.
...
Differential Revision: https://phabricator.services.mozilla.com/D56476
2019-12-10 00:32:24 +00:00
Nicolas Chevobbe
d738d3d170
Bug 1316265 - Surface isAsync and isGenerator properties in function grips. r=Honza.
...
This will allow Reps to consume those and
display more accurate functions informations.
Differential Revision: https://phabricator.services.mozilla.com/D55928
2019-12-09 12:35:04 +00:00
Sorin Davidoi
fe77fb0649
Bug 1601444 - fix(devtools/network-monitor): Always show server timings r=Honza
...
Report server timings if they are sent when the transaction is closed.
Differential Revision: https://phabricator.services.mozilla.com/D55867
2019-12-09 09:58:42 +00:00
Logan Smyth
50ea03320b
Bug 1600204 - Part 2: Remove Debugger.Frame.prototype.generator since it is already on script. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D55232
2019-12-06 02:57:20 +00:00
Brian Hackett
0d3a085fff
Bug 1596939 Part 2 - Support pausing new service workers for a specific origin, r=jdescottes.
...
Depends on D54292
Differential Revision: https://phabricator.services.mozilla.com/D54293
2019-12-07 18:18:03 +00:00
Brian Hackett
191000447d
Bug 1595964 Part 2 - Expose evaluating worker in service worker registration front, r=jdescottes.
...
Depends on D54286
Differential Revision: https://phabricator.services.mozilla.com/D54288
2019-12-07 18:18:09 +00:00
Noemi Erli
21eec8658f
Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
...
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione
86c47b65c7
Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53746
2019-12-07 18:44:35 +00:00
Kris Maglione
6fb2c35351
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-07 18:44:34 +00:00
Kris Maglione
88fbf261f8
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-07 19:11:58 +00:00
Noemi Erli
8e5da62e12
Backed out 6 changesets (bug 1595964, bug 1596939) for causing failures in browser_application_panel_list-domain-workers.js
...
Backed out changeset 65c870147654 (bug 1595964 )
Backed out changeset 74a982a9144a (bug 1596939)
Backed out changeset c21c15689e77 (bug 1596939)
Backed out changeset a6848f4d219d (bug 1596939)
Backed out changeset 4f538e6c6dcc (bug 1595964 )
Backed out changeset d1c93f700b8c (bug 1595964 )
2019-12-07 20:13:22 +02:00
Brian Hackett
e20dc9fb84
Bug 1596939 Part 2 - Support pausing new service workers for a specific origin, r=jdescottes.
...
Depends on D54292
Differential Revision: https://phabricator.services.mozilla.com/D54293
2019-12-07 16:16:39 +00:00
Brian Hackett
879cb73695
Bug 1595964 Part 2 - Expose evaluating worker in service worker registration front, r=jdescottes.
...
Depends on D54286
Differential Revision: https://phabricator.services.mozilla.com/D54288
2019-12-07 16:13:07 +00:00
Daniel Varga
85f263a4c2
Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
...
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
fec2318cde
Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53746
2019-12-06 22:15:29 +00:00
Kris Maglione
487c4fe9c7
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
2019-12-06 22:14:22 +00:00
Kris Maglione
e59706f08a
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
2019-12-06 22:14:14 +00:00
Mellina Y.
6d770bc8c1
Bug 1581119 - Flex highlighter doesn't adjust color of pattern r=gl
...
Differential Revision: https://phabricator.services.mozilla.com/D47534
2019-12-06 18:27:04 +00:00
Daniel Varga
26c6fb4e40
Backed out changeset 4a143f845921 (bug 1598893) for causing mochitest-chrome failures at devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html. On a CLOSED TREE
2019-12-06 20:38:07 +02:00
Brian Hackett
6d075df69b
Bug 1596933 - Show both waiting and active workers in threads pane, r=jlast.
...
Differential Revision: https://phabricator.services.mozilla.com/D54213
2019-12-06 18:08:18 +00:00