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

Unified Diff: chrome/test/data/npapi/npobject_identity.html

Issue 7037027: Fixes Issues #5751 & #22631: NPObject identity (Closed)
Patch Set: hopefully added base url Created 9 years, 7 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 | « no previous file | chrome/test/ui/npapi_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | chrome/test/ui/npapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698