Closed
Bug 1762965
Opened 2 years ago
Closed 2 years ago
In some case .isInstance returns false while instanceof returns true
Categories
(Core :: DOM: Bindings (WebIDL), defect)
Core
DOM: Bindings (WebIDL)
Tracking
()
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(1 file, 1 obsolete file)
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → krosylight
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•2 years ago
|
||
Applying what bug 1576787 did in InterfaceHasInstance.
Assignee | ||
Comment 2•2 years ago
•
|
||
https://searchfox.org/mozilla-central/rev/73a6abf1aaedbf7613fa90a7f459a8c0dfe5f0ce/testing/specialpowers/content/SpecialPowersChild.jsm#1296-1311 hackishly depends on isInstance
s lack of remote proxy support to check a thing is remote or not. Is there any other way to check this?
Flags: needinfo?(peterv)
Flags: needinfo?(echen)
Assignee | ||
Comment 4•2 years ago
|
||
Applying what bug 1576787 did in InterfaceHasInstance.
Updated•2 years ago
|
Attachment #9270872 -
Attachment is obsolete: true
Updated•2 years ago
|
Attachment #9270783 -
Attachment description: Bug 1762965 - Handle RemoteObjectProxies in isInstance() r=peterv,edgar → Bug 1762965 - Handle RemoteObjectProxies in isInstance() r=edgar,peterv
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9895ddf7829b Handle RemoteObjectProxies in isInstance() r=peterv
Comment 6•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•