changeset 1170:aaea16216604

Use jnlp_href parameter instead of attribute in applet tag for reproducers 2015-03-05 Jie Kang <jkang@redhat.com> Use jnlp_href parameter instead of attribute in applet tag for reproducers. This is to maintain compatibility with midori and epiphany browsers that don't support jnlp_href as an applet tag's attribute * tests/reproducer/simple/JSToJGet/resources/JSToJGet.html: * tests/reproducer/simple/JSToJSet/resources/JSToJSet.html: * tests/reproducer/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html: * tests/reproducer/simple/JavascriptGet/resources/JavascriptGet.html: * tests/reproducer/simple/JavascriptSet/resources/JavascriptSet.html: All tests now use parameter tag for jnlp_href
author Jie Kang <jkang@redhat.com>
date Thu, 05 Mar 2015 14:19:57 -0500
parents 8cae163ee8bd
children 2306f922e936
files ChangeLog tests/reproducers/simple/JSToJGet/resources/JSToJGet.html tests/reproducers/simple/JSToJSet/resources/JSToJSet.html tests/reproducers/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html tests/reproducers/simple/JavascriptGet/resources/JavascriptGet.html tests/reproducers/simple/JavascriptSet/resources/JavascriptSet.html
diffstat 6 files changed, 22 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Mar 04 17:24:29 2015 +0100
+++ b/ChangeLog	Thu Mar 05 14:19:57 2015 -0500
@@ -1,3 +1,15 @@
+2015-03-05  Jie Kang  <jkang@redhat.com>
+
+	Use jnlp_href parameter instead of attribute in	applet tag for reproducers.
+	This is to maintain compatibility with midori and epiphany browsers that
+	don't support jnlp_href as an applet tag's attribute
+	* tests/reproducer/simple/JSToJGet/resources/JSToJGet.html:
+	* tests/reproducer/simple/JSToJSet/resources/JSToJSet.html:
+	* tests/reproducer/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html:
+	* tests/reproducer/simple/JavascriptGet/resources/JavascriptGet.html:
+	* tests/reproducer/simple/JavascriptSet/resources/JavascriptSet.html:
+	All tests now use parameter tag for jnlp_href
+
 2015-03-04  Jiri Vanek  <jvanek@redhat.com>
 
 	Fixed broken CacheUtil.
--- a/tests/reproducers/simple/JSToJGet/resources/JSToJGet.html	Wed Mar 04 17:24:29 2015 +0100
+++ b/tests/reproducers/simple/JSToJGet/resources/JSToJGet.html	Thu Mar 05 14:19:57 2015 -0500
@@ -12,8 +12,8 @@
     <h2>The JSToJGet html page</h2>
 
     <applet code="JSToJGet" width="1000" height="100"
-        id="applet" MAYSCRIPT
-        jnlp_href="jstoj-get.jnlp">
+        id="applet" MAYSCRIPT>
+        <param name="jnlp_href" value="jstoj-get.jnlp">
     </applet>
 
     <div id="messageDiv"></div>
--- a/tests/reproducers/simple/JSToJSet/resources/JSToJSet.html	Wed Mar 04 17:24:29 2015 +0100
+++ b/tests/reproducers/simple/JSToJSet/resources/JSToJSet.html	Thu Mar 05 14:19:57 2015 -0500
@@ -9,9 +9,9 @@
 
     <h2>The JSToJSet html page</h2>
     <applet id="applet" code="JSToJSet"
-            jnlp_href="jstoj-set.jnlp"
             width="1000" height="100" MAYSCRIPT
             scriptable="true">
+        <param name="jnlp_href" value="jstoj-set.jnlp">
     </applet>
 
     <div id="messageDiv"></div>
--- a/tests/reproducers/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html	Wed Mar 04 17:24:29 2015 +0100
+++ b/tests/reproducers/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html	Thu Mar 05 14:19:57 2015 -0500
@@ -10,8 +10,8 @@
     <h2>The JToJSFuncParam html page</h2>
 
     <applet code="JavascriptFuncParam" width="1000" height="100"
-        id="applet" MAYSCRIPT
-        jnlp_href="javascript-funcparam.jnlp">
+        id="applet" MAYSCRIPT>
+        <param name="jnlp_href" value="javascript-funcparam.jnlp"/>
     </applet>
     <script type="text/javascript" src="JavascriptFuncParam.js"></script>
 </body>
--- a/tests/reproducers/simple/JavascriptGet/resources/JavascriptGet.html	Wed Mar 04 17:24:29 2015 +0100
+++ b/tests/reproducers/simple/JavascriptGet/resources/JavascriptGet.html	Thu Mar 05 14:19:57 2015 -0500
@@ -12,8 +12,8 @@
     <h2>The JToJSGet html page</h2>
 
     <applet code="JavascriptGet" width="1000" height="100"
-        id="applet" MAYSCRIPT
-        jnlp_href="javascript-get.jnlp">
+        id="applet" MAYSCRIPT>
+        <param name="jnlp_href" value="javascript-get.jnlp"/>
     </applet>
 
     <script type="text/javascript" src="Javascript_Get.js"></script>
--- a/tests/reproducers/simple/JavascriptSet/resources/JavascriptSet.html	Wed Mar 04 17:24:29 2015 +0100
+++ b/tests/reproducers/simple/JavascriptSet/resources/JavascriptSet.html	Thu Mar 05 14:19:57 2015 -0500
@@ -9,8 +9,9 @@
 
     <h2>The JToJSSet html page</h2>
 
-    <applet code="JavascriptSet" width="1000" height="100" id="applet"
-        MAYSCRIPT jnlp_href="javascript-set.jnlp"> </applet>
+    <applet code="JavascriptSet" width="1000" height="100" id="applet" MAYSCRIPT>
+        <param name="jnlp_href" value="javascript-set.jnlp"/>
+    </applet>
     <script type="text/javascript" src="Javascript_Set.js"></script>
 </body>
 </html>