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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html

Issue 1481983002: Drop [LegacyInterfaceTypeChecking] where trivial in core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests Created 5 years, 1 month 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/fast/css/fontfaceset-set-operations-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html b/third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html
index b754ce99855a65f5f813839982509c1d6c133f45..9d6db69c78d57c44f25e85e4030760d3654e0f0d 100644
--- a/third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html
+++ b/third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations.html
@@ -76,8 +76,14 @@ function runTests() {
}
checkResults();
+ shouldThrow('document.fonts.has(null)');
+ shouldThrow('document.fonts.has("Font1")');
+ shouldThrow('document.fonts.add(null)');
+ shouldThrow('document.fonts.add("Font1")');
+ shouldThrow('document.fonts.delete(null)');
+ shouldThrow('document.fonts.delete("Font1")');
+
shouldBeFalse('document.fonts.has(nonCssConnectedFace)');
- shouldThrow('document.fonts.has("Font1")', '"TypeError: Failed to execute \'has\' on \'FontFaceSet\': The argument is not a FontFace."');
shouldNotThrow('document.fonts.add(faces[0])');
shouldBe('document.fonts.size', '3');
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/fontfaceset-set-operations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698