Граф коммитов

561644 Коммитов

Автор SHA1 Сообщение Дата
Johann Hofmann d9b2faa09a Bug 1404497 - Don't hide the post-tabs titlebar placeholder in maximized windows. r=dao
MozReview-Commit-ID: 39x18t1GBRP

--HG--
extra : rebase_source : a5e382521626417829c5cc4bb4e6f1c9cbaed8ed
2017-10-02 15:43:18 +02:00
Oriol Brufau 105a559cc8 Bug 1400297 - Increase color contrast for JSON Viewer and Netmonitor headers. r=Honza
MozReview-Commit-ID: DmdzPesJEo

--HG--
extra : rebase_source : c52b54dea22783f84298cff221f9d8ff4b5adf7c
2017-10-02 18:31:16 +02:00
Emilio Cobos Álvarez 9327a21b5c servo: Merge #18703 - style: Allow passing an nth-index-cache to the invalidation code (from emilio:nth-index-cache-invalidate); r=bholley
style: Allow passing an nth-index-cache to the invalidation code.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2a5121357a76e2b558ecd0dae7689d709b6a2b41

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 698ea0c490b0fa689461e29c8c97ab6f2de3ce95
2017-10-03 00:40:03 -05:00
Nicolas Chevobbe 307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Nicolas Chevobbe 320161a4ad Bug 1403895 - split main.js in mulitple files; r=ochameau.
This patch keeps the main.js file so  we don't have to change
consumer code that uses objects fom this file.

MozReview-Commit-ID: KhFoPPApE2L

--HG--
rename : devtools/shared/client/main.js => devtools/shared/client/addon-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/array-buffer-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/breakpoint-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/constants.js
rename : devtools/shared/client/main.js => devtools/shared/client/debugger-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/environment-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/event-source.js
rename : devtools/shared/client/main.js => devtools/shared/client/long-string-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/object-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/property-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/root-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/source-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/symbol-iterator-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/tab-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/thread-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/trace-client.js
rename : devtools/shared/client/main.js => devtools/shared/client/worker-client.js
extra : rebase_source : e5f6978cb3e543af7073e234320af1f3afde356d
2017-09-28 17:29:55 +02:00
Kearwood "Kip" Gilbert cd53268372 Bug 1374399 - Enable WebVR by default for macOS r=daoshengmu
MozReview-Commit-ID: JWJlw7Qib36

--HG--
extra : rebase_source : 5057a96b1ed7a70e5200645b404acf4c65f8c660
2017-09-20 16:09:44 -07:00
abhinav 6592d85eaa Bug 1398524 - Sort Request-Cookies,Response-Cookies in 'Cookies' tab and Query-String,Form-Params,JSON in Params tab. r=Honza
MozReview-Commit-ID: KE2plx3j9Qr

--HG--
extra : rebase_source : 219ba067da783e4d9bb000f14631929cb05b7478
2017-09-17 03:16:41 +05:30
cku 8d819c132f Bug 1403057 - Early return if the scale vector is zero. r=mstange
MozReview-Commit-ID: 69X5mvG2UIj

--HG--
extra : rebase_source : 245aa5b9e39ce011c2d1c4e18e36a36539d2aad9
2017-10-02 14:38:09 +08:00
Kartikaya Gupta a8c7b2198d Bug 1403176 - Turn on empty transactions support in layers-free WebRenderLayerManager. r=mstange
By returning true from WebRenderLayerManager::EndEmptyTransaction, we
avoid doing a full paint in cases where the caller decides an empty
transaction would be sufficient. WebRenderLayerManager already rejects
attempts to set some forms of empty-transaction data (specifically
transform and scroll offset updates). This means that we will never get
a call to EndEmptyTransaction where the caller is expecting a transform
or scroll offset update to be sent over to the compositor. So if we have an
implementation of EndEmptyTransaction that ignores that data, it will not
break expectations.

There is still one piece of information that WebRenderLayerManager
doesn't reject in this manner, the APZ focus state. That is, if the
layout code sets a pending APZ focus state on the WRLM, followed by a
all to EndEmptyTransaction, it expects the focus state to get propagated
to the compositor. This patch makes sure that it does happen by using
the new API added in the previous patch.

MozReview-Commit-ID: 596UgW9ZWAF

