| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 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 28 matching lines...) Expand all Loading... |
| 39 #include "bindings/core/v8/V8ObjectConstructor.h" | 39 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 40 #include "bindings/core/v8/V8ScriptRunner.h" | 40 #include "bindings/core/v8/V8ScriptRunner.h" |
| 41 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" | 41 #include "bindings/core/v8/V8SharedWorkerGlobalScope.h" |
| 42 #include "bindings/core/v8/V8WorkerGlobalScope.h" | 42 #include "bindings/core/v8/V8WorkerGlobalScope.h" |
| 43 #include "bindings/core/v8/WrapperTypeInfo.h" | 43 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 44 #include "core/events/ErrorEvent.h" | 44 #include "core/events/ErrorEvent.h" |
| 45 #include "core/frame/DOMTimer.h" | 45 #include "core/frame/DOMTimer.h" |
| 46 #include "core/inspector/MainThreadDebugger.h" | 46 #include "core/inspector/MainThreadDebugger.h" |
| 47 #include "core/inspector/WorkerThreadDebugger.h" | 47 #include "core/inspector/WorkerThreadDebugger.h" |
| 48 #include "core/workers/MainThreadWorkletGlobalScope.h" | 48 #include "core/workers/MainThreadWorkletGlobalScope.h" |
| 49 #include "core/workers/WorkerObjectProxy.h" | |
| 50 #include "core/workers/WorkerOrWorkletGlobalScope.h" | 49 #include "core/workers/WorkerOrWorkletGlobalScope.h" |
| 51 #include "core/workers/WorkerThread.h" | 50 #include "core/workers/WorkerThread.h" |
| 52 #include "platform/heap/ThreadState.h" | 51 #include "platform/heap/ThreadState.h" |
| 53 #include "public/platform/Platform.h" | 52 #include "public/platform/Platform.h" |
| 54 #include <v8.h> | 53 #include <v8.h> |
| 55 | 54 |
| 56 namespace blink { | 55 namespace blink { |
| 57 | 56 |
| 58 class WorkerOrWorkletScriptController::ExecutionState final { | 57 class WorkerOrWorkletScriptController::ExecutionState final { |
| 59 STACK_ALLOCATED(); | 58 STACK_ALLOCATED(); |
| (...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 m_executionState->m_errorEventFromImportedScript = errorEvent; | 318 m_executionState->m_errorEventFromImportedScript = errorEvent; |
| 320 exceptionState.rethrowV8Exception(V8ThrowException::createGeneralError(m_iso
late, errorMessage)); | 319 exceptionState.rethrowV8Exception(V8ThrowException::createGeneralError(m_iso
late, errorMessage)); |
| 321 } | 320 } |
| 322 | 321 |
| 323 DEFINE_TRACE(WorkerOrWorkletScriptController) | 322 DEFINE_TRACE(WorkerOrWorkletScriptController) |
| 324 { | 323 { |
| 325 visitor->trace(m_globalScope); | 324 visitor->trace(m_globalScope); |
| 326 } | 325 } |
| 327 | 326 |
| 328 } // namespace blink | 327 } // namespace blink |
| OLD | NEW |