Commit Graph

2475 Commits

Author SHA1 Message Date
Wes Kocher
36a9133ce4 Merge inbound to central, a=merge
MozReview-Commit-ID: HZUHBRK4UmL
2017-04-27 13:00:07 -07:00
Dragana Damjanovic
2392afc0e0 Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
Jeremy Chen
4a108d0ac3 Bug 1354437 - enable border-spacing interpolation test. r=hiro
So far, we don't have a type to test anamations of a pair of length.
Since border-spacing consists two absolute lengths, we shall add this
new type.

MozReview-Commit-ID: Bo8VMWPLDHc
2017-04-27 17:26:31 +08:00
Carsten "Tomcat" Book
eb1595e913 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Mantaroh Yoshinaga
a1e7afbafb Bug 1356162 - Enable web-platform-tests of clip property animation. r=hiro
MozReview-Commit-ID: 7HRcmV7CWAN
2017-04-26 16:24:30 +09:00
Aryeh Gregor
1e9a824550 Bug 1359453 - Use standard exception for selection.removeRange() r=masayuki
The test change is already upstream:
https://github.com/w3c/web-platform-tests/pull/5686

The spec change has not officially been accepted yet as of this writing,
possibly delayed for IPR review:
https://github.com/w3c/selection-api/pull/87

MozReview-Commit-ID: 3auwvwP4X72
2017-04-26 15:50:36 +03:00
Aryeh Gregor
21eeaf2a81 Bug 1359780 - Always remove duplicates/whitespace in DOMTokenList methods r=masayuki
Previously, replace() and toggle() would not always remove duplicates
and whitespace from the DOM attribute in the case where they were no-ops
(replacing a nonexistent token, force-toggling a token to its current
state).  Now they do.  This matches the behavior of add() and remove(),
and also replace() in one case (replacing an existing token with
itself).

This follows a spec change: https://github.com/whatwg/dom/pull/444

MozReview-Commit-ID: 7lDEQxOGxPV
2017-04-26 15:13:44 +03:00
Aryeh Gregor
6e7be8cfcc Bug 1359387 - Support Selection.empty()/setPosition() r=masayuki,smaug
Blink, WebKit, and Edge already support these, and they're in the spec.
Tests submitted to wpt upstream.

MozReview-Commit-ID: 5NFBeClNN7y
2017-04-25 15:49:27 +03:00
Emilio Cobos Álvarez
33f5311a7e Bug 1355351: Tests for correct resolution of style for pseudo-elements. r=heycam
MozReview-Commit-ID: BFvXhYCK46v
2017-04-16 23:29:46 +02:00
Aryeh Gregor
e129b8c3c7 Bug 1359371 - Update Selection.webidl to match spec r=smaug
Practical changes:

1) Some additional method arguments are nullable or optional, which
matches Chrome/WebKit.  They make more sense non-nullable and
non-optional, but Chrome is afraid of the compat impact of changing.

2) Added [CEReactions] to deleteFromDocument().

MozReview-Commit-ID: Kg9EDubnEui
2017-04-25 14:55:31 +03:00
Aryeh Gregor
594c362b60 Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2
2017-04-20 15:45:37 +03:00
Hiroyuki Ikezoe
934c9ea44b Bug 1356941 - Add text-shadow interpolation tests. r=birtles
MozReview-Commit-ID: J19JN13UXtP
2017-04-24 15:51:32 +09:00
Hiroyuki Ikezoe
671151d60a Bug 1356941 - Add box-shadow interpolation tests. r=birtles
MozReview-Commit-ID: D8rJY1wOd0j
2017-04-24 15:51:25 +09:00
Hiroyuki Ikezoe
58da1c9470 Bug 1356941 - Use IntermediateColor for caret-color. r=birtles
MozReview-Commit-ID: ERFaMfLL9tE
2017-04-24 15:51:01 +09:00
Jason Duell
040e164669 Bug 711886 - Fail Websocket if server replies with non-matching subprotocol, r=mcmanus 2016-05-11 08:50:13 -07:00
Aryeh Gregor
6218cacf33 Bug 869788 - Normalize DOMTokenList for whitespace/dupes; r=smaug
Some bits taken from a patch by Cameron McCormack.  This follows a
change to the DOM spec that has already been implemented by WebKit.

