Commit Graph
3285 Commits
Author SHA1 Message Date
Wes Kocher 1f45ffa62d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 43R3aNMoMyN
2017-10-03 14:58:01 -07:00
Wes Kocher 10b9e0b764 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
Andrew Halberstadt 9d85bdcbc9 Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin
MozReview-Commit-ID: JWKB7eOgfWc
2017-09-26 10:47:22 -04:00
Thomas Wisniewski bf44dd2d5c Bug 1070763 - Ensure that XHRs sniff the BOM for non-JSON responseTypes, and flush the decoder upon end-of-stream; r=hsivonen
MozReview-Commit-ID: ICHbs2BQcbR
2017-10-03 08:54:14 -04:00
Peter Major 8145360610 Bug 1402978 - Add cookie domain field to WebDriver:AddCookie r=ato
There were two issues with the previous implementation:
* Domain cookies were created as host only cookies (due to lack of
leading '.' characters)
* The cookie domain included in the Marionette request was completely
ignored, which always resulted in host-only cookies

MozReview-Commit-ID: 2JLQ3vwNMrb
2017-09-29 15:22:50 +01:00
Brian Birtles 4f735862a7 Bug 1404774 - Defer throwing errors from parsing keyframe easing until after reading off all properties; r=hiro
As required by the recent spec change:

  https://github.com/w3c/web-animations/commit/d696468777c12a13bc7c46aa1a72c358e8da15fc

MozReview-Commit-ID: Ev6kUk1uLAY
2017-10-02 12:35:47 +09:00
Brian Birtles 619b88c739 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
2017-10-02 16:57:56 +09:00
Brian Birtles 59d79b24b2 Bug 1402170 - Rename copy-contructor.html to copy-constructor.html in two places in wpt for web-animations; r=hiro
MozReview-Commit-ID: JxqRcQ5TJd5
2017-10-02 12:35:38 +09:00
Brian Birtles c01aef2738 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:

  https://github.com/w3c/web-animations/commit/d696468777c12a13bc7c46aa1a72c358e8da15fc