--HG--
extra : rebase_source : e0f4f201a76747d6e29cde5da26fe760fd7f770b
2017-10-02 16:49:56 -04:00
Kartikaya Gupta c2cbdf1d8e Bug 1403176 - Add support for out-of-band APZ focus state propagation. r=mstange
One of the pieces of information that can be sent to the compositor is
the APZ focus state info, which is used for keyboard APZ. This patch
adds an API that allows updating this outside of a regular WR
"transaction" (i.e. a SetDisplayList call) so that we can use it in an
empty transaction (in the next patch).

MozReview-Commit-ID: L5TCbI9FtGV

--HG--
extra : rebase_source : 427b606a333d83eb82aa566768ba331d34542e8e
2017-10-02 16:49:55 -04:00
Kartikaya Gupta 8c4d9f46ad Bug 1403176 - Make WebRenderLayerManager reject pending scroll offset updates. r=mstange
Currently some callers attempt to set a "pending scroll offset update"
on the layer tree, which basically allows it to send a scroll offset
update to the compositor in an empty transaction, without doing a full
paint. However, WebRenderLayerManager doesn't really support empty
transactions yet, so we want to reject attempts to do this for now. This
will force the callers to schedule a full transaction instead of an
empty transaction.

MozReview-Commit-ID: 1bBlj59W5HH

--HG--
extra : rebase_source : 0a018989c2681b01ff325e8e2c79c9ff146f04d4
2017-10-02 16:49:55 -04:00
Daosheng Mu d0d62fa8bb Bug 1404518 - Return when OpenSharedTexture is false; r=jgilbert
MozReview-Commit-ID: EIChMhAt5Hk

--HG--
extra : rebase_source : de17ac94919dc85bb0c0162c76b5103b87e73a4e
2017-10-02 14:32:07 +08:00
Michael Comella b85cdd45bb Bug 1404460: Add test for pocket locale enabling. r=liuche
MozReview-Commit-ID: LHdQuICvVjE

--HG--
extra : rebase_source : 101ce5408e6f329bf04b5e889e942d6f42953500
2017-10-02 18:36:41 -07:00
Michael Comella 0b27441da0 Bug 1404460: Hide Pocket preference if Pocket not available in locale. r=liuche
When changing locales, an open dialog will not refresh but clicking on the
"Top sites" preference again (to display the dialog) will show the correct
dialog for the current locale.

MozReview-Commit-ID: 6UJvDIJZJtc

--HG--
extra : rebase_source : 777d0f4bc34829c8aacdeaac42fc0e27c3e7afd6
2017-10-02 17:35:03 -07:00
Michael Comella 3e9f59b825 Bug 1404460: Add POCKET_ENABLED_TO_LOCALE to asUserPrefs telemetry. r=liuche
After speaking with liuche, we decided it'd be better to add a bit to determine
this rather than combining it with the isPocketEnabled field (which would be
loss of data) or cross-referencing the locale of the submitted event when
checking the Pocket value during telemetry analysis (which is hard to get right
and likely to get out of date).

MozReview-Commit-ID: JKFrdEsEbyp

--HG--
extra : rebase_source : bc20193ca29238cbde5361a840cbd367b492a346
2017-10-02 17:01:10 -07:00
Michael Comella 8d7c0b37f0 Bug 1404460: Only show Pocket stories in specified locales. r=liuche
Ideally, we'd centralize all queries as to which options are user specified.
However, I wanted to do the smallest change so we can uplift so I filed
bug 1405161 for this centralization.

I opted not to include the "de" locale that is included on desktop because it
does not appear we ever get the "de" locale on Firefox for Android [1].

I tested this patch by changing the system locale between locales with Pocket
on my device (en-US, en-GB, de-DE) and locales without Pocket (ko-KR). The
locale switching system makes this refresh automatically without extra code.

I also intend to test via the in-app locale switcher but that will take time
because I can't do artifact builds with multi-locale so I'm pushing this for
review before I'm finished.

Follow-up changes:
- Add to telemetry
- Hiding the preference in the undesired locales.
- A test for isPocketEnabledByLocaleInner (useful to document how this is
intended to work for locales with variants, different scripts, etc.)

[1]: https://sql.telemetry.mozilla.org/queries/4613#table

MozReview-Commit-ID: 7AVQ8fWub8I

--HG--
extra : rebase_source : 948f1a4ea6c6bbc51c8ae945b940d8ab4770e34e
2017-10-02 15:59:42 -07:00
peter chang 799d59d88f Bug 1377894 - Create the new opacity animations only when the animation id is valid, r=kats
MozReview-Commit-ID: 1njXoEnyj00

