diff options
Diffstat (limited to 'addon-sdk/source/test/fixtures/chrome-worker')
6 files changed, 0 insertions, 45 deletions
diff --git a/addon-sdk/source/test/fixtures/chrome-worker/addEventListener.js b/addon-sdk/source/test/fixtures/chrome-worker/addEventListener.js deleted file mode 100644 index baf28b452..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/addEventListener.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/. */ -'use strict'; - -postMessage('Hello'); diff --git a/addon-sdk/source/test/fixtures/chrome-worker/jsctypes.js b/addon-sdk/source/test/fixtures/chrome-worker/jsctypes.js deleted file mode 100644 index 6345305ce..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/jsctypes.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/. */ -'use strict'; - -postMessage(typeof ctypes.open); diff --git a/addon-sdk/source/test/fixtures/chrome-worker/onerror.js b/addon-sdk/source/test/fixtures/chrome-worker/onerror.js deleted file mode 100644 index b3e820b28..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/onerror.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/. */ -'use strict'; - -throw new Error('ok'); diff --git a/addon-sdk/source/test/fixtures/chrome-worker/onmessage.js b/addon-sdk/source/test/fixtures/chrome-worker/onmessage.js deleted file mode 100644 index 8fd95fb6d..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/onmessage.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'; - -onmessage = function (event) { - postMessage(event.data); -}; diff --git a/addon-sdk/source/test/fixtures/chrome-worker/setTimeout.js b/addon-sdk/source/test/fixtures/chrome-worker/setTimeout.js deleted file mode 100644 index d3885243b..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/setTimeout.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'; - -setTimeout(function () { - postMessage('ok'); -}, 0); diff --git a/addon-sdk/source/test/fixtures/chrome-worker/xhr.js b/addon-sdk/source/test/fixtures/chrome-worker/xhr.js deleted file mode 100644 index b19906897..000000000 --- a/addon-sdk/source/test/fixtures/chrome-worker/xhr.js +++ /dev/null @@ -1,11 +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 xhr = new XMLHttpRequest(); -xhr.open("GET", "data:text/plain,ok", true); -xhr.onload = function () { - postMessage(xhr.responseText); -}; -xhr.send(null); |