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

Side by Side Diff: sky/tests/custom-elements/document-register-reentrant-returning-fake.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 <html>
2 <link rel="import" href="../resources/dump-as-text.html" />
3 <link rel="import" href="resources/document-register-fuzz.html" as="fuzzer" />
4 <body>
5 <div id="container"></div>
6 Fuzzing document.registerElement() through getters. PASS uless crash.
7 <script>
8 var badPrototype = Image.prototype;
9 var badConstructor = Image.prototype.constructor;
10
11 fuzzer.setupObjectHooks({
12 prototypeGet: function() { return badPrototype; },
13 prototypeSet: function(value) { },
14 constructorGet: function() { return badConstructor; },
15 constructorSet: function(value) { }
16 });
17
18 fuzzer.exerciseDocumentRegister();
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698