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

Unified Diff: LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html

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: LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html
diff --git a/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html b/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html
index 2be796ec5886b262deb465a17518fc61bd775ec1..d61718099b3864cca3bfba1e829882ea027621bc 100644
--- a/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html
+++ b/LayoutTests/fast/forms/page-popup/page-popup-adjust-rect.html
@@ -27,14 +27,14 @@ function makeRect(x, y, width, height) {
}
function test() {
- popupWindow.screen = {
Inactive 2014/04/18 21:08:40 This test was added in https://bugs.webkit.org/sho
- width: 80,
- height: 60,
- availLeft: 0,
- availTop: 0,
- availWidth: 80,
- availHeight: 60,
- };
+ internals.setOverrideScreenData({
+ "width": 80,
+ "height": 60,
+ "availLeft": 0,
+ "availTop": 0,
+ "availWidth": 80,
+ "availHeight": 60,
+ });
debug("Move anchor element along the vertical axis.");

Powered by Google App Engine
This is Rietveld 408576698