зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1157235 - Remove unused sessionstore-state-write notification r=Yoric
This commit is contained in:
Родитель
f87169c55d
Коммит
3a85704b48
|
@ -246,9 +246,6 @@ let SessionSaverInternal = {
|
|||
* Write the given state object to disk.
|
||||
*/
|
||||
_writeState: function (state) {
|
||||
// Inform observers
|
||||
notify(null, "sessionstore-state-write");
|
||||
|
||||
stopWatchStart("WRITE_STATE_LONGEST_OP_MS");
|
||||
|
||||
// We update the time stamp before writing so that we don't write again
|
||||
|
|
|
@ -239,7 +239,7 @@ function waitForTopic(aTopic, aTimeout, aCallback) {
|
|||
* Wait until session restore has finished collecting its data and is
|
||||
* has written that data ("sessionstore-state-write-complete").
|
||||
*
|
||||
* @param {function} aCallback If sessionstore-state-write is sent
|
||||
* @param {function} aCallback If sessionstore-state-write-complete is sent
|
||||
* within buffering interval + 100 ms, the callback is passed |true|,
|
||||
* otherwise, it is passed |false|.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче