OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "bindings/core/v8/WindowProxy.h" | 47 #include "bindings/core/v8/WindowProxy.h" |
48 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" | 48 #include "bindings/core/v8/WorkerOrWorkletScriptController.h" |
49 #include "bindings/core/v8/custom/V8CustomXPathNSResolver.h" | 49 #include "bindings/core/v8/custom/V8CustomXPathNSResolver.h" |
50 #include "core/dom/Document.h" | 50 #include "core/dom/Document.h" |
51 #include "core/dom/Element.h" | 51 #include "core/dom/Element.h" |
52 #include "core/dom/FlexibleArrayBufferView.h" | 52 #include "core/dom/FlexibleArrayBufferView.h" |
53 #include "core/dom/NodeFilter.h" | 53 #include "core/dom/NodeFilter.h" |
54 #include "core/dom/QualifiedName.h" | 54 #include "core/dom/QualifiedName.h" |
55 #include "core/frame/LocalDOMWindow.h" | 55 #include "core/frame/LocalDOMWindow.h" |
56 #include "core/frame/LocalFrame.h" | 56 #include "core/frame/LocalFrame.h" |
| 57 #include "core/frame/LocalFrameClient.h" |
57 #include "core/frame/Settings.h" | 58 #include "core/frame/Settings.h" |
58 #include "core/inspector/InspectorTraceEvents.h" | 59 #include "core/inspector/InspectorTraceEvents.h" |
59 #include "core/loader/FrameLoader.h" | 60 #include "core/loader/FrameLoader.h" |
60 #include "core/loader/FrameLoaderClient.h" | |
61 #include "core/workers/WorkerGlobalScope.h" | 61 #include "core/workers/WorkerGlobalScope.h" |
62 #include "core/workers/WorkletGlobalScope.h" | 62 #include "core/workers/WorkletGlobalScope.h" |
63 #include "core/xml/XPathNSResolver.h" | 63 #include "core/xml/XPathNSResolver.h" |
64 #include "platform/instrumentation/tracing/TracedValue.h" | 64 #include "platform/instrumentation/tracing/TracedValue.h" |
65 #include "wtf/MathExtras.h" | 65 #include "wtf/MathExtras.h" |
66 #include "wtf/StdLibExtras.h" | 66 #include "wtf/StdLibExtras.h" |
67 #include "wtf/Threading.h" | 67 #include "wtf/Threading.h" |
68 #include "wtf/text/AtomicString.h" | 68 #include "wtf/text/AtomicString.h" |
69 #include "wtf/text/CString.h" | 69 #include "wtf/text/CString.h" |
70 #include "wtf/text/CharacterNames.h" | 70 #include "wtf/text/CharacterNames.h" |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
993 if (!v8Call(v8::JSON::Parse(isolate, v8String(isolate, stringifiedJSON)), | 993 if (!v8Call(v8::JSON::Parse(isolate, v8String(isolate, stringifiedJSON)), |
994 parsed, tryCatch)) { | 994 parsed, tryCatch)) { |
995 if (tryCatch.HasCaught()) | 995 if (tryCatch.HasCaught()) |
996 exceptionState.rethrowV8Exception(tryCatch.Exception()); | 996 exceptionState.rethrowV8Exception(tryCatch.Exception()); |
997 } | 997 } |
998 | 998 |
999 return parsed; | 999 return parsed; |
1000 } | 1000 } |
1001 | 1001 |
1002 } // namespace blink | 1002 } // namespace blink |
OLD | NEW |