Skip to content

[[Notifier]]'s realm depends on the caller of the GetNotifier abstract operation #8

@ajklein

Description

@ajklein

[[Notifier]] is initialized to undefined when an object is created. This means that, for example:

// Realm1
var obj = {};

...

// Realm2
otherRealm.obj.foo = 'bar'

obj's [[Notifier]] is now in Realm 2, since GetNotifier is called by EnqueueChangeRecord.

Ideally the [[Notifier]] should belong to the same realm as the object, but this might have implementation difficulties in some engines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions