| 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 22 matching lines...) Expand all Loading... |
| 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" | 36 #include "core/fetch/ScriptResource.h" |
| 37 #include "core/frame/LocalFrame.h" | 37 #include "core/frame/LocalFrame.h" |
| 38 #include "core/inspector/InspectorInstrumentation.h" | 38 #include "core/inspector/InspectorInstrumentation.h" |
| 39 #include "core/inspector/InspectorTraceEvents.h" | 39 #include "core/inspector/InspectorTraceEvents.h" |
| 40 #include "core/inspector/ThreadDebugger.h" | 40 #include "core/inspector/ThreadDebugger.h" |
| 41 #include "platform/Histogram.h" | 41 #include "platform/Histogram.h" |
| 42 #include "platform/ScriptForbiddenScope.h" | 42 #include "platform/ScriptForbiddenScope.h" |
| 43 #include "platform/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> |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 v8AtomicString(isolate, "((e) => { throw e; })"), origin) | 754 v8AtomicString(isolate, "((e) => { throw e; })"), origin) |
| 755 .ToLocalChecked(); | 755 .ToLocalChecked(); |
| 756 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) | 756 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) |
| 757 .ToLocalChecked() | 757 .ToLocalChecked() |
| 758 .As<v8::Function>(); | 758 .As<v8::Function>(); |
| 759 v8::Local<v8::Value> args[] = {exception}; | 759 v8::Local<v8::Value> args[] = {exception}; |
| 760 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); | 760 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); |
| 761 } | 761 } |
| 762 | 762 |
| 763 } // namespace blink | 763 } // namespace blink |
| OLD | NEW |