--HG--
extra : rebase_source : 43b9d5451f06de2148f6c7a7228dbcc609c038b3
2017-10-02 21:49:21 +08:00
Brad Werth 92f2dc2e2e Bug 1403694 Part 1: Prevent nsStyleSheetService from storing null servo stylesheets. r=xidorn
MozReview-Commit-ID: 2PxurAtACtd

--HG--
extra : rebase_source : 0d9f573cf3bcbb617f18d9e73179b357e26f01da
2017-09-28 16:45:09 -07:00
Wes Kocher 7c7aca4ea6 Backed out 2 changesets (bug 1305237) for crashtest failures in 403574-1.xhtml and 1282985-1.svg a=backout
Backed out changeset 96b5d596cc27 (bug 1305237)
Backed out changeset 5fe72402746f (bug 1305237)

MozReview-Commit-ID: CjCWY73Hps1

--HG--
extra : rebase_source : 7a9f0893dabdb0cb6ea79cc9cb7169ceed14616f
2017-10-02 16:41:56 -07:00
Kit Cambridge 69147b44cf Bug 1357085 - Don't automatically redirect to Sync prefs after confirming an FxA sign-in or sign-up. r=markh
MozReview-Commit-ID: 6fwHcgqmFKJ

--HG--
extra : rebase_source : d4f3d8ed3232a1cb81b0c73f1c66d647184a27dd
2017-09-05 11:37:36 -07:00
Brian Birtles 02f8ed3fe4 Bug 1404774 - Defer throwing errors from parsing keyframe easing until after reading off all properties; r=hiro
As required by the recent spec change:

  d696468777

MozReview-Commit-ID: Ev6kUk1uLAY

--HG--
extra : rebase_source : 70f8ca3143a8b3bb4e03016b9989925d5a328049
2017-10-02 12:35:47 +09:00
Shane Caraveo 359754d5e7 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: 8gvEiqJEsP3

--HG--
extra : rebase_source : db5476ae895737b89df125c83468ea2e477e9af4
2017-10-02 15:11:54 -07:00
evilpies@gmail.com af192f668f Bug 1305237 LoadInfo changes to include all ancestors principals and window IDs, r=bz
MozReview-Commit-ID: ADVtxjSQjk5

--HG--
extra : rebase_source : 6e0ddf49328d7ae71937b7bbe5e5bea736c49bef
2017-10-02 11:05:33 -07:00
Brian Birtles 9dcb8abd7e Bug 1402170 - Consistently use arrow syntax for functions in processing-a-keyframes-argument-*.html tests; r=hiro
We don't however, use arrow syntax for local functions that act as class
constructors since they don't want the lexical this that arrow functions use.

MozReview-Commit-ID: FuVhHIBFZrE

--HG--
extra : rebase_source : 919bbe7a6f6fc42281411ad4058540f233a3e010
2017-10-02 16:57:56 +09:00
Brian Birtles 2d450ffd4a Bug 1402170 - Rename copy-contructor.html to copy-constructor.html in two places in wpt for web-animations; r=hiro
MozReview-Commit-ID: JxqRcQ5TJd5

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/copy-contructor.html => testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/copy-constructor.html
rename : testing/web-platform/tests/web-animations/interfaces/KeyframeEffectReadOnly/copy-contructor.html => testing/web-platform/tests/web-animations/interfaces/KeyframeEffectReadOnly/copy-constructor.html
extra : rebase_source : 23c99e64d0d0803484fad54adecc7149f794ee4e
2017-10-02 12:35:38 +09:00
Brian Birtles 98b910109f Bug 1402170 - Add tests for error handling when parsing the 'easing' property on keyframes; r=hiro
This tests the behavior clarified in the following spec changeset:

  d696468777

MozReview-Commit-ID: 3hS7rHcTpUn

--HG--
extra : rebase_source : 13941772212d169824d3058a131067ca0823d2ca
2017-10-02 12:30:33 +09:00
Brian Birtles b9aed51679 Bug 1402170 - Update test descriptions in processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: 8ofSWFs5b3u

--HG--
extra : rebase_source : 6200917e4611136663f10620cb0f200f77309c57
2017-09-22 16:27:27 +09:00
Brian Birtles 21b0af96bd Bug 1402170 - Use KeyframeEffect constructor in processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: 3JTFxw6Va1r

