aboutsummaryrefslogtreecommitdiff
path: root/tools/addon-sdk-1.5/packages/addon-kit/data
diff options
context:
space:
mode:
Diffstat (limited to 'tools/addon-sdk-1.5/packages/addon-kit/data')
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/moz_favicon.icobin1406 -> 0 bytes
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/test-context-menu.js5
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/test-page-mod.html12
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/test-page-worker.html12
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/test-page-worker.js29
-rw-r--r--tools/addon-sdk-1.5/packages/addon-kit/data/test.html12
6 files changed, 0 insertions, 70 deletions
diff --git a/tools/addon-sdk-1.5/packages/addon-kit/data/moz_favicon.ico b/tools/addon-sdk-1.5/packages/addon-kit/data/moz_favicon.ico
deleted file mode 100644
index d444389..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/data/moz_favicon.ico
+++ /dev/null
Binary files differ
diff --git a/tools/addon-sdk-1.5/packages/addon-kit/data/test-context-menu.js b/tools/addon-sdk-1.5/packages/addon-kit/data/test-context-menu.js
deleted file mode 100644
index 13c4eb2..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/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.5/packages/addon-kit/data/test-page-mod.html b/tools/addon-sdk-1.5/packages/addon-kit/data/test-page-mod.html
deleted file mode 100644
index da3ec99..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/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>
- <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.5/packages/addon-kit/data/test-page-worker.html b/tools/addon-sdk-1.5/packages/addon-kit/data/test-page-worker.html
deleted file mode 100644
index aabe1df..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/data/test-page-worker.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>
- <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.5/packages/addon-kit/data/test-page-worker.js b/tools/addon-sdk-1.5/packages/addon-kit/data/test-page-worker.js
deleted file mode 100644
index d59ccae..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/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.5/packages/addon-kit/data/test.html b/tools/addon-sdk-1.5/packages/addon-kit/data/test.html
deleted file mode 100644
index 0c7cf24..0000000
--- a/tools/addon-sdk-1.5/packages/addon-kit/data/test.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>
- <title>foo</title>
- </head>
- <body>
- <p>bar</p>
- </body>
-</html>