Commit Graph
35 Commits
Author SHA1 Message Date
Wes Kocher 22e2203e13 Backed out 2 changesets (bug 1013219) for xpcshell bustage in test_stepping-07.js
Backed out changeset eb7c34221195 (bug 1013219)
Backed out changeset c62dadd77752 (bug 1013219)
2016-01-13 13:09:31 -08:00
Tom Tromey d1e5ceb45e Bug 1013219 - set line number of return instruction; r=efaust,fitzgen,ejpbruel 2016-01-13 11:29:57 -07:00
Tom Tromey 96de14734d Bug 1013219 - set the line number of the terminating retrval; r=jimb,ejpbruel,fitzgen 2016-01-13 11:29:56 -07:00
Alexandre Poirot f584357310 Bug 1227978 - Remove unecessary usages of promiseInvoke, rdpInvoke r=jlongster 2016-01-12 01:14:00 -08:00
Sebastian Hengst d0e25952ad Backed out 2 changesets (bug 1013219) for failing XPCShell test_stepping-07.js on a CLOSED TREE. r=backout
Backed out changeset 6d73df273b78 (bug 1013219)
Backed out changeset 7e311f480d8f (bug 1013219)
2016-01-08 19:12:36 +01:00
Sebastian Hengst e449c2ce0f Backed out 3 changesets (bug 1227978) for XPCShell and dt3 bustage on a CLOSED TREE. r=backout
Backed out changeset d8a429b575e3 (bug 1227978)
Backed out changeset f99079d057cc (bug 1227978)
Backed out changeset 8b4ced39ad58 (bug 1227978)
2016-01-08 19:03:25 +01:00
Tom Tromey 973b07a796 Bug 1237673 - remove test_setBreakpoint-on-line-with-no-offets-in-gcd-script.js; r=jlongster 2016-01-08 08:26:30 -07:00
Tom Tromey 28bce23c25 Bug 1013219 - set line number of return instruction; r=efaust,fitzgen,ejpbruel 2016-01-08 08:21:42 -07:00
Tom Tromey cfb5ab8370 Bug 1013219 - set the line number of the terminating retrval; r=jimb,ejpbruel,fitzgen 2016-01-08 08:21:41 -07:00
Alexandre Poirot aa48259cbc Bug 1227978 - Remove unecessary usages of promiseInvoke, rdpInvoke r=jlongster 2016-01-08 06:59:34 -08:00
James Long 7b57dd659e Bug 1230345 - kill breakpoint sliding for most scenarios, only do it when we know we have scripts r=fitzgen 2016-01-07 11:53:56 -05:00
Patrick Brosset 1e4fd4ece5 Bug 1222409 - Listen to window resize events on server and use this to refresh style-inspector; r=bgrins
1 - Make the LayoutChangesObserver also send "resize" events; r=bgrins
The LayoutChangesObserver was originally made to observe all kinds of
layout-related events. So far, it was only observing reflows though.
This adds the capability to also observe resize events on the content
window.

2 - Removed the non-e10s rule/computed-views refreshing mechanism; r=bgrins
When the window is resized, the styles shown in the rule-view and
computed-view need to be updated (media-queries may be at play).
This was done before using a local-only, non-e10s solution. The
inspector-panel would listen to the resize event on the linkedBrowser
in the current tab.
This, obviously, did not work with e10s or across a remote connection.
This change just removes all of the code involved with this.
This won't cause any regression or backwards-compatibility problems as
a new server-driven resize observer is being put in place in this bug.
Even if you connected to an older server, you wouldn't see a difference
because the refresh-on-resize didn't work over remote connections already.

3 - Refresh the style-inspector when the LayoutChangesObserver detects resize
The implementation is simple, the inspector actor uses the
LayoutChangesObserver to detect window resize, and when it does, it
forwards the event to its front.
This is similar to how we deal with reflow events, except that for
reflows, the inspector actor (walker in this case), first filters on
the server to see if the reflow would indeed impact known nodes.
For resize events, it seemed more complex to do this kind of server
side filtering as this would involve remembering which node is currently
selected and which style were applied, and then compare that with the
new styles.

4 - Tests for the style-inspector refresh on window resize
2015-11-26 12:18:17 +01:00
Alexandre Poirot d5e749cdc0 Bug 1113865 - Replace all calls to dbg_assert with DevToolsUtils.assert. r=fitzgen 2015-11-16 07:22:49 -08:00
Nick Fitzgerald fbfd9b35a0 Bug 1224077 - Scope the boundaries of full runtime heap snapshots taken from the MemoryActor properly; r=jsantell 2015-11-13 11:46:07 -08:00
Eddy Bruel ac801131fd Bug 1207702 - Fix a bug in test_promises_object_timetosettle-02.js;r=fitzgen 2015-11-11 22:21:16 +01:00
Tom Tromey d9b49585a2 Bug 1222291 - change getRuleText to handle token-less rules; r=bgrins 2015-11-09 12:27:00 +01:00
Jason Orendorff d98fe6f5c5 Bug 1217099 - Stop emitting pointless JSOP_GETLOCAL; JSOP_POP bytecode sequence for var x;. r=shu. 2015-10-19 15:58:19 -05:00
Tom Tromey cc199151f6 Bug 863089 - replace Debugger.Script.getOffsetLine with getOffsetLocation; r=fitzgen 2015-10-22 09:35:00 +02:00
Alexandre Poirot 883ad6c255 Bug 1216555 - Makes client.close() failsafe by handling correctly closing connections. r=jryans 2015-10-22 08:06:16 -07:00
Alexandre Poirot 4f62971f71 Bug 1216554 - Reject requests immediately when the connection is already closed. r=jryans 2015-10-22 08:06:16 -07:00
J. Ryan Stinnett 54fc9e8b77 Bug 1203159 - Clean up various tests after DevTools resource move. r=me 2015-10-21 14:18:29 -05:00
J. Ryan Stinnett 687866dde2 Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Alexandre Poirot f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
J. Ryan Stinnett 09157a5cd2 Bug 1196047 - Move worker*.js to devtools/shared. r=jsantell 2015-10-09 18:26:07 -05:00
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst 190bccea7d Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo a021cebc10 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Nick Fitzgerald 5b9dd76f87 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-25 15:35:02 -07:00
Carsten "Tomcat" Book c2da61610f Backed out 1 changesets (bug 1207645) for Mulet Gaia JS Integration Test Gij 21 and 4 perma test failures
Backed out changeset a23053342d5b (bug 1207645)
2015-09-25 16:54:34 +02:00
Nick Fitzgerald 1607d9bba1 Bug 1207645 - Create HeapSnapshotFileActor; r=jryans
This commit creates the HeapSnapshotFileActor and moves the transferHeapSnapshot
method from MemoryActor to HeapSnapshotFileActor. This is necessary because
child processes in e10s are sandboxed and do not have access to the file system,
and because MemoryActor is in the sandboxed child process it cannot open the
file and send it over the RDP.

This complexity is hidden at the MemoryFront layer. Users of MemoryFront will
still simply call its saveHeapSnapshot method, and do not need to worry about
the inner workings of how heap snapshot files are transferred over the RDP. This
required adding a third parameter to MemoryFront's initialize method: the
listTabs response.
2015-09-24 17:19:03 -07:00
J. Ryan Stinnett 2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett b2383b2682 Bug 912121 - Adjust ESLint files. r=pbrosset
Move ESList files up to /devtools to represent the entire DevTools tree.

Various relative paths and ignore files are also updated.
2015-09-21 12:02:32 -05:00
J. Ryan Stinnett a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00