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

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/nothing.html

Issue 1159053005: W3C Test: import web-platform-tests/html/{introduction,obsolete} (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset=utf-8>
3 <title>Methods that must do nothing: clear(), captureEvents(), and releaseEvents ()</title>
4 <script src=../../../../../../resources/testharness.js></script>
5 <script src=../../../../../../resources/testharnessreport.js></script>
6 <div id=log></div>
7 <script>
8 test(function() {
9 assert_equals(document.clear(), undefined);
10 }, "document.clear");
11
12 test(function() {
13 assert_equals(document.captureEvents(), undefined);
14 }, "document.captureEvents");
15
16 test(function() {
17 assert_equals(document.releaseEvents(), undefined);
18 }, "document.releaseEvents");
19
20 test(function() {
21 assert_equals(window.captureEvents(), undefined);
22 }, "window.captureEvents");
23
24 test(function() {
25 assert_equals(window.releaseEvents(), undefined);
26 }, "window.releaseEvents");
27 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698