Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html
index 21c35c238e3e15b112119a2961feb23c0de6aef9..529c44cbd4d2c42c56c72f1df94e4a787d02ae0a 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/interfaces.html
@@ -159,7 +159,7 @@ interface HTMLCollection {
[Constructor(MutationCallback callback)]
interface MutationObserver {
- void observe(Node target, MutationObserverInit options);
+ void observe(Node target, optional MutationObserverInit options);
void disconnect();
sequence<MutationRecord> takeRecords();
};
@@ -196,7 +196,7 @@ interface Node : EventTarget {
const unsigned short ELEMENT_NODE = 1;
const unsigned short ATTRIBUTE_NODE = 2; // historical
const unsigned short TEXT_NODE = 3;
- const unsigned short CDATA_SECTION_NODE = 4; // historical
+ const unsigned short CDATA_SECTION_NODE = 4;
const unsigned short ENTITY_REFERENCE_NODE = 5; // historical
const unsigned short ENTITY_NODE = 6; // historical
const unsigned short PROCESSING_INSTRUCTION_NODE = 7;
@@ -272,6 +272,7 @@ interface Document : Node {
[NewObject] Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional ElementCreationOptions options);
[NewObject] DocumentFragment createDocumentFragment();
[NewObject] Text createTextNode(DOMString data);
+ [NewObject] CDATASection createCDATASection(DOMString data);
[NewObject] Comment createComment(DOMString data);
[NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
@@ -427,6 +428,10 @@ interface Text : CharacterData {
};
[Exposed=Window]
+interface CDATASection : Text {
+};
+
+[Exposed=Window]
interface ProcessingInstruction : CharacterData {
readonly attribute DOMString target;
};
@@ -524,7 +529,7 @@ callback interface NodeFilter {
const unsigned long SHOW_ELEMENT = 0x1;
const unsigned long SHOW_ATTRIBUTE = 0x2; // historical
const unsigned long SHOW_TEXT = 0x4;
- const unsigned long SHOW_CDATA_SECTION = 0x8; // historical
+ const unsigned long SHOW_CDATA_SECTION = 0x8;
const unsigned long SHOW_ENTITY_REFERENCE = 0x10; // historical
const unsigned long SHOW_ENTITY = 0x20; // historical
const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x40;
@@ -542,14 +547,13 @@ interface DOMTokenList {
readonly attribute unsigned long length;
getter DOMString? item(unsigned long index);
boolean contains(DOMString token);
- void add(DOMString... tokens);
- void remove(DOMString... tokens);
- boolean toggle(DOMString token, optional boolean force);
- void replace(DOMString token, DOMString newToken);
+ [CEReactions] void add(DOMString... tokens);
+ [CEReactions] void remove(DOMString... tokens);
+ [CEReactions] boolean toggle(DOMString token, optional boolean force);
+ [CEReactions] void replace(DOMString token, DOMString newToken);
boolean supports(DOMString token);
- attribute DOMString value;
- stringifier;
-// iterable<DOMString>;
+ [CEReactions] stringifier attribute DOMString value;
+ // iterable<DOMString>;
};
</script>
<script>

Powered by Google App Engine
This is Rietveld 408576698