Closed classilla closed 6 years ago
It looks like the script being loaded incorrectly is seen as 'self' when it is, in fact, being loaded from the specified host.
It's because it's running a script which is evalled into a Function. This is presumably fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1114580 .
Github seems to have fixed this but we still want this anyway because it may well occur again.
M1114580 can be implemented without the ESClass
changes which considerably simplifies it.
This works and passes tests with a tweak to allow the old Proxy.create()
syntax to pass tests as well.
Not in current Firefox.