Граф коммитов

2551 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca 25265b82d1 Backed out changeset 238d9fba1b5a (bug 1533160) for Debugger failures 2019-03-07 05:56:24 +02:00
Jason Laster c2596e8439 Bug 1533160 - Clean up dumpThread. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22399

--HG--
extra : moz-landing-system : lando
2019-03-07 03:01:30 +00:00
ravefalcon92 1944262d43 Bug 1530423 - Ensure breakpoints are added to newly-cloned JSScripts for existing sources. r=loganfsmyth
Similar to bug 1528654, we currently bail out too early and don't process all of the correct scripts when adding breakpoints.

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

--HG--
extra : moz-landing-system : lando
2019-03-07 01:01:05 +00:00
Nicolas Chevobbe 75a87e1bab Bug 717611 - Clear ConsoleService cached messages in webconsole actor's clearMessagesCache; r=Honza.
We were clearing the ConsoleAPI messages, but not the one
issued by the ConsoleService. A previous patch added
Services.console.resetWindow, so we can use it in `clearMessagesCache`.

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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:40:47 +00:00
shindli b27cb46fce Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-06 06:58:43 +02:00
Jason Laster 5b509d2a2c Bug 1532779 - Add a helper for dumping the current state of the thread actor. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D22178

--HG--
extra : moz-landing-system : lando
2019-03-05 21:48:58 +00:00
Alexandre Poirot e81a254114 Bug 1532237 - Use a Debugger loaded in a distinct compartment when debugging chrome in the event collector codebase. r=miker
Now that the server is by default loaded in the shared system compartment,
we have to special cases the code debugging system compartments.
When devtools.chrome.enabled is turned on, the event collector is
inspecting the system compartment's event listener.
In this case, we are using a special Debugger instance loaded in
a sandbox flagged with invisibleToDebugger=true. This forces loading it
in a distinct compartment and helps the debugger know about the boundaries
between debugger and debuggee code.
It should be safe to only load the Debugger and not the whole server here
as event collector is only inspecting and doesn't register any callback on
the Debugger API.

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

--HG--
extra : moz-landing-system : lando
2019-03-05 14:58:05 +00:00
Felipe Gomes 7a9810f6b4 Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:53 +00:00
yulia 6f475afa31 Bug 1529247 - remove unused eventlisteners method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21703

--HG--
extra : moz-landing-system : lando
2019-03-05 10:42:20 +00:00
Brian Hackett da5ea03e75 Bug 1530133 Part 3 - Support conditional logpoints when replaying, r=lsmyth.
--HG--
extra : rebase_source : 89eb161655913929e7e0746cb3e8195ba44515de
2019-02-23 16:19:42 -10:00
Brian Hackett 8c5b6ad7e9 Bug 1530133 Part 1 - Debugger changes for removing obsolete log points, r=lsmyth.
--HG--
extra : rebase_source : 431488d0ee5bed6795b72649382eecd6e35e095f
2019-02-23 16:18:57 -10:00
Daisuke Akatsuka d37327cfb2 Bug 1520745: Remove unused getAllAnimations function. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D21640

--HG--
extra : moz-landing-system : lando
2019-03-04 08:47:47 +00:00
Brian Hackett 448cf790fe Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth. 2019-03-03 07:05:07 -10:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Razvan Maries c51046f730 Merge mozilla-inbound to mozilla-central a=merge 2019-03-02 11:41:18 +02:00
Dorel Luca 5d73bddbc6 Merge mozilla-central to autoland 2019-03-02 01:23:22 +02:00
Daniel Varga 74f08acf9b Backed out changeset 4047bcadec73 (bug 1522244) for mochitest failure at devtools/client/debugger/new/test/mochitest/browser_dbg-worker-scopes.js a=backout
--HG--
extra : rebase_source : 3ad963907a2364fa351e67b957f49d3d754e5efb
2019-03-02 00:01:01 +02:00
Dorel Luca 0284221047 Merge mozilla-central to mozilla-inbound 2019-03-02 01:26:01 +02:00
Felipe Gomes 07bc0f448c Bug 827976 - Use a different method to detect if xpcshell tests are running. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D21078

--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:53 +00:00
Logan Smyth 6a327e3d2b Bug 1531874 - Add a no-op event-breakpoint API. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21764

--HG--
extra : moz-landing-system : lando
2019-03-01 19:47:25 +00:00
yulia beb91522fe Bug 1529247 - clean up frames methods on thread client; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20834

--HG--
extra : moz-landing-system : lando
2019-03-01 15:26:18 +00:00
Brian Hackett 59b0afdf35 Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 80e4880695f4fb1516946dc70e87b0949d89402f
2019-02-28 06:25:10 -10:00
Brian Hackett 75c921ea5c Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : cdd1d02a69a17709aff17ac2d6d13f6f0039d5bb
2019-02-28 06:24:46 -10:00
Brian Hackett fb693b63d4 Bug 1523262 Part 1 - Inform worker we are observing wasm when attaching, r=lsmyth.
--HG--
extra : rebase_source : f3e07b3a5ecfa05d172871304dd9297b81b3f422
2019-02-21 17:25:14 -10:00
Cosmin Sabou 00f3836a87 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-28 12:57:50 +02:00
Jonathan Kingston f6680698bd Bug 1525319 - Removing context from OnDataAvailable r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D20881

--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Julian Descottes 4615ed9f9b Bug 1528276 - Add test for DebuggerServer.keepAlive;r=ochameau
Depends on D20830

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

--HG--
extra : moz-landing-system : lando
2019-02-27 17:08:43 +00:00
Julian Descottes 235dde6c92 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-27 19:17:37 +00:00
Logan Smyth 2cfdeb0deb Bug 1530549 - Ensure that _clearSteppingHooks() runs _after_ we pause. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D21384

--HG--
extra : moz-landing-system : lando
2019-02-27 17:37:31 +00:00
Razvan Caliman 294be58640 Bug 1530972 - Remove obsolete modifySelctor2 method from StyleRule actor, front and spec. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D21342

--HG--
extra : moz-landing-system : lando
2019-02-27 15:33:33 +00:00
Alexandre Poirot 252ea7758f Bug 1520835 - Remove unused attachTarget methods. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D20704

--HG--
extra : moz-landing-system : lando
2019-02-22 18:32:52 +00:00
Andreea Pavel 3f0c70001c Backed out 2 changesets (bug 1526557, bug 1522244) for failing xpcshell at test_framebindings-02.js on a CLOSED TREE
Backed out changeset 67bef7d63d86 (bug 1526557)
Backed out changeset 09f23a363606 (bug 1522244)
2019-02-28 03:27:12 +02:00
Brian Hackett 34cf4f38cd Bug 1526557 - Specify correct source location in logpoint messages, r=lsmyth.
--HG--
extra : rebase_source : 9618e98ff2b9b61e39bcaa06e239c56f055d4921
2019-02-26 17:11:52 -10:00
Brian Hackett 337b884850 Bug 1522244 - Fix previewing in worker threads for several builtin classes, r=lsmyth.
--HG--
extra : rebase_source : 2af71f479062e128c1a01d772a19840f87dca4b0
2019-02-27 09:42:58 -10:00
Brian Hackett 55a473dd19 Bug 1527203 Part 3 - Send and install breakpoints when attaching to a thread, r=ochameau,jlast.
--HG--
extra : rebase_source : 48c12164ef88f33aaf4e9ea1e2d4d8da29e7dd8e
2019-02-12 13:06:08 -10:00
Brian Hackett a342374c62 Bug 1527203 Part 2 - Prevent worker debuggee execution until the thread actor has attached, r=ochameau.
--HG--
extra : rebase_source : 00d301909314379c3667af456579f9dbf0b47016
2019-02-12 13:05:34 -10:00
yulia 69d42691df Bug 1529247 - remove unused getPrototypesAndProperties method; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20835