--HG--
extra : rebase_source : ec1d2168a4a0ae6742a8a18b0ee235505fc27a12
2017-09-22 16:12:44 +09:00
Brian Birtles 7bd1b199dc Bug 1402170 - Move ease parsing tests to easing-tests.js; r=hiro
MozReview-Commit-ID: JvUB6okJYI9

--HG--
extra : rebase_source : b7c9bab9edb9512e60f4ca5a635c428c7a2bdaff
2017-09-22 16:08:49 +09:00
Brian Birtles 9f539fe579 Bug 1402170 - Tidy up processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: H7envMXOJhU

--HG--
extra : rebase_source : 29b5b4bb725c681202398ae8fcd6f99ab357f167
2017-09-22 16:03:01 +09:00
Brian Birtles d8fba27f62 Bug 1402170 - Move tests for easing values on keyframes to processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: LEydYxdMoay

--HG--
extra : rebase_source : 5fa9abd6b2a0e1f796da11931332adef392bc3c2
2017-09-22 15:58:37 +09:00
Brian Birtles 6610802e22 Bug 1402170 - Rename processing-a-keyframes-argument.html to have a 001 extension; r=hiro
This naming is recommended by [1] and from a random sampling of tests in
web-platform-tests it seems like most test don't use this, only tests that are
split over multiple files.

This "processing a keyframes argument" section is quite large so I intend to
split the tests up into a number of files to cover:

* Tests for property access
* Tests for easing
* Tests for offset
* Tests for composite
* Tests for equivalent forms

[1] http://web-platform-tests.org/writing-tests/general-guidelines.html#file-paths-and-names

MozReview-Commit-ID: JW2m50UnsKv

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument.html => testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html
extra : rebase_source : fafe135996b11661385b0f28a82abc9b11c77c25
2017-09-22 15:52:37 +09:00
Brian Birtles 0ffbac81e3 Bug 1402170 - Merge gInvalidEasingInKeyframeSequenceTests with gInvalidEasings; r=hiro
MozReview-Commit-ID: CIjKWyU2GIs

--HG--
extra : rebase_source : 4595b005b293860d116a36aa3fd81d121864c0e6
2017-09-22 15:37:23 +09:00
Brian Birtles c1d4cb856e Bug 1402170 - Consistently use spaces in object notation; r=hiro
This seems to be standard JS style recently (as used in prettier etc.): Use
spaces to separate the { and } from the properties (but not for arrays).

MozReview-Commit-ID: FRkFRwwcJJh

--HG--
extra : rebase_source : f45fbc371bc23b542032612bcf4578ee4de9f98e
2017-09-22 15:20:13 +09:00
Brian Birtles acf8354bc5 Bug 1402170 - Update various test descriptions to make them testable statements; r=hiro
MozReview-Commit-ID: 9zVjiwb9vm8

--HG--
extra : rebase_source : 28b0da472ce0e00068803baf3bce7beeddd1c6ee
2017-09-22 15:14:45 +09:00
Brian Birtles 5071ac2ec7 Bug 1402170 - Tidy up test for property access order somewhat; r=hiro
MozReview-Commit-ID: 4JFae0SqMCX

--HG--
extra : rebase_source : 077e90d7597999aef4f7bd50b34201f08b883aca
2017-09-22 15:04:54 +09:00
Brian Birtles 0f31da822e Bug 1402170 - Move test for accessing keyframe property order to processing-a-keyframes-argument.html; r=hiro
MozReview-Commit-ID: 3y6SnzAtNZZ

--HG--
extra : rebase_source : 9d2b01110e94b4bbd129599e13b9ca7b7f14b2d3
2017-09-22 15:00:15 +09:00
Brian Birtles 98d62118de Bug 1402170 - Update some test descriptions; r=hiro
* We should refer to reading or accessing properties, as opposed to
  "considering" them.
* We should use "property-indexed" consistently.

MozReview-Commit-ID: ItCE4g8LmOC

--HG--
extra : rebase_source : 8656dc185f6e6e820a283a725fd4217336b06712
2017-09-22 11:54:50 +09:00
Brian Birtles 345d8f9b41 Bug 1402170 - Drop invalid test for offsets; r=hiro
There is a test that assumes that an offset specified on a property-indexed
keyframe is applied to all generated keyframes but that behavior is not (yet)
specified.

This behavior will be specified in [1] but until that happens it seems invalid
to test for it. Furthermore, when that is specified we will need much more
thorough tests than this one.

[1] https://github.com/w3c/web-animations/issues/148

MozReview-Commit-ID: HUUw88dg2P7

