diff options
Diffstat (limited to 'tools/addon-sdk-1.12/test/fixtures/chrome-worker')
6 files changed, 0 insertions, 57 deletions
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); |