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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html

Issue 2791373002: [InputEvent] Make StaticRange immutable and move tests to wpt (Closed)
Patch Set: Fix global-interface-listing Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html b/third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html
new file mode 100644
index 0000000000000000000000000000000000000000..e35bca1e7e495fedb7b05824d6af9b197c5eaec0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness.html
@@ -0,0 +1,31 @@
+<title>Static Range IDL tests</title>
+<link rel="help" href="http://garykac.github.io/staticrange/index.html#interface-staticrange"/>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/resources/WebIDLParser.js"></script>
+<script src="/resources/idlharness.js"></script>
+
+<pre id="untested_idl">
+interface Node {
+};
+</pre>
+
+<pre id='idl'>
+interface StaticRange {
+ readonly attribute Node startContainer;
+ readonly attribute unsigned long startOffset;
+ readonly attribute Node endContainer;
+ readonly attribute unsigned long endOffset;
+ readonly attribute boolean collapsed;
+};
+</pre>
+
+<script>
+(function(){
+ "use strict";
+ const idl_array = new IdlArray();
+ idl_array.add_untested_idls(document.getElementById("untested_idl").textContent);
+ idl_array.add_idls(document.getElementById("idl").textContent);
+ idl_array.test();
+})();
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt/staticrange/idlharness-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698