Chromium Code Reviews| 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..759be7b9afbcbf8b16983b3a4e04d4b046e5a602 |
| --- /dev/null |
| +++ b/chrome/test/data/npapi/npobject_identity.html |
| @@ -0,0 +1,32 @@ |
| + |
|
jam
2011/05/20 23:22:22
nit: extra line
Kelly Norton
2011/05/23 15:02:56
Done.
|
| +<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> |