Changeset 122204 in webkit


Ignore:
Timestamp:
Jul 10, 2012 12:55:50 AM (12 years ago)
Author:
abarth@webkit.org
Message:

LayoutTestController.dumpConfigurationForViewport should move to Internals
https://bugs.webkit.org/show_bug.cgi?id=45652

Reviewed by Eric Seidel.

Source/WebCore:

This patch replaces LayoutTestController.dumpConfigurationForViewport
with Internals.configurationForViewport. The old
dumpConfigurationForViewport function just ended up calling WebCore
functions anyway, so there's no benefit in implementing the API in the
LayoutTestController.

As a result, these tests can now run on every port.

  • testing/Internals.cpp:

(WebCore::Internals::configurationForViewport):
(WebCore):

  • testing/Internals.h:

(Internals):

  • testing/Internals.idl:

Source/WebKit/blackberry:

  • WebKitSupport/DumpRenderTreeSupport.cpp:
  • WebKitSupport/DumpRenderTreeSupport.h:

(DumpRenderTreeSupport):

Source/WebKit/efl:

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
  • WebCoreSupport/DumpRenderTreeSupportEfl.h:

Source/WebKit/gtk:

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

(DumpRenderTreeSupportGtk):

Tools:

Remove dumpConfigurationForViewport from LayoutTestController. This API
has been replaced by an API on Internals that does the same thing in a
port-agnostic way.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:

(LayoutTestController):

  • DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  • DumpRenderTree/qt/LayoutTestControllerQt.h:

(LayoutTestController):

  • DumpRenderTree/win/LayoutTestControllerWin.cpp:
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp:

LayoutTests:

Update these tests to use the Internals API rather than the
LayoutTestController API. This changed the output format of the tests
slightly because the LayoutTestController API printed directly to
stdout whereas the new API just returns a string that we pipe to stdout
using alert.

This patch also cleans up some platform-specific results for these
tests that had drifted out of sync a bit. The patch also correctly
marks the legacy tests as failing on GTK instead of checking in bogus
expected results for them.

This patch unskips these tests on Chromium. Once this patch lands, I'll
go through an unskip them on the other ports as well.

  • fast/viewport/viewport-1-expected.txt:
  • fast/viewport/viewport-1.html:
  • fast/viewport/viewport-10-expected.txt:
  • fast/viewport/viewport-10.html:
  • fast/viewport/viewport-100-expected.txt:
  • fast/viewport/viewport-100.html:
  • fast/viewport/viewport-101-expected.txt:
  • fast/viewport/viewport-101.html:
  • fast/viewport/viewport-102-expected.txt:
  • fast/viewport/viewport-102.html:
  • fast/viewport/viewport-103-expected.txt:
  • fast/viewport/viewport-103.html:
  • fast/viewport/viewport-104-expected.txt:
  • fast/viewport/viewport-104.html:
  • fast/viewport/viewport-105-expected.txt:
  • fast/viewport/viewport-105.html:
  • fast/viewport/viewport-106-expected.txt:
  • fast/viewport/viewport-106.html:
  • fast/viewport/viewport-107-expected.txt:
  • fast/viewport/viewport-107.html:
  • fast/viewport/viewport-108-expected.txt:
  • fast/viewport/viewport-108.html:
  • fast/viewport/viewport-109-expected.txt:
  • fast/viewport/viewport-109.html:
  • fast/viewport/viewport-11-expected.txt:
  • fast/viewport/viewport-11.html:
  • fast/viewport/viewport-110-expected.txt:
  • fast/viewport/viewport-110.html:
  • fast/viewport/viewport-111-expected.txt:
  • fast/viewport/viewport-111.html:
  • fast/viewport/viewport-112-expected.txt:
  • fast/viewport/viewport-112.html:
  • fast/viewport/viewport-113-expected.txt:
  • fast/viewport/viewport-113.html:
  • fast/viewport/viewport-114-expected.txt:
  • fast/viewport/viewport-114.html:
  • fast/viewport/viewport-115-expected.txt:
  • fast/viewport/viewport-115.html:
  • fast/viewport/viewport-116-expected.txt:
  • fast/viewport/viewport-116.html:
  • fast/viewport/viewport-117-expected.txt:
  • fast/viewport/viewport-117.html:
  • fast/viewport/viewport-118-expected.txt:
  • fast/viewport/viewport-118.html:
  • fast/viewport/viewport-119-expected.txt:
  • fast/viewport/viewport-119.html:
  • fast/viewport/viewport-12-expected.txt:
  • fast/viewport/viewport-12.html:
  • fast/viewport/viewport-120-expected.txt:
  • fast/viewport/viewport-120.html:
  • fast/viewport/viewport-121-expected.txt:
  • fast/viewport/viewport-121.html:
  • fast/viewport/viewport-122-expected.txt:
  • fast/viewport/viewport-122.html:
  • fast/viewport/viewport-123-expected.txt:
  • fast/viewport/viewport-123.html:
  • fast/viewport/viewport-124-expected.txt:
  • fast/viewport/viewport-124.html:
  • fast/viewport/viewport-125-expected.txt:
  • fast/viewport/viewport-125.html:
  • fast/viewport/viewport-126-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-126-expected.txt.
  • fast/viewport/viewport-126.html:
  • fast/viewport/viewport-127-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-127-expected.txt.
  • fast/viewport/viewport-127.html:
  • fast/viewport/viewport-128-expected.txt:
  • fast/viewport/viewport-128.html:
  • fast/viewport/viewport-129-expected.txt:
  • fast/viewport/viewport-129.html:
  • fast/viewport/viewport-13-expected.txt:
  • fast/viewport/viewport-13.html:
  • fast/viewport/viewport-130-expected.txt:
  • fast/viewport/viewport-130.html:
  • fast/viewport/viewport-131-expected.txt:
  • fast/viewport/viewport-131.html:
  • fast/viewport/viewport-132-expected.txt:
  • fast/viewport/viewport-132.html:
  • fast/viewport/viewport-14-expected.txt:
  • fast/viewport/viewport-14.html:
  • fast/viewport/viewport-15-expected.txt:
  • fast/viewport/viewport-15.html:
  • fast/viewport/viewport-16-expected.txt:
  • fast/viewport/viewport-16.html:
  • fast/viewport/viewport-17-expected.txt:
  • fast/viewport/viewport-17.html:
  • fast/viewport/viewport-18-expected.txt:
  • fast/viewport/viewport-18.html:
  • fast/viewport/viewport-19-expected.txt:
  • fast/viewport/viewport-19.html:
  • fast/viewport/viewport-2-expected.txt:
  • fast/viewport/viewport-2.html:
  • fast/viewport/viewport-20-expected.txt:
  • fast/viewport/viewport-20.html:
  • fast/viewport/viewport-21-expected.txt:
  • fast/viewport/viewport-21.html:
  • fast/viewport/viewport-22-expected.txt:
  • fast/viewport/viewport-22.html:
  • fast/viewport/viewport-23-expected.txt:
  • fast/viewport/viewport-23.html:
  • fast/viewport/viewport-24-expected.txt:
  • fast/viewport/viewport-24.html:
  • fast/viewport/viewport-25-expected.txt:
  • fast/viewport/viewport-25.html:
  • fast/viewport/viewport-26-expected.txt:
  • fast/viewport/viewport-26.html:
  • fast/viewport/viewport-27-expected.txt:
  • fast/viewport/viewport-27.html:
  • fast/viewport/viewport-28-expected.txt:
  • fast/viewport/viewport-28.html:
  • fast/viewport/viewport-29-expected.txt:
  • fast/viewport/viewport-29.html:
  • fast/viewport/viewport-3-expected.txt:
  • fast/viewport/viewport-3.html:
  • fast/viewport/viewport-30-expected.txt:
  • fast/viewport/viewport-30.html:
  • fast/viewport/viewport-31-expected.txt:
  • fast/viewport/viewport-31.html:
  • fast/viewport/viewport-32-expected.txt:
  • fast/viewport/viewport-32.html:
  • fast/viewport/viewport-33-expected.txt:
  • fast/viewport/viewport-33.html:
  • fast/viewport/viewport-34-expected.txt:
  • fast/viewport/viewport-34.html:
  • fast/viewport/viewport-35-expected.txt:
  • fast/viewport/viewport-35.html:
  • fast/viewport/viewport-36-expected.txt:
  • fast/viewport/viewport-36.html:
  • fast/viewport/viewport-37-expected.txt:
  • fast/viewport/viewport-37.html:
  • fast/viewport/viewport-38-expected.txt:
  • fast/viewport/viewport-38.html:
  • fast/viewport/viewport-39-expected.txt:
  • fast/viewport/viewport-39.html:
  • fast/viewport/viewport-4-expected.txt:
  • fast/viewport/viewport-4.html:
  • fast/viewport/viewport-40-expected.txt:
  • fast/viewport/viewport-40.html:
  • fast/viewport/viewport-41-expected.txt:
  • fast/viewport/viewport-41.html:
  • fast/viewport/viewport-42-expected.txt:
  • fast/viewport/viewport-42.html:
  • fast/viewport/viewport-43-expected.txt:
  • fast/viewport/viewport-43.html:
  • fast/viewport/viewport-44-expected.txt:
  • fast/viewport/viewport-44.html:
  • fast/viewport/viewport-45-expected.txt:
  • fast/viewport/viewport-45.html:
  • fast/viewport/viewport-46-expected.txt:
  • fast/viewport/viewport-46.html:
  • fast/viewport/viewport-47-expected.txt:
  • fast/viewport/viewport-47.html:
  • fast/viewport/viewport-48-expected.txt:
  • fast/viewport/viewport-48.html:
  • fast/viewport/viewport-49-expected.txt:
  • fast/viewport/viewport-49.html:
  • fast/viewport/viewport-5-expected.txt:
  • fast/viewport/viewport-5.html:
  • fast/viewport/viewport-50-expected.txt:
  • fast/viewport/viewport-50.html:
  • fast/viewport/viewport-51-expected.txt:
  • fast/viewport/viewport-51.html:
  • fast/viewport/viewport-52-expected.txt:
  • fast/viewport/viewport-52.html:
  • fast/viewport/viewport-53-expected.txt:
  • fast/viewport/viewport-53.html:
  • fast/viewport/viewport-54-expected.txt:
  • fast/viewport/viewport-54.html:
  • fast/viewport/viewport-55-expected.txt:
  • fast/viewport/viewport-55.html:
  • fast/viewport/viewport-56-expected.txt:
  • fast/viewport/viewport-56.html:
  • fast/viewport/viewport-57-expected.txt:
  • fast/viewport/viewport-57.html:
  • fast/viewport/viewport-58-expected.txt:
  • fast/viewport/viewport-58.html:
  • fast/viewport/viewport-59-expected.txt:
  • fast/viewport/viewport-59.html:
  • fast/viewport/viewport-6-expected.txt:
  • fast/viewport/viewport-6.html:
  • fast/viewport/viewport-60-expected.txt:
  • fast/viewport/viewport-60.html:
  • fast/viewport/viewport-61-expected.txt:
  • fast/viewport/viewport-61.html:
  • fast/viewport/viewport-62-expected.txt:
  • fast/viewport/viewport-62.html:
  • fast/viewport/viewport-63-expected.txt:
  • fast/viewport/viewport-63.html:
  • fast/viewport/viewport-64-expected.txt:
  • fast/viewport/viewport-64.html:
  • fast/viewport/viewport-65-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-65-expected.txt.
  • fast/viewport/viewport-65.html:
  • fast/viewport/viewport-66-expected.txt:
  • fast/viewport/viewport-66.html:
  • fast/viewport/viewport-67-expected.txt:
  • fast/viewport/viewport-67.html:
  • fast/viewport/viewport-68-expected.txt:
  • fast/viewport/viewport-68.html:
  • fast/viewport/viewport-69-expected.txt:
  • fast/viewport/viewport-69.html:
  • fast/viewport/viewport-7-expected.txt:
  • fast/viewport/viewport-7.html:
  • fast/viewport/viewport-70-expected.txt:
  • fast/viewport/viewport-70.html:
  • fast/viewport/viewport-71-expected.txt:
  • fast/viewport/viewport-71.html:
  • fast/viewport/viewport-72-expected.txt:
  • fast/viewport/viewport-72.html:
  • fast/viewport/viewport-73-expected.txt:
  • fast/viewport/viewport-73.html:
  • fast/viewport/viewport-74-expected.txt:
  • fast/viewport/viewport-74.html:
  • fast/viewport/viewport-75-expected.txt:
  • fast/viewport/viewport-75.html:
  • fast/viewport/viewport-76-expected.txt:
  • fast/viewport/viewport-76.html:
  • fast/viewport/viewport-77-expected.txt:
  • fast/viewport/viewport-77.html:
  • fast/viewport/viewport-78-expected.txt:
  • fast/viewport/viewport-78.html:
  • fast/viewport/viewport-79-expected.txt:
  • fast/viewport/viewport-79.html:
  • fast/viewport/viewport-8-expected.txt:
  • fast/viewport/viewport-8.html:
  • fast/viewport/viewport-80-expected.txt:
  • fast/viewport/viewport-80.html:
  • fast/viewport/viewport-81-expected.txt:
  • fast/viewport/viewport-81.html:
  • fast/viewport/viewport-82-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-82-expected.txt.
  • fast/viewport/viewport-82.html:
  • fast/viewport/viewport-83-expected.txt:
  • fast/viewport/viewport-83.html:
  • fast/viewport/viewport-84-expected.txt: Renamed from LayoutTests/platform/efl/fast/viewport/viewport-87-expected.txt.
  • fast/viewport/viewport-84.html:
  • fast/viewport/viewport-85-expected.txt:
  • fast/viewport/viewport-85.html:
  • fast/viewport/viewport-86-expected.txt:
  • fast/viewport/viewport-86.html:
  • fast/viewport/viewport-87-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-87-expected.txt.
  • fast/viewport/viewport-87.html:
  • fast/viewport/viewport-88-expected.txt:
  • fast/viewport/viewport-88.html:
  • fast/viewport/viewport-9-expected.txt:
  • fast/viewport/viewport-9.html:
  • fast/viewport/viewport-90-expected.txt:
  • fast/viewport/viewport-90.html:
  • fast/viewport/viewport-91-expected.txt:
  • fast/viewport/viewport-91.html:
  • fast/viewport/viewport-legacy-handheldfriendly-expected.txt:
  • fast/viewport/viewport-legacy-handheldfriendly.html:
  • fast/viewport/viewport-legacy-mobileoptimized-2-expected.txt:
  • fast/viewport/viewport-legacy-mobileoptimized-2.html:
  • fast/viewport/viewport-legacy-mobileoptimized-3-expected.txt:
  • fast/viewport/viewport-legacy-mobileoptimized-3.html:
  • fast/viewport/viewport-legacy-mobileoptimized-expected.txt:
  • fast/viewport/viewport-legacy-mobileoptimized.html:
  • fast/viewport/viewport-legacy-ordering-1-expected.txt:
  • fast/viewport/viewport-legacy-ordering-1.html:
  • fast/viewport/viewport-legacy-ordering-2-expected.txt:
  • fast/viewport/viewport-legacy-ordering-2.html:
  • fast/viewport/viewport-legacy-ordering-3-expected.txt:
  • fast/viewport/viewport-legacy-ordering-3.html:
  • fast/viewport/viewport-legacy-ordering-4-expected.txt:
  • fast/viewport/viewport-legacy-ordering-4.html:
  • fast/viewport/viewport-legacy-ordering-5-expected.txt:
  • fast/viewport/viewport-legacy-ordering-5.html:
  • fast/viewport/viewport-legacy-ordering-6-expected.txt:
  • fast/viewport/viewport-legacy-ordering-6.html:
  • fast/viewport/viewport-legacy-ordering-7-expected.txt:
  • fast/viewport/viewport-legacy-ordering-7.html:
  • fast/viewport/viewport-legacy-ordering-8-expected.txt:
  • fast/viewport/viewport-legacy-ordering-8.html:
  • fast/viewport/viewport-legacy-ordering-9-expected.txt:
  • fast/viewport/viewport-legacy-ordering-9.html:
  • fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype-expected.txt:
  • fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
  • fast/viewport/viewport-legacy-xhtmlmp-ordering-expected.txt:
  • fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
  • fast/viewport/viewport-legacy-xhtmlmp.html:
  • fast/viewport/viewport-warnings-1-expected.txt:
  • fast/viewport/viewport-warnings-1.html:
  • fast/viewport/viewport-warnings-2-expected.txt:
  • fast/viewport/viewport-warnings-2.html:
  • fast/viewport/viewport-warnings-3-expected.txt:
  • fast/viewport/viewport-warnings-3.html:
  • fast/viewport/viewport-warnings-4-expected.txt:
  • fast/viewport/viewport-warnings-4.html:
  • fast/viewport/viewport-warnings-5-expected.txt:
  • fast/viewport/viewport-warnings-5.html:
  • fast/viewport/viewport-warnings-6-expected.txt:
  • fast/viewport/viewport-warnings-6.html:
  • platform/chromium/TestExpectations:
  • platform/efl/fast/viewport/viewport-126-expected.txt: Removed.
  • platform/efl/fast/viewport/viewport-127-expected.txt: Removed.
  • platform/efl/fast/viewport/viewport-65-expected.txt: Removed.
  • platform/efl/fast/viewport/viewport-82-expected.txt: Removed.
  • platform/efl/fast/viewport/viewport-84-expected.txt: Removed.
  • platform/gtk/TestExpectations:
  • platform/gtk/fast/viewport/viewport-84-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-handheldfriendly-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-2-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-3-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-ordering-5-expected.txt: Removed.
  • platform/gtk/fast/viewport/viewport-legacy-ordering-6-expected.txt: Removed.
Location:
trunk
Files:
12 deleted
321 edited
6 moved

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r122203 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        Update these tests to use the Internals API rather than the
     9        LayoutTestController API.  This changed the output format of the tests
     10        slightly because the LayoutTestController API printed directly to
     11        stdout whereas the new API just returns a string that we pipe to stdout
     12        using alert.
     13
     14        This patch also cleans up some platform-specific results for these
     15        tests that had drifted out of sync a bit. The patch also correctly
     16        marks the legacy tests as failing on GTK instead of checking in bogus
     17        expected results for them.
     18
     19        This patch unskips these tests on Chromium. Once this patch lands, I'll
     20        go through an unskip them on the other ports as well.
     21
     22        * fast/viewport/viewport-1-expected.txt:
     23        * fast/viewport/viewport-1.html:
     24        * fast/viewport/viewport-10-expected.txt:
     25        * fast/viewport/viewport-10.html:
     26        * fast/viewport/viewport-100-expected.txt:
     27        * fast/viewport/viewport-100.html:
     28        * fast/viewport/viewport-101-expected.txt:
     29        * fast/viewport/viewport-101.html:
     30        * fast/viewport/viewport-102-expected.txt:
     31        * fast/viewport/viewport-102.html:
     32        * fast/viewport/viewport-103-expected.txt:
     33        * fast/viewport/viewport-103.html:
     34        * fast/viewport/viewport-104-expected.txt:
     35        * fast/viewport/viewport-104.html:
     36        * fast/viewport/viewport-105-expected.txt:
     37        * fast/viewport/viewport-105.html:
     38        * fast/viewport/viewport-106-expected.txt:
     39        * fast/viewport/viewport-106.html:
     40        * fast/viewport/viewport-107-expected.txt:
     41        * fast/viewport/viewport-107.html:
     42        * fast/viewport/viewport-108-expected.txt:
     43        * fast/viewport/viewport-108.html:
     44        * fast/viewport/viewport-109-expected.txt:
     45        * fast/viewport/viewport-109.html:
     46        * fast/viewport/viewport-11-expected.txt:
     47        * fast/viewport/viewport-11.html:
     48        * fast/viewport/viewport-110-expected.txt:
     49        * fast/viewport/viewport-110.html:
     50        * fast/viewport/viewport-111-expected.txt:
     51        * fast/viewport/viewport-111.html:
     52        * fast/viewport/viewport-112-expected.txt:
     53        * fast/viewport/viewport-112.html:
     54        * fast/viewport/viewport-113-expected.txt:
     55        * fast/viewport/viewport-113.html:
     56        * fast/viewport/viewport-114-expected.txt:
     57        * fast/viewport/viewport-114.html:
     58        * fast/viewport/viewport-115-expected.txt:
     59        * fast/viewport/viewport-115.html:
     60        * fast/viewport/viewport-116-expected.txt:
     61        * fast/viewport/viewport-116.html:
     62        * fast/viewport/viewport-117-expected.txt:
     63        * fast/viewport/viewport-117.html:
     64        * fast/viewport/viewport-118-expected.txt:
     65        * fast/viewport/viewport-118.html:
     66        * fast/viewport/viewport-119-expected.txt:
     67        * fast/viewport/viewport-119.html:
     68        * fast/viewport/viewport-12-expected.txt:
     69        * fast/viewport/viewport-12.html:
     70        * fast/viewport/viewport-120-expected.txt:
     71        * fast/viewport/viewport-120.html:
     72        * fast/viewport/viewport-121-expected.txt:
     73        * fast/viewport/viewport-121.html:
     74        * fast/viewport/viewport-122-expected.txt:
     75        * fast/viewport/viewport-122.html:
     76        * fast/viewport/viewport-123-expected.txt:
     77        * fast/viewport/viewport-123.html:
     78        * fast/viewport/viewport-124-expected.txt:
     79        * fast/viewport/viewport-124.html:
     80        * fast/viewport/viewport-125-expected.txt:
     81        * fast/viewport/viewport-125.html:
     82        * fast/viewport/viewport-126-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-126-expected.txt.
     83        * fast/viewport/viewport-126.html:
     84        * fast/viewport/viewport-127-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-127-expected.txt.
     85        * fast/viewport/viewport-127.html:
     86        * fast/viewport/viewport-128-expected.txt:
     87        * fast/viewport/viewport-128.html:
     88        * fast/viewport/viewport-129-expected.txt:
     89        * fast/viewport/viewport-129.html:
     90        * fast/viewport/viewport-13-expected.txt:
     91        * fast/viewport/viewport-13.html:
     92        * fast/viewport/viewport-130-expected.txt:
     93        * fast/viewport/viewport-130.html:
     94        * fast/viewport/viewport-131-expected.txt:
     95        * fast/viewport/viewport-131.html:
     96        * fast/viewport/viewport-132-expected.txt:
     97        * fast/viewport/viewport-132.html:
     98        * fast/viewport/viewport-14-expected.txt:
     99        * fast/viewport/viewport-14.html:
     100        * fast/viewport/viewport-15-expected.txt:
     101        * fast/viewport/viewport-15.html:
     102        * fast/viewport/viewport-16-expected.txt:
     103        * fast/viewport/viewport-16.html:
     104        * fast/viewport/viewport-17-expected.txt:
     105        * fast/viewport/viewport-17.html:
     106        * fast/viewport/viewport-18-expected.txt:
     107        * fast/viewport/viewport-18.html:
     108        * fast/viewport/viewport-19-expected.txt:
     109        * fast/viewport/viewport-19.html:
     110        * fast/viewport/viewport-2-expected.txt:
     111        * fast/viewport/viewport-2.html:
     112        * fast/viewport/viewport-20-expected.txt:
     113        * fast/viewport/viewport-20.html:
     114        * fast/viewport/viewport-21-expected.txt:
     115        * fast/viewport/viewport-21.html:
     116        * fast/viewport/viewport-22-expected.txt:
     117        * fast/viewport/viewport-22.html:
     118        * fast/viewport/viewport-23-expected.txt:
     119        * fast/viewport/viewport-23.html:
     120        * fast/viewport/viewport-24-expected.txt:
     121        * fast/viewport/viewport-24.html:
     122        * fast/viewport/viewport-25-expected.txt:
     123        * fast/viewport/viewport-25.html:
     124        * fast/viewport/viewport-26-expected.txt:
     125        * fast/viewport/viewport-26.html:
     126        * fast/viewport/viewport-27-expected.txt:
     127        * fast/viewport/viewport-27.html:
     128        * fast/viewport/viewport-28-expected.txt:
     129        * fast/viewport/viewport-28.html:
     130        * fast/viewport/viewport-29-expected.txt:
     131        * fast/viewport/viewport-29.html:
     132        * fast/viewport/viewport-3-expected.txt:
     133        * fast/viewport/viewport-3.html:
     134        * fast/viewport/viewport-30-expected.txt:
     135        * fast/viewport/viewport-30.html:
     136        * fast/viewport/viewport-31-expected.txt:
     137        * fast/viewport/viewport-31.html:
     138        * fast/viewport/viewport-32-expected.txt:
     139        * fast/viewport/viewport-32.html:
     140        * fast/viewport/viewport-33-expected.txt:
     141        * fast/viewport/viewport-33.html:
     142        * fast/viewport/viewport-34-expected.txt:
     143        * fast/viewport/viewport-34.html:
     144        * fast/viewport/viewport-35-expected.txt:
     145        * fast/viewport/viewport-35.html:
     146        * fast/viewport/viewport-36-expected.txt:
     147        * fast/viewport/viewport-36.html:
     148        * fast/viewport/viewport-37-expected.txt:
     149        * fast/viewport/viewport-37.html:
     150        * fast/viewport/viewport-38-expected.txt:
     151        * fast/viewport/viewport-38.html:
     152        * fast/viewport/viewport-39-expected.txt:
     153        * fast/viewport/viewport-39.html:
     154        * fast/viewport/viewport-4-expected.txt:
     155        * fast/viewport/viewport-4.html:
     156        * fast/viewport/viewport-40-expected.txt:
     157        * fast/viewport/viewport-40.html:
     158        * fast/viewport/viewport-41-expected.txt:
     159        * fast/viewport/viewport-41.html:
     160        * fast/viewport/viewport-42-expected.txt:
     161        * fast/viewport/viewport-42.html:
     162        * fast/viewport/viewport-43-expected.txt:
     163        * fast/viewport/viewport-43.html:
     164        * fast/viewport/viewport-44-expected.txt:
     165        * fast/viewport/viewport-44.html:
     166        * fast/viewport/viewport-45-expected.txt:
     167        * fast/viewport/viewport-45.html:
     168        * fast/viewport/viewport-46-expected.txt:
     169        * fast/viewport/viewport-46.html:
     170        * fast/viewport/viewport-47-expected.txt:
     171        * fast/viewport/viewport-47.html:
     172        * fast/viewport/viewport-48-expected.txt:
     173        * fast/viewport/viewport-48.html:
     174        * fast/viewport/viewport-49-expected.txt:
     175        * fast/viewport/viewport-49.html:
     176        * fast/viewport/viewport-5-expected.txt:
     177        * fast/viewport/viewport-5.html:
     178        * fast/viewport/viewport-50-expected.txt:
     179        * fast/viewport/viewport-50.html:
     180        * fast/viewport/viewport-51-expected.txt:
     181        * fast/viewport/viewport-51.html:
     182        * fast/viewport/viewport-52-expected.txt:
     183        * fast/viewport/viewport-52.html:
     184        * fast/viewport/viewport-53-expected.txt:
     185        * fast/viewport/viewport-53.html:
     186        * fast/viewport/viewport-54-expected.txt:
     187        * fast/viewport/viewport-54.html:
     188        * fast/viewport/viewport-55-expected.txt:
     189        * fast/viewport/viewport-55.html:
     190        * fast/viewport/viewport-56-expected.txt:
     191        * fast/viewport/viewport-56.html:
     192        * fast/viewport/viewport-57-expected.txt:
     193        * fast/viewport/viewport-57.html:
     194        * fast/viewport/viewport-58-expected.txt:
     195        * fast/viewport/viewport-58.html:
     196        * fast/viewport/viewport-59-expected.txt:
     197        * fast/viewport/viewport-59.html:
     198        * fast/viewport/viewport-6-expected.txt:
     199        * fast/viewport/viewport-6.html:
     200        * fast/viewport/viewport-60-expected.txt:
     201        * fast/viewport/viewport-60.html:
     202        * fast/viewport/viewport-61-expected.txt:
     203        * fast/viewport/viewport-61.html:
     204        * fast/viewport/viewport-62-expected.txt:
     205        * fast/viewport/viewport-62.html:
     206        * fast/viewport/viewport-63-expected.txt:
     207        * fast/viewport/viewport-63.html:
     208        * fast/viewport/viewport-64-expected.txt:
     209        * fast/viewport/viewport-64.html:
     210        * fast/viewport/viewport-65-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-65-expected.txt.
     211        * fast/viewport/viewport-65.html:
     212        * fast/viewport/viewport-66-expected.txt:
     213        * fast/viewport/viewport-66.html:
     214        * fast/viewport/viewport-67-expected.txt:
     215        * fast/viewport/viewport-67.html:
     216        * fast/viewport/viewport-68-expected.txt:
     217        * fast/viewport/viewport-68.html:
     218        * fast/viewport/viewport-69-expected.txt:
     219        * fast/viewport/viewport-69.html:
     220        * fast/viewport/viewport-7-expected.txt:
     221        * fast/viewport/viewport-7.html:
     222        * fast/viewport/viewport-70-expected.txt:
     223        * fast/viewport/viewport-70.html:
     224        * fast/viewport/viewport-71-expected.txt:
     225        * fast/viewport/viewport-71.html:
     226        * fast/viewport/viewport-72-expected.txt:
     227        * fast/viewport/viewport-72.html:
     228        * fast/viewport/viewport-73-expected.txt:
     229        * fast/viewport/viewport-73.html:
     230        * fast/viewport/viewport-74-expected.txt:
     231        * fast/viewport/viewport-74.html:
     232        * fast/viewport/viewport-75-expected.txt:
     233        * fast/viewport/viewport-75.html:
     234        * fast/viewport/viewport-76-expected.txt:
     235        * fast/viewport/viewport-76.html:
     236        * fast/viewport/viewport-77-expected.txt:
     237        * fast/viewport/viewport-77.html:
     238        * fast/viewport/viewport-78-expected.txt:
     239        * fast/viewport/viewport-78.html:
     240        * fast/viewport/viewport-79-expected.txt:
     241        * fast/viewport/viewport-79.html:
     242        * fast/viewport/viewport-8-expected.txt:
     243        * fast/viewport/viewport-8.html:
     244        * fast/viewport/viewport-80-expected.txt:
     245        * fast/viewport/viewport-80.html:
     246        * fast/viewport/viewport-81-expected.txt:
     247        * fast/viewport/viewport-81.html:
     248        * fast/viewport/viewport-82-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-82-expected.txt.
     249        * fast/viewport/viewport-82.html:
     250        * fast/viewport/viewport-83-expected.txt:
     251        * fast/viewport/viewport-83.html:
     252        * fast/viewport/viewport-84-expected.txt: Renamed from LayoutTests/platform/efl/fast/viewport/viewport-87-expected.txt.
     253        * fast/viewport/viewport-84.html:
     254        * fast/viewport/viewport-85-expected.txt:
     255        * fast/viewport/viewport-85.html:
     256        * fast/viewport/viewport-86-expected.txt:
     257        * fast/viewport/viewport-86.html:
     258        * fast/viewport/viewport-87-expected.txt: Renamed from LayoutTests/platform/gtk/fast/viewport/viewport-87-expected.txt.
     259        * fast/viewport/viewport-87.html:
     260        * fast/viewport/viewport-88-expected.txt:
     261        * fast/viewport/viewport-88.html:
     262        * fast/viewport/viewport-9-expected.txt:
     263        * fast/viewport/viewport-9.html:
     264        * fast/viewport/viewport-90-expected.txt:
     265        * fast/viewport/viewport-90.html:
     266        * fast/viewport/viewport-91-expected.txt:
     267        * fast/viewport/viewport-91.html:
     268        * fast/viewport/viewport-legacy-handheldfriendly-expected.txt:
     269        * fast/viewport/viewport-legacy-handheldfriendly.html:
     270        * fast/viewport/viewport-legacy-mobileoptimized-2-expected.txt:
     271        * fast/viewport/viewport-legacy-mobileoptimized-2.html:
     272        * fast/viewport/viewport-legacy-mobileoptimized-3-expected.txt:
     273        * fast/viewport/viewport-legacy-mobileoptimized-3.html:
     274        * fast/viewport/viewport-legacy-mobileoptimized-expected.txt:
     275        * fast/viewport/viewport-legacy-mobileoptimized.html:
     276        * fast/viewport/viewport-legacy-ordering-1-expected.txt:
     277        * fast/viewport/viewport-legacy-ordering-1.html:
     278        * fast/viewport/viewport-legacy-ordering-2-expected.txt:
     279        * fast/viewport/viewport-legacy-ordering-2.html:
     280        * fast/viewport/viewport-legacy-ordering-3-expected.txt:
     281        * fast/viewport/viewport-legacy-ordering-3.html:
     282        * fast/viewport/viewport-legacy-ordering-4-expected.txt:
     283        * fast/viewport/viewport-legacy-ordering-4.html:
     284        * fast/viewport/viewport-legacy-ordering-5-expected.txt:
     285        * fast/viewport/viewport-legacy-ordering-5.html:
     286        * fast/viewport/viewport-legacy-ordering-6-expected.txt:
     287        * fast/viewport/viewport-legacy-ordering-6.html:
     288        * fast/viewport/viewport-legacy-ordering-7-expected.txt:
     289        * fast/viewport/viewport-legacy-ordering-7.html:
     290        * fast/viewport/viewport-legacy-ordering-8-expected.txt:
     291        * fast/viewport/viewport-legacy-ordering-8.html:
     292        * fast/viewport/viewport-legacy-ordering-9-expected.txt:
     293        * fast/viewport/viewport-legacy-ordering-9.html:
     294        * fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype-expected.txt:
     295        * fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
     296        * fast/viewport/viewport-legacy-xhtmlmp-ordering-expected.txt:
     297        * fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
     298        * fast/viewport/viewport-legacy-xhtmlmp.html:
     299        * fast/viewport/viewport-warnings-1-expected.txt:
     300        * fast/viewport/viewport-warnings-1.html:
     301        * fast/viewport/viewport-warnings-2-expected.txt:
     302        * fast/viewport/viewport-warnings-2.html:
     303        * fast/viewport/viewport-warnings-3-expected.txt:
     304        * fast/viewport/viewport-warnings-3.html:
     305        * fast/viewport/viewport-warnings-4-expected.txt:
     306        * fast/viewport/viewport-warnings-4.html:
     307        * fast/viewport/viewport-warnings-5-expected.txt:
     308        * fast/viewport/viewport-warnings-5.html:
     309        * fast/viewport/viewport-warnings-6-expected.txt:
     310        * fast/viewport/viewport-warnings-6.html:
     311        * platform/chromium/TestExpectations:
     312        * platform/efl/fast/viewport/viewport-126-expected.txt: Removed.
     313        * platform/efl/fast/viewport/viewport-127-expected.txt: Removed.
     314        * platform/efl/fast/viewport/viewport-65-expected.txt: Removed.
     315        * platform/efl/fast/viewport/viewport-82-expected.txt: Removed.
     316        * platform/efl/fast/viewport/viewport-84-expected.txt: Removed.
     317        * platform/gtk/TestExpectations:
     318        * platform/gtk/fast/viewport/viewport-84-expected.txt: Removed.
     319        * platform/gtk/fast/viewport/viewport-legacy-handheldfriendly-expected.txt: Removed.
     320        * platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-2-expected.txt: Removed.
     321        * platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-3-expected.txt: Removed.
     322        * platform/gtk/fast/viewport/viewport-legacy-mobileoptimized-expected.txt: Removed.
     323        * platform/gtk/fast/viewport/viewport-legacy-ordering-5-expected.txt: Removed.
     324        * platform/gtk/fast/viewport/viewport-legacy-ordering-6-expected.txt: Removed.
     325
    13262012-07-10  Szilard Ledan  <szledan@inf.u-szeged.hu>
    2327
  • trunk/LayoutTests/fast/viewport/viewport-1-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-1.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-10-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 0.250000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 0.25] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-10.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-100-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-100.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-101-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-101.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-102-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-102.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-103-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-103.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-104-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "400" not recognized and ignored.
    3 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-104.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-105-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "400" not recognized and ignored.
    3 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-105.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-106-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "400" not recognized and ignored.
    3 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-106.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-107-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "400" not recognized and ignored.
    3 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-107.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-108-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-108.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-109-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-109.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-11-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 0.326531 with limits [0.326531, 0.500000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 0.5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-11.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-110-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-110.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-111-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-111.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-112-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "." not recognized and ignored.
    2 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-112.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-113-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-113.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-114-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-114.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-115-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-115.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-116-expected.txt

    r81312 r122204  
    1 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-116.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-117-expected.txt

    r81312 r122204  
    1 viewport size 980x400 scale 0.880000 with limits [0.880000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x400 scale 0.88 with limits [0.88, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-117.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-118-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "" not recognized and ignored.
    2 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-118.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-119-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-119.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-12-expected.txt

    r81312 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 0.500000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 0.5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-12.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 230, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 230, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-120-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-120.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-121-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "
    22device-width" for key "width" not recognized. Content ignored.
    3 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-121.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-122-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "
    22device-width" for key "width" not recognized. Content ignored.
    3 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-122.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-123-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-123.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-124-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-124.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-125-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value " device-width" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-125.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-126-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.028572, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-126.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-127-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.028572, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-127.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-128-expected.txt

    r100058 r122204  
    1 viewport size 160x176 scale 2.000000 with limits [2.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 160x176 scale 2 with limits [2, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-128.html

    r79783 r122204  
    2121                } else {
    2222                    // if this point is reached the page is comming from the page cache.
    23                     layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     23                    alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    2424                    setTimeout(function() { if (window.layoutTestController) layoutTestController.notifyDone(); }, 0);
    2525
  • trunk/LayoutTests/fast/viewport/viewport-129-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "123x456" for key "width" was truncated to its numeric prefix.
    2 viewport size 123x135 scale 2.601626 with limits [2.601626, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 123x135.3 scale 2.60163 with limits [2.60163, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-129.html

    r80031 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-13-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 0.500000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 0.5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-13.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-130-expected.txt

    r81341 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable 1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-130.html

    r81341 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-131-expected.txt

    r81356 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 1.000000] and userScalable 0.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 1] and userScalable false
    22
  • trunk/LayoutTests/fast/viewport/viewport-131.html

    r81341 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-132-expected.txt

    r81341 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-132.html

    r81341 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-14-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 1.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 1] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-14.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-15-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-15.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-16-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 5 with limits [5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-16.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-17-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 5 with limits [5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-17.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-18-expected.txt

    r81312 r122204  
    1 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-18.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-19-expected.txt

    r81312 r122204  
    1 viewport size 160x176 scale 2.000000 with limits [2.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 160x176 scale 2 with limits [2, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-19.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-2-expected.txt

    r81312 r122204  
    1 viewport size 980x480 scale 0.733333 with limits [0.733333, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x480 scale 0.733333 with limits [0.733333, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-2.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-20-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-20.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-21-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-21.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-22-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-22.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-23-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 3.000000 with limits [3.000000, 3.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 3 with limits [3, 3] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-23.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-24-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 4.000000 with limits [4.000000, 4.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 4 with limits [4, 4] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-24.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-25-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-25.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-26-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 8.000000 with limits [8.000000, 9.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 8 with limits [8, 9] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-26.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-27-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-27.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-28-expected.txt

    r81312 r122204  
    1 viewport size 480x528 scale 0.666667 with limits [0.666667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 480x528 scale 0.666667 with limits [0.666667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-28.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-29-expected.txt

    r81312 r122204  
    1 viewport size 700x770 scale 0.457143 with limits [0.457143, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 700x770 scale 0.457143 with limits [0.457143, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-29.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-3-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-3.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-30-expected.txt

    r81312 r122204  
    1 viewport size 200x220 scale 1.600000 with limits [1.600000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 200x220 scale 1.6 with limits [1.6, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-30.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-31-expected.txt

    r81312 r122204  
    1 viewport size 980x700 scale 0.502857 with limits [0.502857, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x700 scale 0.502857 with limits [0.502857, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-31.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-32-expected.txt

    r81312 r122204  
    1 viewport size 980x200 scale 1.760000 with limits [1.760000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x200 scale 1.76 with limits [1.76, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-32.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-33-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 2.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 2 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-33.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-34-expected.txt

    r81312 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-34.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-35-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-35.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-36-expected.txt

    r81312 r122204  
    1 viewport size 636x700 scale 1.600000 with limits [0.502857, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 636.364x700 scale 1.6 with limits [0.502857, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-36.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-37-expected.txt

    r81312 r122204  
    1 viewport size 436x480 scale 1.000000 with limits [0.733333, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 436.364x480 scale 1 with limits [0.733333, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-37.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-38-expected.txt

    r81312 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-38.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-39-expected.txt

    r81312 r122204  
    1 viewport size 200x700 scale 1.600000 with limits [1.600000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 200x700 scale 1.6 with limits [1.6, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-39.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-4-expected.txt

    r81312 r122204  
    1 viewport size 160x176 scale 2.000000 with limits [2.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 160x176 scale 2 with limits [2, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-4.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-40-expected.txt

    r81312 r122204  
    1 viewport size 700x480 scale 0.733333 with limits [0.733333, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 700x480 scale 0.733333 with limits [0.733333, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-40.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-41-expected.txt

    r81312 r122204  
    1 viewport size 1000x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 1000x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-41.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-42-expected.txt

    r81312 r122204  
    1 viewport size 320x1000 scale 2.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x1000 scale 2 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-42.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-43-expected.txt

    r81312 r122204  
    1 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-43.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-44-expected.txt

    r81312 r122204  
    1 viewport size 10000x10000 scale 0.250000 with limits [0.250000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 10000x10000 scale 0.25 with limits [0.25, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-44.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-45-expected.txt

    r88134 r122204  
    1 viewport size 3200x3520 scale 0.100000 with limits [0.100000, 0.100000] and userScalable -1.000000
     1ALERT: viewport size 3200x3520 scale 0.1 with limits [0.1, 0.1] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-45.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-46-expected.txt

    r81312 r122204  
    22CONSOLE MESSAGE: line 3: Viewport maximum-scale cannot be larger than 10.0. The maximum-scale will be set to 10.0.
    33CONSOLE MESSAGE: line 3: Viewport maximum-scale cannot be larger than 10.0. The maximum-scale will be set to 10.0.
    4 viewport size 32x35 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     4ALERT: viewport size 32x35.2 scale 10 with limits [10, 10] and userScalable true
    55
  • trunk/LayoutTests/fast/viewport/viewport-46.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-47-expected.txt

    r81312 r122204  
    1 viewport size 320x3000 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x3000 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-47.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-48-expected.txt

    r81312 r122204  
    1 viewport size 3000x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 3000x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-48.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-49-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-49.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-5-expected.txt

    r81312 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-5.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-50-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-50.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-51-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-51.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-52-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "garbage" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-52.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-53-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "y20" for key "height" not recognized. Content ignored.
    2 viewport size 980x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-53.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-54-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "device-width;" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-54.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-55-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "yes" for key "width" not recognized. Content ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument value "no" for key "height" not recognized. Content ignored.
    3 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-55.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-56-expected.txt

    r81312 r122204  
    1 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-56.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-57-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-57.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-58-expected.txt

    r81318 r122204  
    1 viewport size 3200x3520 scale 0.100000 with limits [0.100000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 3200x3520 scale 0.1 with limits [0.1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-58.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-59-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 1.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 1] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-59.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-6-expected.txt

    r81318 r122204  
    1 viewport size 200x220 scale 1.600000 with limits [1.600000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 200x220 scale 1.6 with limits [1.6, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-6.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-60-expected.txt

    r81312 r122204  
    1 viewport size 32x35 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 32x35.2 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-60.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-61-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-61.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-62-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-62.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-63-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-63.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-64-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-64.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-65-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "100;initial-scale" for key "width" was truncated to its numeric prefix.
    22CONSOLE MESSAGE: line 3: Viewport argument key "1" not recognized and ignored.
    3 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-65.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-66-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key ";initial-scale" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-66.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-67-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "100;" for key "width" was truncated to its numeric prefix.
    2 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-67.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-68-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "100x" for key "width" was truncated to its numeric prefix.
    2 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-68.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-69-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "xinitial-scale" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-69.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-7-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 0.250000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 0.25] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-7.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-70-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-70.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-71-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x" not recognized and ignored.
    2 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-71.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-72-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x;initial-scale" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-72.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-73-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x;" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-73.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-74-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x;" not recognized and ignored.
    2 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-74.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-75-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "x;" not recognized and ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-75.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-76-expected.txt

    r81312 r122204  
    1 viewport size 32x35 scale 10.000000 with limits [10.000000, 10.000000] and userScalable -1.000000
     1ALERT: viewport size 32x35.2 scale 10 with limits [10, 10] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-76.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-77-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key ";" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument value "yes;" for key "initial-scale" not recognized. Content ignored.
    3 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-77.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-78-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "a" not recognized and ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "1" not recognized and ignored.
    3 viewport size 100x110 scale 3.200000 with limits [3.200000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 100x110 scale 3.2 with limits [3.2, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-78.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-79-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "a" not recognized and ignored.
    2 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-79.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-8-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 0.250000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 0.25] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-8.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-80-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-80.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-81-expected.txt

    r81312 r122204  
    1 viewport size 3000x3300 scale 0.250000 with limits [0.250000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 3000x3300 scale 0.25 with limits [0.25, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-81.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-82-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "400%" for key "width" was truncated to its numeric prefix.
    2 viewport size 400x440 scale 0.800000 with limits [0.800000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 400x440 scale 0.8 with limits [0.8, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-82.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-83-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "height" for key "width" not recognized. Content ignored.
    22CONSOLE MESSAGE: line 3: Viewport argument key "830" not recognized and ignored.
    3 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     3ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    44
  • trunk/LayoutTests/fast/viewport/viewport-83.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-84-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x480 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-84.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-85-expected.txt

    r81312 r122204  
    1 viewport size 540x594 scale 0.592593 with limits [0.592593, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 540x594 scale 0.592593 with limits [0.592593, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-85.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-86-expected.txt

    r115998 r122204  
    1 viewport size 457x502 scale 0.700000 with limits [0.700000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 457.143x502.857 scale 0.7 with limits [0.7, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-86.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-87-expected.txt

    r122203 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.028572, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-87.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-88-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "width:680" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-88.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-9-expected.txt

    r81312 r122204  
    1 viewport size 1280x1408 scale 0.250000 with limits [0.250000, 0.250000] and userScalable -1.000000
     1ALERT: viewport size 1280x1408 scale 0.25 with limits [0.25, 0.25] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-9.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-90-expected.txt

    r81312 r122204  
    1 viewport size 700x770 scale 0.500000 with limits [0.457143, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 700x770 scale 0.5 with limits [0.457143, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-90.html

    r79783 r122204  
    1010            if (window.layoutTestController) {
    1111                layoutTestController.dumpAsText();
    12                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     12                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1313            }
    1414        }
  • trunk/LayoutTests/fast/viewport/viewport-91-expected.txt

    r81312 r122204  
    1 viewport size 320x356 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x356 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-91.html

    r79783 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(240, 480, 564, 480, 534);
     8                alert(internals.configurationForViewport(document, 1.5, 480, 564, 480, 534));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-handheldfriendly-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-handheldfriendly.html

    r119256 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-2-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-2.html

    r119256 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-3-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-3.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-mobileoptimized.html

    r119256 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-1-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-1.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-2-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-2.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-3-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-3.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-4-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-4.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-5-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-5.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-6-expected.txt

    r119256 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-6.html

    r119256 r122204  
    77            if (window.layoutTestController) {
    88                layoutTestController.dumpAsText();
    9                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     9                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1010            }
    1111        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-7-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-7.html

    r119256 r122204  
    88            if (window.layoutTestController) {
    99                layoutTestController.dumpAsText();
    10                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     10                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1111            }
    1212        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-8-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-8.html

    r119256 r122204  
    88            if (window.layoutTestController) {
    99                layoutTestController.dumpAsText();
    10                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     10                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1111            }
    1212        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-9-expected.txt

    r119256 r122204  
    1 viewport size 300x330 scale 1.066667 with limits [1.066667, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 300x330 scale 1.06667 with limits [1.06667, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-ordering-9.html

    r119256 r122204  
    88            if (window.layoutTestController) {
    99                layoutTestController.dumpAsText();
    10                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     10                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    1111            }
    1212        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype-expected.txt

    r116571 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html

    r116571 r122204  
    2525            if (window.layoutTestController) {
    2626                layoutTestController.dumpAsText();
    27                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     27                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    2828            }
    2929        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-ordering-expected.txt

    r116571 r122204  
    1 viewport size 640x704 scale 0.500000 with limits [0.500000, 5.000000] and userScalable -1.000000
     1ALERT: viewport size 640x704 scale 0.5 with limits [0.5, 5] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-ordering.html

    r116571 r122204  
    2222            if (window.layoutTestController) {
    2323                layoutTestController.dumpAsText();
    24                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     24                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    2525            }
    2626        }
  • trunk/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp.html

    r116571 r122204  
    1818            if (window.layoutTestController) {
    1919                layoutTestController.dumpAsText();
    20                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     20                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    2121            }
    2222        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-1-expected.txt

    r81312 r122204  
    1 viewport size 320x352 scale 1.000000 with limits [1.000000, 2.000000] and userScalable -1.000000
     1ALERT: viewport size 320x352 scale 1 with limits [1, 2] and userScalable true
    22
  • trunk/LayoutTests/fast/viewport/viewport-warnings-1.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-2-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument key "wwidth" not recognized and ignored.
    2 viewport size 980x1078 scale 0.326531 with limits [0.326531, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 980x1078 scale 0.326531 with limits [0.326531, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-warnings-2.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-3-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "unrecognized-width" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-warnings-3.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-4-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "123x456" for key "width" was truncated to its numeric prefix.
    2 viewport size 123x135 scale 2.601626 with limits [2.601626, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 123x135.3 scale 2.60163 with limits [2.60163, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-warnings-4.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-5-expected.txt

    r81312 r122204  
    33CONSOLE MESSAGE: line 3: Viewport argument value "1.0;" for key "maximum-scale" was truncated to its numeric prefix.
    44CONSOLE MESSAGE: line 3: Viewport argument value "0;" for key "user-scalable" was truncated to its numeric prefix.
    5 viewport size 320x352 scale 1.000000 with limits [1.000000, 1.000000] and userScalable 0.000000
     5ALERT: viewport size 320x352 scale 1 with limits [1, 1] and userScalable false
    66
  • trunk/LayoutTests/fast/viewport/viewport-warnings-5.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/fast/viewport/viewport-warnings-6-expected.txt

    r81312 r122204  
    11CONSOLE MESSAGE: line 3: Viewport argument value "" for key "width" not recognized. Content ignored.
    2 viewport size 64x70 scale 5.000000 with limits [5.000000, 5.000000] and userScalable -1.000000
     2ALERT: viewport size 64x70.4 scale 5 with limits [5, 5] and userScalable true
    33
  • trunk/LayoutTests/fast/viewport/viewport-warnings-6.html

    r80483 r122204  
    66            if (window.layoutTestController) {
    77                layoutTestController.dumpAsText();
    8                 layoutTestController.dumpConfigurationForViewport(160, 320, 480, 320, 352);
     8                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
    99            }
    1010        }
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r122199 r122204  
    11301130
    11311131// Feature disabled on chromium build, see: https://bugs.webkit.org/show_bug.cgi?id=85425
    1132 WONTFIX SKIP : fast/viewport/viewport-legacy-xhtmlmp.html = PASS
     1132WONTFIX SKIP : fast/viewport/viewport-legacy-xhtmlmp.html = TEXT
     1133WONTFIX SKIP : fast/viewport/viewport-legacy-handheldfriendly.html = TEXT
     1134WONTFIX SKIP : fast/viewport/viewport-legacy-mobileoptimized-2.html = TEXT
     1135WONTFIX SKIP : fast/viewport/viewport-legacy-mobileoptimized-3.html = TEXT
     1136WONTFIX SKIP : fast/viewport/viewport-legacy-mobileoptimized.html = TEXT
     1137WONTFIX SKIP : fast/viewport/viewport-legacy-ordering-5.html = TEXT
     1138WONTFIX SKIP : fast/viewport/viewport-legacy-ordering-6.html = TEXT
    11331139
    11341140// We haven't implemented reverse audio/video playback.
     
    20882094BUGWK45061 : fast/forms/focus2.html = TEXT
    20892095
    2090 // We don't support LayoutTestController.dumpConfigurationForViewport
    2091 BUGWK45652 : fast/viewport = TEXT
    2092 BUGWK45652 : fast/viewport/viewport-65.html = MISSING
    2093 BUGWK45652 : fast/viewport/viewport-82.html = MISSING
    2094 BUGWK45652 : fast/viewport/viewport-84.html = MISSING
    2095 BUGWK45652 : fast/viewport/viewport-87.html = MISSING
    2096 BUGWK45652 : fast/viewport/viewport-126.html = MISSING
    2097 BUGWK45652 : fast/viewport/viewport-127.html = MISSING
    2098 BUGWK45652 : fast/viewport/viewport-128.html = TIMEOUT TEXT
    2099 BUGWK45652 : fast/viewport/viewport-129.html = TIMEOUT MISSING TEXT
    2100 BUGWK45652 : fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html = PASS
     2096// Requires page cache.
     2097BUGWK45652 : fast/viewport/viewport-128.html = TIMEOUT
    21012098
    21022099BUGWK45737 BUGCR100056 DEBUG : fast/frames/frame-limit.html = TIMEOUT
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r122112 r122204  
    4343// Feature disabled, see: https://bugs.webkit.org/show_bug.cgi?id=85425
    4444BUGWKGTK SKIP : fast/viewport/viewport-legacy-xhtmlmp.html = TEXT
     45BUGWKGTK SKIP : fast/viewport/viewport-legacy-handheldfriendly.html = TEXT
     46BUGWKGTK SKIP : fast/viewport/viewport-legacy-mobileoptimized-2.html = TEXT
     47BUGWKGTK SKIP : fast/viewport/viewport-legacy-mobileoptimized-3.html = TEXT
     48BUGWKGTK SKIP : fast/viewport/viewport-legacy-mobileoptimized.html = TEXT
     49BUGWKGTK SKIP : fast/viewport/viewport-legacy-ordering-5.html = TEXT
     50BUGWKGTK SKIP : fast/viewport/viewport-legacy-ordering-6.html = TEXT
    4551
    4652// Ignored because we do not have OBJC bindings (via Chromium).
     
    936942BUGWK44316 : platform/gtk/accessibility/title-and-alt.html = TEXT
    937943
    938 // viewport meta tag tests that differ from the Opera results
    939 BUGWKGTK : fast/viewport/viewport-87.html = TEXT
    940 BUGWKGTK : fast/viewport/viewport-126.html = TEXT
    941 BUGWKGTK : fast/viewport/viewport-127.html = TEXT
    942 
    943944// LayoutTestController::addUserScript not implemented for gtk
    944945BUGWKGTK : plugins/plugin-document-load-prevented-userscript.html = TEXT
  • trunk/Source/WebCore/ChangeLog

    r122202 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        This patch replaces LayoutTestController.dumpConfigurationForViewport
     9        with Internals.configurationForViewport. The old
     10        dumpConfigurationForViewport function just ended up calling WebCore
     11        functions anyway, so there's no benefit in implementing the API in the
     12        LayoutTestController.
     13
     14        As a result, these tests can now run on every port.
     15
     16        * testing/Internals.cpp:
     17        (WebCore::Internals::configurationForViewport):
     18        (WebCore):
     19        * testing/Internals.h:
     20        (Internals):
     21        * testing/Internals.idl:
     22
    1232012-07-10  Carlos Garcia Campos  <cgarcia@igalia.com>
    224
  • trunk/Source/WebCore/WebCore.exp.in

    r122178 r122204  
    12741274__ZNK7WebCore4Page14renderTreeSizeEv
    12751275__ZNK7WebCore4Page15backForwardListEv
     1276__ZNK7WebCore4Page17viewportArgumentsEv
    12761277__ZNK7WebCore4Page34inLowQualityImageInterpolationModeEv
    12771278__ZNK7WebCore4Page9groupNameEv
  • trunk/Source/WebCore/testing/Internals.cpp

    r122178 r122204  
    6666#include "TextRun.h"
    6767#include "TreeScope.h"
     68#include "ViewportArguments.h"
    6869
    6970#if ENABLE(INPUT_TYPE_COLOR)
     
    635636}
    636637
     638String Internals::configurationForViewport(Document* document, float devicePixelRatio, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight, ExceptionCode& ec)
     639{
     640    if (!document || !document->page()) {
     641        ec = INVALID_ACCESS_ERR;
     642        return String();
     643    }
     644
     645    const int defaultLayoutWidthForNonMobilePages = 980;
     646
     647    ViewportArguments arguments = document->page()->viewportArguments();
     648    ViewportAttributes attributes = computeViewportAttributes(arguments, defaultLayoutWidthForNonMobilePages, deviceWidth, deviceHeight, devicePixelRatio, IntSize(availableWidth, availableHeight));
     649    restrictMinimumScaleFactorToViewportSize(attributes, IntSize(availableWidth, availableHeight));
     650    restrictScaleFactorToInitialScaleIfNotUserScalable(attributes);
     651
     652    return "viewport size " + String::number(attributes.layoutSize.width()) + "x" + String::number(attributes.layoutSize.height()) + " scale " + String::number(attributes.initialScale) + " with limits [" + String::number(attributes.minimumScale) + ", " + String::number(attributes.maximumScale) + "] and userScalable " + (attributes.userScalable ? "true" : "false");
     653}
     654
    637655void Internals::reset(Document* document)
    638656{
  • trunk/Source/WebCore/testing/Internals.h

    r122178 r122204  
    118118
    119119    void setPagination(Document*, const String& mode, int gap, ExceptionCode&);
     120    String configurationForViewport(Document*, float devicePixelRatio, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight, ExceptionCode&);
    120121
    121122    bool wasLastChangeUserEdit(Element* textField, ExceptionCode&);
  • trunk/Source/WebCore/testing/Internals.idl

    r122178 r122204  
    8989        void setPagination(in Document document, in DOMString mode, in long gap) raises(DOMException);
    9090
     91        DOMString configurationForViewport(in Document document,
     92                                           in float devicePixelRatio,
     93                                           in long deviceWidth,
     94                                           in long deviceHeight,
     95                                           in long availableWidth,
     96                                           in long availableHeight) raises(DOMException);
     97
    9198        boolean wasLastChangeUserEdit(in Element textField) raises (DOMException);
    9299        DOMString suggestedValue(in Element inputElement) raises (DOMException);
  • trunk/Source/WebKit/blackberry/ChangeLog

    r122162 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        * WebKitSupport/DumpRenderTreeSupport.cpp:
     9        * WebKitSupport/DumpRenderTreeSupport.h:
     10        (DumpRenderTreeSupport):
     11
    1122012-07-09  Yong Li  <yoli@rim.com>
    213
  • trunk/Source/WebKit/blackberry/WebKitSupport/DumpRenderTreeSupport.cpp

    r121555 r122204  
    8585}
    8686
    87 void DumpRenderTreeSupport::dumpConfigurationForViewport(Frame* mainFrame, int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    88 {
    89     ViewportArguments arguments = mainFrame->page()->viewportArguments();
    90     ViewportAttributes attrs = computeViewportAttributes(arguments, /* default layout width for non-mobile pages */ 980, deviceWidth, deviceHeight, deviceDPI / ViewportArguments::deprecatedTargetDPI, IntSize(availableWidth, availableHeight));
    91     restrictMinimumScaleFactorToViewportSize(attrs, IntSize(availableWidth, availableHeight));
    92     restrictScaleFactorToInitialScaleIfNotUserScalable(attrs);
    93 
    94     fprintf(stdout, "viewport size %dx%d scale %f with limits [%f, %f] and userScalable %f\n", static_cast<int>(attrs.layoutSize.width()), static_cast<int>(attrs.layoutSize.height()), attrs.initialScale, attrs.minimumScale, attrs.maximumScale, attrs.userScalable);
    95 }
    96 
    9787int DumpRenderTreeSupport::numberOfPendingGeolocationPermissionRequests(WebPage* webPage)
    9888{
  • trunk/Source/WebKit/blackberry/WebKitSupport/DumpRenderTreeSupport.h

    r109051 r122204  
    5151    static void garbageCollectorCollectOnAlternateThread(bool waitUntilDone);
    5252
    53     static void dumpConfigurationForViewport(WebCore::Frame* mainFrame, int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    54 
    5553    static int numberOfPendingGeolocationPermissionRequests(BlackBerry::WebKit::WebPage*);
    5654    static void resetGeolocationMock(BlackBerry::WebKit::WebPage*);
  • trunk/Source/WebKit/efl/ChangeLog

    r122197 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
     9        * WebCoreSupport/DumpRenderTreeSupportEfl.h:
     10
    1112012-07-09  Christophe Dumez  <christophe.dumez@intel.com>
    212
  • trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp

    r122159 r122204  
    578578}
    579579
    580 void DumpRenderTreeSupportEfl::dumpConfigurationForViewport(Evas_Object* ewkView, int deviceDPI, const WebCore::IntSize& deviceSize, const WebCore::IntSize& availableSize)
    581 {
    582     WebCore::Page* page = EWKPrivate::corePage(ewkView);
    583 
    584     if (!page)
    585         return;
    586     WebCore::ViewportArguments arguments = page->mainFrame()->document()->viewportArguments();
    587     WebCore::ViewportAttributes attributes = computeViewportAttributes(arguments,
    588             /* default layout width for non-mobile pages */ 980,
    589             deviceSize.width(), deviceSize.height(),
    590             deviceDPI / WebCore::ViewportArguments::deprecatedTargetDPI,
    591             availableSize);
    592     restrictMinimumScaleFactorToViewportSize(attributes, availableSize);
    593     restrictScaleFactorToInitialScaleIfNotUserScalable(attributes);
    594     fprintf(stdout, "viewport size %dx%d scale %f with limits [%f, %f] and userScalable %f\n", static_cast<int>(attributes.layoutSize.width()), static_cast<int>(attributes.layoutSize.height()), attributes.initialScale, attributes.minimumScale, attributes.maximumScale, attributes.userScalable);
    595 }
    596 
    597580void DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary()
    598581{
  • trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h

    r120294 r122204  
    100100    static void setMockScrollbarsEnabled(bool);
    101101
    102     static void dumpConfigurationForViewport(Evas_Object* ewkView, int deviceDPI, const WebCore::IntSize& deviceSize, const WebCore::IntSize& availableSize);
    103 
    104102    static void deliverAllMutationsIfNecessary();
    105103    static String markerTextForListItem(JSContextRef, JSValueRef nodeObject);
  • trunk/Source/WebKit/gtk/ChangeLog

    r122159 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
     9        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
     10        (DumpRenderTreeSupportGtk):
     11
    1122012-07-09  Adam Klein  <adamk@chromium.org>
    213
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp

    r122159 r122204  
    618618}
    619619
    620 // For testing fast/viewport.
    621 void DumpRenderTreeSupportGtk::dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight)
    622 {
    623     g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView));
    624 
    625     ViewportArguments arguments = webView->priv->corePage->mainFrame()->document()->viewportArguments();
    626     ViewportAttributes attrs = computeViewportAttributes(arguments, /* default layout width for non-mobile pages */ 980, deviceWidth, deviceHeight, deviceDPI / ViewportArguments::deprecatedTargetDPI, IntSize(availableWidth, availableHeight));
    627     restrictMinimumScaleFactorToViewportSize(attrs, IntSize(availableWidth, availableHeight));
    628     restrictScaleFactorToInitialScaleIfNotUserScalable(attrs);
    629     fprintf(stdout, "viewport size %dx%d scale %f with limits [%f, %f] and userScalable %f\n", static_cast<int>(attrs.layoutSize.width()), static_cast<int>(attrs.layoutSize.height()), attrs.initialScale, attrs.minimumScale, attrs.maximumScale, attrs.userScalable);
    630 }
    631 
    632620void DumpRenderTreeSupportGtk::clearOpener(WebKitWebFrame* frame)
    633621{
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h

    r122112 r122204  
    5353    static void setSelectTrailingWhitespaceEnabled(bool);
    5454    static bool selectTrailingWhitespaceEnabled();
    55 
    56     static void dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight);
    5755
    5856    static void clearOpener(WebKitWebFrame*);
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp

    r114367 r122204  
    368368}
    369369
    370 WKStringRef WKBundlePageViewportConfigurationAsText(WKBundlePageRef pageRef, int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    371 {
    372     return toCopiedAPI(toImpl(pageRef)->viewportConfigurationAsText(deviceDPI, deviceWidth, deviceHeight, availableWidth, availableHeight));
    373 }
    374 
    375370void WKBundlePageSetComposition(WKBundlePageRef pageRef, WKStringRef text, int from, int length)
    376371{
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h

    r110397 r122204  
    6767WK_EXPORT WKArrayRef WKBundlePageCopyTrackedRepaintRects(WKBundlePageRef page);
    6868
    69 WK_EXPORT WKStringRef WKBundlePageViewportConfigurationAsText(WKBundlePageRef, int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    70 
    7169WK_EXPORT void WKBundlePageSetComposition(WKBundlePageRef page, WKStringRef text, int from, int length);
    7270WK_EXPORT bool WKBundlePageHasComposition(WKBundlePageRef page);
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp

    r122153 r122204  
    31273127}
    31283128
    3129 String WebPage::viewportConfigurationAsText(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    3130 {
    3131     ViewportArguments arguments = mainFrame()->document()->viewportArguments();
    3132     ViewportAttributes attrs = WebCore::computeViewportAttributes(arguments, /* default layout width for non-mobile pages */ 980,
    3133                                                                   deviceWidth, deviceHeight, deviceDPI / ViewportArguments::deprecatedTargetDPI, IntSize(availableWidth, availableHeight));
    3134     WebCore::restrictMinimumScaleFactorToViewportSize(attrs, IntSize(availableWidth, availableHeight));
    3135     WebCore::restrictScaleFactorToInitialScaleIfNotUserScalable(attrs);
    3136     return String::format("viewport size %dx%d scale %f with limits [%f, %f] and userScalable %f\n", static_cast<int>(attrs.layoutSize.width()), static_cast<int>(attrs.layoutSize.height()), attrs.initialScale, attrs.minimumScale, attrs.maximumScale, attrs.userScalable);
    3137 }
    3138 
    31393129void WebPage::setCompositionForTesting(const String& compositionString, uint64_t from, uint64_t length)
    31403130{
  • trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h

    r120890 r122204  
    529529    void simulateMouseUp(int button, WebCore::IntPoint, int clickCount, WKEventModifiers, double time);
    530530    void simulateMouseMotion(WebCore::IntPoint, double time);
    531     String viewportConfigurationAsText(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    532531
    533532#if ENABLE(CONTEXT_MENUS)
  • trunk/Source/WebKit2/win/WebKit2.def

    r122178 r122204  
    262262        ?webkitWillExitFullScreenForElement@Document@WebCore@@QAEXPAVElement@2@@Z
    263263        ?webkitDidExitFullScreenForElement@Document@WebCore@@QAEXPAVElement@2@@Z
     264        ?restrictScaleFactorToInitialScaleIfNotUserScalable@WebCore@@YAXAAUViewportAttributes@1@@Z
     265        ?restrictMinimumScaleFactorToViewportSize@WebCore@@YAXAAUViewportAttributes@1@VIntSize@1@@Z
     266        ?computeViewportAttributes@WebCore@@YA?AUViewportAttributes@1@UViewportArguments@1@HHHMVIntSize@1@@Z
     267        ?viewportArguments@Page@WebCore@@QBE?AUViewportArguments@2@XZ
    264268        ?isPageBoxVisible@Document@WebCore@@QAE_NH@Z
    265269        ?isActive@InsertionPoint@WebCore@@QBE_NXZ
  • trunk/Source/WebKit2/win/WebKit2CFLite.def

    r121518 r122204  
    251251        ?nodesFromRect@Document@WebCore@@QBE?AV?$PassRefPtr@VNodeList@WebCore@@@WTF@@HHIIII_N0@Z
    252252        ?selectionStartHasMarkerFor@Editor@WebCore@@QBE_NW4MarkerType@DocumentMarker@2@HH@Z
     253        ?restrictScaleFactorToInitialScaleIfNotUserScalable@WebCore@@YAXAAUViewportAttributes@1@@Z
     254        ?restrictMinimumScaleFactorToViewportSize@WebCore@@YAXAAUViewportAttributes@1@VIntSize@1@@Z
     255        ?computeViewportAttributes@WebCore@@YA?AUViewportAttributes@1@UViewportArguments@1@HHHMVIntSize@1@@Z
     256        ?viewportArguments@Page@WebCore@@QBE?AUViewportArguments@2@XZ
    253257        ?isPageBoxVisible@Document@WebCore@@QAE_NH@Z
    254258        ?isActive@InsertionPoint@WebCore@@QBE_NXZ
  • trunk/Source/autotools/symbols.filter

    r122178 r122204  
    8585_ZN7WebCore24ComposedShadowTreeWalker9lastChildEv;
    8686_ZN7WebCore24DocumentMarkerController10markersForEPNS_4NodeENS_14DocumentMarker11MarkerTypesE;
     87_ZN7WebCore25computeViewportAttributesENS_17ViewportArgumentsEiiifNS_7IntSizeE;
    8788_ZN7WebCore30overrideUserPreferredLanguagesERKN3WTF6VectorINS0_6StringELj0EEE;
    8889_ZN7WebCore30overrideUserPreferredLanguagesERKN3WTF6VectorINS0_6StringELm0EEE;
     90_ZN7WebCore40restrictMinimumScaleFactorToViewportSizeERNS_18ViewportAttributesENS_7IntSizeE;
    8991_ZN7WebCore4toJSEPN3JSC9ExecStateEPNS_17JSDOMGlobalObjectEPNS_13DOMStringListE;
     92_ZN7WebCore50restrictScaleFactorToInitialScaleIfNotUserScalableERNS_18ViewportAttributesE;
    9093_ZN7WebCore6JSNode10putVirtualEPN3JSC9ExecStateERKNS1_10IdentifierENS1_7JSValueERNS1_15PutPropertySlotE;
    9194_ZN7WebCore6JSNode20visitChildrenVirtualERN3JSC11SlotVisitorE;
     
    105108_ZNK7WebCore4Node31numberOfScopedHTMLStyleChildrenEv;
    106109_ZNK7WebCore4Node9treeScopeEv;
     110_ZNK7WebCore4Page17viewportArgumentsEv;
    107111_ZNK7WebCore12RenderObject23absoluteBoundingBoxRectEb;
    108112_ZNK7WebCore16HTMLInputElement14suggestedValueEv;
  • trunk/Tools/ChangeLog

    r122195 r122204  
     12012-07-10  Adam Barth  <abarth@webkit.org>
     2
     3        LayoutTestController.dumpConfigurationForViewport should move to Internals
     4        https://bugs.webkit.org/show_bug.cgi?id=45652
     5
     6        Reviewed by Eric Seidel.
     7
     8        Remove dumpConfigurationForViewport from LayoutTestController. This API
     9        has been replaced by an API on Internals that does the same thing in a
     10        port-agnostic way.
     11
     12        * DumpRenderTree/LayoutTestController.cpp:
     13        (LayoutTestController::staticFunctions):
     14        * DumpRenderTree/LayoutTestController.h:
     15        (LayoutTestController):
     16        * DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp:
     17        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
     18        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
     19        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
     20        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
     21        * DumpRenderTree/qt/LayoutTestControllerQt.h:
     22        (LayoutTestController):
     23        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
     24        * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
     25
    1262012-07-09  Matt Falkenhagen  <falken@chromium.org>
    227
  • trunk/Tools/DumpRenderTree/LayoutTestController.cpp

    r122174 r122204  
    161161}
    162162
    163 static JSValueRef dumpConfigurationForViewportCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    164 {
    165     if (argumentCount < 2)
    166         return JSValueMakeUndefined(context);
    167 
    168 
    169     double deviceDPI = JSValueToNumber(context, arguments[0], exception);
    170     ASSERT(!*exception);
    171     double deviceWidth = JSValueToNumber(context, arguments[1], exception);
    172     ASSERT(!*exception);
    173     double deviceHeight = JSValueToNumber(context, arguments[2], exception);
    174     ASSERT(!*exception);
    175     double availableWidth = JSValueToNumber(context, arguments[3], exception);
    176     ASSERT(!*exception);
    177     double availableHeight = JSValueToNumber(context, arguments[4], exception);
    178     ASSERT(!*exception);
    179 
    180     LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject));
    181     controller->dumpConfigurationForViewport(static_cast<int>(deviceDPI), static_cast<int>(deviceWidth), static_cast<int>(deviceHeight), static_cast<int>(availableWidth), static_cast<int>(availableHeight));
    182 
    183     return JSValueMakeUndefined(context);
    184 }
    185 
    186163static JSValueRef dumpDatabaseCallbacksCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    187164{
     
    23212298        { "dumpChildFrameScrollPositions", dumpChildFrameScrollPositionsCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    23222299        { "dumpChildFramesAsText", dumpChildFramesAsTextCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    2323         { "dumpConfigurationForViewport", dumpConfigurationForViewportCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    23242300        { "dumpDOMAsWebArchive", dumpDOMAsWebArchiveCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    23252301        { "dumpDatabaseCallbacks", dumpDatabaseCallbacksCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
  • trunk/Tools/DumpRenderTree/LayoutTestController.h

    r122174 r122204  
    328328    void abortModal();
    329329
    330     void dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    331 
    332330    static void setSerializeHTTPLoads(bool serialize);
    333331
  • trunk/Tools/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp

    r120627 r122204  
    741741}
    742742
    743 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    744 {
    745     if (!mainFrame)
    746         return;
    747 
    748     DumpRenderTreeSupport::dumpConfigurationForViewport(mainFrame, deviceDPI, deviceWidth, deviceHeight, availableWidth, availableHeight);
    749 }
    750 
    751743bool LayoutTestController::findString(JSContextRef context, JSStringRef target, JSObjectRef optionsArray)
    752744{
  • trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp

    r122174 r122204  
    834834}
    835835
    836 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    837 {
    838     DumpRenderTreeSupportEfl::dumpConfigurationForViewport(browser->mainView(),
    839             deviceDPI,
    840             WebCore::IntSize(deviceWidth, deviceHeight),
    841             WebCore::IntSize(availableWidth, availableHeight));
    842 }
    843 
    844836void LayoutTestController::setSerializeHTTPLoads(bool serialize)
    845837{
  • trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp

    r122174 r122204  
    944944}
    945945
    946 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    947 {
    948     WebKitWebView* webView = webkit_web_frame_get_web_view(mainFrame);
    949     ASSERT(webView);
    950     DumpRenderTreeSupportGtk::dumpConfigurationForViewport(webView, deviceDPI, deviceWidth, deviceHeight, availableWidth, availableHeight);
    951 }
    952 
    953946void LayoutTestController::setSerializeHTTPLoads(bool serialize)
    954947{
  • trunk/Tools/DumpRenderTree/mac/LayoutTestControllerMac.mm

    r122174 r122204  
    11241124}
    11251125
    1126 void LayoutTestController::dumpConfigurationForViewport(int /*deviceDPI*/, int /*deviceWidth*/, int /*deviceHeight*/, int /*availableWidth*/, int /*availableHeight*/)
    1127 {
    1128 
    1129 }
    1130 
    11311126void LayoutTestController::setSerializeHTTPLoads(bool serialize)
    11321127{
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp

    r121425 r122204  
    259259}
    260260
    261 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    262 {
    263     QString res = DumpRenderTreeSupportQt::viewportAsText(m_drt->webPage(), deviceDPI, QSize(deviceWidth, deviceHeight), QSize(availableWidth, availableHeight));
    264     fputs(qPrintable(res), stdout);
    265 }
    266 
    267261void LayoutTestController::dumpEditingCallbacks()
    268262{
  • trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.h

    r121425 r122204  
    121121    void dumpWillCacheResponse();
    122122    void dumpHistoryCallbacks();
    123     void dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    124123    void setWillSendRequestReturnsNullOnRedirect(bool enabled);
    125124    void setWillSendRequestReturnsNull(bool enabled);
  • trunk/Tools/DumpRenderTree/win/LayoutTestControllerWin.cpp

    r122174 r122204  
    13751375}
    13761376
    1377 void LayoutTestController::dumpConfigurationForViewport(int /*deviceDPI*/, int /*deviceWidth*/, int /*deviceHeight*/, int /*availableWidth*/, int /*availableHeight*/)
    1378 {
    1379     // FIXME: Implement this.
    1380 }
    1381 
    13821377void LayoutTestController::setSerializeHTTPLoads(bool)
    13831378{
  • trunk/Tools/DumpRenderTree/wx/LayoutTestControllerWx.cpp

    r120627 r122204  
    532532}
    533533
    534 void LayoutTestController::dumpConfigurationForViewport(int /*deviceDPI*/, int /*deviceWidth*/, int /*deviceHeight*/, int /*availableWidth*/, int /*availableHeight*/)
    535 {
    536     // FIXME: Implement
    537 }
    538 
    539534JSRetainPtr<JSStringRef> LayoutTestController::pageProperty(const char* propertyName, int pageNumber) const
    540535{
  • trunk/Tools/WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl

    r121308 r122204  
    4545        void dumpFrameLoadCallbacks();
    4646        void dumpProgressFinishedCallback();
    47         void dumpConfigurationForViewport(in int deviceDPI, in int deviceWidth, in int deviceHeight, in int availableWidth, in int availableHeight);
    4847
    4948        // Special options.
  • trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp

    r121308 r122204  
    524524}
    525525
    526 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
    527 {
    528     InjectedBundle::shared().stringBuilder()->append(toWTFString(adoptWK(WKBundlePageViewportConfigurationAsText(InjectedBundle::shared().page()->page(), deviceDPI, deviceWidth, deviceHeight, availableWidth, availableHeight))));
    529 }
    530 
    531526typedef WTF::HashMap<unsigned, JSValueRef> CallbackMap;
    532527static CallbackMap& callbackMap()
  • trunk/Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.h

    r121893 r122204  
    7878    void dumpFullScreenCallbacks() { m_dumpFullScreenCallbacks = true; }
    7979    void dumpFrameLoadCallbacks() { setShouldDumpFrameLoadCallbacks(true); }
    80     void dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
    8180    void dumpProgressFinishedCallback() { setShouldDumpProgressFinishedCallback(true); }
    8281
Note: See TracChangeset for help on using the changeset viewer.