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

Unified Diff: third_party/WebKit/LayoutTests/plugins/resources/script-container.html

Issue 1483733002: Remove support for NPObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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
Index: third_party/WebKit/LayoutTests/plugins/resources/script-container.html
diff --git a/third_party/WebKit/LayoutTests/plugins/resources/script-container.html b/third_party/WebKit/LayoutTests/plugins/resources/script-container.html
deleted file mode 100644
index 921c5336f5b193166e96b85cd7b3252e0d413853..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/plugins/resources/script-container.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script type="text/javascript">
- window['new-script-object-in-frame'] = function() {
- return FactoryFunction();
- };
- // A simple script object with a member function that takes
- // an NPObject as an argument
- FactoryFunction = function() {
- var TestObject = function() {
- };
- TestObject.prototype.createObject = function(plugin) {
- var newObject = plugin.testCloneObject();
- return newObject;
- };
- var instance = new TestObject();
- return instance;
- };
- </script>
-</head>
-<body>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698