aboutsummaryrefslogtreecommitdiff
path: root/tools/addon-sdk-1.12/test/fixtures
diff options
context:
space:
mode:
Diffstat (limited to 'tools/addon-sdk-1.12/test/fixtures')
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/addon-install-unit-test@mozilla.com.xpibin1596 -> 0 bytes
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/addEventListener.js8
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/jsctypes.js8
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/onerror.js8
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/onmessage.js10
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/setTimeout.js10
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/chrome-worker/xhr.js13
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/es5.js8
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js7
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js14
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/sandbox-complex-character.js5
-rw-r--r--tools/addon-sdk-1.12/test/fixtures/sandbox-normal.js7
14 files changed, 0 insertions, 112 deletions
diff --git a/tools/addon-sdk-1.12/test/fixtures/addon-install-unit-test@mozilla.com.xpi b/tools/addon-sdk-1.12/test/fixtures/addon-install-unit-test@mozilla.com.xpi
deleted file mode 100644
index c7cfccd..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/addon-install-unit-test@mozilla.com.xpi
+++ /dev/null
Binary files differ
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/addEventListener.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/addEventListener.js
deleted file mode 100644
index a251701..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/addEventListener.js
+++ /dev/null
@@ -1,8 +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/.
- */
-
-'use strict';
-
-postMessage('Hello');
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/jsctypes.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/jsctypes.js
deleted file mode 100644
index 8d5ea9a..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/jsctypes.js
+++ /dev/null
@@ -1,8 +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/.
- */
-
-'use strict';
-
-postMessage(typeof ctypes.open);
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onerror.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onerror.js
deleted file mode 100644
index 7310a70..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onerror.js
+++ /dev/null
@@ -1,8 +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/.
- */
-
-'use strict';
-
-throw new Error('ok');
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onmessage.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onmessage.js
deleted file mode 100644
index 42962f9..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/onmessage.js
+++ /dev/null
@@ -1,10 +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/.
- */
-
-'use strict';
-
-onmessage = function (event) {
- postMessage(event.data);
-};
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/setTimeout.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/setTimeout.js
deleted file mode 100644
index 1a137f1..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/setTimeout.js
+++ /dev/null
@@ -1,10 +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/.
- */
-
-'use strict';
-
-setTimeout(function () {
- postMessage('ok');
-}, 0);
diff --git a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/xhr.js b/tools/addon-sdk-1.12/test/fixtures/chrome-worker/xhr.js
deleted file mode 100644
index 7f76289..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/chrome-worker/xhr.js
+++ /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/.
- */
-
-'use strict';
-
-let xhr = XMLHttpRequest();
-xhr.open("GET", "data:text/plain,ok", true);
-xhr.onload = function () {
- postMessage(xhr.responseText);
-};
-xhr.send(null);
diff --git a/tools/addon-sdk-1.12/test/fixtures/es5.js b/tools/addon-sdk-1.12/test/fixtures/es5.js
deleted file mode 100644
index 746cae3..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/es5.js
+++ /dev/null
@@ -1,8 +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/. */
-
-"use strict";
-exports.frozen = Object.freeze({});
-exports.sealed = Object.seal({});
-exports.inextensible = Object.preventExtensions({});
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js
deleted file mode 100644
index f6e13cc..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/a.js
+++ /dev/null
@@ -1,7 +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/. */
-
-'use strict';
-
-exports.b = require('b');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js
deleted file mode 100644
index 69e23f1..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/b.js
+++ /dev/null
@@ -1,7 +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/. */
-
-'use strict';
-
-exports.a = require('a');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js
deleted file mode 100644
index ce34b3c..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/c.js
+++ /dev/null
@@ -1,7 +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/. */
-
-'use strict';
-
-exports.main = require('main');
diff --git a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js b/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js
deleted file mode 100644
index 6d13200..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/loader/cycles/main.js
+++ /dev/null
@@ -1,14 +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/. */
-
-'use strict';
-
-var a = require('a');
-var b = require('b');
-var c = require('c');
-
-exports.a = a;
-exports.b = b;
-exports.c = c;
-exports.main = exports;
diff --git a/tools/addon-sdk-1.12/test/fixtures/sandbox-complex-character.js b/tools/addon-sdk-1.12/test/fixtures/sandbox-complex-character.js
deleted file mode 100644
index 6ae6769..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/sandbox-complex-character.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/. */
-
-var chars = 'გამარჯობა';
diff --git a/tools/addon-sdk-1.12/test/fixtures/sandbox-normal.js b/tools/addon-sdk-1.12/test/fixtures/sandbox-normal.js
deleted file mode 100644
index 5425298..0000000
--- a/tools/addon-sdk-1.12/test/fixtures/sandbox-normal.js
+++ /dev/null
@@ -1,7 +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/. */
-
-var a = 1;
-this.b = 2;
-function f() { return 4; }