diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-05 10:32:10 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-26 15:50:24 -0500 |
commit | 515c46e695f6cf0a66273e4744330ad7d23fe2cc (patch) | |
tree | ab7208457bbf0dc1e1449981405a8708e7c48764 /xpcom/build/LateWriteChecks.h | |
parent | d7e5ad445cc8cb3f3f04e7c177350fcf1c12c62f (diff) | |
download | UXP-515c46e695f6cf0a66273e4744330ad7d23fe2cc.tar UXP-515c46e695f6cf0a66273e4744330ad7d23fe2cc.tar.gz UXP-515c46e695f6cf0a66273e4744330ad7d23fe2cc.tar.lz UXP-515c46e695f6cf0a66273e4744330ad7d23fe2cc.tar.xz UXP-515c46e695f6cf0a66273e4744330ad7d23fe2cc.zip |
Bug 1353647 - Fix the custom elements v0 upgrade inconsistency;
There are two places doing prototype setup in old upgrade,
- If definition comes after JS reflector creation, CustomElementRegistry::Upgrade will do prototype swizzling.
- If definition comes before JS reflector creation, Element::WrapObject will set up the prototype.
The later one does SubsumesConsideringDomain, but the former doesn't not.
This patch is to fix the inconsistency, i.e. the former case should also do SubsumesConsideringDomain.
Tag UXP Issue #1344
Diffstat (limited to 'xpcom/build/LateWriteChecks.h')
0 files changed, 0 insertions, 0 deletions