aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-03-20 11:51:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-03-21 12:24:36 +0900
commit8828d175d9754e7afedf1dbb0b7bda2824608b0a (patch)
tree8cec92a05b5895848d0b423fce9473f9e7a905b0 /test
parent3ffb4b066cdcc60a49ce4ecd0bbc498da6256534 (diff)
Inject iframe on top window
Diffstat (limited to 'test')
-rw-r--r--test/content/operators/impls/MockConsoleFramePresenter.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/content/operators/impls/MockConsoleFramePresenter.ts b/test/content/operators/impls/MockConsoleFramePresenter.ts
index f8ac70b..23bc27f 100644
--- a/test/content/operators/impls/MockConsoleFramePresenter.ts
+++ b/test/content/operators/impls/MockConsoleFramePresenter.ts
@@ -19,4 +19,8 @@ export default class MockConsoleFramePresenter
resize(_width: number, _height: number): void {
throw new Error("not implemented");
}
+
+ isTopWindow(): boolean {
+ return true;
+ }
}