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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions.html

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html>
2 <html>
3 <head>
1 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
2 <script> 7 <script>
8 shouldThrow("getComputedStyle()");
9 shouldThrow("getComputedStyle(document)");
3 shouldThrow("getComputedStyle(null)"); 10 shouldThrow("getComputedStyle(null)");
4 shouldThrow("getComputedStyle(undefined)"); 11 shouldThrow("getComputedStyle(undefined)");
5 shouldThrow("getComputedStyle(document.createTextNode(\"foo\"))");
6 </script> 12 </script>
13 </body>
14 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698