Julian Descottes
d40b2c8d17
Bug 1261317 - part2: prevent autocomplete on arrow keys in multiline editor;r=pbro
...
Check if the CSS inplace editor is currently using several lines
to display its value. When using several lines, prevent increment,
decrement and autocomplete features.
The autocomplete can still be triggered by typing a value at the end
of the input (or before a space). When the autocomplete popup is
opened, UP/DOWN still allow to cycle through the suggestions.
MozReview-Commit-ID: DapCdhjx444
--HG--
extra : rebase_source : e7c6e8a53d29b79174913c011e1ac07c39431238
2016-04-01 17:26:58 +02:00
Chris Manchester
f7a1b3fb60
Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
...
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.
MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Tobias Schneider
6c7272d154
Bug 1209273 - Part 3: Make CSS autocompletion tests pass. r=gl
2016-04-01 22:37:49 -07:00
Julian Descottes
7f0d26fa31
Bug 1143742 - part5: fix eslint error in inspector ruleview test;r=bustage
...
MozReview-Commit-ID: 1W2xTQdlkaS
--HG--
extra : rebase_source : 86931078b22f249fc240b092340cd2696dc619eb
2016-04-01 12:12:21 +02:00
Julian Descottes
ed5dcd666f
Bug 1143742 - part4: add textarea to valid targets when copying;r=gl
...
When opening the context menu (and displaying the "copy" menu entry)
or when receiving a copy event, we now check if the current target
is a textarea. (multiline inplace editor relies on textarea)
Modified existing test to check this new use case.
MozReview-Commit-ID: Cgm67JCdN4c
--HG--
extra : rebase_source : 4955f910e5428b92587b408ffd1b62cd668faf2a
2016-03-30 16:39:33 +02:00
Julian Descottes
93a3e46f97
Bug 1143742 - part2: multiline inplace-editor should support a maxWidth option;r=gl
...
The inplaceEditor now supports a maxWidth configuration option which can either
be a number or a method returning a number. This maxWidth will be applied to the
hidden element used in order to autosize the input.
MozReview-Commit-ID: JTiCQ3HK5bn
--HG--
extra : rebase_source : dcf7ba4a897cd77b43b333ec3b5633dc9043e51d
extra : source : a93558488cf7fc9f54165bd5f98055e8a3901dac
2016-03-31 00:59:16 +02:00
Julian Descottes
2748597a5d
Bug 1143742 - part1: multiline inplace editor: cleanup existing tests;r=gl
...
In preparation for using a multiline editor for property values, tests
need to be updated :
- some tests used the "input" selector, which will no longer work with a
textarea
- some tests are relying on EventUtils.sendChar to send keys such as
"VK_RETURN". Doing so also applies the shift key modifier, which has
a specific behavior with multiline editors
MozReview-Commit-ID: HkFxH3Go49E
--HG--
extra : rebase_source : 58ea640905b4acc2574c47b2bc87fcf0780db59b
2016-03-02 17:11:09 +01:00
Nicolas Chevobbe
3976954edf
Bug 1259559 - Units cycling with shift+click persists value in Style editor. r=miker
...
Add an 'unit-change' event fired when shift+click on color and angle swatches.
Add a listener on this event in text-property-editor.js to call the same function
that's called when tooltip edit is commited to persist the new unit.
Edit some tests to adapt to this new behaviour and create some tests to make sure
the value obtained via shift+click are actually persisted.
MozReview-Commit-ID: CcF4oiBPEzT
--HG--
extra : transplant_source : %1B%40%A24%EDW.%C5%96%C8m%3C%1F4%DA%F78%D1%26%8B
2016-03-28 21:01:32 +02:00
Brian Grinstead
043c9cadc3
Bug 1260235 - Only accept ctrl+f in computed and rule view if it happened in the relevant container;r=gl
...
MozReview-Commit-ID: 4kMiWcqTra
2016-03-29 14:25:02 -07:00
Julian Descottes
a360bcdbef
Bug 1168246 - part2: fix tests relying on CSS suggestions order;r=pbrosset
...
MozReview-Commit-ID: 9BEajbI665d
--HG--
extra : rebase_source : cbd8521b2356b976999f18ce301d8967b4ecac16
2016-03-27 18:24:43 +02:00
Patrick Brosset
b1f15ea5e4
Bug 1255787 - Do not assume sourceMap appears only in external stylesheets; r=gl
...
MozReview-Commit-ID: A92DdoAFDGT
--HG--
extra : rebase_source : 1b7b8d6391f502fd01d02bb62e87e18cbcf0798f
extra : histedit_source : 6516614380d5916f7f92c220aa0a21d3deaebcf8%2Ccfcf797921e7b90753d33ca9a48c8829ad5bbf84
2016-03-29 21:30:11 +02:00
Nicolas Chevobbe
c123351274
Bug 1250835 - Display swatch for angles in the rules panel. r=miker
...
Add a swatch before angle values in the rules panel and allow cycling
through angle units with shift+click (like we already do for color units).
MozReview-Commit-ID: CWhoUQTkP1G
--HG--
extra : transplant_source : %5B%E5%AD%22%D2%20uk%07%EE%A9%E4%91YS%B3R%C3%DF%21
2016-03-08 23:04:54 +01:00
Julian Descottes
f25a8e9101
Bug 1253785 - fix unhandled promise rejections: wait for 2nd ruleview-changed;r=pbrosset
...
As commented in the test, using createNewRuleViewProperty with "width:"
will actually trigger two ruleview-changed events :
- one when focusing the property-name input
- one when focusing the property value input (which is automatically done when hitting
return in this case, since we only entered a property name)
MozReview-Commit-ID: GjJnwDr3ON6
--HG--
extra : rebase_source : d4f22915dfdd65d55b23a09f797402944870f017
2016-03-09 15:44:13 +01:00
Andrew Liu
02937e8dd8
Bug 1224492 - Modify devtools client inspector to disable commented properties when they are pasted into the rule editor. r=tromey
2016-03-10 05:29:00 -05:00
Ryan VanderMeulen
e41e37efae
Bug 1250058 - Skip browser_inspector_initialization.js on Linux debug e10s as well.
2016-03-05 22:31:02 -05:00
Alexandre Poirot
fc8a7748f7
Bug 1247203 - Stop exporting useless symbols of of devtools/client/main. r=jryans
2016-03-04 07:51:11 -08:00
Patrick Brosset
3dc525e814
Bug 1252099 - Remove usage of getNode and content in markupview tests; r=ochameau
...
MozReview-Commit-ID: F58e1CcwHNs
--HG--
extra : rebase_source : 6492997a05363bc88e00d0726a60f7dfe1bb8125
2016-03-03 16:35:21 +01:00
Gabriel Luong
f102846020
Bug 1252640 - Fix overlapping borders in the ruleview-header r=pbro
...
MozReview-Commit-ID: JdQBKSQ96Rs
2016-03-03 12:55:14 -08:00
Wes Kocher
abdd8279a7
Backed out changeset 6fe81a6dbaa8 (bug 1252640) because browser_rules_pseudo_lock_options.js is still busted
...
MozReview-Commit-ID: ENmjcTCS30T
2016-03-03 12:43:43 -08:00
Gabriel Luong
bb988f228f
Bug 1252640 - Fix overlapping borders in the ruleview-header r=pbro
2016-03-03 13:58:12 -05:00
Wes Kocher
a6ffd12fa3
Backed out changeset 48199a0c1e54 (bug 1252640) for browser_rules_pseudo_lock_options.js bustage
...
MozReview-Commit-ID: 9rIM5pH3kJZ
2016-03-03 10:40:12 -08:00
Gabriel Luong
aa8686e0d3
Bug 1252640 - Fix overlapping borders in the ruleview-header r=pbro
2016-03-03 09:54:41 -05:00
Carsten "Tomcat" Book
de8d151c26
merge mozilla-inbound to mozilla-central a=merge
2016-03-02 15:54:19 +01:00
Alexandre Poirot
7c4184c262
Bug 1252346 - Fixes missing Services definition or tweaked eslint to figure out where does it comes from. r=jryans
2016-03-01 14:00:28 -06:00
Ryan VanderMeulen
496caa4fef
Bug 1250058 - Skip a couple leak-prone inspector tests on OSX e10s as well.
2016-02-29 18:14:56 -05:00
Patrick Brosset
6cb7252111
Bug 1247263 - Round 2 of fixing unhandled rejected promises in ruleview tests; r=tromey
...
MozReview-Commit-ID: 1sSlXBepsB0
--HG--
extra : rebase_source : 1d3d9690fd58fb6dcf64c11d24e9177f1dc34ee1
extra : histedit_source : 3e9bcf06d231a60d8c81fc2caf8f02733fb7d226%2C085361c13a6fd8dbd0bdf7bd201b2896b3179360
2016-02-27 21:03:23 +01:00
Patrick Brosset
4d0651c987
Bug 1249888 - try/catch SourceMapConsumer to avoid empty rule-view when source map is invalid; r=gl
...
--HG--
extra : rebase_source : 744840ba5bb668baf761de0ee1af33395a64aeb4
extra : histedit_source : 157aa5a266678390d2244c790fc44869c3a9f7b7%2C5ea5da38fe59c2612c8fcec8790350732837c9fb
2016-02-27 20:39:21 +01:00
Alexandre Poirot
d3b05e8c5a
Bug 1245530 - Use require(Services) instead of Cu.import(Services.jsm). r=jryans
2016-02-27 04:51:10 -08:00
Patrick Brosset
f7f26ce139
Bug 1246677 - 10 - Removed addStyle from head.js since it was unused; r=gl
...
MozReview-Commit-ID: EgoEzxnILrJ
--HG--
extra : rebase_source : 69e68ac96948602af8fa79edc52f5907005f9149
2016-02-12 14:28:54 +01:00
Patrick Brosset
85ebc2c1f6
Bug 1246677 - 9 - Get rid of all remaining _applyingModifications usage in tests; r=ochameau
...
MozReview-Commit-ID: 5fnZb6dlejV
--HG--
extra : rebase_source : 28c61c052bf26bc869180f463a4a0d0e19cf2a0b
2016-02-23 16:50:08 +01:00
Patrick Brosset
e1d3785108
Bug 1246677 - 8 - Use addProperty and remove code duplication; r=gl
...
MozReview-Commit-ID: KQXgdZxdiw9
--HG--
extra : rebase_source : 941f4e7c4059c9bd14f6e09f752c317cd2423fff
2016-02-18 11:00:38 +01:00
Patrick Brosset
a31b063cce
Bug 1246677 - 7 - Clean remaining ruleview and tests eslint warnings; r=jdescottes
...
MozReview-Commit-ID: BcyEv4fUWJZ
--HG--
extra : rebase_source : d589e9df51222df10db1e2095f5018d8c44bcb5a
2016-02-23 17:09:01 +01:00
Patrick Brosset
9138ef7551
Bug 1246677 - 6 - Get rid of 'content' in ruleview head.js; r=tromey
...
MozReview-Commit-ID: A1r7oVz0cbV
--HG--
extra : rebase_source : b2c31f9cd5e06cb4a7aba29e924b64cc6db4e7b8
2016-02-25 14:53:02 +01:00
Patrick Brosset
a92c17dbd3
Bug 1246677 - 5 - Get rid of 'content' in ruleview test files; r=jdescottes
...
MozReview-Commit-ID: Af07cexjJOv
--HG--
extra : rebase_source : 10f7e358dcd392c54cd4e2c788c3930ead714f52
2016-02-22 10:33:04 +01:00
Patrick Brosset
af9b703896
Bug 1246677 - 4 - Stop using content.getComputedStyle in ruleview tests; r=miker
...
MozReview-Commit-ID: 6BYYYLwO2O5
--HG--
extra : rebase_source : 8d69d131cac673f71f43c6e30b547ac5a95c9df6
2016-02-08 22:08:10 +01:00
Patrick Brosset
d71a5f40b2
Bug 1246677 - 3 - Remove all usages of getNode in ruleview tests; r=tromey
...
MozReview-Commit-ID: 6EIQ1lhE3C9
--HG--
extra : rebase_source : 1381905fddd715d45fb100f23b9b794571ba358d
2016-02-15 10:11:17 +01:00
Patrick Brosset
45b4f3f88c
Bug 1246677 - 2 - Stop using CPOWs in simulateColorPickerChange; r=miker
...
MozReview-Commit-ID: 6jGUGfD0bM5
--HG--
extra : rebase_source : 937a3b99f7e5962c33a9af4a9c36b6e45478ff16
2016-02-08 18:02:35 +01:00
Patrick Brosset
a932228b1a
Bug 1246677 - 1 - Make waitForSuccess work with async functions; r=miker
...
MozReview-Commit-ID: Ic0UyApQpB7
--HG--
extra : rebase_source : da22978c67e456ab5ba9fedecd228682cdd10ba5
2016-02-08 17:38:57 +01:00
Ryan VanderMeulen
b92db8e975
Backed out 10 changesets (bug 1246677) for causing frequent OSX browser_rules_completion-existing-property_01.js failures (10.6 and 10.10).
...
Backed out changeset a6d3a7a5e4ea (bug 1246677)
Backed out changeset 5dcb51fcef15 (bug 1246677)
Backed out changeset e450c5329a06 (bug 1246677)
Backed out changeset a65e8badc4c4 (bug 1246677)
Backed out changeset 0cdde48161bb (bug 1246677)
Backed out changeset bab3de413d37 (bug 1246677)
Backed out changeset e4f6cc6197cb (bug 1246677)
Backed out changeset 34e6b56e419d (bug 1246677)
Backed out changeset 5067508e5db4 (bug 1246677)
Backed out changeset 913b4129466e (bug 1246677)
2016-02-24 21:04:31 -05:00
Patrick Brosset
6f691ca2b0
Bug 1246677 - 10 - Removed addStyle from head.js since it was unused; r=gl
...
MozReview-Commit-ID: EgoEzxnILrJ
--HG--
extra : rebase_source : 545f4a2f182c08194dbe99ad75c70634fff32863
2016-02-12 14:28:54 +01:00
Patrick Brosset
294d03e53e
Bug 1246677 - 9 - Get rid of all remaining _applyingModifications usage in tests; r=ochameau
...
MozReview-Commit-ID: 5fnZb6dlejV
--HG--
extra : rebase_source : c442f6ace3f2d2c8cd57306727ecc00102a2e1a5
2016-02-23 16:50:08 +01:00
Patrick Brosset
8ade9c2d78
Bug 1246677 - 8 - Use addProperty and remove code duplication; r=gl
...
MozReview-Commit-ID: KQXgdZxdiw9
--HG--
extra : rebase_source : 1d2eee9a54830a0c8657a9ec517fd964c8b4014d
2016-02-18 11:00:38 +01:00
Patrick Brosset
e8e084446b
Bug 1246677 - 7 - Clean remaining ruleview and tests eslint warnings; r=jdescottes
...
MozReview-Commit-ID: BcyEv4fUWJZ
--HG--
extra : rebase_source : cb63ed3c966567fe298bf67cafdbf08e36118712
2016-02-23 17:09:01 +01:00
Patrick Brosset
e8c1fc396b
Bug 1246677 - 6 - Get rid of 'content' in ruleview head.js; r=tromey
...
MozReview-Commit-ID: A1r7oVz0cbV
--HG--
extra : rebase_source : 05612546b89c8e524c5f3248295b28f0781e7b3a
2016-02-15 10:22:06 +01:00
Patrick Brosset
26f78191e7
Bug 1246677 - 5 - Get rid of 'content' in ruleview test files; r=jdescottes
...
MozReview-Commit-ID: Af07cexjJOv
--HG--
extra : rebase_source : 1d7e8633a964a6d060fdda1a0eb374183a2b5f93
2016-02-22 10:33:04 +01:00
Patrick Brosset
0621df70d8
Bug 1246677 - 4 - Stop using content.getComputedStyle in ruleview tests; r=miker
...
MozReview-Commit-ID: 6BYYYLwO2O5
--HG--
extra : rebase_source : 1ca827bfcf7845838898de2c19ebbdbb7d0719a5
2016-02-08 22:08:10 +01:00
Patrick Brosset
b5446432fa
Bug 1246677 - 3 - Remove all usages of getNode in ruleview tests; r=tromey
...
MozReview-Commit-ID: 6EIQ1lhE3C9
--HG--
extra : rebase_source : c8eacfce524dbdc847dd93d75eda7da35997ca25
2016-02-15 10:11:17 +01:00
Patrick Brosset
3cd7a21404
Bug 1246677 - 2 - Stop using CPOWs in simulateColorPickerChange; r=miker
...
MozReview-Commit-ID: 6jGUGfD0bM5
--HG--
extra : rebase_source : 0c2c2c641dca6dd9905c5ba2f447801053107d96
2016-02-08 18:02:35 +01:00
Patrick Brosset
7406eebc20
Bug 1246677 - 1 - Make waitForSuccess work with async functions; r=miker
...
MozReview-Commit-ID: Ic0UyApQpB7
--HG--
extra : rebase_source : 2890df3814c51859e2bf6d696274d4eb69fe4c7c
2016-02-08 17:38:57 +01:00
J. Ryan Stinnett
c781b0ab03
Bug 1247985 - Convert DevTools open probes to count, enable for release. r=mratcliffe p=bsmedberg
...
MozReview-Commit-ID: Eq5gEqyJhPZ
2016-02-22 16:47:30 -06:00