Closed
Description
In Safari, no-op mode doesn't work as the line below returns true.
Strangely, the browser object on Safari inherits CallbackObject
. So Object.getPrototypeOf(globalThis.browser)
doesn't return Object
.
Object.getPrototypeOf(Object.getPrototypeOf(globalThis.browser)) !== Object.prototype
finally gives the expected value.
Metadata
Assignees
Labels
No labels