Index: src/object-observe.js |
diff --git a/src/object-observe.js b/src/object-observe.js |
index 9967583a504c72f2524d360a45d0b03c3fe58eab..11562cb236fa370f38a311a203893005cb34ef41 100644 |
--- a/src/object-observe.js |
+++ b/src/object-observe.js |
@@ -377,7 +377,7 @@ |
throw MakeTypeError("observe_global_proxy", ["observe"]); |
if (!IS_SPEC_FUNCTION(callback)) |
throw MakeTypeError("observe_non_function", ["observe"]); |
- if ($objectIsFrozen(callback)) |
+ if (ObjectIsFrozen(callback)) |
throw MakeTypeError("observe_callback_frozen"); |
var objectObserveFn = %GetObjectContextObjectObserve(object); |
@@ -470,7 +470,7 @@ |
%DefineDataPropertyUnchecked( |
newRecord, prop, changeRecord[prop], READ_ONLY + DONT_DELETE); |
} |
- $objectFreeze(newRecord); |
+ ObjectFreezeJS(newRecord); |
ObjectInfoEnqueueInternalChangeRecord(objectInfo, newRecord); |
} |
@@ -522,8 +522,8 @@ |
addedCount: addedCount |
}; |
- $objectFreeze(changeRecord); |
- $objectFreeze(changeRecord.removed); |
+ ObjectFreezeJS(changeRecord); |
+ ObjectFreezeJS(changeRecord.removed); |
ObjectInfoEnqueueInternalChangeRecord(objectInfo, changeRecord); |
} |
@@ -547,7 +547,7 @@ |
}; |
} |
- $objectFreeze(changeRecord); |
+ ObjectFreezeJS(changeRecord); |
ObjectInfoEnqueueInternalChangeRecord(objectInfo, changeRecord); |
} |
@@ -604,7 +604,7 @@ |
if (%IsJSGlobalProxy(object)) |
throw MakeTypeError("observe_global_proxy", ["getNotifier"]); |
- if ($objectIsFrozen(object)) return null; |
+ if (ObjectIsFrozen(object)) return null; |
if (!%ObjectWasCreatedInCurrentOrigin(object)) return null; |
@@ -662,17 +662,17 @@ |
// ------------------------------------------------------------------- |
-$installFunctions(GlobalObject, DONT_ENUM, [ |
+InstallFunctions(GlobalObject, DONT_ENUM, [ |
"deliverChangeRecords", ObjectDeliverChangeRecords, |
"getNotifier", ObjectGetNotifier, |
"observe", ObjectObserve, |
"unobserve", ObjectUnobserve |
]); |
-$installFunctions(GlobalArray, DONT_ENUM, [ |
+InstallFunctions(GlobalArray, DONT_ENUM, [ |
"observe", ArrayObserve, |
"unobserve", ArrayUnobserve |
]); |
-$installFunctions(notifierPrototype, DONT_ENUM, [ |
+InstallFunctions(notifierPrototype, DONT_ENUM, [ |
"notify", ObjectNotifierNotify, |
"performChange", ObjectNotifierPerformChange |
]); |