Skip to content

Commit 4535134

Browse files
Remove unused helpers in Page class
1 parent 6893e17 commit 4535134

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

resources/benchmark-runner.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,6 @@ class Page {
121121
_wrapElement(element) {
122122
return new PageElement(element);
123123
}
124-
125-
addEventListener(name, listener) {
126-
this._frame.contentWindow.addEventListener(name, listener);
127-
}
128-
129-
setGlobalVariable(name, value) {
130-
this._frame.contentWindow[name] = value;
131-
}
132-
133-
getGlobalVariable(name) {
134-
return this._frame.contentWindow[name];
135-
}
136124
}
137125

138126
const NATIVE_OPTIONS = {

0 commit comments

Comments
 (0)