diff options
author | vadimt@chromium.org <vadimt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 04:53:17 +0000 |
---|---|---|
committer | vadimt@chromium.org <vadimt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-23 04:53:17 +0000 |
commit | 5175cf4c97927de502e944c056bae789da98926f (patch) | |
tree | 1206ec56272910ace1093f51fe9654c53d6e53bb /webkit/tools | |
parent | 3f8e55d243559b456753698cfcf783df0e6e6945 (diff) | |
download | chromium_src-5175cf4c97927de502e944c056bae789da98926f.zip chromium_src-5175cf4c97927de502e944c056bae789da98926f.tar.gz chromium_src-5175cf4c97927de502e944c056bae789da98926f.tar.bz2 |
Using HTML5 timer to detect not-unloading event page.
When chrome.alarm was used, Chrome could be closed by the user while the alarm is set. After this, upon Chrome startup, the alarm would fire.
Switching to setTimeout(). This timer gets conveniently deleted when Chrome closes or when the event page unloads.
BUG=164227
TEST=No
Review URL: https://chromiumcodereview.appspot.com/15436003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
0 files changed, 0 insertions, 0 deletions