We do no checks for duplicates on initial attribute parsing, only when
the DOMTokenList is accessed.  We re-check for duplicates on every
DOMTokenList access, but optimized with a bloom filter, so it should be
fast.  It would be possible to add a flag to check if we've already
removed duplicates from the atom list, but it would require the
nsAttrValue to talk to the nsDOMTokenList somehow, and a spare bit would
be needed in nsAttrValue, and it would only help cases where
DOMTokenList is repeatedly accessed without the content attribute being
modified in between (e.g., .length) where the token list is extremely
long.

This patch assumes that no one other than nsDOMTokenList cares if
duplicates are removed from the nsAttrValue's atom array.  If anything
does, they will see inconsistent behavior depending on whether
nsDOMTokenList has removed duplicates yet.  Since we don't want to
check for duplicates on parse for performance reasons, the correct fix
is to update the code elsewhere to also remove duplicates.

MozReview-Commit-ID: 97KRVhPGwm8
2016-04-11 18:01:14 +03:00
bechen
d8fa9093aa Bug 1353689 - Disable tests about "background-image", because we have problem about loading a gif as background. r=alwu
MozReview-Commit-ID: 1PbZWqeX1V4
2017-04-21 14:55:52 +08:00
bechen
0dff7ed8a3 Bug 1353689 - update /processing-model/* status. Disable tests whose result are not consistent. r=alwu
MozReview-Commit-ID: 83tCBYWmF5g
2017-04-18 16:54:17 +08:00
bechen
8a8a6660bb Bug 1353689 - selectors/cue_function: update testcase status. r=rillian
MozReview-Commit-ID: KNEZ1x4xThq
2017-04-17 17:27:40 +08:00
bechen
3c04cbb47e Bug 1353689 - selectors/default_styles: update testcase status. r=rillian
MozReview-Commit-ID: 32cFaWOVTal
2017-04-17 17:27:38 +08:00
bechen
e7e5b9bb8b Bug 1353689 - selectors/cue_function/voice_object: update testcase status. r=rillian
MozReview-Commit-ID: Loq30ZzSzLR
2017-04-17 17:27:35 +08:00
bechen
d05dcc25e8 Bug 1353689 - selectors/cue_function/underline_object: update testcase status. r=rillian
MozReview-Commit-ID: 9zwCperz8nZ
2017-04-17 17:27:33 +08:00
bechen
615f237fe4 Bug 1353689 - selectors/cue_function/class_object: update testcase status. r=rillian
MozReview-Commit-ID: FUwqp2DHbl3
2017-04-17 17:27:30 +08:00
bechen
15cf965b83 Bug 1353689 - selectors/cue_function/bold_object: update testcase status. r=rillian
MozReview-Commit-ID: K1oTXpmUMmd
2017-04-17 17:27:28 +08:00
bechen
26bac1a3db Bug 1353689 - selectors/cue_function/italic_object: update testcase status. r=rillian
MozReview-Commit-ID: AQoebT3bS8p
2017-04-17 17:27:26 +08:00
bechen
beba979405 Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7
2017-04-17 17:27:23 +08:00
Aryeh Gregor
c71f7a4cf7 Bug 1357998 - Make editing tests independent of default defaultParagraphSeparator; r=masayuki
Now that this is a pref that is different in different versions, tests
have to work no matter what the pref's value is.  For tests that
actually tested line-breaking-related behavior, I made them test all
three separator values.  For tests that tested something else and only
incidentally depend on the default paragraph separator, I set
defaultParagraphSeparator to "div".

MozReview-Commit-ID: 8m7eoFRXpEy
2017-04-20 21:10:23 +03:00
Sebastian Hengst
b9529a7471 Bug 1356627 - Disable css-transitions-1 web-platform-tests for failing frequently. r=test-disabling a=frequent-orange-fix
MozReview-Commit-ID: Cbsk1JLMxig
2017-04-21 20:21:51 +02:00
Iris Hsiao
bb687383d9 Backed out 9 changesets (bug 1353689) for web platform reftest failures
Backed out changeset 80ac3ea1427e (bug 1353689)
Backed out changeset 9a5b36fefb22 (bug 1353689)
Backed out changeset 44c5f4b4cdfc (bug 1353689)
Backed out changeset 7f2790b4c963 (bug 1353689)
Backed out changeset 8d8d2824a763 (bug 1353689)
Backed out changeset d3ced5751998 (bug 1353689)
Backed out changeset 5179ebf1e982 (bug 1353689)
Backed out changeset ebf24732e9b3 (bug 1353689)
Backed out changeset e81924e4cff3 (bug 1353689)
2017-04-21 13:38:28 +08:00
bechen
1b293b7ae5 Bug 1353689 - update /processing-model/* status. Disable tests whose result are not consistent. r=alwu
MozReview-Commit-ID: 83tCBYWmF5g
2017-04-18 16:54:17 +08:00
bechen
7673d805c6 Bug 1353689 - selectors/cue_function: update testcase status. r=rillian
MozReview-Commit-ID: KNEZ1x4xThq
2017-04-17 17:27:40 +08:00
bechen
59d45ff6d5 Bug 1353689 - selectors/default_styles: update testcase status. r=rillian
MozReview-Commit-ID: 32cFaWOVTal
2017-04-17 17:27:38 +08:00
bechen
1cb52c0c4a Bug 1353689 - selectors/cue_function/voice_object: update testcase status. r=rillian
MozReview-Commit-ID: Loq30ZzSzLR
2017-04-17 17:27:35 +08:00
bechen
f1c67f1782 Bug 1353689 - selectors/cue_function/underline_object: update testcase status. r=rillian
MozReview-Commit-ID: 9zwCperz8nZ
2017-04-17 17:27:33 +08:00
bechen
e08c22ddf9 Bug 1353689 - selectors/cue_function/class_object: update testcase status. r=rillian
MozReview-Commit-ID: FUwqp2DHbl3
2017-04-17 17:27:30 +08:00
bechen
8f4ae3e0db Bug 1353689 - selectors/cue_function/bold_object: update testcase status. r=rillian
MozReview-Commit-ID: K1oTXpmUMmd
2017-04-17 17:27:28 +08:00
bechen
33c5fdfbde Bug 1353689 - selectors/cue_function/italic_object: update testcase status. r=rillian
MozReview-Commit-ID: AQoebT3bS8p
2017-04-17 17:27:26 +08:00
bechen
b0d214f7ef Bug 1353689 - selectors/cue : Enable testcases under */selector/* . Fix the padding and overflow issue. r=rillian
MozReview-Commit-ID: 6jdlx01hEv7
2017-04-17 17:27:23 +08:00
Andrea Marchesini
5b11b585fb Bug 1357473 - Update Console to the latest spec - part 7 - test updated, r=bgrins 2017-04-20 13:52:43 +02:00
James Graham
f9606de7a5 Bug 1357844 - Split MathML entity test into multiple files, r=annevk
This was timing out and causing OOM on some platforms, so instead use
one doctype per test.

MozReview-Commit-ID: 7M2FCJVPElK
2017-04-20 10:58:41 +01:00
James Graham
bd4533b193 Bug 1356225 - Remove expected failure for fetch headers test, a=testonly
MozReview-Commit-ID: ELBcV6gwLQZ
2017-04-20 10:49:44 +01:00
James Graham
93d5952e31 Bug 1356225 - Remove defunct directory from moz.build file, a=bustage
MozReview-Commit-ID: A74LwigMIsL
2017-04-20 10:49:34 +01:00
James Graham
b2358183ff Bug 1356225 - Update web-platform-tests expected data to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GUErRlQhUzx
2017-04-20 10:49:32 +01:00
James Graham
93139c9362 Bug 1356225 - Use merge for upstreaming wpt commits, a=testonly
MozReview-Commit-ID: 9NMEKlyrUrE
2017-04-20 10:49:30 +01:00
James Graham
e509e1fe95 Bug 1318724 - Increase the HTTP connection timeout for WebDriver tests, r=ato
The 5s timeout was not enough for debug builds. I don't really see a
reason to use something other than the default socket timeout here.

MozReview-Commit-ID: Fm5lgSI3lFb
2017-04-20 10:49:28 +01:00
James Graham
a5a64e7130 Bug 1347949 - Add six to wptserve dependencies, r=whimboo
MozReview-Commit-ID: B6ADFc2F8j0
2017-04-20 10:49:26 +01:00
James Graham
99f3698b17 Bug 1356225 - Update web-platform-tests to revision d519fe9011da7cfce7949f7ed826e9759dc5c532, a=testonly
MozReview-Commit-ID: GmGgeZxHy0j
2017-04-20 10:49:24 +01:00
James Graham
c8c8b2d03d Bug 1356227 - Add support for excluding paths when doing a wpt sync, r=ato
MozReview-Commit-ID: 6zadFuRDmVD
2017-04-20 10:49:21 +01:00
Phil Ringnalda
647f7429ce Bug 1350732 - set the pref to enable dom.storageManager in a __dir__.ini instead of playing Whac-A-Test 2017-04-19 22:06:34 -07:00
Wes Kocher
e66b36fd81 Merge inbound to m-c a=merge 2017-04-19 17:10:04 -07:00