| 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..accb3395d86debc224d862ea6bf842bba7c18827 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() {
|
| - var body = document.querySelector("iframe").contentDocument.body;
|
| - shouldBe("285", String(body.clientWidth));
|
| -};
|
| -</script>
|
| +async_test(function(t) {
|
| + onload = t.step_func_done(function() {
|
| + var body = document.querySelector("iframe").contentDocument.body;
|
| + assert_equals(285, body.clientWidth);
|
| + });
|
| +});
|
| +</script>
|
|
|