From e61e81eb57351782862aa50775ce4348f10b1856 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 7 Jan 2021 18:06:08 +0000 Subject: feat: add --location= and globalThis.location (#7369) --- cli/tests/070_location.ts.out | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cli/tests/070_location.ts.out (limited to 'cli/tests/070_location.ts.out') diff --git a/cli/tests/070_location.ts.out b/cli/tests/070_location.ts.out new file mode 100644 index 000000000..66d470b6f --- /dev/null +++ b/cli/tests/070_location.ts.out @@ -0,0 +1,22 @@ +[WILDCARD][Function: Location] +Location { [Symbol(Symbol.toStringTag)]: "Location" } +Location { + hash: [Getter/Setter], + host: [Getter/Setter], + hostname: [Getter/Setter], + href: [Getter/Setter], + origin: [Getter], + password: [Getter/Setter], + pathname: [Getter/Setter], + port: [Getter/Setter], + protocol: [Getter/Setter], + search: [Getter/Setter], + username: [Getter/Setter], + ancestorOrigins: [Getter], + assign: [Function: assign], + reload: [Function: reload], + replace: [Function: replace], + toString: [Function: toString] +} +NotSupportedError: Cannot set "location.hostname". +[WILDCARD] -- cgit v1.2.3