0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 08:11:52 +00:00

Merge pull request #328 from stesie/v8-6.3-fixes

V8 6.3 fixes
This commit is contained in:
Stefan Siegl 2017-09-24 18:57:06 +02:00 committed by GitHub
commit b9bde377ba
2 changed files with 2 additions and 3 deletions

2
Vagrantfile vendored
View File

@ -18,7 +18,7 @@ Vagrant.configure("2") do |config|
#
# mass-define "generic" Ubuntu boxes
#
%w{5.7 5.8 5.9 6.0}.each { |version|
%w{5.7 5.8 5.9 6.0 6.3}.each { |version|
config.vm.define "v8-#{version}" do |i|
i.vm.synced_folder ".", "/data/v8js"

View File

@ -664,8 +664,7 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Local<v8::String> property
}
}
} else if (callback_type == V8JS_PROP_QUERY) {
// methods are not enumerable
ret_value = V8JS_UINT(v8::ReadOnly|v8::DontEnum|v8::DontDelete);
ret_value = V8JS_UINT(v8::ReadOnly|v8::DontDelete);
} else if (callback_type == V8JS_PROP_SETTER) {
ret_value = set_value; // lie. this field is read-only.
} else if (callback_type == V8JS_PROP_DELETER) {