| 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 15 matching lines...) Expand all Loading... |
| 26 #include "bindings/core/v8/V8ScriptRunner.h" | 26 #include "bindings/core/v8/V8ScriptRunner.h" |
| 27 | 27 |
| 28 #include "bindings/core/v8/ScriptSourceCode.h" | 28 #include "bindings/core/v8/ScriptSourceCode.h" |
| 29 #include "bindings/core/v8/ScriptStreamer.h" | 29 #include "bindings/core/v8/ScriptStreamer.h" |
| 30 #include "bindings/core/v8/V8Binding.h" | 30 #include "bindings/core/v8/V8Binding.h" |
| 31 #include "bindings/core/v8/V8GCController.h" | 31 #include "bindings/core/v8/V8GCController.h" |
| 32 #include "bindings/core/v8/V8ThrowException.h" | 32 #include "bindings/core/v8/V8ThrowException.h" |
| 33 #include "core/dom/Document.h" | 33 #include "core/dom/Document.h" |
| 34 #include "core/dom/ExecutionContext.h" | 34 #include "core/dom/ExecutionContext.h" |
| 35 #include "core/fetch/CachedMetadata.h" | 35 #include "core/fetch/CachedMetadata.h" |
| 36 #include "core/fetch/ScriptResource.h" | |
| 37 #include "core/frame/LocalFrame.h" | 36 #include "core/frame/LocalFrame.h" |
| 38 #include "core/frame/PerformanceMonitor.h" | 37 #include "core/frame/PerformanceMonitor.h" |
| 39 #include "core/inspector/InspectorTraceEvents.h" | 38 #include "core/inspector/InspectorTraceEvents.h" |
| 40 #include "core/inspector/ThreadDebugger.h" | 39 #include "core/inspector/ThreadDebugger.h" |
| 40 #include "core/loader/resource/ScriptResource.h" |
| 41 #include "platform/Histogram.h" | 41 #include "platform/Histogram.h" |
| 42 #include "platform/ScriptForbiddenScope.h" | 42 #include "platform/ScriptForbiddenScope.h" |
| 43 #include "platform/tracing/TraceEvent.h" | 43 #include "platform/tracing/TraceEvent.h" |
| 44 #include "public/platform/Platform.h" | 44 #include "public/platform/Platform.h" |
| 45 #include "wtf/CurrentTime.h" | 45 #include "wtf/CurrentTime.h" |
| 46 | 46 |
| 47 #if OS(WIN) | 47 #if OS(WIN) |
| 48 #include <malloc.h> | 48 #include <malloc.h> |
| 49 #else | 49 #else |
| 50 #include <alloca.h> | 50 #include <alloca.h> |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 v8AtomicString(isolate, "((e) => { throw e; })"), origin) | 744 v8AtomicString(isolate, "((e) => { throw e; })"), origin) |
| 745 .ToLocalChecked(); | 745 .ToLocalChecked(); |
| 746 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) | 746 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) |
| 747 .ToLocalChecked() | 747 .ToLocalChecked() |
| 748 .As<v8::Function>(); | 748 .As<v8::Function>(); |
| 749 v8::Local<v8::Value> args[] = {exception}; | 749 v8::Local<v8::Value> args[] = {exception}; |
| 750 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); | 750 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); |
| 751 } | 751 } |
| 752 | 752 |
| 753 } // namespace blink | 753 } // namespace blink |
| OLD | NEW |