Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1627)

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.h

Issue 2832923003: v8binding: Don't allow author script to define indexed accessor prop. (Closed)
Patch Set: Added the test expectation. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/DOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.h b/third_party/WebKit/Source/core/frame/DOMWindow.h
index 0312de7a794228b1ca8660642d2e7c9fd4361396..3146b0001358d00f748c94bd247c616bec47ea4b 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.h
@@ -22,7 +22,6 @@ class InputDeviceCapabilitiesConstants;
class LocalDOMWindow;
class Location;
class MessageEvent;
-class ScriptValue;
class SerializedScriptValue;
class WindowProxyManager;
@@ -89,7 +88,6 @@ class CORE_EXPORT DOMWindow : public EventTargetWithInlineData,
// Indexed properties
DOMWindow* AnonymousIndexedGetter(uint32_t index) const;
- bool AnonymousIndexedSetter(uint32_t index, const ScriptValue&);
void postMessage(PassRefPtr<SerializedScriptValue> message,
const MessagePortArray&,

Powered by Google App Engine
This is Rietveld 408576698