// WebEmbeddedWorker.resumeAfterDownload() is invoked.
virtual void didPauseAfterDownload() { }
+ // ServiceWorker has prepared everything for script loading and is now ready for inspection.
+ virtual void workerReadyForInspection() { }
+
// A new WorkerGlobalScope is created and started to run on the
// worker thread.
// This also gives back a proxy to the client to talk to the
// This is called on the main thread.
virtual void workerContextFailedToStart() { }
+ // Called when the worker script is evaluated. |success| is true if the
+ // evaluation completed with no uncaught exception.
+ virtual void didEvaluateWorkerScript(bool success) { }
+
// Called when the WorkerGlobalScope had an error or an exception.
virtual void reportException(const WebString& errorMessage, int lineNumber, int columnNumber, const WebString& sourceURL) { }