DescriptionUse [[DefineOwnProperty]] when converting IDL array values
This means using v8::Object::CreateDataProperty() rather than Set(), and
is in line with how the conversion is defined in WebIDL. The incorrect use
of Set() is observable by scripts that define setters on Array.prototype
for the properties "0", "1", "2" and so on.
Also apply the same fix to conversion of Vector<std::pair<>> into object.
BUG=607483
Committed: https://crrev.com/650cd4ace843e976e28fa87fa40bd9c017d39f63
Cr-Commit-Position: refs/heads/master@{#390610}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|