Title: [148835] trunk/LayoutTests
Revision
148835
Author
[email protected]
Date
2013-04-21 09:14:52 -0700 (Sun, 21 Apr 2013)

Log Message

fast/media/mq-resolution.html throws TypeError when calling setPageScaleFactor
https://bugs.webkit.org/show_bug.cgi?id=114914

Reviewed by Antonio Gomes.

Update fast/media/mq-resolution.html to call setPageScaleFactor() method on
window.internals instead of window.internals.settings. This method was moved
out of settings in r136055.

* fast/media/mq-resolution.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (148834 => 148835)


--- trunk/LayoutTests/ChangeLog	2013-04-21 16:13:36 UTC (rev 148834)
+++ trunk/LayoutTests/ChangeLog	2013-04-21 16:14:52 UTC (rev 148835)
@@ -1,5 +1,18 @@
 2013-04-21  Christophe Dumez  <[email protected]>
 
+        fast/media/mq-resolution.html throws TypeError when calling setPageScaleFactor
+        https://bugs.webkit.org/show_bug.cgi?id=114914
+
+        Reviewed by Antonio Gomes.
+
+        Update fast/media/mq-resolution.html to call setPageScaleFactor() method on
+        window.internals instead of window.internals.settings. This method was moved
+        out of settings in r136055.
+
+        * fast/media/mq-resolution.html:
+
+2013-04-21  Christophe Dumez  <[email protected]>
+
         Unreviewed EFL gardening.
 
         Rebaseline fast/forms/validation-message-appearance.html and fix expectation

Modified: trunk/LayoutTests/fast/media/mq-resolution.html (148834 => 148835)


--- trunk/LayoutTests/fast/media/mq-resolution.html	2013-04-21 16:13:36 UTC (rev 148834)
+++ trunk/LayoutTests/fast/media/mq-resolution.html	2013-04-21 16:14:52 UTC (rev 148835)
@@ -49,19 +49,19 @@
         shouldBe("matchMedia('(min-resolution: 0dpi)').matches", "false");
         shouldBe("matchMedia('(max-resolution: 0dpi)').matches", "false");
 
-        window.internals.settings.setPageScaleFactor(1.5, 0, 0);
+        window.internals.setPageScaleFactor(1.5, 0, 0);
         shouldBe("matchMedia('(resolution: 1.5dppx)').matches", "true");
         shouldBe("resolutionFromStyle()", "1.5");
 
-        window.internals.settings.setPageScaleFactor(2, 0, 0);
+        window.internals.setPageScaleFactor(2, 0, 0);
         shouldBe("matchMedia('(resolution: 2dppx)').matches", "true");
         shouldBe("resolutionFromStyle()", "2");
 
-        window.internals.settings.setPageScaleFactor(1, 0, 0);
+        window.internals.setPageScaleFactor(1, 0, 0);
         shouldBe("matchMedia('(resolution: 1dppx)').matches", "true");
         shouldBe("resolutionFromStyle()", "1");
 
-        window.internals.settings.setPageScaleFactor(2.25, 0, 0);
+        window.internals.setPageScaleFactor(2.25, 0, 0);
         shouldBe("matchMedia('(resolution: 2.25dppx)').matches", "true");
         shouldBe("resolutionFromStyle()", "2.25");
         shouldBe("matchMedia('(resolution)').matches", "true");
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to