summaryrefslogtreecommitdiffstats
path: root/remote/cdp/domains/parent/Page.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'remote/cdp/domains/parent/Page.sys.mjs')
-rw-r--r--remote/cdp/domains/parent/Page.sys.mjs8
1 files changed, 2 insertions, 6 deletions
diff --git a/remote/cdp/domains/parent/Page.sys.mjs b/remote/cdp/domains/parent/Page.sys.mjs
index d050277aff..420f99af39 100644
--- a/remote/cdp/domains/parent/Page.sys.mjs
+++ b/remote/cdp/domains/parent/Page.sys.mjs
@@ -672,12 +672,8 @@ export class Page extends Domain {
* When file chooser interception is enabled,
* the native file chooser dialog is not shown.
* Instead, a protocol event Page.fileChooserOpened is emitted.
- *
- * @param {object} options
- * @param {boolean=} options.enabled
- * Enabled state of file chooser interception.
*/
- setInterceptFileChooserDialog(options = {}) {}
+ setInterceptFileChooserDialog() {}
_getCurrentHistoryIndex() {
const { window } = this.session.target;
@@ -719,7 +715,7 @@ export class Page extends Domain {
*/
_onDialogLoaded(e, data) {
const { message, type } = data;
- // XXX: We rely on the common-dialog-loaded event (see DialogHandler.jsm)
+ // XXX: We rely on the common-dialog-loaded event (see DialogHandler.sys.mjs)
// which is inconsistent with the name "javascriptDialogOpening".
// For correctness we should rely on an event fired _before_ the prompt is
// visible, such as DOMWillOpenModalDialog. However the payload of this