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

Unified Diff: Source/core/testing/Internals.idl

Issue 243173004: Make window.screen property non replaceable (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix clang error Created 6 years, 8 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: Source/core/testing/Internals.idl
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl
index a7a35c04722f027e667063b36190dcf17bb0d6ef..de3a9c4a4306be59537674f5ab0e20969ec8ec7d 100644
--- a/Source/core/testing/Internals.idl
+++ b/Source/core/testing/Internals.idl
@@ -287,4 +287,7 @@
void setValueForUser(Element element, DOMString value);
DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLength);
+
+ // Overrides the properties of window.screen using values in the given dictionary.
+ void setOverrideScreenData(Dictionary overrideData);
};

Powered by Google App Engine
This is Rietveld 408576698