Skip to content

Commit

Permalink
Test for #18544 - Flow list crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed Jan 22, 2018
1 parent aee0d69 commit 8c7e710
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/wpt/mozilla/meta/MANIFEST.json
Expand Up @@ -32655,6 +32655,12 @@
{}
]
],
"css/issue_18544_flow_list_crash.html": [
[
"/_mozilla/css/issue_18544_flow_list_crash.html",
{}
]
],
"css/matchMedia.html": [
[
"/_mozilla/css/matchMedia.html",
Expand Down Expand Up @@ -63320,6 +63326,10 @@
"863e3c8c5ffa1627a20f51e89b7eca884ea381dd",
"reftest"
],
"css/issue_18544_flow_list_crash.html": [
"9e41b681e414db9bd5f3fc75210de12a6e660c28",
"testharness"
],
"css/jpeg_normal.html": [
"4e9d02f232492b55f8e6b71046b392c4dc2c9fb6",
"reftest"
Expand Down
16 changes: 16 additions & 0 deletions tests/wpt/mozilla/tests/css/issue_18544_flow_list_crash.html
@@ -0,0 +1,16 @@
<!doctype html>
<meta charset="utf-8">
<title>Issue 18544 - Flow list crash</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div style="position:fixed"></div>
<script>
async_test(function(test) {
window.onload = test.step_func_done(function() {
document.body.children[0].style['column-count'] = 1;
document.body.offsetTop;
assert_true(true, "Did not crash");
});
});
</script>

0 comments on commit 8c7e710

Please sign in to comment.