Index: LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js |
diff --git a/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js b/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js |
index 5327843a0b62dc8432680179b5b6707e40d6964c..9cad80453b09efeebb8ffecdc8d01d6cd96a0e25 100644 |
--- a/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js |
+++ b/LayoutTests/http/tests/notifications/resources/instrumentation-service-worker.js |
@@ -53,6 +53,11 @@ addEventListener('message', function(workerEvent) { |
}); |
break; |
+ case 'request-permission-exists': |
+ messagePort.postMessage({ command: event.data.command, |
+ value: 'requestPermission' in Notification }); |
+ break; |
+ |
default: |
messagePort.postMessage({ command: 'error', message: 'Invalid command: ' + event.data.command }); |
break; |