TextNode(We could consider using `Cxx*IfNode` families.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
According to the spec, we probably should consider indexed property.
Thank you for fixing this.
TextNode(nit: It'd be nice to have a spec snippet as a code comment.
nit: It'd be nice to have a spec snippet as a code comment.
Done!
We could consider using `Cxx*IfNode` families.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
According to the spec, we probably should consider indexed property.
Since the indexed property has no QueryCallback, it fallback immediately.
So it should be fine.
I’m leaving an additional comment for the one I missed. Thanks!
+R=ishell@, would you take a look at this patch?
Could this be related to your work to deprecate `v8::PropertyCallbackInfo<T>::This`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I found a more appropriate approach than the previous change, so I updated it.
Thanks!
TextNode(YeongHan KimWe could consider using `Cxx*IfNode` families.
Changed to `CxxLikelyIfNode`.
I changed it to `CxxUnlikelyIfNode`, as it seems more appropriate.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// 3.9.6. [[Set]]
// https://webidl.spec.whatwg.org/#legacy-platform-object-set
// If O and Receiver are the different object, then:
// step 2. Let ownDesc be ? LegacyPlatformObjectGetOwnProperty(O, P, true).
// step 3. Perform ? OrdinarySetWithOwnDescriptor(O, P, V, Receiver, ownDesc).
// Do not intercept. Fallback to OrdinarySetWithOwnDescriptor.Thanks for pointing out to the issue. This fix is not correct and the issue should be fixed on V8 side.
The query callback is supposed to say whether the interceptor has the property and what are the property's attributes. This change however makes it lie when the storing happens through prototype (as in the failing test). This could be observable for read-only properties.
I'll take a look at this issue.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// 3.9.6. [[Set]]
// https://webidl.spec.whatwg.org/#legacy-platform-object-set
// If O and Receiver are the different object, then:
// step 2. Let ownDesc be ? LegacyPlatformObjectGetOwnProperty(O, P, true).
// step 3. Perform ? OrdinarySetWithOwnDescriptor(O, P, V, Receiver, ownDesc).
// Do not intercept. Fallback to OrdinarySetWithOwnDescriptor.Thanks for pointing out to the issue. This fix is not correct and the issue should be fixed on V8 side.
The query callback is supposed to say whether the interceptor has the property and what are the property's attributes. This change however makes it lie when the storing happens through prototype (as in the failing test). This could be observable for read-only properties.
I'll take a look at this issue.
See discussion here: https://crbug.com/40677381#comment19.