OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "bindings/core/v8/ScriptValue.h" | 34 #include "bindings/core/v8/ScriptValue.h" |
35 #include "bindings/core/v8/SourceLocation.h" | 35 #include "bindings/core/v8/SourceLocation.h" |
36 #include "bindings/core/v8/UseCounterCallback.h" | 36 #include "bindings/core/v8/UseCounterCallback.h" |
37 #include "bindings/core/v8/V8BindingForCore.h" | 37 #include "bindings/core/v8/V8BindingForCore.h" |
38 #include "bindings/core/v8/V8DOMException.h" | 38 #include "bindings/core/v8/V8DOMException.h" |
39 #include "bindings/core/v8/V8ErrorEvent.h" | 39 #include "bindings/core/v8/V8ErrorEvent.h" |
40 #include "bindings/core/v8/V8ErrorHandler.h" | 40 #include "bindings/core/v8/V8ErrorHandler.h" |
41 #include "bindings/core/v8/V8GCController.h" | 41 #include "bindings/core/v8/V8GCController.h" |
42 #include "bindings/core/v8/V8IdleTaskRunner.h" | 42 #include "bindings/core/v8/V8IdleTaskRunner.h" |
43 #include "bindings/core/v8/V8Location.h" | 43 #include "bindings/core/v8/V8Location.h" |
44 #include "bindings/core/v8/V8PerContextData.h" | |
45 #include "bindings/core/v8/V8PrivateProperty.h" | |
46 #include "bindings/core/v8/V8Window.h" | 44 #include "bindings/core/v8/V8Window.h" |
47 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 45 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
48 #include "core/dom/Document.h" | 46 #include "core/dom/Document.h" |
49 #include "core/dom/ExecutionContext.h" | 47 #include "core/dom/ExecutionContext.h" |
50 #include "core/frame/LocalDOMWindow.h" | 48 #include "core/frame/LocalDOMWindow.h" |
51 #include "core/frame/LocalFrame.h" | 49 #include "core/frame/LocalFrame.h" |
52 #include "core/frame/csp/ContentSecurityPolicy.h" | 50 #include "core/frame/csp/ContentSecurityPolicy.h" |
53 #include "core/inspector/ConsoleMessage.h" | 51 #include "core/inspector/ConsoleMessage.h" |
54 #include "core/inspector/MainThreadDebugger.h" | 52 #include "core/inspector/MainThreadDebugger.h" |
55 #include "core/workers/WorkerGlobalScope.h" | 53 #include "core/workers/WorkerGlobalScope.h" |
56 #include "platform/EventDispatchForbiddenScope.h" | 54 #include "platform/EventDispatchForbiddenScope.h" |
57 #include "platform/RuntimeEnabledFeatures.h" | 55 #include "platform/RuntimeEnabledFeatures.h" |
58 #include "platform/bindings/DOMWrapperWorld.h" | 56 #include "platform/bindings/DOMWrapperWorld.h" |
59 #include "platform/bindings/ScriptWrappableVisitor.h" | 57 #include "platform/bindings/ScriptWrappableVisitor.h" |
| 58 #include "platform/bindings/V8PerContextData.h" |
| 59 #include "platform/bindings/V8PrivateProperty.h" |
60 #include "platform/instrumentation/tracing/TraceEvent.h" | 60 #include "platform/instrumentation/tracing/TraceEvent.h" |
61 #include "platform/loader/fetch/AccessControlStatus.h" | 61 #include "platform/loader/fetch/AccessControlStatus.h" |
62 #include "platform/scheduler/child/web_scheduler.h" | 62 #include "platform/scheduler/child/web_scheduler.h" |
63 #include "platform/weborigin/SecurityViolationReportingPolicy.h" | 63 #include "platform/weborigin/SecurityViolationReportingPolicy.h" |
64 #include "platform/wtf/AddressSanitizer.h" | 64 #include "platform/wtf/AddressSanitizer.h" |
65 #include "platform/wtf/Assertions.h" | 65 #include "platform/wtf/Assertions.h" |
66 #include "platform/wtf/PtrUtil.h" | 66 #include "platform/wtf/PtrUtil.h" |
67 #include "platform/wtf/RefPtr.h" | 67 #include "platform/wtf/RefPtr.h" |
68 #include "platform/wtf/text/WTFString.h" | 68 #include "platform/wtf/text/WTFString.h" |
69 #include "platform/wtf/typed_arrays/ArrayBufferContents.h" | 69 #include "platform/wtf/typed_arrays/ArrayBufferContents.h" |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 v8::Isolate::kMessageLog); | 583 v8::Isolate::kMessageLog); |
584 isolate->SetFatalErrorHandler(ReportFatalErrorInWorker); | 584 isolate->SetFatalErrorHandler(ReportFatalErrorInWorker); |
585 | 585 |
586 uint32_t here; | 586 uint32_t here; |
587 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - | 587 isolate->SetStackLimit(reinterpret_cast<uintptr_t>(&here) - |
588 kWorkerMaxStackSize); | 588 kWorkerMaxStackSize); |
589 isolate->SetPromiseRejectCallback(PromiseRejectHandlerInWorker); | 589 isolate->SetPromiseRejectCallback(PromiseRejectHandlerInWorker); |
590 } | 590 } |
591 | 591 |
592 } // namespace blink | 592 } // namespace blink |
OLD | NEW |