Commit Graph

466 Commits

Author SHA1 Message Date
Patrick Brosset
c1a025bcaa Bug 1268082 - Get the list of supported CSS types for each property from the server; r=tromey
Added the list of supported types to each css property returned by the
CssProperties actor.
As a fallback, the css-properties-db static file also contains this list.
Also, if connected to a server that has the CssProperties actor but not
the data about supported types, then the type data is retrieved from the
static db too.

MozReview-Commit-ID: J1o8JGODMiC

--HG--
extra : rebase_source : 9c997516c0b1c374a016a6a5f54dacfb5ce076bf
extra : amend_source : 15ae16c64120b984b212fd2e2723da5018aaaa5c
2016-06-15 08:58:36 +01:00
Nicolas Chevobbe
80aa7658fd Bug 1240038 - Listen for changes when a StyleSheetActor is created. r=tromey
A listener was added for stylesheet changes only if the stylesheet already
contributed to the page before the modification. So if there was a stylesheet
without any rule matching a node of the page, when a rule was created in it for
the current selected node in the markup view, the rule view wasn't refreshed.
The fix here is to emit an event, from the TabActor, when a StyleSheetActor is created,
and listen to such event to watch for changes in it, in order to update the rule view.
Modify an existing rule view/stylesheet editor sync test to make sure this bug is fixed.


MozReview-Commit-ID: H3szbUnchQP

--HG--
extra : transplant_source : %F7%E0%D2%8B%B3%D2%C3%1F%F8%88%03%AA%10Q%E4%B8h%0C%BE_
2016-06-07 22:28:45 +02:00
Nick Fitzgerald
ff7200291a bug 1265723 - Decouple the MemoryFront from the MemoryActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
Nick Fitzgerald
323a754b9a Bug 1279302 - Decouple the ReflowFront from the ReflowActor; r=ejpbruel 2016-06-10 13:28:15 -07:00
J. Ryan Stinnett
ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Eddy Bruel
170631fab0 Bug 1265720 - Decouple fronts from actors in gcli;r=jryans 2016-06-09 17:28:36 +02:00
Patrick Brosset
23a6760a0b Bug 1262710 - Don't use CPOW in devtools/server/test/browser tests when adding a tab; r=ochameau
MozReview-Commit-ID: DFJvufMBTjn

--HG--
extra : rebase_source : 1366bc929067f6c7bbd5f944f973101bf3af9d7c
2016-06-08 09:47:02 +02:00
Wes Kocher
07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrea Marchesini
8f19409ff1 Bug 1278630 - Native Console API should work also after a refresh, r=bgrins 2016-06-08 08:01:08 -07:00
Eddy Bruel
72591e2414 Bug 1265724 - Decouple TimelineFront from TimelineActor; r=ejpbruel 2016-06-08 15:51:55 +02:00
Nicolas Chevobbe
6901d27224 Bug 1276468 - Fix sheetToUrl function for inline style. r=jwalker
The function was trying to access `stylesheet` parameter's ownerNode property,
which is undefined when the parameter is a StyleSheetActor. In the latter case,
we use nodeHref and styleSheetIndex properties to match what is done when the
parameter is a StyleSheet.

MozReview-Commit-ID: 7FNoKasFYLL
2016-06-06 21:48:54 +02:00
Nick Fitzgerald
6d367104ff Bug 1278405 - Decouple the DirectorRegistryFront from the DirectorRegistryActor; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald
cb37130245 Bug 1278397 - Decouple the MessagePortFront, DirectorScriptFront, and DirectorManagerFront from the MessagePortActor, DirectorScriptActor, and DirectorManagerActor respectively; r=ejpbruel 2016-06-07 07:53:22 -07:00
Nick Fitzgerald
57d719d08f Bug 1265731 - Decouple DeviceFront from DeviceActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Nick Fitzgerald
e0776670f7 Bug 1278345 - Decouple the LongStringFront from the LongStringActor; r=ejpbruel 2016-06-07 07:53:21 -07:00
Eddy Bruel
b91e39033c Bug 1265728 - Decouple PromisesFront from PromisesActor; r=ejpbruel 2016-06-07 12:47:20 +02:00
Nick Fitzgerald
5f718a1500 Bug 1277985 - Decouple the CSSUsageFront from the CSSUsageActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
54b647837c Bug 1277971 - Use ActorClassWithSpec for the EnvironmentActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
5658c35c3b Bug 1277953 - Use ActorClassWithSpec for the FrameActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
05e8f31b35 Bug 1277951 - Use ActorClassWithSpec for WorkerActor and ServiceWorkerRegistrationActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
32fd612182 Bug 1277947 - Use ActorClassWithSpec for the ThreadActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
c4af500552 Bug 1277944 - Use ActorClassWithSpec for the SourceActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Nick Fitzgerald
a421e383c4 Bug 1277940 - Use ActorClassWithSpec for the BreakpointActor; r=ejpbruel 2016-06-06 10:24:34 -07:00
Jarda Snajdr
d56d19a26c Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: BdrqblFyC66
2016-06-01 01:03:00 +02:00
Carsten "Tomcat" Book
4aea0165dc merge mozilla-inbound to mozilla-central a=merge 2016-06-06 11:55:56 +02:00
Andrea Marchesini
c30cdb7269 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
Florian Scholz
f1bdb4fcf0 Bug 1179876 - Add more doc links to console errors; r=mrrrgn
--HG--
extra : rebase_source : 8a30c3767fe375db71fcc26167338791625ba8b5
2016-06-03 08:54:54 -07:00
Nick Fitzgerald
da8d89330d Bug 1277414 - Remove the memprof actor; r=ejpbruel 2016-06-02 10:04:27 -07:00
Eddy Bruel
6cd5859b6c Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 17:42:24 +02:00
Carsten "Tomcat" Book
3b31f13666 Backed out changeset f3bdf3ebaf4c (bug 1202458) for test failures in test_inspector-mutations-value.html - missed that changeset in the backout before, sorry 2016-06-02 16:32:05 +02:00
Carsten "Tomcat" Book
d08f21c9a8 Backed out changeset 49d7963e43d8 (bug 1202458) for test failures in test_inspector-mutations-value.html
--HG--
extra : rebase_source : daf55daa5c2f5c0a47babdcf86fb8d81f6ce4b99
2016-06-02 16:30:08 +02:00
Carsten "Tomcat" Book
eb67af1f6f Backed out changeset e74192b1a9c8 (bug 1202458)
--HG--
extra : rebase_source : 95f662b3116ce3c9dc5357578a65672a1f3d5b2a
2016-06-02 16:29:47 +02:00
Carsten "Tomcat" Book
b9a80d272d Backed out changeset b6ba2b9fbe8a (bug 1265730) for bc7 failures in browser_parsable_script.js 2016-06-02 15:59:07 +02:00
Matteo Ferretti
59987f05a7 Bug 1258718 - Simplify highlighters.css adding CSS variables; r=pbro
MozReview-Commit-ID: GyHXNfCxb9f
2016-06-02 13:39:54 +02:00
Julian Descottes
295a067b52 Bug 1202458 - part3: rename ShortLongString to SimpleStringFront;r=pbro
The current name ShortLongString doesn't reflect the current usage of
this class. When looking at the few clients of this class, the reason
for using it is that the string is already accessible on the client
and does not need to be fetched from the server, while still keeping
the same interface as the LongStringFront.

