diff options
Diffstat (limited to 'tools/addon-sdk-1.12/data')
-rw-r--r-- | tools/addon-sdk-1.12/data/index.html | 13 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/moz_favicon.ico | bin | 1406 -> 0 bytes | |||
-rw-r--r-- | tools/addon-sdk-1.12/data/pagemod-css-include-file.css | 1 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-content-symbiont.js | 5 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-context-menu.js | 5 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-iframe-postmessage.html | 20 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-iframe.html | 9 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-iframe.js | 11 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-message-manager.js | 6 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-net-url.txt | 1 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-page-mod.html | 12 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-page-worker.html | 13 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-page-worker.js | 29 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test-trusted-document.html | 18 | ||||
-rw-r--r-- | tools/addon-sdk-1.12/data/test.html | 13 |
15 files changed, 0 insertions, 156 deletions
diff --git a/tools/addon-sdk-1.12/data/index.html b/tools/addon-sdk-1.12/data/index.html deleted file mode 100644 index e5b5859..0000000 --- a/tools/addon-sdk-1.12/data/index.html +++ /dev/null @@ -1,13 +0,0 @@ -<!-- 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/. --> - -<html> - <head> - <meta charset="UTF-8"> - <title>Add-on Page</title> - </head> - <body> - <p>This is an add-on page test!</p> - </body> -</html> diff --git a/tools/addon-sdk-1.12/data/moz_favicon.ico b/tools/addon-sdk-1.12/data/moz_favicon.ico Binary files differdeleted file mode 100644 index d444389..0000000 --- a/tools/addon-sdk-1.12/data/moz_favicon.ico +++ /dev/null diff --git a/tools/addon-sdk-1.12/data/pagemod-css-include-file.css b/tools/addon-sdk-1.12/data/pagemod-css-include-file.css deleted file mode 100644 index 91d8e25..0000000 --- a/tools/addon-sdk-1.12/data/pagemod-css-include-file.css +++ /dev/null @@ -1 +0,0 @@ -div { border: 10px solid black; } diff --git a/tools/addon-sdk-1.12/data/test-content-symbiont.js b/tools/addon-sdk-1.12/data/test-content-symbiont.js deleted file mode 100644 index 65a2a21..0000000 --- a/tools/addon-sdk-1.12/data/test-content-symbiont.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -// test-content-symbiont diff --git a/tools/addon-sdk-1.12/data/test-context-menu.js b/tools/addon-sdk-1.12/data/test-context-menu.js deleted file mode 100644 index 13c4eb2..0000000 --- a/tools/addon-sdk-1.12/data/test-context-menu.js +++ /dev/null @@ -1,5 +0,0 @@ -/* 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/. */ - -self.on("context", function () true); diff --git a/tools/addon-sdk-1.12/data/test-iframe-postmessage.html b/tools/addon-sdk-1.12/data/test-iframe-postmessage.html deleted file mode 100644 index cb9a870..0000000 --- a/tools/addon-sdk-1.12/data/test-iframe-postmessage.html +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE HTML> -<html> - <head> - <meta charset="UTF-8"> - <script> - window.addEventListener("message", function(msg) { - parent.postMessage(msg.data, "*"); - }); - - parent.postMessage({ - first: "a string", - second: ["an", "array"], - third: {an: 'object'} - }, '*'); - </script> - </head> - <body> - <h1>Inner iframe</h1> - </body> -</html> diff --git a/tools/addon-sdk-1.12/data/test-iframe.html b/tools/addon-sdk-1.12/data/test-iframe.html deleted file mode 100644 index ca7ac5c..0000000 --- a/tools/addon-sdk-1.12/data/test-iframe.html +++ /dev/null @@ -1,9 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <meta charset="UTF-8"> -</head> -<body> - <iframe id="inner" src="about:blank"></iframe> -</body> -</html> diff --git a/tools/addon-sdk-1.12/data/test-iframe.js b/tools/addon-sdk-1.12/data/test-iframe.js deleted file mode 100644 index 5b0ec1b..0000000 --- a/tools/addon-sdk-1.12/data/test-iframe.js +++ /dev/null @@ -1,11 +0,0 @@ - -var count = 0 - -setTimeout(function() { - window.addEventListener("message", function(msg) { - if (++count > 1) self.postMessage(msg.data); - else msg.source.postMessage(msg.data, '*'); - }); - - document.getElementById('inner').src = iframePath; -}, 0); diff --git a/tools/addon-sdk-1.12/data/test-message-manager.js b/tools/addon-sdk-1.12/data/test-message-manager.js deleted file mode 100644 index d647bd8..0000000 --- a/tools/addon-sdk-1.12/data/test-message-manager.js +++ /dev/null @@ -1,6 +0,0 @@ -/* 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 TEST_VALUE = 11; - diff --git a/tools/addon-sdk-1.12/data/test-net-url.txt b/tools/addon-sdk-1.12/data/test-net-url.txt deleted file mode 100644 index 9f8166e..0000000 --- a/tools/addon-sdk-1.12/data/test-net-url.txt +++ /dev/null @@ -1 +0,0 @@ -Hello, ゼロ!
\ No newline at end of file diff --git a/tools/addon-sdk-1.12/data/test-page-mod.html b/tools/addon-sdk-1.12/data/test-page-mod.html deleted file mode 100644 index 901abef..0000000 --- a/tools/addon-sdk-1.12/data/test-page-mod.html +++ /dev/null @@ -1,12 +0,0 @@ -<!-- 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/. --> -<html> -<head> - <meta charset="UTF-8"> - <title>Page Mod test</title> -</head> -<body> - <p id="paragraph">Lorem ipsum dolor sit amet.</p> -</body> -</html> diff --git a/tools/addon-sdk-1.12/data/test-page-worker.html b/tools/addon-sdk-1.12/data/test-page-worker.html deleted file mode 100644 index 8526403..0000000 --- a/tools/addon-sdk-1.12/data/test-page-worker.html +++ /dev/null @@ -1,13 +0,0 @@ -<!-- 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/. --> - -<html> -<head> - <meta charset="UTF-8"> - <title>Page Worker test</title> -</head> -<body> - <p id="paragraph">Lorem ipsum dolor sit amet.</p> -</body> -</html> diff --git a/tools/addon-sdk-1.12/data/test-page-worker.js b/tools/addon-sdk-1.12/data/test-page-worker.js deleted file mode 100644 index d59ccae..0000000 --- a/tools/addon-sdk-1.12/data/test-page-worker.js +++ /dev/null @@ -1,29 +0,0 @@ -/* 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/. */ - - -// get title directly -self.postMessage(["assertEqual", document.title, "Page Worker test", - "Correct page title accessed directly"]); - -// get <p> directly -let p = document.getElementById("paragraph"); -self.postMessage(["assert", !!p, "<p> can be accessed directly"]); -self.postMessage(["assertEqual", p.firstChild.nodeValue, - "Lorem ipsum dolor sit amet.", - "Correct text node expected"]); - -// Modify page -let div = document.createElement("div"); -div.setAttribute("id", "block"); -div.appendChild(document.createTextNode("Test text created")); -document.body.appendChild(div); - -// Check back the modification -div = document.getElementById("block"); -self.postMessage(["assert", !!div, "<div> can be accessed directly"]); -self.postMessage(["assertEqual", div.firstChild.nodeValue, - "Test text created", "Correct text node expected"]); -self.postMessage(["done"]); - diff --git a/tools/addon-sdk-1.12/data/test-trusted-document.html b/tools/addon-sdk-1.12/data/test-trusted-document.html deleted file mode 100644 index e9f9169..0000000 --- a/tools/addon-sdk-1.12/data/test-trusted-document.html +++ /dev/null @@ -1,18 +0,0 @@ -<!-- 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/. --> - -<html> -<head> - <meta charset="UTF-8"> - <title>Worker test</title> -</head> -<body> - <p id="paragraph">Lorem ipsum dolor sit amet.</p> - <script> - addon.port.on('addon-to-document', function (arg) { - addon.port.emit('document-to-addon', arg); - }); - </script> -</body> -</html> diff --git a/tools/addon-sdk-1.12/data/test.html b/tools/addon-sdk-1.12/data/test.html deleted file mode 100644 index 181e85f..0000000 --- a/tools/addon-sdk-1.12/data/test.html +++ /dev/null @@ -1,13 +0,0 @@ -<!-- 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/. --> - -<html> - <head> - <meta charset="UTF-8"> - <title>foo</title> - </head> - <body> - <p>bar</p> - </body> -</html> |