Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: LayoutTests/fast/harness/internals-observe-gc.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <body> 3 <body>
4 <script> 4 <script>
5 description('Tests that the window.internals.observeGC hook works.'); 5 description('Tests that the window.internals.observeGC hook works.');
6 6
7 shouldBe('typeof window.internals.observeGC', '"function"', 7 shouldBe('typeof window.internals.observeGC', '"function"',
8 'this test requires window.internals'); 8 'this test requires window.internals');
9 9
10 // "Generic Kid's Movie III": ... where nobody dies. 10 // "Generic Kid's Movie III": ... where nobody dies.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 var valueD = {}; 48 var valueD = {};
49 var observerD = internals.observeGC(valueD); 49 var observerD = internals.observeGC(valueD);
50 valueD.observer = observerD; 50 valueD.observer = observerD;
51 observerD.observed = valueD; 51 observerD.observed = valueD;
52 valueD = observerD = null; 52 valueD = observerD = null;
53 gc(); 53 gc();
54 testPassed('did not crash'); 54 testPassed('did not crash');
55 55
56 var successfullyParsed = true; 56 var successfullyParsed = true;
57 </script> 57 </script>
58 <script src="../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698