MozReview-Commit-ID: 3hS7rHcTpUn
2017-10-02 12:30:33 +09:00
Brian Birtles b24494bf12 Bug 1402170 - Update test descriptions in processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: 8ofSWFs5b3u
2017-09-22 16:27:27 +09:00
Brian Birtles 36929dabce Bug 1402170 - Use KeyframeEffect constructor in processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: 3JTFxw6Va1r
2017-09-22 16:12:44 +09:00
Brian Birtles afab50fd55 Bug 1402170 - Move ease parsing tests to easing-tests.js; r=hiro
MozReview-Commit-ID: JvUB6okJYI9
2017-09-22 16:08:49 +09:00
Brian Birtles 25c5fe65a1 Bug 1402170 - Tidy up processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: H7envMXOJhU
2017-09-22 16:03:01 +09:00
Brian Birtles 4d507e05dd Bug 1402170 - Move tests for easing values on keyframes to processing-a-keyframes-argument-002.html; r=hiro
MozReview-Commit-ID: LEydYxdMoay
2017-09-22 15:58:37 +09:00
Brian Birtles bb6a4c7286 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
2017-09-22 15:52:37 +09:00
Brian Birtles e292ac4ebc Bug 1402170 - Merge gInvalidEasingInKeyframeSequenceTests with gInvalidEasings; r=hiro
MozReview-Commit-ID: CIjKWyU2GIs
2017-09-22 15:37:23 +09:00
Brian Birtles b413ba6084 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
2017-09-22 15:20:13 +09:00
Brian Birtles 7564827693 Bug 1402170 - Update various test descriptions to make them testable statements; r=hiro
MozReview-Commit-ID: 9zVjiwb9vm8
2017-09-22 15:14:45 +09:00
Brian Birtles 26288127b3 Bug 1402170 - Tidy up test for property access order somewhat; r=hiro
MozReview-Commit-ID: 4JFae0SqMCX
2017-09-22 15:04:54 +09:00
Brian Birtles 3b8cd38ead Bug 1402170 - Move test for accessing keyframe property order to processing-a-keyframes-argument.html; r=hiro
MozReview-Commit-ID: 3y6SnzAtNZZ
2017-09-22 15:00:15 +09:00
Brian Birtles 441276cdda 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
2017-09-22 11:54:50 +09:00
Brian Birtles 6682562041 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
2017-09-22 11:43:11 +09:00
Brian Birtles 1a09fd2a6a 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
2017-09-22 11:38:58 +09:00
Brian Birtles 38ac039a8b 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
2017-09-22 11:36:42 +09:00
Brian Birtles 85ea8b1201 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
2017-09-22 11:09:04 +09:00
Brian Birtles 6069d78bfa 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
2017-09-22 11:03:35 +09:00
Brian Birtles 962b721baa 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
2017-09-22 10:18:25 +09:00
Wes Kocher a1f954efb9 Backed out changeset 29a6664e8f73 (bug 1319342) for wpt failures in Node-cloneNode.html a=backout
MozReview-Commit-ID: 2FoC3zDqXO2
2017-10-02 14:27:09 -07:00
John Dai 1d3112e098 Bug 1319342 - Clone a node should enqueue an upgrade reaction. r=smaug 2017-10-01 23:12:00 -04:00
John Dai 60db6a6216 Bug 1121994 - Implement adopted callback for custom elements. r=smaug 2017-10-02 00:42:00 -04:00
Markus Stange a1a0ab8e9a Bug 1403697 - When restricting background colors to the background region, only use clips if we have rounded corners. r=mattwoodrow
MozReview-Commit-ID: F1ked65OBxA
2017-09-29 17:39:21 -04:00
Wes Kocher 32c77eed4a Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Wes Kocher 4946214c0f Backed out changeset fbc75bbbebc1 (bug 1403697) for wptlint issues a=backout
MozReview-Commit-ID: 5gaaqSD7sUa
2017-09-29 11:20:24 -07:00
Markus Stange a412a6b319 Bug 1403697 - When restricting background colors to the background region, only use clips if we have rounded corners. r=mattwoodrow
MozReview-Commit-ID: F1ked65OBxA
2017-09-29 13:30:58 -04:00
Thomas Wisniewski db30f3ebfe Bug 1341609 - Don't throw on async XHR send() failures when open() created no channel; r=baku
MozReview-Commit-ID: IKVSbdRXoP8
2017-09-29 11:36:55 -04:00
Ryan VanderMeulen d3f7086fd5 Bug 1401076 - Skip webrtc/RTCPeerConnection-setRemoteDescription-offer.html for frequent timeouts. 2017-09-29 12:54:32 -04:00
Wes Kocher 0b96efb195 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher 4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Wes Kocher 651c6eb3d3 No bug - Mark variable-substitution-variable-declaration.html as passing on stylo after servo PR 18660 a=bustage
MozReview-Commit-ID: BURWYVI1vFO
2017-09-28 11:26:31 -07:00
Sebastian Hengst cb194e85c7 Backed out changeset 8a970e561fe1 (bug 1389274) for unexpected passes of web-platform-test /cssom-view/scrollIntoView-shadow.html. r=backout 2017-09-28 19:46:03 +02:00
Thomas Wisniewski 23b9697aca Bug 1389274 - Correct the behavior of Element.scrollIntoView to match the draft spec and pass web platform tests; r=annevk,bkelly
MozReview-Commit-ID: 3is36wstsdb
2017-09-27 12:23:33 -04:00
Thomas Wisniewski dbadff6ef6 Bug 1389274 - Correct the behavior of Element.scrollIntoView to match the draft spec and pass web platform tests; r=annevk,bkelly
MozReview-Commit-ID: 3is36wstsdb
2017-09-28 16:57:24 -04:00
John Dai 1d8a409de9 Bug 1319342 - Clone a node should enqueue an upgrade reaction. r=smaug 2017-10-03 01:34:00 -04:00
Wes Kocher cbba752608 Merge inbound to m-c a=merge CLOSED TREE
MozReview-Commit-ID: 3pMHYV9oXLm
2017-09-27 16:51:49 -07:00
Sebastian Hengst bfb16cd80e Backed out changeset d3ebcf7d4c31 (bug 1319342) for failing web-platform-test /dom/nodes/Node-cloneNode.html. r=backout 2017-09-27 20:04:51 +02:00
John Dai b13d3825f1 Bug 1319342 - Clone a node should enqueue an upgrade reaction. r=smaug 2017-09-27 02:50:00 -04:00
Sebastian Hengst 0004b90821 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-27 11:51:06 +02:00
Sebastian Hengst 7988f80143 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BGCq2q6xO1S
2017-09-27 11:47:52 +02:00
Andrea Marchesini b8f1308041 Bug 1389913 - IDB should not propagate the error events to self.onerror, r=bevis 2017-09-27 10:20:24 +02:00
Andrea Marchesini 7cddbe2280 Bug 1402317 - Remove dom.abortController.enabled and dom.abortController.fetch.enabled prefs, r=qdot 2017-09-27 03:50:46 +02:00