mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: fix typo in property name (#29907)
This commit is contained in:
parent
349b25e61a
commit
914208c567
@ -40,7 +40,7 @@ import { TargetClosedError } from '../errors';
|
|||||||
export const UTILITY_WORLD_NAME = '__playwright_utility_world__';
|
export const UTILITY_WORLD_NAME = '__playwright_utility_world__';
|
||||||
|
|
||||||
export class FFPage implements PageDelegate {
|
export class FFPage implements PageDelegate {
|
||||||
readonly cspErrorsAsynchronousForInlineScipts = true;
|
readonly cspErrorsAsynchronousForInlineScripts = true;
|
||||||
readonly rawMouse: RawMouseImpl;
|
readonly rawMouse: RawMouseImpl;
|
||||||
readonly rawKeyboard: RawKeyboardImpl;
|
readonly rawKeyboard: RawKeyboardImpl;
|
||||||
readonly rawTouchscreen: RawTouchscreenImpl;
|
readonly rawTouchscreen: RawTouchscreenImpl;
|
||||||
|
|||||||
@ -948,7 +948,7 @@ export class Frame extends SdkObject {
|
|||||||
const result = (await context.evaluateHandle(addScriptContent, { content: content!, type })).asElement()!;
|
const result = (await context.evaluateHandle(addScriptContent, { content: content!, type })).asElement()!;
|
||||||
// Another round trip to the browser to ensure that we receive CSP error messages
|
// Another round trip to the browser to ensure that we receive CSP error messages
|
||||||
// (if any) logged asynchronously in a separate task on the content main thread.
|
// (if any) logged asynchronously in a separate task on the content main thread.
|
||||||
if (this._page._delegate.cspErrorsAsynchronousForInlineScipts)
|
if (this._page._delegate.cspErrorsAsynchronousForInlineScripts)
|
||||||
await context.evaluate(() => true);
|
await context.evaluate(() => true);
|
||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -95,7 +95,7 @@ export interface PageDelegate {
|
|||||||
// Work around Chrome's non-associated input and protocol.
|
// Work around Chrome's non-associated input and protocol.
|
||||||
inputActionEpilogue(): Promise<void>;
|
inputActionEpilogue(): Promise<void>;
|
||||||
// Work around for asynchronously dispatched CSP errors in Firefox.
|
// Work around for asynchronously dispatched CSP errors in Firefox.
|
||||||
readonly cspErrorsAsynchronousForInlineScipts?: boolean;
|
readonly cspErrorsAsynchronousForInlineScripts?: boolean;
|
||||||
// Work around for mouse position in Firefox.
|
// Work around for mouse position in Firefox.
|
||||||
resetForReuse(): Promise<void>;
|
resetForReuse(): Promise<void>;
|
||||||
// WebKit hack.
|
// WebKit hack.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user