| Index: LayoutTests/compositing/overflow/do-not-crash-when-checking-frame-view-is-scrollable.html
|
| diff --git a/LayoutTests/compositing/overflow/do-not-crash-when-checking-frame-view-is-scrollable.html b/LayoutTests/compositing/overflow/do-not-crash-when-checking-frame-view-is-scrollable.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e525c16ccac6c574962cc5e9838a926b6869a275
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/overflow/do-not-crash-when-checking-frame-view-is-scrollable.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <link rel="stylesheet" type="text/css" href="do-not-crash-when-checking-frame-view-is-scrollable.css">
|
| + <script src="../../fast/js/resources/js-test-pre.js"></script>
|
| + <script>
|
| + document.createElement("div").offsetParent;
|
| +
|
| + if (window.internals) {
|
| + testPassed("Did not crash");
|
| + } else {
|
| + description("This test ensures that we do not crash when the document body has no style when" +
|
| + " we check if the main frame is scrollable (which it is in this case).");
|
| + }
|
| + </script>
|
| + <script src="../../fast/js/resources/js-test-post.js"></script>
|
| +</head>
|
| +<body>
|
| +</body>
|
| +</html>
|
| +
|
|
|