Description[Extension ServiceWorkers] Blink: Passing v8::context to extensions dispatcher
This patch is to address a reverted patch (https://codereview.chromium.org/1264913002/). At line 253 in WorkerThread.cpp, the original check was script()->scriptState()->contextIsValid() which can crash if the scriptState is null. This patch was reverted and is now changed to script()->isContextInitialized(). isContextInitialized was also changed from a private to a public function.
BUG=501569
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200696
Patch Set 1 : previous reverted patch (1264913002) #Patch Set 2 : change script()->scriptState()->contextIsValid to script()->isContextInitialized() #
Total comments: 2
Patch Set 3 : #
Total comments: 6
Patch Set 4 : #
Messages
Total messages: 31 (12 generated)
|