aboutsummaryrefslogtreecommitdiff
path: root/e2e/ambassador/src/content/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'e2e/ambassador/src/content/index.js')
-rw-r--r--e2e/ambassador/src/content/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/e2e/ambassador/src/content/index.js b/e2e/ambassador/src/content/index.js
index e69de29..dd46688 100644
--- a/e2e/ambassador/src/content/index.js
+++ b/e2e/ambassador/src/content/index.js
@@ -0,0 +1,11 @@
+import { WINDOWS_CREATE, WINDOWS_REMOVE } from '../shared/messages';
+import * as ipc from './ipc';
+
+ipc.receivePageMessage((message) => {
+ switch (message.type) {
+ case WINDOWS_CREATE:
+ return ipc.send(message);
+ case WINDOWS_REMOVE:
+ return ipc.send(message);
+ }
+});