From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- dom/plugins/test/testplugin/javaplugin/Info.plist | 38 ++++++++++++++++++++ dom/plugins/test/testplugin/javaplugin/moz.build | 11 ++++++ dom/plugins/test/testplugin/javaplugin/nptest.def | 7 ++++ dom/plugins/test/testplugin/javaplugin/nptest.rc | 42 ++++++++++++++++++++++ .../test/testplugin/javaplugin/nptest_name.cpp | 7 ++++ 5 files changed, 105 insertions(+) create mode 100644 dom/plugins/test/testplugin/javaplugin/Info.plist create mode 100644 dom/plugins/test/testplugin/javaplugin/moz.build create mode 100644 dom/plugins/test/testplugin/javaplugin/nptest.def create mode 100644 dom/plugins/test/testplugin/javaplugin/nptest.rc create mode 100644 dom/plugins/test/testplugin/javaplugin/nptest_name.cpp (limited to 'dom/plugins/test/testplugin/javaplugin') diff --git a/dom/plugins/test/testplugin/javaplugin/Info.plist b/dom/plugins/test/testplugin/javaplugin/Info.plist new file mode 100644 index 000000000..16a45f264 --- /dev/null +++ b/dom/plugins/test/testplugin/javaplugin/Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + libnptestjava.dylib + CFBundleIdentifier + org.mozilla.JavaTestPlugin + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BRPL + CFBundleShortVersionString + 1.0.0.0 + CFBundleSignature + JAVATEST + CFBundleVersion + 1.0.0.0 + WebPluginName + Java Test Plug-in + WebPluginDescription + Dummy Java plug-in for testing purposes. + WebPluginMIMETypes + + application/x-java-test + + WebPluginExtensions + + tstjava + + WebPluginTypeDescription + Dummy java type + + + + diff --git a/dom/plugins/test/testplugin/javaplugin/moz.build b/dom/plugins/test/testplugin/javaplugin/moz.build new file mode 100644 index 000000000..4e2abb3ed --- /dev/null +++ b/dom/plugins/test/testplugin/javaplugin/moz.build @@ -0,0 +1,11 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +SharedLibrary('nptestjava') + +relative_path = 'javaplugin' +cocoa_name = 'JavaTest' +include('../testplugin.mozbuild') diff --git a/dom/plugins/test/testplugin/javaplugin/nptest.def b/dom/plugins/test/testplugin/javaplugin/nptest.def new file mode 100644 index 000000000..da24cc4b6 --- /dev/null +++ b/dom/plugins/test/testplugin/javaplugin/nptest.def @@ -0,0 +1,7 @@ +LIBRARY NPJAVATEST + +EXPORTS + NP_GetEntryPoints @1 + NP_Initialize @2 + NP_Shutdown @3 + NP_GetMIMEDescription @4 diff --git a/dom/plugins/test/testplugin/javaplugin/nptest.rc b/dom/plugins/test/testplugin/javaplugin/nptest.rc new file mode 100644 index 000000000..61b18ef6e --- /dev/null +++ b/dom/plugins/test/testplugin/javaplugin/nptest.rc @@ -0,0 +1,42 @@ +#include + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,0 + PRODUCTVERSION 1,0,0,0 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS VOS__WINDOWS32 + FILETYPE VFT_DLL + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904e4" + BEGIN + VALUE "CompanyName", "mozilla.org" + VALUE "FileDescription", L"Dummy Java plug-in for testing purposes." + VALUE "FileExtents", "tstjava" + VALUE "FileOpenName", "Dummy java test type" + VALUE "FileVersion", "1.0" + VALUE "InternalName", "nptestjava" + VALUE "MIMEType", "application/x-java-test" + VALUE "OriginalFilename", "nptestjava.dll" + VALUE "ProductName", "Java Test Plug-in" + VALUE "ProductVersion", "1.0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1252 + END +END diff --git a/dom/plugins/test/testplugin/javaplugin/nptest_name.cpp b/dom/plugins/test/testplugin/javaplugin/nptest_name.cpp new file mode 100644 index 000000000..ae3a8d146 --- /dev/null +++ b/dom/plugins/test/testplugin/javaplugin/nptest_name.cpp @@ -0,0 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this file, + * You can obtain one at http://mozilla.org/MPL/2.0/. */ + +const char *sPluginName = "Java Test Plug-in"; +const char *sPluginDescription = "Dummy Java plug-in for testing purposes."; +const char *sMimeDescription = "application/x-java-test:tstjava:Dummy java type"; -- cgit v1.2.3