Assert about ServiceWorkerRegisterJob internal state in terms of phases
Instead of ad-hoc DCHECKs of internal state throughout the job's callbacks, introduce a phase system and add DCHECKs to internal state getters/setters in terms of it. BUG=349337 Review URL: https://codereview.chromium.org/229403004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262936 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment