Commit Graph
37 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
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
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
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
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
Alexandre Poirot 6bab55e9c9 Bug 1216590 - Merge last bits of app-manager into WebIDE. r=jryans 2015-11-02 08:18:58 -08: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
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
Brian Grinstead bdbc11be29 Bug 1198039 - Don't modify the DOM after dragging an element and putting it back where it started;r=pbrosset 2015-10-07 08:19:09 -07:00
Tom Tromey b5cd0eaa11 Bug 984880 - as-authored styles in the rule view; r=pbrosset,r=bgrins 2015-10-06 09:35:31 -07: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
Brian Grinstead a107ec8f3d Bug 1209342 - Ignore attribute changes from Mutation Observer with null newValue;r=pbrosset 2015-09-29 08:45:24 -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 13a2b6f69a Bug 912121 - Misc. DevTools test fixes after migration. rs=devtools 2015-09-20 03:12:51 -05:00
J. Ryan Stinnett b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05: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