Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / crypto / gc.html
blob9cc228ab5e601c01862efd88f7f102646e46e1c2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script src="../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
10 description("Test that window.crypto.subtle wrapper preserves custom properties.");
11 jsTestIsAsync = true;
13 function startTest()
15 window.crypto.subtle.foo = "bar";
16 gc();
17 setTimeout(continueTest, 10);
20 function continueTest()
22 gc();
23 setTimeout(finishTest, 10);
26 function finishTest()
28 gc();
29 shouldBe('window.crypto.subtle.foo', '"bar"');
30 finishJSTest();
33 window.onload = startTest;
35 </script>
36 </body>
37 </html>