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

Side by Side Diff: sky/tests/custom-elements/document-register-reentrant-throwing-constructor.sky

Issue 694423002: Replace <link rel="import"> with <import> (Closed) Base URL: git@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
1 <html> 1 <html>
2 <link rel="import" href="../resources/dump-as-text.sky" /> 2 <import src="../resources/dump-as-text.sky" />
3 <link rel="import" href="resources/document-register-fuzz.sky" as="fuzzer" /> 3 <import src="resources/document-register-fuzz.sky" as="fuzzer" />
4 <body> 4 <body>
5 <div id="container"></div> 5 <div id="container"></div>
6 Fuzzing document.registerElement() through getters. PASS unless crash. 6 Fuzzing document.registerElement() through getters. PASS unless crash.
7 <script> 7 <script>
8 fuzzer.setupObjectHooks({ 8 fuzzer.setupObjectHooks({
9 prototypeGet: function() { throw "Error"; }, 9 prototypeGet: function() { throw "Error"; },
10 prototypeSet: function(value) { throw "Error"; }, 10 prototypeSet: function(value) { throw "Error"; },
11 constructorGet: function() { throw "Error"; }, 11 constructorGet: function() { throw "Error"; },
12 constructorSet: function(value) { throw "Error"; } 12 constructorSet: function(value) { throw "Error"; }
13 }); 13 });
14 14
15 fuzzer.exerciseDocumentRegister(); 15 fuzzer.exerciseDocumentRegister();
16 </script> 16 </script>
17 </body> 17 </body>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698