gecko/dom/workers/test
Nikhil Marathe ecee206db3 Bug 1203324 - disable notifications on serviceworkers. r=ehsan,wchen
Per the product discussion, the Notification API should be disabled in
ServiceWorker in release builds for 42 since the UX isn't great [1].

The aim is to release in 44.

Apologies for the code duplication for pref checking in Notification and
ServiceWorkerRegistration. There isn't a easy way to get
ServiceWorkerRegistration's generated binding to include Notification.h without
having an attribute/method that uses Notification.

[1]: https://mana.mozilla.org/wiki/x/TgAJAw
2015-09-15 12:58:32 -07:00
..
extensions
gtest Backed out 2 changesets (bug 1169633, bug 1163254) for linux Mn-e10s test bustage on a CLOSED TREE 2015-09-17 16:01:25 +02:00
serviceworkers Bug 1203324 - disable notifications on serviceworkers. r=ehsan,wchen 2015-09-15 12:58:32 -07:00
subdir
xpcshell Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
404_server.sjs
943516.html
1158031.html Bug 1158031: Don't return empty arrays from MultiPartBlobImpl::GetSubBlobImpls(). r=baku 2015-07-28 15:59:56 -07:00
atob_worker.js
browser_bug1104623.js
browser.ini
bug978260_worker.js
bug998474_worker.js
bug1014466_data1.txt
bug1014466_data2.txt
bug1014466_worker.js
bug1020226_frame.html
bug1020226_worker.js
bug1060621_worker.js
bug1062920_worker.js
bug1063538_worker.js
bug1104064_worker.js
bug1132395_sharedWorker.js Bug 1134224 - More test for test_bug1132395.html, r=ehsan 2015-06-04 08:58:19 +01:00
bug1132924_worker.js
chrome.ini Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
chromeWorker_subworker.js
chromeWorker_worker.js
clearTimeouts_worker.js
close_worker.js
closeOnGC_server.sjs
closeOnGC_worker.js
console_worker.js
consoleReplaceable_worker.js
content_worker.js
crashtests.list Bug 1158031: Don't return empty arrays from MultiPartBlobImpl::GetSubBlobImpls(). r=baku 2015-07-28 15:59:56 -07:00
csp_worker.js
dom_worker_helper.js
empty.html
errorPropagation_iframe.html
errorPropagation_worker.js
errorwarning_worker.js
eventDispatch_worker.js
fibonacci_worker.js
file_bug1010784_worker.js
file_url.jsm
file_worker.js
fileBlob_worker.js
fileBlobSubWorker_worker.js
filePosting_worker.js
fileReaderSync_worker.js
fileReaderSyncErrors_worker.js
fileReadSlice_worker.js
fileSlice_worker.js
fileSubWorker_worker.js
importScripts_worker_imported1.js
importScripts_worker_imported2.js
importScripts_worker_imported3.js
importScripts_worker_imported4.js
importScripts_worker.js
instanceof_worker.js
jsm_url_worker.js
json_worker.js
jsversion_worker.js
loadEncoding_worker.js
location_worker.js
longThread_worker.js
mochitest.ini Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 11:27:56 +08:00
multi_sharedWorker_frame.html
multi_sharedWorker_sharedWorker.js
navigator_languages_worker.js
navigator_worker.js
newError_worker.js
notification_permission_worker.js Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen 2015-06-25 18:53:02 -07:00
notification_worker_child-child.js Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen 2015-06-25 18:53:02 -07:00
notification_worker_child-parent.js Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen 2015-06-25 18:53:02 -07:00
notification_worker.js Bug 1183954 - Fix Notification.data structured cloning on workers. r=robertbindar,mccr8 2015-07-30 12:44:14 -07:00
onLine_worker_child.js
onLine_worker_head.js
onLine_worker.js
performance_observer.html Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku 2015-08-17 15:13:20 -07:00
promise_worker.js Bug 1179909: Refactor stable state handling. r=smaug 2015-08-11 06:10:46 -07:00
recursion_worker.js
recursiveOnerror_worker.js
referrer.sjs Bug 1168933 - Send referrer when downloading worker script. r=khuey 2015-06-04 16:20:13 -07:00
relativeLoad_import.js
relativeLoad_worker2.js
relativeLoad_worker.js
rvals_worker.js
sharedWorker_console.js
sharedworker_performance_user_timing.js Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
sharedWorker_ports.js Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 11:27:56 +08:00
sharedWorker_privateBrowsing.js Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm 2015-06-26 11:18:18 -07:00
sharedWorker_sharedWorker.js Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent 2015-06-17 11:44:27 +01:00
simpleThread_worker.js
suspend_iframe.html
suspend_worker.js
terminate_worker.js
terminateSyncXHR_frame.html
terminateSyncXHR_worker.js
test_404.html Bug 1198982: Test fixups. r=me 2015-08-30 11:42:28 -07:00
test_atob.html
test_blobConstructor.html
test_blobWorkers.html
test_bug883784.jsm
test_bug883784.xul
test_bug949946.html
test_bug978260.html
test_bug998474.html
test_bug1002702.html
test_bug1010784.html
test_bug1014466.html
test_bug1020226.html
test_bug1036484.html Bug 1198982: Test fixups. r=me 2015-08-30 11:42:28 -07:00
test_bug1060621.html
test_bug1062920.html
test_bug1062920.xul
test_bug1063538.html
test_bug1104064.html
test_bug1132395.html Bug 1134224 - onerror for test_bug1132395.html, r=ehsan 2015-06-05 11:15:17 +01:00
test_bug1132924.html
test_chromeWorker.html
test_chromeWorker.xul
test_chromeWorkerJSM.xul
test_clearTimeouts.html
test_close.html
test_closeOnGC.html
test_console.html
test_consoleAndBlobs.html
test_consoleReplaceable.html
test_consoleSharedWorkers.html
test_contentWorker.html
test_csp.html
test_csp.html^headers^
test_csp.js
test_dataURLWorker.html
test_errorPropagation.html
test_errorwarning.html
test_eventDispatch.html
test_extension.xul
test_extensionBootstrap.xul
test_fibonacci.html
test_file.xul
test_fileBlobPosting.xul
test_fileBlobSubWorker.xul
test_filePosting.xul
test_fileReaderSync.xul
test_fileReaderSyncErrors.xul
test_fileReadSlice.xul
test_fileSlice.xul
test_fileSubWorker.xul
test_importScripts.html
test_instanceof.html
test_json.html
test_jsversion.html
test_loadEncoding.html
test_loadError.html
test_location.html
test_longThread.html
test_multi_sharedWorker_lifetimes.html
test_multi_sharedWorker.html
test_navigator_languages.html
test_navigator.html
test_newError.html
test_notification_child.html Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen 2015-06-25 18:53:02 -07:00
test_notification_permission.html Bug 916893 - Patch 1 - Notification on workers. r=khuey,wchen 2015-06-25 18:53:02 -07:00
test_notification.html Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku 2015-06-25 18:50:25 -07:00
test_onLine.html
test_performance_observer.html Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku 2015-08-17 15:13:20 -07:00
test_performance_user_timing.html Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
test_promise_resolved_with_string.html
test_promise.html
test_recursion.html
test_recursiveOnerror.html
test_referrer.html Bug 1168933 - Send referrer when downloading worker script. r=khuey 2015-06-04 16:20:13 -07:00
test_relativeLoad.html
test_resolveWorker-assignment.html
test_resolveWorker.html
test_rvals.html
test_sharedWorker_performance_user_timing.html Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
test_sharedWorker_ports.html Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 11:27:56 +08:00
test_sharedWorker_privateBrowsing.html Bug 1179753 - Use pushPrefEnv more in worker tests; r=baku 2015-07-02 12:22:48 -04:00
test_sharedWorker.html Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 11:27:56 +08:00
test_simpleThread.html
test_suspend.html
test_terminate.html
test_terminateSyncXHR.html
test_threadErrors.html
test_threadTimeouts.html
test_throwingOnerror.html
test_timeoutTracing.html
test_transferable.html
test_url_exceptions.html
test_url.html
test_url.xul
test_urlApi.html
test_urlSearchParams.html
test_websocket_basic.html
test_websocket_loadgroup.html
test_webSocket_sharedWorker.html
test_websocket.html
test_worker_interfaces.html
test_worker_interfaces.js Bug 1204397 - Fix the test expectations to expect service workers to be enabled only on Nightly for Fennec; r=baku 2015-09-16 23:10:03 -04:00
test_worker_performance_now.html
test_worker_performance_now.js
test_WorkerDebugger.initialize.xul
test_WorkerDebugger.isFrozen.xul
test_WorkerDebugger.postMessage.xul
test_WorkerDebugger.xul
test_WorkerDebuggerGlobalScope.createSandbox.xul
test_WorkerDebuggerGlobalScope.enterEventLoop.xul
test_WorkerDebuggerGlobalScope.reportError.xul
test_WorkerDebuggerGlobalScope.setImmediate.xul
test_WorkerDebuggerManager.xul
test_workersDisabled.html
test_workersDisabled.xul
test_xhr2.html
test_xhr_headers.html Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-09 07:54:33 -04:00
test_xhr_implicit_cancel.html
test_xhr_parameters.html
test_xhr_parameters.js
test_xhr_responseURL.html
test_xhr_system.html
test_xhr_system.js
test_xhr_timeout.html
test_xhr.html
test_xhrAbort.html
testXHR.txt
threadErrors_worker1.js
threadErrors_worker2.js
threadErrors_worker3.js
threadErrors_worker4.js
threadTimeouts_worker.js
throwingOnerror_worker.js
timeoutTracing_worker.js
transferable_worker.js
url_exceptions_worker.js
url_worker.js
urlApi_worker.js Backed out changesets a08167680328 and b008f158e91f (bug 1093611) for talos svgr timeouts. 2015-06-16 15:37:37 -04:00
urlSearchParams_worker.js Bug 1174731 - patch 1 - Make searchParams attribute readonly, r=smaug 2015-06-24 12:15:59 -07:00
websocket_basic_worker.js
websocket_loadgroup_worker.js
webSocket_sharedWorker.js
websocket_worker.js
worker_consoleAndBlobs.js
worker_driver.js
worker_performance_observer.js Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku 2015-08-17 15:13:20 -07:00
worker_performance_user_timing.js Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
worker_wrapper.js
WorkerDebugger_childWorker.js
WorkerDebugger_sharedWorker.js
WorkerDebugger_worker.js
WorkerDebugger.initialize_childWorker.js
WorkerDebugger.initialize_debugger.js
WorkerDebugger.initialize_worker.js
WorkerDebugger.isFrozen_iframe1.html
WorkerDebugger.isFrozen_iframe2.html
WorkerDebugger.isFrozen_worker1.js
WorkerDebugger.isFrozen_worker2.js
WorkerDebugger.postMessage_childWorker.js
WorkerDebugger.postMessage_debugger.js
WorkerDebugger.postMessage_worker.js
WorkerDebuggerGlobalScope.createSandbox_debugger.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
WorkerDebuggerGlobalScope.createSandbox_sandbox.js
WorkerDebuggerGlobalScope.createSandbox_worker.js
WorkerDebuggerGlobalScope.enterEventLoop_childWorker.js
WorkerDebuggerGlobalScope.enterEventLoop_debugger.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
WorkerDebuggerGlobalScope.enterEventLoop_worker.js
WorkerDebuggerGlobalScope.reportError_childWorker.js
WorkerDebuggerGlobalScope.reportError_debugger.js
WorkerDebuggerGlobalScope.reportError_worker.js
WorkerDebuggerGlobalScope.setImmediate_debugger.js
WorkerDebuggerGlobalScope.setImmediate_worker.js
WorkerDebuggerManager_childWorker.js
WorkerDebuggerManager_worker.js
workersDisabled_worker.js
WorkerTest_badworker.js
WorkerTest_subworker.js
WorkerTest_worker.js
WorkerTest.jsm
xhr2_worker.js
xhr_headers_server.sjs Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm 2015-09-09 07:54:33 -04:00
xhr_headers_worker.js
xhr_implicit_cancel_worker.js
xhr_worker.js
xhrAbort_worker.js