Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html |
| diff --git a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html |
| index 2239ebedc5ebc679229d3beac4a8dbe2037a23f3..06e2a753c506f8d0ca9f916c832afd4b46db82f5 100644 |
| --- a/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html |
| +++ b/third_party/WebKit/LayoutTests/scrollbars/custom-scrollbar-not-inherited-by-iframe.html |
| @@ -1,5 +1,6 @@ |
| <!DOCTYPE html> |
| -<script src="../resources/js-test.js"></script> |
| +<script src="../resources/testharness.js"></script> |
| +<script src="../resources/testharnessreport.js"></script> |
| <style> |
| ::-webkit-scrollbar { |
| width: 150px; |
| @@ -17,8 +18,10 @@ iframe { |
| </style> |
| "></iframe> |
| <script> |
| -onload = function() { |
| +test(function() { |
| + onload = function() { |
|
Srirama
2016/08/10 11:04:39
This isn't right as this is a sync test, this won'
MuVen
2016/08/10 11:40:59
Done.
|
| var body = document.querySelector("iframe").contentDocument.body; |
| - shouldBe("285", String(body.clientWidth)); |
| -}; |
| -</script> |
| + assert_equals(285, body.clientWidth); |
| + }; |
| +}); |
| +</script> |