--HG--
extra : rebase_source : 5e38d8f0fb01b3ecf7339ca1be0e31c775bf4b21
2017-09-22 11:43:11 +09:00
Brian Birtles 37e6378154 Bug 1402170 - Use template strings in processing-a-keyframes-argument.html; r=hiro
But only in a couple of places where it makes the test more readable.

MozReview-Commit-ID: 6zVJ6h7Zb3k

--HG--
extra : rebase_source : 8ec4e7957cfccb4b60b97032a1a12fa12d9ff589
2017-09-22 11:38:58 +09:00
Brian Birtles 33aab1ad3b Bug 1402170 - Use for...of instead of forEach for several tests in processing-a-keyframes-argument.html; r=hiro
for...of is generally preferred over forEach since it is a little easier to read
and allows using 'break' and 'continue'. Furthermore it is supported in all
major browsers. (It also makes wrapping one of the long lines in this file
easier.)

MozReview-Commit-ID: 1BuoW0QSxaG

--HG--
extra : rebase_source : 4c0e04720cda5ecb60a276ac52c595cba693aa16
2017-09-22 11:36:42 +09:00
Brian Birtles f70aff93e2 Bug 1402170 - Use ES6 let/const in processing-a-keyframes-argument.html; r=hiro
Gradually we plan to move all these tests to ES6 (or at least the subset
supported by all UAs that are likely to implement this spec) so while we are
touching this file we update a few uses of 'var' to let/const.

MozReview-Commit-ID: 45OJyXmUzKu

--HG--
extra : rebase_source : a14138a9ffddd8a89da0635e316f918297010529
2017-09-22 11:09:04 +09:00
Brian Birtles 9ad46fa3ee Bug 1402170 - Consistently use KeyframeEffect constructor for testing in processing-a-keyframes-argument.html; r=hiro
KeyframeEffectReadOnly may disappear (see [1]) and is only needed for CSS
Animations and CSS Transitions so in that sense KeyframeEffect is more basic
(despite being a subclass of KeyframeEffectReadOnly) so we should prefer it to
KeyframeEffectReadOnly.

Furthermore, as the comment at the start of the file suggests, we should
consistently use the same method for testing these procedures. We currently use
the KeyframeEffect constructor because it is more direct and basic.

[1] https://github.com/w3c/web-animations/issues/185

MozReview-Commit-ID: LBrlfzyn2Ch

--HG--
extra : rebase_source : 358c60c89c70d642cb5c193a1bdff4e5991aac54
2017-09-22 11:03:35 +09:00
Brian Birtles 355dd57951 Bug 1402170 - Fix title in processing-a-keyframes-argument.html test; r=hiro
And also drop the slightly misleading and redundant comment about the procedure
that this test covers (it covers *both* the "process a keyframes argument"
procedure and the "process a keyframe-like object" subprocedure).

MozReview-Commit-ID: 9lzx4rCj20o

--HG--
extra : rebase_source : 64c429d8dfceb7e518cac1418cd6c6ea6de16eaf
2017-09-22 10:18:25 +09:00
Servo VCS Sync 83c400b1e2 No bug - Revendor rust dependencies 2017-10-02 23:33:01 +00:00
Andreas Tolfsen 9251f67abf Bug 1405004 - Remove unused imports from testing/marionette/element.js. r=whimboo
MozReview-Commit-ID: 7EoehdeV8tf

--HG--
extra : rebase_source : ce0a2a5e68b60514a4ec847df176ea4dd9452588
2017-10-02 17:20:57 +01:00
Kyle Machulis f63f2e6c2a Bug 1402499 - Simplify HTMLAnchorElement CC macros; r=bz
The HTMLAnchorElement macros were basically a verbose version of the
CYCLE_COLLECTION_INHERITED helper macros.

MozReview-Commit-ID: 1bxuKdWUMlG

--HG--
extra : rebase_source : 84f5b0de5b1191d0df5c34bcadf61fca72178769
2017-09-29 12:04:09 -07:00
Kyle Machulis 25457d4887 Bug 1402499 - Add NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED_0 r=bz
Add macro for nsISupports inheriting classes that need cycle
collection and only inherit from one parent, with no interface table
needed. Takes care of map and addref/release calls.

MozReview-Commit-ID: LtTwYH0DeEz

--HG--
extra : rebase_source : d3650209ddd7e28cbf205ac84f152b9763c26bde
2017-09-28 23:21:09 -07:00
Wes Kocher 83fd890d27 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher 382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00