--HG--
extra : moz-landing-system : lando
2019-02-26 16:24:49 +00:00
Brindusan Cristian 73b09a782e Backed out changeset c300840573f5 (bug 1528276) for dt failures at browser_target_server_compartment.js. CLOSED TREE
--HG--
extra : histedit_source : b43e057c5f78805a5a09afd84836e537fc726618
2019-02-26 19:45:30 +02:00
Julian Descottes ecf2b4ff49 Bug 1528276 - Do not destroy the DebuggerServer in non-e10s when last frame connection is closed r=ochameau
When reviewing https://bugzilla.mozilla.org/show_bug.cgi?id=1521052 I did not think about Firefox for Android which is not using e10s.
This means the main DebuggerServer will be killed when there are no connections left. Happy to discuss more about the preferred solution.
This is a regression in 66 and I hope to uplift a fix for this.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 16:38:30 +00:00
Razvan Caliman 3febb41272 Bug 1530294 - Add option to skip cache when requesting authored text for CSS rule r=gl
This patch adds a boolean option to skip the cached value of `StyeRuleActor.authoredText` and re-parse the stylesheet for its value.
When changing content of a descendant rule inside an ancestor like @media or @select, the cached `authoredText` value is outdated.
This yields incorrect data when requesting the complete rule authored text, hence the need for a cache-busting option.

In addition to this change, there is a slight refactor to include the generated unique selector for the mock-rule for element inline styles.

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

--HG--
extra : moz-landing-system : lando
2019-02-26 09:09:01 +00:00
Razvan Caliman 38e6367521 Bug 1512956 - Ensure empty string is considered valid CSS authoredText; r=pbro
When removing all declarations from a rule via the Rule view, the authoredText value ends up as an empty string.
This patch ensures that the fallback cssText is not used in that case because that accidentally restores the whole declaration block when re-parsing the text of the rule.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 09:49:41 +00:00
Brian Hackett 3683e3bb45 Bug 1447244 Part 8 - Generate source actors for internal source IDs on demand, r=lsmyth.
--HG--
extra : rebase_source : db9566d09636439bd35085ebe49d0535c787ec27
2019-02-21 09:42:14 -10:00
Brian Hackett 5b568c6b04 Bug 1447244 Part 6 - Devtools server changes for script source IDs, r=lsmyth.
--HG--
extra : rebase_source : 18b46097c0f468f310755d4443169fffa33bfcac
2019-01-16 12:01:07 -10:00
Boris Zbarsky 709be5f5e2 Bug 1528146. Fix how web extensions are injected into about:blank. r=kmag
The basic idea is to make non-initial about:blank fire
document-element-inserted notifications just like every other document.  We
then ensure that there's a notification (initial-document-element-inserted)
that only gets fired once per window for documents that are in a window.  This
notification is what webextensions use to inject into the document.

The old setup which injected into about:blank when its global is created gets
removed in favor of injecting the same way as into every other document.

The changes to Document.cpp are fixing a bug in the "block the parser" stuff
webextensions do.  For about:blank, the blocking happens at a point when the
parser really has nothing else to parse (since it's parsing the empty string).
So the blocking is a no-op.  But we do want to prevent DOMContentLoaded firing,
because otherwise the "end of document" scripts could run before we finish
doing the "beginning of document" work in webextensions.  So we want to make
sure we block DOMContentLoaded, not just the load event.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 21:27:44 +00:00
Coroiu Cristina 41959946c9 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-22 18:39:27 +02:00
Coroiu Cristina 80435b2557 Merge autoland to mozilla-central a=merge 2019-02-22 18:24:30 +02:00
yulia f1efb1c816 Bug 1529247 - Remove environment method from the threadClient; r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D20467

--HG--
extra : moz-landing-system : lando
2019-02-22 16:13:54 +00:00
Michael Ratcliffe 11f246e18a Bug 1042082 - Chrome event bubbles are displayed when they shouldn't be r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D18358

--HG--
extra : moz-landing-system : lando
2019-02-22 11:17:02 +00:00
Coroiu Cristina dc0adc07db Backed out changeset 367ca1e16853 (bug 1528146) on request by igoldan, assignee didn't replied back on time a=backout 2019-02-22 10:10:33 +02:00
Logan Smyth fe5c75b9ba Bug 1528654 - Select the first column breakpoint for _all_ evaluations of a Debugger.Source, not just the first. r=jlast
A JSScript can be explicitly cloned and applied to a new realm. When this is done within the same compartment
as the original JSScript, it maintains its reference to the original ScriptSourceObject. This can lead to the
potentially surprising fact that using Debugger.findScripts({ source }) can return multiple Debugger.Script
objects representing the same function, but in multiple realms.

When we query for breakpoints in a given source, we want to take the first column breakpoint on a given line,
but that needs to apply to all potential instances of the Debugger.Script for that location, not just the first one.

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

--HG--
extra : moz-landing-system : lando
2019-02-21 16:44:54 +00:00