-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.12, 6.2.4
-
None
function test_proxy() {
let base =
{ id: 'baseid', name: 'basename', type: 'basetype' } let handler = {
get: function(ao, prop)
}
let r = new Proxy(base, handler);
// these fields work fine except 'name' shown later...
console.info("xx", r.id);
console.info("xx", r.type);
// r.name is supposed to be 'basename', but got empty string always.
console.info("xx", r.name);
}
===== output =====
qml: xx baseid
qml: xx basetype
qml: xx
For Gerrit Dashboard: QTBUG-112320 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
568292,2 | Fix Proxy / QV4::Lookup interaction | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
569297,2 | Fix Proxy / QV4::Lookup interaction | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
569618,2 | Fix Proxy / QV4::Lookup interaction | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
569713,2 | Fix Proxy / QV4::Lookup interaction | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |