| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 #include "bindings/core/v8/V8ThrowException.h" | 35 #include "bindings/core/v8/V8ThrowException.h" |
| 36 #include "core/events/Event.h" | 36 #include "core/events/Event.h" |
| 37 #include "core/fetch/MemoryCache.h" | 37 #include "core/fetch/MemoryCache.h" |
| 38 #include "core/fetch/ResourceLoaderOptions.h" | 38 #include "core/fetch/ResourceLoaderOptions.h" |
| 39 #include "core/inspector/ScriptCallStack.h" | 39 #include "core/inspector/ScriptCallStack.h" |
| 40 #include "core/inspector/WorkerInspectorController.h" | 40 #include "core/inspector/WorkerInspectorController.h" |
| 41 #include "core/loader/ThreadableLoader.h" | 41 #include "core/loader/ThreadableLoader.h" |
| 42 #include "core/workers/WorkerClients.h" | 42 #include "core/workers/WorkerClients.h" |
| 43 #include "core/workers/WorkerThreadStartupData.h" | 43 #include "core/workers/WorkerThreadStartupData.h" |
| 44 #include "modules/EventTargetModules.h" | 44 #include "modules/EventTargetModules.h" |
| 45 #include "modules/fetch/GlobalFetch.h" |
| 45 #include "modules/serviceworkers/CacheStorage.h" | 46 #include "modules/serviceworkers/CacheStorage.h" |
| 46 #include "modules/serviceworkers/GlobalFetch.h" | |
| 47 #include "modules/serviceworkers/InspectorServiceWorkerCacheAgent.h" | 47 #include "modules/serviceworkers/InspectorServiceWorkerCacheAgent.h" |
| 48 #include "modules/serviceworkers/Request.h" | |
| 49 #include "modules/serviceworkers/ServiceWorkerClients.h" | 48 #include "modules/serviceworkers/ServiceWorkerClients.h" |
| 50 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 49 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
| 51 #include "modules/serviceworkers/ServiceWorkerThread.h" | 50 #include "modules/serviceworkers/ServiceWorkerThread.h" |
| 52 #include "modules/serviceworkers/WaitUntilObserver.h" | 51 #include "modules/serviceworkers/WaitUntilObserver.h" |
| 53 #include "platform/network/ResourceRequest.h" | 52 #include "platform/network/ResourceRequest.h" |
| 54 #include "platform/weborigin/KURL.h" | 53 #include "platform/weborigin/KURL.h" |
| 55 #include "public/platform/WebServiceWorkerSkipWaitingCallbacks.h" | 54 #include "public/platform/WebServiceWorkerSkipWaitingCallbacks.h" |
| 56 #include "public/platform/WebURL.h" | 55 #include "public/platform/WebURL.h" |
| 57 #include "wtf/CurrentTime.h" | 56 #include "wtf/CurrentTime.h" |
| 58 | 57 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 void ServiceWorkerGlobalScope::logExceptionToConsole(const String& errorMessage,
int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRe
fPtrWillBeRawPtr<ScriptCallStack> callStack) | 198 void ServiceWorkerGlobalScope::logExceptionToConsole(const String& errorMessage,
int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRe
fPtrWillBeRawPtr<ScriptCallStack> callStack) |
| 200 { | 199 { |
| 201 WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL,
lineNumber, columnNumber, callStack); | 200 WorkerGlobalScope::logExceptionToConsole(errorMessage, scriptId, sourceURL,
lineNumber, columnNumber, callStack); |
| 202 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(J
SMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber); | 201 RefPtrWillBeRawPtr<ConsoleMessage> consoleMessage = ConsoleMessage::create(J
SMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber); |
| 203 consoleMessage->setScriptId(scriptId); | 202 consoleMessage->setScriptId(scriptId); |
| 204 consoleMessage->setCallStack(callStack); | 203 consoleMessage->setCallStack(callStack); |
| 205 addMessageToWorkerConsole(consoleMessage.release()); | 204 addMessageToWorkerConsole(consoleMessage.release()); |
| 206 } | 205 } |
| 207 | 206 |
| 208 } // namespace blink | 207 } // namespace blink |
| OLD | NEW |