mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-18 11:51:51 +00:00
commit
b9bde377ba
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -18,7 +18,7 @@ Vagrant.configure("2") do |config|
|
|||||||
#
|
#
|
||||||
# mass-define "generic" Ubuntu boxes
|
# 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|
|
config.vm.define "v8-#{version}" do |i|
|
||||||
i.vm.synced_folder ".", "/data/v8js"
|
i.vm.synced_folder ".", "/data/v8js"
|
||||||
|
|
||||||
|
@ -664,8 +664,7 @@ v8::Local<v8::Value> v8js_named_property_callback(v8::Local<v8::String> property
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (callback_type == V8JS_PROP_QUERY) {
|
} else if (callback_type == V8JS_PROP_QUERY) {
|
||||||
// methods are not enumerable
|
ret_value = V8JS_UINT(v8::ReadOnly|v8::DontDelete);
|
||||||
ret_value = V8JS_UINT(v8::ReadOnly|v8::DontEnum|v8::DontDelete);
|
|
||||||
} else if (callback_type == V8JS_PROP_SETTER) {
|
} else if (callback_type == V8JS_PROP_SETTER) {
|
||||||
ret_value = set_value; // lie. this field is read-only.
|
ret_value = set_value; // lie. this field is read-only.
|
||||||
} else if (callback_type == V8JS_PROP_DELETER) {
|
} else if (callback_type == V8JS_PROP_DELETER) {
|
||||||
|
Loading…
Reference in New Issue
Block a user