From a6809471e39afeb7325eea22e3dd4bb74a090c0d Mon Sep 17 00:00:00 2001 From: pyoor Date: Wed, 1 Sep 2021 09:11:01 -0400 Subject: [PATCH] fix: update firefox prefs documentation link --- docs/api.md | 2 +- src/node/LaunchOptions.ts | 2 +- .../version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md | 2 +- .../versioned_docs/version-10.0.0/puppeteer.launchoptions.md | 2 +- .../version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md | 2 +- .../versioned_docs/version-10.1.0/puppeteer.launchoptions.md | 2 +- .../version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md | 2 +- website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api.md b/docs/api.md index 798a0e0585a1f..dde1a98b05680 100644 --- a/docs/api.md +++ b/docs/api.md @@ -649,7 +649,7 @@ try { - `env` <[Object]> Specify environment variables that will be visible to the browser. Defaults to `process.env`. - `devtools` <[boolean]> Whether to auto-open a DevTools panel for each tab. If this option is `true`, the `headless` option will be set `false`. - `pipe` <[boolean]> Connects to the browser over a pipe instead of a WebSocket. Defaults to `false`. - - `extraPrefsFirefox` <[Object]> Additional [preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed to Firefox (see `PUPPETEER_PRODUCT`) + - `extraPrefsFirefox` <[Object]> Additional [preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed to Firefox (see `PUPPETEER_PRODUCT`) - `targetFilter` Use this function to decide if Puppeteer should connect to the given target. If a `targetFilter` is provided, Puppeteer only connects to targets for which `targetFilter` returns `true`. By default, Puppeteer connects to all available targets. - `waitForInitialPage` <[boolean]> Whether to wait for the initial page to be ready. Defaults to `true`. - returns: <[Promise]<[Browser]>> Promise which resolves to browser instance. diff --git a/src/node/LaunchOptions.ts b/src/node/LaunchOptions.ts index 46505583d4e3a..52c81cf519321 100644 --- a/src/node/LaunchOptions.ts +++ b/src/node/LaunchOptions.ts @@ -119,7 +119,7 @@ export interface LaunchOptions { */ product?: Product; /** - * {@link https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference | Additional preferences } that can be passed when launching with Firefox. + * {@link https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js | Additional preferences } that can be passed when launching with Firefox. */ extraPrefsFirefox?: Record; /** diff --git a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. | diff --git a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. | diff --git a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md index 22de83f1e156a..c1f74324f0cd2 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.extraprefsfirefox.md @@ -4,7 +4,7 @@ ## LaunchOptions.extraPrefsFirefox property -[Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. +[Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. Signature: diff --git a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md index 746f003045000..99e34d4459ff1 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.launchoptions.md @@ -20,7 +20,7 @@ export interface LaunchOptions | [dumpio?](./puppeteer.launchoptions.dumpio.md) | boolean | (Optional) If true, pipes the browser process stdout and stderr to process.stdout and process.stderr. | | [env?](./puppeteer.launchoptions.env.md) | Record<string, string \| undefined> | (Optional) Specify environment variables that will be visible to the browser. | | [executablePath?](./puppeteer.launchoptions.executablepath.md) | string | (Optional) Path to a browser executable to use instead of the bundled Chromium. Note that Puppeteer is only guaranteed to work with the bundled Chromium, so use this setting at your own risk. | -| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference) that can be passed when launching with Firefox. | +| [extraPrefsFirefox?](./puppeteer.launchoptions.extraprefsfirefox.md) | Record<string, unknown> | (Optional) [Additional preferences](https://searchfox.org/mozilla-release/source/modules/libpref/init/all.js) that can be passed when launching with Firefox. | | [handleSIGHUP?](./puppeteer.launchoptions.handlesighup.md) | boolean | (Optional) Close the browser process on SIGHUP. | | [handleSIGINT?](./puppeteer.launchoptions.handlesigint.md) | boolean | (Optional) Close the browser process on Ctrl+C. | | [handleSIGTERM?](./puppeteer.launchoptions.handlesigterm.md) | boolean | (Optional) Close the browser process on SIGTERM. |