There's no point in calling InspectorState::setObject(prop, object) after getting object with InspectorState::getObject().
Created attachment 180342 [details] Patch
Never mind. We need those setObjects() to update cookie. This might be a bit confusing, though.