Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / onerror-no-constructor.html
blobc2274fc2f299ba5d7d5cacf51e13214e2cce9c02
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="container"></div>
5 <script>
6 if (window.testRunner)
7 window.testRunner.dumpAsText();
8 window.onerror = function(message) { console.log("FAIL"); }
10 Object.defineProperty(Object.prototype, "prototype", {
11 get: function() { console.log("FAIL"); },
12 set: function() { console.log("FAIL"); }
13 });
15 Object.defineProperty(Object.prototype, "constructor", {
16 get: function() { console.log("FAIL"); },
17 set: function() { console.log("FAIL"); }
18 });
20 throw "PASS if this is reported as an uncaught exception.";
21 </script>
22 </body>
23 </html>