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

Unified Diff: LayoutTests/fast/css/cssom-missing-arguments.html

Issue 796573003: Make CSSStyleDeclaration function arguments non-optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update test Created 6 years 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 | LayoutTests/fast/css/cssom-missing-arguments-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/cssom-missing-arguments.html
diff --git a/LayoutTests/fast/css/cssom-missing-arguments.html b/LayoutTests/fast/css/cssom-missing-arguments.html
new file mode 100644
index 0000000000000000000000000000000000000000..0ed129e2697602d5159ba156d45138d6d34dcbee
--- /dev/null
+++ b/LayoutTests/fast/css/cssom-missing-arguments.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html>
+<head>
+<script src="../../resources/js-test.js"></script>
+</head>
+<body>
+<script>
+var style = document.body.style;
+shouldBeType("style", "CSSStyleDeclaration");
+shouldThrow("style.item()");
+shouldThrow("style.getPropertyValue()");
+shouldThrow("style.getPropertyPriority()");
+shouldThrow("style.setProperty()");
+shouldThrow("style.setProperty('color')");
+shouldThrow("style.removeProperty()");
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/css/cssom-missing-arguments-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698