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

Unified Diff: LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt

Issue 476663002: Gracefully handle property enumeration over deleted plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 months 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 | « LayoutTests/plugins/plugin-destroyed-enumerate.html ('k') | Source/bindings/core/v8/V8NPObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt
diff --git a/LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt b/LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cf05582624c1075ef1304d64a8daf683143791c8
--- /dev/null
+++ b/LayoutTests/plugins/plugin-destroyed-enumerate-expected.txt
@@ -0,0 +1,10 @@
+Verify that enumerating the properties of a detached plugin doesn't crash, but throws.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS Object.getOwnPropertyNames(testObject) threw exception ReferenceError: NPObject deleted.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/plugins/plugin-destroyed-enumerate.html ('k') | Source/bindings/core/v8/V8NPObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698