OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script src="../../../resources/js-test.js"></script> | |
5 </head> | |
6 <body> | |
7 <script> | |
8 [ | |
9 "getComputedStyle()", | |
10 "getComputedStyle(document)", | |
11 "getComputedStyle(null)", | |
12 "getComputedStyle(undefined)", | |
13 ].forEach(function(expr) | |
arv (Not doing code reviews)
2014/12/01 14:20:09
I would skip the forEach here.
shouldThrow("getCo
philipj_slow
2014/12/01 20:48:53
Done.
| |
14 { | |
15 shouldThrow(expr); | |
16 }); | |
17 </script> | |
18 </body> | |
19 </html> | |
OLD | NEW |