| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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/Settings.h" | 57 #include "core/frame/Settings.h" |
| 58 #include "core/inspector/InspectorTraceEvents.h" | 58 #include "core/inspector/InspectorTraceEvents.h" |
| 59 #include "core/loader/FrameLoader.h" | 59 #include "core/loader/FrameLoader.h" |
| 60 #include "core/loader/FrameLoaderClient.h" | 60 #include "core/loader/FrameLoaderClient.h" |
| 61 #include "core/origin_trials/OriginTrialContext.h" | 61 #include "core/origin_trials/OriginTrialContext.h" |
| 62 #include "core/workers/WorkerGlobalScope.h" | 62 #include "core/workers/WorkerGlobalScope.h" |
| 63 #include "core/workers/WorkletGlobalScope.h" | 63 #include "core/workers/WorkletGlobalScope.h" |
| 64 #include "core/xml/XPathNSResolver.h" | 64 #include "core/xml/XPathNSResolver.h" |
| 65 #include "platform/TracedValue.h" | 65 #include "platform/tracing/TracedValue.h" |
| 66 #include "wtf/MathExtras.h" | 66 #include "wtf/MathExtras.h" |
| 67 #include "wtf/StdLibExtras.h" | 67 #include "wtf/StdLibExtras.h" |
| 68 #include "wtf/Threading.h" | 68 #include "wtf/Threading.h" |
| 69 #include "wtf/text/AtomicString.h" | 69 #include "wtf/text/AtomicString.h" |
| 70 #include "wtf/text/CString.h" | 70 #include "wtf/text/CString.h" |
| 71 #include "wtf/text/CharacterNames.h" | 71 #include "wtf/text/CharacterNames.h" |
| 72 #include "wtf/text/StringBuffer.h" | 72 #include "wtf/text/StringBuffer.h" |
| 73 #include "wtf/text/StringHash.h" | 73 #include "wtf/text/StringHash.h" |
| 74 #include "wtf/text/Unicode.h" | 74 #include "wtf/text/Unicode.h" |
| 75 #include "wtf/text/WTFString.h" | 75 #include "wtf/text/WTFString.h" |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 965 return frame->script().isolate(); | 965 return frame->script().isolate(); |
| 966 } | 966 } |
| 967 | 967 |
| 968 v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value> value, v8::Isolate* iso
late) | 968 v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value> value, v8::Isolate* iso
late) |
| 969 { | 969 { |
| 970 value.As<v8::Object>()->SetIntegrityLevel(isolate->GetCurrentContext(), v8::
IntegrityLevel::kFrozen).ToChecked(); | 970 value.As<v8::Object>()->SetIntegrityLevel(isolate->GetCurrentContext(), v8::
IntegrityLevel::kFrozen).ToChecked(); |
| 971 return value; | 971 return value; |
| 972 } | 972 } |
| 973 | 973 |
| 974 } // namespace blink | 974 } // namespace blink |
| OLD | NEW |