Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -0,0 +1 @@
@ayg

View file

@ -13,6 +13,8 @@
"commandDisabled",
"commandChecked",
"commandTriggers",
// https://github.com/whatwg/html/pull/2402
"dropzone",
// https://github.com/whatwg/html/commit/5ddfc78b1f82e86cc202d72ccc752a0e15f1e4ad
"inert",
].forEach(function(member) {

View file

@ -789,8 +789,7 @@ for (var element in elements) {
// Don't try to test the defaultVal -- it should be either 0 or -1, but the
// rules are complicated, and a lot of them are SHOULDs.
ReflectionTests.reflects({type: "long", defaultVal: null}, "tabIndex", element);
// TODO: classList, contextMenu, itemProp, itemRef, dropzone (require
// tokenlist support)
// TODO: classList, contextMenu, itemProp, itemRef
for (var idlAttrName in elements[element]) {
var type = elements[element][idlAttrName];

View file

@ -136,7 +136,6 @@ interface HTMLElement : Element {
[CEReactions] attribute DOMString accessKey;
readonly attribute DOMString accessKeyLabel;
[CEReactions] attribute boolean draggable;
[CEReactions, SameObject, PutForwards=value] readonly attribute DOMTokenList dropzone;
[CEReactions] attribute HTMLMenuElement? contextMenu;
[CEReactions] attribute boolean spellcheck;
void forceSpellCheck();
@ -1790,7 +1789,7 @@ interface MessageEvent : Event {
readonly attribute (WindowProxy or MessagePort)? source;
readonly attribute FrozenArray<MessagePort> ports;
void initMessageEvent(DOMString type, boolean bubbles, boolean cancelable, any data, DOMString origin, DOMString lastEventId, (WindowProxy or MessagePort) source, sequence<MessagePort> ports);
void initMessageEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false, optional any data = null, optional DOMString origin = "", optional DOMString lastEventId = "", optional (WindowProxy or MessagePort)? source = null, optional sequence<MessagePort> ports = []);
};
dictionary MessageEventInit : EventInit {