Home | History | Annotate | Download | only in src

Lines Matching full:observationstate

49 // 3) observationState.pendingObservers. This is the set of observers which
59 var observationState = %GetObservationState();
60 if (IS_UNDEFINED(observationState.callbackInfoMap)) {
61 observationState.callbackInfoMap = %ObservationWeakMapCreate();
62 observationState.objectInfoMap = %ObservationWeakMapCreate();
63 observationState.notifierObjectInfoMap = %ObservationWeakMapCreate();
64 observationState.pendingObservers = null;
65 observationState.nextCallbackPriority = 0;
89 new ObservationWeakMap(observationState.callbackInfoMap);
90 var objectInfoMap = new ObservationWeakMap(observationState.objectInfoMap);
92 new ObservationWeakMap(observationState.notifierObjectInfoMap);
303 var priority = observationState.nextCallbackPriority++
383 if (!observationState.pendingObservers)
384 observationState.pendingObservers = { __proto__: null };
385 observationState.pendingObservers[callbackInfo.priority] = callback;
546 if (observationState.pendingObservers)
547 delete observationState.pendingObservers[priority];
566 var pendingObservers = observationState.pendingObservers;
568 observationState.pendingObservers = null;