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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/WebIDL/ecmascript-binding/has-instance.html

Issue 2018873002: Fix testharness paths in imported/wpt/* except dom and html. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title></title> 3 <title></title>
4 <script src="../../../../resources/testharness.js"></script> 4 <script src="/resources/testharness.js"></script>
5 <script src="../../../../resources/testharnessreport.js"></script> 5 <script src="/resources/testharnessreport.js"></script>
6 <script> 6 <script>
7 test(function() { 7 test(function() {
8 var obj = Object.create(Element.prototype); 8 var obj = Object.create(Element.prototype);
9 assert_true(obj instanceof Element); 9 assert_true(obj instanceof Element);
10 assert_true(obj instanceof Node); 10 assert_true(obj instanceof Node);
11 assert_false(obj instanceof Attr); 11 assert_false(obj instanceof Attr);
12 }, "Manually-constructed prototype chains are correctly handled by instanceof"); 12 }, "Manually-constructed prototype chains are correctly handled by instanceof");
13 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698