Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/test/mjsunit/readonly.js b/test/mjsunit/readonly.js
index 084e9ff..3b090ce 100644
--- a/test/mjsunit/readonly.js
+++ b/test/mjsunit/readonly.js
@@ -120,12 +120,13 @@
o.__proto__ = p;
}
+// TODO(neis,cbruni): Enable once the necessary traps work again.
// Allow Proxy to be undefined, so test can run in non-Harmony mode as well.
var global = this;
function ReadonlyByProxy(o, name) {
if (!global.Proxy) return ReadonlyByFreeze(o, name); // Dummy.
- var p = global.Proxy.create({
+ var p = new global.Proxy({}, {
getPropertyDescriptor: function() {
return {value: -46, writable: false, configurable: true};
}
@@ -135,7 +136,7 @@
var readonlys = [
ReadonlyByNonwritableDataProperty, ReadonlyByAccessorPropertyWithoutSetter,
- ReadonlyByGetter, ReadonlyByFreeze, ReadonlyByProto, ReadonlyByProxy
+ ReadonlyByGetter, ReadonlyByFreeze, ReadonlyByProto // ReadonlyByProxy
]
function TestAllReadonlys(f) {