We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1295807 commit 179b711Copy full SHA for 179b711
src/runtime/content/utils.ts
@@ -134,7 +134,7 @@ export function proxyContext(
134
if (global[name] === global.self) {
135
return special.global || proxy;
136
}
137
- return global.top;
+ return global[name];
138
default:
139
break;
140
@@ -192,12 +192,8 @@ export function proxyContext(
192
case "window":
193
case "self":
194
case "globalThis":
195
- return true;
196
case "top":
197
case "parent":
198
- if (global[name] === global.self) {
199
200
- }
201
return true;
202
203
0 commit comments