Index: chrome/test/data/npapi/npobject_identity.html |
diff --git a/chrome/test/data/npapi/npobject_identity.html b/chrome/test/data/npapi/npobject_identity.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac5e43d09833e614ddf86bd58669ddcc9bbe9d2d |
--- /dev/null |
+++ b/chrome/test/data/npapi/npobject_identity.html |
@@ -0,0 +1,31 @@ |
+<html> |
+ |
+<head> |
+<script src="npapi.js"></script> |
+<script> |
+ function areTheseTheSame(a, b) { |
+ return a === b; |
+ } |
+</script> |
+</head> |
+ |
+ |
+<body> |
+<div id="statusPanel" style="border: 1px solid red; width: 100%"> |
+Test running.... |
+</div> |
+ |
+ |
+NPObject Identity Test<p> |
+ |
+Tests that identity is preserved for NPObjects passed from a plugin into JavaScript. |
+ |
+<embed type="application/vnd.npapi-test" |
+ src="foo" |
+ name="npobject_identity" |
+ id="1" |
+ mode="np_embed" |
+> |
+ |
+</body> |
+</html> |