MozReview-Commit-ID: 7MdgH8GzC7q

--HG--
extra : rebase_source : 71a7cbb69f9ccf4d46a6750ed93d8f0ee236177e
extra : histedit_source : 8bad387e697a8288d0ac651d52b8cf8ad9fb0bcb
2016-05-31 16:51:27 +02:00
Julian Descottes
cd86158629 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L

--HG--
extra : rebase_source : 4861bf47e31ea6d1d0193663a8c92f16eef12214
extra : histedit_source : 28d396641f0c8f12d9f28bc321a72e0666dd2db8
2016-06-02 10:35:03 +02:00
Julian Descottes
fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Eddy Bruel
b33a96b184 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
J. Ryan Stinnett
4dc1d16893 Bug 1269457 - Only set breakpoints for pending bp actors. r=ejpbruel
The special code path carved out in bug 1225160 dropped the `actor.isPending`
check which causes many, many attempts to set a breakpoint on every new source
notification, leading to a very slow debugging experience.

MozReview-Commit-ID: A3pnHzh5eeh
2016-06-01 10:59:24 -05:00
Greg Tatum
c17299d948 Bug 1265790 - replace inIDOMUtils.isInheritedProperty r=pbro
MozReview-Commit-ID: 1c6OLfYMW0p
2016-06-02 13:07:00 +02:00
Tim Nguyen
b45619ad94 Backed out 3 changesets (bug 1134073) for browser_net_statistics-01.js failures
Backed out a58743e540f5 (bug 1134073)
Backed out 616b2bbf8fd0 (bug 1134073)
Backed out 691b0e0a6ca1 (bug 1134073)

MozReview-Commit-ID: 3LwVxPXX8SZ
2016-06-04 19:01:29 +02:00
Jarda Snajdr
add5047623 Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend r=ochameau
MozReview-Commit-ID: CJBVpjvmWgh
2016-06-01 01:03:00 +02:00
J. Ryan Stinnett
c6711f2677 Bug 1277674 - Explicitly require Services in source actor. r=tromey
It was being implicitly loaded into modules by a single arg Cu.import elsewhere
in the code base, but only if JSON Viewer is enabled (Dev. Ed and Nightly
channels).  I plan to address the Cu.import issue more thoroughly over in bug
1193390.

MozReview-Commit-ID: 6AGJGqYvw3c
2016-06-03 13:38:23 -05:00
Wes Kocher
ab58bab2bf Backed out 3 changesets (bug 1134073) because maybe it broke the clipboard tests
Backed out changeset a43d99734390 (bug 1134073)
Backed out changeset 572ebec612e8 (bug 1134073)
Backed out changeset f12a69ba9122 (bug 1134073)
2016-06-03 14:01:27 -07:00
Nick Fitzgerald
2c304b0c22 Bug 1277707 - Follow up: fix syntax error introduced in bad rebase; r=me 2016-06-03 12:25:26 -07:00
Jarda Snajdr
8b53520b4b Bug 1134073 - Part 1: Collect information about request cause and stacktrace in netmonitor backend. r=ochameau
--HG--
extra : rebase_source : 13b14d5dab207a909d4858ca3ddaa1c819516971
2016-06-03 16:26:35 +02:00
Nick Fitzgerald
e3276c78d8 Bug 1277707 - Decouple the fronts from the actors in the shader editor; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald
de3a8e2566 Bug 1265719 - Decouple the CanvasFront and FrameSnapshotFront from the CanvasActor and FrameSnapshotActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald
644e1b42f8 Bug 1265732 - Decouple the AudioNodeFront and WebAudioFront from the AudioNodeActor and WebAudioActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00
Nick Fitzgerald
84bd208e23 Bug 1277673 - Decouple the ActorActorFront and ActorRegistryFront from the ActorActor and ActorRegistryActor respectively; r=ejpbruel 2016-06-03 10:45:10 -07:00