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

Unified Diff: chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.html

Issue 8786008: Silently swallow exceptions in extension bindings callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.html
diff --git a/chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.html b/chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.html
new file mode 100644
index 0000000000000000000000000000000000000000..4377e75ca255895360f6241924dc54b1eb47e6bf
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.html
@@ -0,0 +1,8 @@
+<script>
+chrome.tabs.create({}, function() {
+ throw new Error("tada");
+});
+chrome.tabs.create({}, function() {
+ chrome.test.notifyPass();
+});
+</script>
« no previous file with comments | « chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698