Update snapshot.js

This commit is contained in:
utkarshgautamnyu 2017-06-28 15:30:49 -07:00 committed by GitHub
parent e9edf01a34
commit e6be838e79

View file

@ -504,7 +504,14 @@ function takeSnapshot() {
Window.takeSnapshot(false, includeAnimated, 1.91);
}, SNAPSHOT_DELAY);
}, FINISH_SOUND_DELAY);
UserActivityLogger.logAction("snapshot_taken", logDetails());
}
function logDetails() {
return {
current_domain: location.href
};
}
function isDomainOpen(id, callback) {
print("Checking open status of domain with ID:", id);