You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/08/07 02:53:31 UTC

[13/32] spec commit: CB-7133 removed inappbrowser tests

CB-7133 removed inappbrowser tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/0cf9184f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/0cf9184f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/0cf9184f

Branch: refs/heads/master
Commit: 0cf9184ff8b86c635a48b1878ac8f7db78eab6c3
Parents: 647bdb1
Author: Staci Cooper <sm...@us.ibm.com>
Authored: Mon Aug 4 11:45:19 2014 -0400
Committer: Staci Cooper <sm...@us.ibm.com>
Committed: Mon Aug 4 11:45:19 2014 -0400

----------------------------------------------------------------------
 www/inappbrowser/index.html  | 236 -------------------------------------
 www/inappbrowser/index.js    | 242 --------------------------------------
 www/inappbrowser/inject.css  |  21 ----
 www/inappbrowser/inject.html |  43 -------
 www/inappbrowser/inject.js   |  20 ----
 www/inappbrowser/local.html  |  64 ----------
 www/inappbrowser/local.pdf   | Bin 8568 -> 0 bytes
 www/inappbrowser/video.html  |  42 -------
 8 files changed, 668 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/index.html
----------------------------------------------------------------------
diff --git a/www/inappbrowser/index.html b/www/inappbrowser/index.html
deleted file mode 100644
index b06ed11..0000000
--- a/www/inappbrowser/index.html
+++ /dev/null
@@ -1,236 +0,0 @@
-<!DOCTYPE html>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
-    <script type="text/javascript" charset="utf-8" src="../cordova-incl.js"></script>      
-    <script type="text/javascript" charset="utf-8" src="./index.js"></script>      
-  </head>
-  <body id="stage" class="theme">
-  
-    <h1>InAppBrowser</h1>
-    <div id="info">
-        Make sure http://www.google.com is white listed. </br>
-        Make sure http://www.apple.com is not in the white list.</br>  In iOS, starred <span style="vertical-align:super">*</span> tests will put the app in a state with no way to return.  </br>
-        <h4>User-Agent: <span id="user-agent"> </span></h4>
-    </div>
-    <div class="btn small backBtn">Back</div>
-
-    <h1>Local URL</h1>
-    <div class="btn large openLocal">target = Default</div>
-    Expected result: opens successfully in CordovaWebView.
-
-    <p/>
-    <div class="btn large openLocalSelf">target=_self</div>
-    Expected result: opens successfully in CordovaWebView.
-
-    <p/>
-    <div class="btn large openLocalSystem">target=_system</div>
-    Expected result: fails to open.
-
-    <p/>
-    <div class="btn large openLocalBlank">target=_blank</div>
-    Expected result: opens successfully in InAppBrowser with locationBar at top.
-
-    <p/>
-    <div class="btn large openLocalRandomNoLocation">target=Random, location=no,disallowoverscroll=yes</div>
-    Expected result: opens successfully in InAppBrowser without locationBar.
-
-    <p/>
-    <div class="btn large openLocalRandomToolBarBottom">target=Random, toolbarposition=bottom</div>
-    Expected result: opens successfully in InAppBrowser with locationBar. On iOS the toolbar is at the bottom.
-
-    <p/>
-    <div class="btn large openLocalRandomToolBarTop">target=Random, toolbarposition=top</div>
-    Expected result: opens successfully in InAppBrowser with locationBar. On iOS the toolbar is at the top.
-
-    <p/>
-    <div class="btn large openLocalRandomToolBarTopNoLocation">target=Random, toolbarposition=top,location=no</div>
-    Expected result: opens successfully in InAppBrowser with no locationBar. On iOS the toolbar is at the top.
-
-    <h1>White Listed URL</h1>
-
-    <div class="btn large openWhiteListed">target=Default<span style="vertical-align:super">*</span></div>
-    Expected result: open successfully in CordovaWebView to www.google.com.
-
-    <p/>
-    <div class="btn large openWhiteListedSelf">target=_self<span style="vertical-align:super">*</span></div>
-    Expected result: open successfully in CordovaWebView to www.google.com.
-
-    <p/>
-    <div class="btn large openWhiteListedSystem">target=_system</div>
-    Expected result: open successfully in system browser to www.google.com.
-
-    <p/>
-    <div class="btn large openWhiteListedBlank">target=_blank</div>
-    Expected result: open successfully in InAppBrowser to www.google.com.
-
-    <p/>
-    <div class="btn large openWhiteListedRandom">target=Random</div>
-    Expected result: open successfully in InAppBrowser to www.google.com.
-
-    <p/>
-    <div class="btn large openWhiteListedRandomNoLocation">target=Random, no location bar<span style="vertical-align:super">*</span></div>
-    Expected result: open successfully in InAppBrowser to www.google.com with no location bar.
-
-    <h1>Non White Listed URL</h1>
-
-    <div class="btn large openNonWhiteListed">target=Default</div>
-    Expected result: open successfully in InAppBrowser to apple.com (_self enforces whitelist).
-
-    <p/>
-    <div class="btn larg openNonWhiteListedSelf">target=_self</div>
-    Expected result: open successfully in InAppBrowser to apple.com (_self enforces whitelist).
-
-    <p/>
-    <div class="btn large openNonWhiteListedSystem">target=_system</div>
-    Expected result: open successfully in system browser to apple.com.
-
-    <p/>
-    <div class="btn large openNonWhiteListedBlank">target=_blank</div>
-    Expected result: open successfully in InAppBrowser to apple.com.
-
-    <p/>
-    <div class="btn large openNonWhiteListedRandom">target=Random</div>
-    Expected result: open successfully in InAppBrowser to apple.com.
-
-    <p/>
-    <div class="btn large openNonWhiteListedRandomNoLocation">target=Random, no location bar<span style="vertical-align:super">*</span></div>
-    Expected result: open successfully in InAppBrowser to apple.com without locationBar.
-
-    <h1>Page with redirect</h1>
-
-    <div class="btn large openRedirect301">http://google.com</div>
-    Expected result: should 301 and open successfully in InAppBrowser to www.google.com.
-
-    <p/>
-    <div class="btn large openRedirect302">http://goo.gl/pUFqg</div>
-    Expected result: should 302 and open successfully in InAppBrowser to www.zhihu.com/answer/16714076.
-
-    <h1>PDF URL</h1>
-
-    <div class="btn large openPDF">Remote URL</div>
-    Expected result: InAppBrowser opens. PDF should render on iOS.
-
-    <p/>
-    <div class="btn large openPDFBlank">Local URL</div>
-    Expected result: InAppBrowser opens. PDF should render on iOS.
-
-    <h1>Invalid URL</h1>
-
-    <div class="btn large openInvalidScheme">Invalid Scheme</div>
-    Expected result: fail to load in InAppBrowser.
-
-    <p/>
-    <div class="btn large openInvalidHost">Invalid Host</div>
-    Expected result: fail to load in InAppBrowser.
-
-    <p/>
-    <div class="btn large openInvalidMissing">Missing Local File</div>
-    Expected result: fail to load in InAppBrowser (404).
-
-    <h1>CSS / JS Injection</h1>
-
-    <div class="btn large openOriginalDocument">Original Document</div>
-    Expected result: open successfully in InAppBrowser without text "Style updated from..."
-
-    <p/> 
-    <div class="btn large openCSSInjection">CSS File Injection</div>
-    Expected result: open successfully in InAppBrowser with "Style updated from file".
-
-    <p/>
-    <div class="btn large openCSSInjectionCallback">CSS File Injection (callback)</div>
-    Expected result: open successfully in InAppBrowser with "Style updated from file", and alert dialog with text "Results verified".
-
-    <p/>
-    <div class="btn large openCSSLiteralInjection">CSS Literal Injection</div>
-    Expected result: open successfully in InAppBrowser with "Style updated from literal".
-
-    <p/>
-    <div class="btn large openCSSLiteralInjectionCallback">CSS Literal Injection (callback)</div>
-    Expected result: open successfully in InAppBrowser with "Style updated from literal", and alert dialog with text "Results verified".
-
-    <p/>
-    <div class="btn large openScriptInjection">Script File Injection</div>
-    Expected result: open successfully in InAppBrowser with text "Script file successfully injected".
-
-    <p/>
-    <div class="btn large openScriptInjectionCallback">Script File Injection (callback)</div>
-    Expected result: open successfully in InAppBrowser with text "Script file successfully injected" and alert dialog with the text "Results verified".
-
-    <p/>
-    <div class="btn large openScriptLiteralInjection">Script Literal Injection</div>
-    Expected result: open successfully in InAppBrowser with the text "Script literal successfully injected" .
-
-    <p/>
-    <div class="btn large openScriptLiteralInjectionCallback">Script Literal Injection (callback)</div>
-    Expected result: open successfully in InAppBrowser with the text "Script literal successfully injected" and alert dialog with the text "Results verified".
-
-    <h1>Open Hidden </h1>
-    <div class="btn large openHidden">create hidden</div>
-    Expected result: no additional browser window. Alert appears with the text "background window loaded".
-
-    <p/>
-    <div class="btn large showHidden">show hidden</div>
-    Expected result: after first clicking on previous test "create hidden", open successfully in InAppBrowser to google.com.
-
-    <p/>
-    <div class="btn large closeHidden">close hidden</div>
-    Expected result: no output. But click on "show hidden" again and nothing should be shown.
-
-    <p/>
-    <div class="btn large openHiddenShow">google.com not hidden</div>
-    Expected result: open successfully in InAppBrowser to www.google.com
-
-    <h1>Clearing Cache</h1>
-
-    <div class="btn large openClearCache">Clear Browser Cache</div>
-    Expected result: ?
-
-    <p/>
-    <div class="btn large openClearSessionCache">Clear Session Cache</div>
-    Expected result: ?
-
-    <h1>Video tag</h1>
-
-    <div class="btn large openRemoteVideo">remote video</div>
-    Expected result: open successfully in InAppBrowser with an embedded video that works after clicking the "play" button.
-
-    <h1>Local with anchor tag</h1>
-
-    <div class="btn large openAnchor1">Anchor1</div>
-    Expected result: open successfully in InAppBrowser to the local page, scrolled to the top.
-
-    <p/>
-    <div class="btn large openAnchor2">Anchor2</div>
-    Expected result: open successfully in InAppBrowser to the local page, scrolled to the beginning of the tall div with border.
-    
-    <p/>
-    <div class="backBtn">Back</div>
-
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/index.js
----------------------------------------------------------------------
diff --git a/www/inappbrowser/index.js b/www/inappbrowser/index.js
deleted file mode 100644
index a08c30d..0000000
--- a/www/inappbrowser/index.js
+++ /dev/null
@@ -1,242 +0,0 @@
-var deviceReady = false;
-
-/**
- * Function called when page has finished loading.
- */
-function init() {
-    document.addEventListener("deviceready", function() {
-            deviceReady = true;
-            console.log("Device="+device.platform+" "+device.version);
-        }, false);
-    function updateUserAgent() {
-        document.getElementById("user-agent").textContent = navigator.userAgent;
-    }
-    updateUserAgent();
-    window.setInterval(updateUserAgent, 1500);
-    window.setTimeout(function() {
-      if (!deviceReady) {
-        alert("Error: Apache Cordova did not initialize.  Demo will not run correctly.");
-      }
-    },1000);
-}
-
-function doOpen(url, target, params, numExpectedRedirects) {
-    numExpectedRedirects = numExpectedRedirects || 0;
-    var iab = window.open(url, target, params);
-    if (!iab) {
-        alert('window.open returned ' + iab);
-        return;
-    }
-    var counts;
-    var lastLoadStartURL;
-    var wasReset = false;
-    function reset()  {
-        counts = {
-            'loaderror': 0,
-            'loadstart': 0,
-            'loadstop': 0,
-            'exit': 0
-        };
-        lastLoadStartURL = '';
-    }
-    reset();
-
-    function logEvent(e) {
-        console.log('IAB event=' + JSON.stringify(e));
-        counts[e.type]++;
-        // Verify that event.url gets updated on redirects.
-        if (e.type == 'loadstart') {
-            if (e.url == lastLoadStartURL) {
-                alert('Unexpected: loadstart fired multiple times for the same URL.');
-            }
-            lastLoadStartURL = e.url;
-        }
-        // Verify the right number of loadstart events were fired.
-        if (e.type == 'loadstop' || e.type == 'loaderror') {
-            if (e.url != lastLoadStartURL) {
-                alert('Unexpected: ' + e.type + ' event.url != loadstart\'s event.url');
-            }
-            if (numExpectedRedirects === 0 && counts['loadstart'] !== 1) {
-                // Do allow a loaderror without a loadstart (e.g. in the case of an invalid URL).
-                if (!(e.type == 'loaderror' && counts['loadstart'] === 0)) {
-                    alert('Unexpected: got multiple loadstart events. (' + counts['loadstart'] + ')');
-                }
-            } else if (numExpectedRedirects > 0 && counts['loadstart'] < (numExpectedRedirects+1)) {
-                alert('Unexpected: should have got at least ' + (numExpectedRedirects+1) + ' loadstart events, but got ' + counts['loadstart']);
-            }
-            wasReset = true;
-            numExpectedRedirects = 0;
-            reset();
-        }
-        // Verify that loadend / loaderror was called.
-        if (e.type == 'exit') {
-            var numStopEvents = counts['loadstop'] + counts['loaderror'];
-            if (numStopEvents === 0 && !wasReset) {
-                alert('Unexpected: browser closed without a loadstop or loaderror.')
-            } else if (numStopEvents > 1) {
-                alert('Unexpected: got multiple loadstop/loaderror events.');
-            }
-        }
-    }
-    iab.addEventListener('loaderror', logEvent);
-    iab.addEventListener('loadstart', logEvent);
-    iab.addEventListener('loadstop', logEvent);
-    iab.addEventListener('exit', logEvent);
-
-    return iab;
-}
-
-function openWithStyle(url, cssUrl, useCallback) {
-    var iab = doOpen(url, '_blank', 'location=yes');
-    var callback = function(results) {
-        if (results && results.length === 0) {
-            alert('Results verified');
-        } else {
-            console.log(results);
-            alert('Got: ' + typeof(results) + '\n' + JSON.stringify(results));
-        }
-    };
-    if (cssUrl) {
-        iab.addEventListener('loadstop', function(event) {
-            iab.insertCSS({file: cssUrl}, useCallback && callback);
-        });
-    } else {
-        iab.addEventListener('loadstop', function(event) {
-            iab.insertCSS({code:'#style-update-literal { \ndisplay: block !important; \n}'},
-                          useCallback && callback);
-        });
-    }
-}
-
-function openWithScript(url, jsUrl, useCallback) {
-    var iab = doOpen(url, '_blank', 'location=yes');
-    if (jsUrl) {
-        iab.addEventListener('loadstop', function(event) {
-            iab.executeScript({file: jsUrl}, useCallback && function(results) {
-                if (results && results.length === 0) {
-                    alert('Results verified');
-                } else {
-                    console.log(results);
-                    alert('Got: ' + typeof(results) + '\n' + JSON.stringify(results));
-                }
-            });
-        });
-    } else {
-        iab.addEventListener('loadstop', function(event) {
-            var code = '(function(){\n' +
-              '    var header = document.getElementById("header");\n' +
-              '    header.innerHTML = "Script literal successfully injected";\n' +
-              '    return "abc";\n' +
-              '})()';
-            iab.executeScript({code:code}, useCallback && function(results) {
-                if (results && results.length === 1 && results[0] === 'abc') {
-                    alert('Results verified');
-                } else {
-                    console.log(results);
-                    alert('Got: ' + typeof(results) + '\n' + JSON.stringify(results));
-                }
-            });
-        });
-    }
-}
-var hiddenwnd=null;
-var loadlistener = function(event) { alert('background window loaded ' ); };
-function openHidden(url, startHidden) {
-    var shopt =(startHidden) ? 'hidden=yes' : '';
-    hiddenwnd = window.open(url,'random_string',shopt);
-    if (!hiddenwnd) {
-        alert('window.open returned ' + hiddenwnd);
-        return;
-    }
-    if(startHidden) hiddenwnd.addEventListener('loadstop', loadlistener);
-}
-function showHidden() {
-    if(!!hiddenwnd ) {
-        hiddenwnd.show();
-    }
-}
-function closeHidden() {
-   if(!!hiddenwnd ) {
-       hiddenwnd.removeEventListener('loadstop',loadlistener);
-       hiddenwnd.close();
-       hiddenwnd=null;
-   }
-}
-
-window.onload = function() {
-  addListenerToClass('openLocal', doOpen, 'local.html');
-  addListenerToClass('openLocalSelf', doOpen, ['local.html', '_self']);
-  addListenerToClass('openLocalSystem', doOpen, ['local.html', '_system']);
-  addListenerToClass('openLocalBlank', doOpen, ['local.html', '_blank']);
-  addListenerToClass('openLocalRandomNoLocation', doOpen, 
-      ['local.html', 'random_string', 'location=no,disallowoverscroll=yes']);
-  addListenerToClass('openLocalRandomToolBarBottom', doOpen,
-      ['local.html', 'random_string', 'toolbarposition=bottom']);
-  addListenerToClass('openLocalRandomToolBarTop', doOpen, 
-      ['local.html', 'random_string', 'toolbarposition=top']);
-  addListenerToClass('openLocalRandomToolBarTopNoLocation', doOpen, 
-      ['local.html', 'random_string', 'toolbarposition=top,location=no']);
-  addListenerToClass('openWhiteListed', doOpen, 'http://www.google.com');
-  addListenerToClass('openWhiteListedSelf', doOpen, 
-      ['http://www.google.com', '_self']);
-  addListenerToClass('openWhiteListedSystem', doOpen,
-      ['http://www.google.com', '_system']);
-  addListenerToClass('openWhiteListedBlank', doOpen, 
-      ['http://www.google.com', '_blank']);
-  addListenerToClass('openWhiteListedRandom', doOpen,
-      ['http://www.google.com', 'random_string']);
-  addListenerToClass('openWhiteListedRandomNoLocation', doOpen,
-      ['http://www.google.com', 'random_string', 'location=no']);
-  addListenerToClass('openNonWhiteListed', doOpen, 'http://www.apple.com');
-  addListenerToClass('openNonWhiteListedSelf', doOpen, 
-      ['http://www.apple.com', '_self']);
-  addListenerToClass('openNonWhiteListedSystem', doOpen, 
-      ['http://www.apple.com', '_system']);
-  addListenerToClass('openNonWhiteListedBlank', doOpen, 
-      ['http://www.apple.com', '_blank']);
-  addListenerToClass('openNonWhiteListedRandom', doOpen,
-      ['http://www.apple.com', 'random_string']);
-  addListenerToClass('openNonWhiteListedRandomNoLocation', doOpen, 
-      ['http://www.apple.com', 'random_string', 'location=no']);
-  addListenerToClass('openRedirect301', doOpen, 
-      ['http://google.com', 'random_string', '', 1]);
-  addListenerToClass('openRedirect302', doOpen, 
-      ['http://goo.gl/pUFqg', 'random_string', '', 2]);
-  addListenerToClass('openPDF', doOpen, 'http://www.stluciadance.com/prospectus_file/sample.pdf');
-  addListenerToClass('openPDFBlank', doOpen, ['local.pdf', '_blank']);
-  addListenerToClass('openInvalidScheme', doOpen, 
-      ['x-ttp://www.invalid.com/', '_blank']);
-  addListenerToClass('openInvalidHost', doOpen, 
-      ['http://www.inv;alid.com/', '_blank']);
-  addListenerToClass('openInvalidMissing', doOpen, ['nonexistent.html', '_blank']);
-  addListenerToClass('openOriginalDocument', doOpen, ['inject.html', '_blank']);
-  addListenerToClass('openCSSInjection', openWithStyle, 
-      ['inject.html','inject.css']);
-  addListenerToClass('openCSSInjectionCallback', openWithStyle, 
-      ['inject.html','inject.css', true]);
-  addListenerToClass('openCSSLiteralInjection', openWithStyle, 'inject.html');
-  addListenerToClass('openCSSLiteralInjectionCallback', openWithStyle, 
-    ['inject.html', null, true]);
-  addListenerToClass('openScriptInjection', openWithScript, 
-    ['inject.html', 'inject.js']);
-  addListenerToClass('openScriptInjectionCallback', openWithScript, 
-    ['inject.html', 'inject.js', true]);
-  addListenerToClass('openScriptLiteralInjection', openWithScript, 'inject.html');
-  addListenerToClass('openScriptLiteralInjectionCallback', openWithScript, 
-    ['inject.html', null, true]);
-  addListenerToClass('openHidden', openHidden, ['http://google.com', true]);
-  addListenerToClass('showHidden', showHidden);
-  addListenerToClass('closeHidden', closeHidden);
-  addListenerToClass('openHiddenShow', openHidden, ['http://google.com', false]);
-  addListenerToClass('openClearCache', doOpen, 
-    ['http://www.google.com', '_blank', 'clearcache=yes']);
-  addListenerToClass('openClearSessionCache', doOpen, 
-    ['http://www.google.com', '_blank', 'clearsessioncache=yes']);
-  addListenerToClass('openRemoteVideo', doOpen, ['video.html', '_blank']);
-  addListenerToClass('openAnchor1', doOpen, ['local.html#anchor1', '_blank']);
-  addListenerToClass('openAnchor2', doOpen, ['local.html#anchor2', '_blank']);
-
-
-  addListenerToClass('backBtn', backHome);
-  init();
-}

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/inject.css
----------------------------------------------------------------------
diff --git a/www/inappbrowser/inject.css b/www/inappbrowser/inject.css
deleted file mode 100644
index 3f6e41c..0000000
--- a/www/inappbrowser/inject.css
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-#style-update-file {
-    display: block !important;
-}

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/inject.html
----------------------------------------------------------------------
diff --git a/www/inappbrowser/inject.html b/www/inappbrowser/inject.html
deleted file mode 100644
index 0f1efdd..0000000
--- a/www/inappbrowser/inject.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>Cordova Mobile Spec</title>
-    <link rel="stylesheet" href="../master.css" type="text/css" media="screen" title="no title" charset="utf-8">
-  </head>
-  <body id="stage" class="theme">
-    <h1 id="header">InAppBrowser - Script / Style Injection Test</h1>
-    <h2 id="style-update-file" style="display:none">Style updated from file</h2>
-    <h2 id="style-update-literal" style="display:none">Style updated from literal</h2>
-  </body>
-  <script>
-      function updateUserAgent() {
-          document.getElementById("u-a").textContent = navigator.userAgent;
-      }
-      updateUserAgent();
-      window.setInterval(updateUserAgent, 1500);
-  </script>
-</html>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/inject.js
----------------------------------------------------------------------
diff --git a/www/inappbrowser/inject.js b/www/inappbrowser/inject.js
deleted file mode 100644
index 6f25493..0000000
--- a/www/inappbrowser/inject.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
-*/
-var d = document.getElementById("header")
-d.innerHTML = "Script file successfully injected";

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/local.html
----------------------------------------------------------------------
diff --git a/www/inappbrowser/local.html b/www/inappbrowser/local.html
deleted file mode 100644
index 5e33800..0000000
--- a/www/inappbrowser/local.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<!DOCTYPE html>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>IAB test page</title>
-    <script type="text/javascript" charset="utf-8" src="../cordova-incl.js"></script>
-    <script type="text/javascript" charset="utf-8">
-      function onDeviceReady() {
-          document.getElementById("hint").textContent = "Running CordovaWebView, deviceVersion=" + device.version + ", no toolbar should be present, Back link should work, logcat should NOT have failed 'gap:' calls.";
-      }
-      document.addEventListener("deviceready", onDeviceReady, false);
-    </script>
-  </head>
-  <body id="stage" class="theme">
-    <h1>Local URL</h1>
-    <div id="info">
-        You have successfully loaded a local URL:
-        <script>document.write(location.href)</script>
-    </div>
-    <hr />
-    <div>User-Agent = <span id="u-a"></span></div>
-    <hr />
-    <div id="hint">Likely running inAppBrowser: Device version from Cordova=not found, Back link should not work, toolbar may be present, logcat should show failed 'gap:' calls.</div>
-    <hr />
-    <div><a href="http://www.google.com">Visit Google</a> (whitelisted)</div>
-    <div><a href="http://www.yahoo.com">Visit Yahoo</a> (not whitelisted)</div>
-    <div><a href="http://www.stluciadance.com/prospectus_file/sample.pdf">Check out my remote PDF</a></div>
-    <div><a href="local.pdf">Check out my local PDF</a></div>
-    <p /><a href="javascript:;" onclick="history.back();">Back</a>
-    <p />
-    <a name="anchor2"></a>
-    <div style="height: 1000px;border:1px solid red;">tall div with border</div>
-  </body>
-  <script>
-      function updateUserAgent() {
-          document.getElementById("u-a").textContent = navigator.userAgent;
-      }
-      updateUserAgent();
-      window.setInterval(updateUserAgent, 1500);
-  </script>
-</html>

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/local.pdf
----------------------------------------------------------------------
diff --git a/www/inappbrowser/local.pdf b/www/inappbrowser/local.pdf
deleted file mode 100644
index b54f1b7..0000000
Binary files a/www/inappbrowser/local.pdf and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/0cf9184f/www/inappbrowser/video.html
----------------------------------------------------------------------
diff --git a/www/inappbrowser/video.html b/www/inappbrowser/video.html
deleted file mode 100644
index 64ea3d1..0000000
--- a/www/inappbrowser/video.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
-
--->
-
-
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,maximum-scale=1.0,initial-scale=1.0" />
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <!-- ISO-8859-1 -->
-    <title>Cordova Mobile Spec</title>
-
-  </head>
-  <body>
-    <video width=100% height=100% id="player">
-      <source src="http://m.comptoir-info.com/app/beta/sample.mp4">
-      <meta property="og:video:secure_url" content="http://m.comptoir-info.com/app/beta/sample.mp4">
-      <meta property="og:video:type" content="video/mp4">
-    </video>
-    <div>
-      <button onclick="document.getElementById('player').play()"> play </button>
-      <button onclick="document.getElementById('player').pause()"> pause </button>
-    </div>
-  </body>
-</html>