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

Side by Side Diff: sky/tests/mutation-observer/weak-callback-gc-crash.html

Issue 685623002: Move the tests from .html to .sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div>Test passes if it does not crash</div>
3 <script src="../../../resources/gc.js"></script>
4 <script>
5 if (window.testRunner) {
6 testRunner.waitUntilDone();
7 testRunner.dumpAsText();
8 }
9 var observer = new MutationObserver(function() {console.log('Should not appear') });
10 var div = document.createElement('div');
11 observer.observe(div, {attributes: true});
12 div.id = 'foo';
13 div = null;
14 observer = null;
15 gc();
16 setTimeout(function() { testRunner.notifyDone(); }, 0);
17 </script>
OLDNEW
« no previous file with comments | « sky/tests/mutation-observer/transient-gc-crash.sky ('k') | sky/tests/mutation-observer/weak-callback-gc-crash.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698