Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / plugins / iframe-shims.html
index 22a78d3..91e3222 100644 (file)
@@ -42,7 +42,7 @@
     }
 
     function makeOverlayDiv(color, caseId)
-    {\r
+    {
         var o = document.createElement('div');
         o.style.position = 'absolute';
         o.style.top = '10px';
@@ -92,8 +92,8 @@
         items++;
 
         var expectClickable = tags.expect && tags.expect.indexOf('UNDER') == -1;
-        expectedClicks[caseId] = expectClickable;\r
-\r
+        expectedClicks[caseId] = expectClickable;
+
         var container = document.getElementById('container');
         var root = document.createElement('div');
         root.style.position = 'absolute';
             pluginDivZ = 100;
             overlayDivZIframe = 100;
             overlayDivZOverlay = 100;
-        } else if (tags.pluginExplicitHigherZIndex) {\r
+        } else if (tags.pluginExplicitHigherZIndex) {
             // For this test case we set the z-index for the iframe and the overlay
             // to be lower than the plugin.
             overlayDivZIframe = 100;
                 pd = makePluginElementWithHigherZIndex();
             } else {
                 pd = makePluginElement();
-            }\r
-\r
+            }
+
             if (tags.pluginInsideDiv || pluginDivZ) {
                 var parentdiv = document.createElement('div');
                 parentdiv.appendChild(pd)
         if (tags.overlayEarlier) {
             appendOverlay(overlayDivZIframe, overlayDivZOverlay, tags.overlayInsideDiv, expectClickable, caseId);
             appendPlugin();
-        } else {\r
+        } else {
             appendPlugin();
             if (tags.overlayOnTimeout) {
                 setTimeout('appendOverlay('+overlayDivZIframe+', '+overlayDivZOverlay +', ' + tags.overlayInsideDiv + ', ' + expectClickable + ', ' + caseId + ')', 0);
-            } else {\r
+            } else {
                 appendOverlay(overlayDivZIframe, overlayDivZOverlay, tags.overlayInsideDiv, expectClickable, caseId);
             }
         }
      }
 
     function doClick(id)
-    {\r
+    {
         clicks[id] = true;
 
         // Check success/failure.
                 output.innerHTML = 'FAILURE';
                 return;
             }
-        }\r
-\r
+        }
+
         if (!waitingForMoreClicks) {
             output.innerHTML = 'SUCCESS';
             return;