Index: ppapi/example/example.html |
diff --git a/ppapi/example/example.html b/ppapi/example/example.html |
index dd8ee8c4824247f492d87c88c2cd2bdb82ec91b2..9a5c5a418530f4f27733289f198beadc29d032e7 100644 |
--- a/ppapi/example/example.html |
+++ b/ppapi/example/example.html |
@@ -6,9 +6,13 @@ |
isPluginDefaultSize = true; |
function Test() { |
- plugin = document.getElementById('plugin'); |
- // Confirm that this no longer segfaults. |
- alert(plugin.toString(new Array(10))); |
+ var plugin = document.getElementById('plugin'); |
+ // Confirm that this no longer segfaults. |
+ alert(plugin.toString(new Array(10))); |
+ |
+ // Confirm that the renderer doesn't crash when the plugin module goes away |
+ // while waiting for the reply to the HasPropery sync message. |
+ plugin.removePluginWhenHasPropertyCalled; |
} |
function SetPluginSize(width, height) { |