Commit Graph
69 Commits
Author SHA1 Message Date
Julian Descottes 2e2686f9f6 Bug 1157469 - use EventListenerService to update markupview event bubbles. r=bgrins
Inspector actor now uses EventListenerService:addListenerChangeListener to propagate
event listener changes as mutations with type 'events'.

markupview will now trigger an update when receiving a mutation of type 'event', and
the event bubble display will be updated
2016-01-06 15:01:24 -08:00
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
Gabriel Luong c63ff3b56b Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 09:52:12 -08:00
Wes Kocher 9329572311 Backed out changeset 29f184e43309 (bug 1237441) for eventual build bustage 2016-01-12 09:20:43 -08:00
Gabriel Luong b5d2cb9306 Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 08:55:46 -08:00
Alexandre Poirot f584357310 Bug 1227978 - Remove unecessary usages of promiseInvoke, rdpInvoke r=jlongster 2016-01-12 01:14:00 -08:00
Alexandre Poirot 0e6cb696be Bug 1227978 - Simplify usages of Debuggerclient APIs now that all requests returns promises. 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
Alexandre Poirot 4de0c7d254 Bug 1227978 - Simplify usages of Debuggerclient APIs now that all requests returns promises. r=jlongster 2016-01-08 06:59:34 -08:00
Phil Ringnalda f25505f737 Back out d933300edeed (bug 1157469) for devtools xpc::IsInContentXBLScope crashes, a=backout 2016-01-07 20:37:06 -08:00
Julian Descottes a6686f0861 Bug 1157469 - use EventListenerService to update markupview event bubbles;r=bgrins
Inspector actor now uses EventListenerService:addListenerChangeListener to propagate
event listener changes as mutations with type 'events'.

markupview will now trigger an update when receiving a mutation of type 'event', and
the event bubble display will be updated
2016-01-06 15:01:24 -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
Shu-yu Guo 90b93e6d5b Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Alexandre Poirot 5d30de3145 Bug 1225477 - Support listening for processes creation. r=jryans 2015-12-03 06:42:34 -08:00
Tom Tromey baf20b0486 Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07: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 011a606ba9 Bug 1220458 - Resolves ActorRegistry.registerActor only once actor is registered in the child processes. r=jryans 2015-11-19 09:51:21 -08:00
Patrick Brosset 3954cc7007 Bug 1214887 - Use a long animation in browser_animation_updatedState.js to avoid intermittents. r=ttromey 2015-11-18 14:19:43 +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
Victor Porof 6f06282523 Bug 1218078 - Show onload and DOMContentLoaded markers in the netmonitor's frontend, r=smaug, jsantell, tromey 2015-11-11 23:11:40 +01:00
Tom Tromey d9b49585a2 Bug 1222291 - change getRuleText to handle token-less rules; r=bgrins 2015-11-09 12:27:00 +01:00
Brian Grinstead 061eed57c9 Bug 835896 - Make inspector searchbox also provide results matching text or attributes in the page;r=pbrosset 2015-11-10 21:48:57 -08:00
Carsten "Tomcat" Book f6ea45a658 Backed out changeset f1d90a17ebcc (bug 1216234) for dt6 test failures 2015-11-10 14:30:39 +01:00
Tom Tromey 1c63a737e7 Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-11-09 07:01:00 +01:00
J. Ryan Stinnett 1aca2c542b Bug 1182722 - Move DevTools l10n files. r=ochameau,glandium,Pike,bgrins
Move DevTools l10n files under /devtools/client and /devtools/shared.
A script is attached to the bug for l10n repos to migrate their strings.
2015-11-04 15:35:53 -06:00
Patrick Brosset a43122b265 Bug 1211801 - Add a playback rate selector to the animation panel. r=miker 2015-11-02 12:54:07 +01:00
Alexandre Poirot 6bab55e9c9 Bug 1216590 - Merge last bits of app-manager into WebIDE. r=jryans 2015-11-02 08:18:58 -08: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
Tim Nguyen d555239da3 Bug 1208864 - Tests for duplicate node context menu item in markup view. r=pbro 2015-10-18 14:30:00 +02: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 47167154ef Bug 1196047 - Move most of shared/performance to client or server. r=jsantell 2015-10-09 18:26:08 -05:00
J. Ryan Stinnett 09157a5cd2 Bug 1196047 - Move worker*.js to devtools/shared. r=jsantell 2015-10-09 18:26:07 -05:00
Wes Kocher 5430de17c9 Merge m-c to fx-team a=merge 2015-10-07 11:33:10 -07:00
Wes Kocher cd3d631b44 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07: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