Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2010-06-09 Anton Muhin <antonm@chromium.org>
Reviewed by Nate Chapin. [v8] First phase of switching to new named property query API https://bugs.webkit.org/show_bug.cgi?id=40303 To allow better management of attributes of intercepted properties, we're starting to switch to new named property query API which now could return attributes instead of simple property present/absent flag. The next step would remove USE_NEW_QUERY_CALLBACK, then v8 would have them enabled by default. * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/NPV8Object.cpp: * bindings/v8/ScriptArray.cpp: * bindings/v8/ScriptCallStack.cpp: * bindings/v8/SerializedScriptValue.cpp: * bindings/v8/V8Binding.cpp: * bindings/v8/V8DOMWrapper.cpp: * bindings/v8/V8GCController.cpp: * bindings/v8/V8IsolatedContext.cpp: * bindings/v8/V8NPObject.cpp: (WebCore::npObjectQueryProperty): * bindings/v8/V8Proxy.cpp: * bindings/v8/custom/V8PopStateEventCustom.cpp: * bindings/v8/custom/V8StorageCustom.cpp: (WebCore::V8Storage::namedPropertyQuery): * config.h: Canonical link: https://commits.webkit.org/51947@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@60932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
15 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -49,7 +49,6 @@ | ||
#endif | ||
|
||
#include <stdio.h> | ||
#include <v8.h> | ||
#include <wtf/StringExtras.h> | ||
|
||
using namespace WebCore; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -39,8 +39,6 @@ | ||
#include "V8Binding.h" | ||
#include "V8Proxy.h" | ||
|
||
#include <v8.h> | ||
|
||
namespace WebCore { | ||
|
||
ScriptArray::ScriptArray(ScriptState* scriptState, v8::Handle<v8::Array> v8Array) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -37,7 +37,6 @@ | ||
#include "V8Binding.h" | ||
|
||
#include <v8-debug.h> | ||
#include <v8.h> | ||
|
||
namespace WebCore { | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -44,7 +44,6 @@ | ||
#include "V8ImageData.h" | ||
#include "V8Proxy.h" | ||
|
||
#include <v8.h> | ||
#include <wtf/Assertions.h> | ||
#include <wtf/RefCounted.h> | ||
#include <wtf/Vector.h> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -44,8 +44,6 @@ | ||
#include "V8Proxy.h" | ||
#include <wtf/text/CString.h> | ||
|
||
#include <v8.h> | ||
|
||
namespace WebCore { | ||
|
||
// WebCoreStringResource is a helper class for v8ExternalString. It is used | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -82,7 +82,6 @@ | ||
|
||
#include <algorithm> | ||
#include <utility> | ||
#include <v8.h> | ||
#include <v8-debug.h> | ||
#include <wtf/Assertions.h> | ||
#include <wtf/OwnArrayPtr.h> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -46,7 +46,6 @@ | ||
|
||
#include <algorithm> | ||
#include <utility> | ||
#include <v8.h> | ||
#include <v8-debug.h> | ||
#include <wtf/HashMap.h> | ||
#include <wtf/StdLibExtras.h> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -38,7 +38,6 @@ | ||
#include "ScriptController.h" | ||
#include "V8DOMWindow.h" | ||
#include "V8HiddenPropertyName.h" | ||
#include <v8.h> | ||
|
||
namespace WebCore { | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -67,7 +67,6 @@ | ||
#include <algorithm> | ||
#include <stdio.h> | ||
#include <utility> | ||
#include <v8.h> | ||
#include <wtf/Assertions.h> | ||
#include <wtf/OwnArrayPtr.h> | ||
#include <wtf/StdLibExtras.h> | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -223,3 +223,7 @@ typedef float CGFloat; | ||
#if PLATFORM(WIN) && PLATFORM(CG) | ||
#define WTF_USE_SAFARI_THEME 1 | ||
#endif | ||
|
||
#if defined(WTF_USE_V8) | ||
#define USE_NEW_QUERY_CALLBACKS | ||
#endif |