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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html

Issue 2841903002: Upstream FontFaceSetLoadEvent constructor test to wpt (Closed)
Patch Set: Add <link rel="help"> 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
Index: third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/fontfacesetloadevent-constructor.html b/third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html
similarity index 50%
rename from third_party/WebKit/LayoutTests/fast/css/fontfacesetloadevent-constructor.html
rename to third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html
index 940d601c4c3b4011391260aa5a351c80b39a53f2..d5038ce690c6df5f8eb6f2d0266df052f7200fc5 100644
--- a/third_party/WebKit/LayoutTests/fast/css/fontfacesetloadevent-constructor.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/css-font-loading/fontfacesetloadevent-constructor.html
@@ -1,19 +1,20 @@
<!DOCTYPE html>
-<title>FontFaceSetLoadEvent Constructor</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
+<title>FontFaceSetLoadEvent constructor</title>
+<link rel="help" href="https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
var ff = [];
var e = new FontFaceSetLoadEvent('type');
assert_array_equals(e.fontfaces, ff);
assert_not_equals(e.fontfaces, ff);
- }, 'Test FontFaceSetLoadEvent constructor without FontFaceSetLoadEventInit dictionary');
+ }, 'FontFaceSetLoadEvent constructor without FontFaceSetLoadEventInit dictionary');
test(function() {
var ff = [ new FontFace('family', 'src') ];
var e = new FontFaceSetLoadEvent('type', { fontfaces: ff });
assert_array_equals(e.fontfaces, ff);
assert_not_equals(e.fontfaces, ff);
- }, 'Test FontFaceSetLoadEvent constructor with FontFaceSetLoadEventInit dictionary');
+ }, 'FontFaceSetLoadEvent constructor with FontFaceSetLoadEventInit dictionary');
</script>

Powered by Google App Engine
This is Rietveld 408576698