mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Add a test
This commit is contained in:
parent
0d9b4e858c
commit
8ae9bcd472
2 changed files with 19 additions and 0 deletions
|
@ -8576,6 +8576,12 @@
|
|||
"url": "/_mozilla/mozilla/localeCompare.html"
|
||||
}
|
||||
],
|
||||
"mozilla/media_query_list_gc.html": [
|
||||
{
|
||||
"path": "mozilla/media_query_list_gc.html",
|
||||
"url": "/_mozilla/mozilla/media_query_list_gc.html"
|
||||
}
|
||||
],
|
||||
"mozilla/mime_sniffing_font_context.html": [
|
||||
{
|
||||
"path": "mozilla/mime_sniffing_font_context.html",
|
||||
|
|
13
tests/wpt/mozilla/tests/mozilla/media_query_list_gc.html
Normal file
13
tests/wpt/mozilla/tests/mozilla/media_query_list_gc.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Should not crash on the resize</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
test(function() {
|
||||
var mql = matchMedia("(min-width: 1000px)");
|
||||
mql = null;
|
||||
gc();
|
||||
window.resizeBy(1,1);
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue