We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc1ecdc + 179b711 commit 0b31103Copy full SHA for 0b31103
1 file changed
src/runtime/content/utils.ts
@@ -130,15 +130,11 @@ export function proxyContext(
130
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
131
return proxy;
132
case "top":
133
- if (global[name] === global.self) {
134
- return special.global || proxy;
135
- }
136
- return global.top;
137
case "parent":
138
if (global[name] === global.self) {
139
return special.global || proxy;
140
}
141
- return global.parent;
+ return global[name];
142
default:
143
break;
144
0 commit comments