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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/custom/crash-in-getTypeExtension.html

Issue 2530243002: Crash in blink::getTypeExtension (Closed)
Patch Set: Updated after review Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/custom/crash-in-getTypeExtension.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/custom/crash-in-getTypeExtension.html b/third_party/WebKit/LayoutTests/fast/dom/custom/crash-in-getTypeExtension.html
new file mode 100644
index 0000000000000000000000000000000000000000..3c3829e5a988fd82430da487b042e53a1ba290c0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/custom/crash-in-getTypeExtension.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
dominicc (has gone to gerrit) 2017/01/19 05:34:46 Could you change the test in this file? - Registe
Anton Obzhirov 2017/01/19 16:45:44 Yes, with this change it will not be called at all
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script>
+test(() => {
+ try {
+ document.createElement("option", { toString: () => { throw "It's a fake string!"; } });
+ } catch (e) {}
+}, "Test for crbug/666610: Crash in blink::getTypeExtension");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | third_party/WebKit/Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698