Methods on window.internals shouldn't pass a document.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Oct 2013 16:15:45 +0000 (16:15 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Oct 2013 16:15:45 +0000 (16:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=107301

Patch by Afonso R. Costa Jr. <afonso.costa@samsung.com> on 2013-10-28
Reviewed by Alexey Proskuryakov.

Each 'Internals' instance is associated with a 'Document'. So, it
is not necessary to pass a document as argument. Only nodesFromRect and
layerTreeAsText methods were kept because, in some Layout Tests, the
'Document' object is not the same used by Internals::contextDocument.

Source/WebCore:

* testing/Internals.cpp: Removed 'document' parameter.
(WebCore::Internals::animationsAreSuspended):
(WebCore::Internals::suspendAnimations):
(WebCore::Internals::resumeAnimations):
(WebCore::Internals::inspectorHighlightRects):
(WebCore::Internals::inspectorHighlightObject):
(WebCore::Internals::setScrollViewPosition):
(WebCore::Internals::setPagination):
(WebCore::Internals::configurationForViewport):
(WebCore::Internals::paintControlTints):
(WebCore::Internals::setDelegatesScrolling):
(WebCore::Internals::touchPositionAdjustedToBestClickableNode):
(WebCore::Internals::touchNodeAdjustedToBestClickableNode):
(WebCore::Internals::touchPositionAdjustedToBestContextMenuNode):
(WebCore::Internals::touchNodeAdjustedToBestContextMenuNode):
(WebCore::Internals::bestZoomableAreaForTouchPoint):
(WebCore::Internals::lastSpellCheckRequestSequence):
(WebCore::Internals::lastSpellCheckProcessedSequence):
(WebCore::Internals::wheelEventHandlerCount):
(WebCore::Internals::touchEventHandlerCount):
(WebCore::Internals::setBatteryStatus):
(WebCore::Internals::setNetworkInformation):
(WebCore::Internals::setDeviceProximity):
(WebCore::Internals::hasSpellingMarker):
(WebCore::Internals::hasAutocorrectedMarker):
(WebCore::Internals::isOverwriteModeEnabled):
(WebCore::Internals::toggleOverwriteModeEnabled):
(WebCore::Internals::consoleMessageArgumentCounts):
(WebCore::Internals::hasGrammarMarker):
(WebCore::Internals::numberOfScrollableAreas):
(WebCore::Internals::isPageBoxVisible):
(WebCore::Internals::repaintRectsAsText):
(WebCore::Internals::scrollingStateTreeAsText):
(WebCore::Internals::mainThreadScrollingReasons):
(WebCore::Internals::nonFastScrollableRects):
(WebCore::Internals::garbageCollectDocumentResources):
(WebCore::Internals::insertAuthorCSS):
(WebCore::Internals::insertUserCSS):
(WebCore::Internals::shortcutIconURLs):
(WebCore::Internals::allIconURLs):
(WebCore::Internals::setHeaderHeight):
(WebCore::Internals::setFooterHeight):
(WebCore::Internals::webkitWillEnterFullScreenForElement):
(WebCore::Internals::webkitDidEnterFullScreenForElement):
(WebCore::Internals::webkitWillExitFullScreenForElement):
(WebCore::Internals::webkitDidExitFullScreenForElement):
(WebCore::Internals::startTrackingRepaints):
(WebCore::Internals::stopTrackingRepaints):
(WebCore::Internals::getCurrentCursorInfo):
* testing/Internals.h:
(WebCore::Internals::setPagination):
* testing/Internals.idl:

LayoutTests:

* animations/added-while-suspended.html: Removed 'document' parameter.
* animations/play-state-suspend.html:
* animations/stop-animation-on-suspend.html:
* animations/suspend-resume-animation-events.html:
* animations/suspend-resume-animation.html:
* animations/suspend-transform-animation.html:
* batterystatus/resources/event-after-navigation-new.html:
* batterystatus/script-tests/add-listener-from-callback.js:
(firstListener):
* batterystatus/script-tests/basic-all-types-of-events.js:
* batterystatus/script-tests/basic-operation.js:
* batterystatus/script-tests/multiple-frames.js:
* batterystatus/script-tests/updates.js:
(setBatteryStatus):
* compositing/columns/ancestor-clipped-in-paginated.html:
* compositing/columns/clipped-in-paginated.html:
* compositing/columns/composited-columns-vertical-rl.html:
* compositing/columns/composited-in-paginated-rl.html:
* compositing/columns/composited-in-paginated-writing-mode-rl.html:
* compositing/columns/composited-in-paginated.html:
* compositing/columns/composited-lr-paginated-repaint.html:
* compositing/columns/composited-rl-paginated-repaint.html:
* compositing/columns/geometry-map-paginated-assert.html:
* compositing/columns/hittest-composited-in-paginated.html:
* compositing/columns/rotated-in-paginated.html:
* compositing/columns/untransformed-composited-in-paginated.html:
* compositing/iframes/iframe-composited-scrolling.html:
* compositing/layer-creation/fixed-position-in-view-dynamic.html:
* compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
* compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
* compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
* compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
* compositing/overflow/dynamic-composited-scrolling-status.html:
* compositing/overflow/scrolling-without-painting.html:
* compositing/overflow/updating-scrolling-content.html:
* compositing/repaint/absolute-painted-into-composited-ancestor.html:
* compositing/repaint/fixed-background-scroll.html:
* compositing/repaint/invalidations-on-composited-layers.html:
* compositing/repaint/positioned-movement.html:
* compositing/repaint/repaint-on-layer-grouping-change.html:
* compositing/repaint/resize-repaint.html:
* compositing/repaint/scroll-fixed-layer-no-content.html:
* compositing/repaint/scroll-fixed-layer-out-of-view.html:
* editing/caret/selection-with-caret-type-progress.html:
* editing/execCommand/overtype.html:
* editing/selection/block-cursor-overtype-mode.html:
* editing/spelling/design-mode-spellcheck-off.html:
* editing/spelling/grammar-edit-word-expected.txt:
* editing/spelling/grammar-edit-word.html:
* editing/spelling/grammar-markers-hidpi.html:
* editing/spelling/grammar-markers.html:
* editing/spelling/grammar.html:
* editing/spelling/script-tests/spellcheck-paste.js:
(verifyMarker):
* editing/spelling/script-tests/spelling-attribute-at-child.js:
(childHasSpellingMarker):
* editing/spelling/script-tests/spelling-attribute-change.js:
(testSpellCheckingEnabled):
* editing/spelling/script-tests/spelling-backspace-between-lines.js:
(testWithDelete):
(testWithForwardDelete):
* editing/spelling/script-tests/spelling-hasspellingmarker.js:
(hasMarked):
* editing/spelling/spellcheck-async-mutation.html:
* editing/spelling/spellcheck-attribute-expected.txt:
* editing/spelling/spellcheck-attribute.html:
* editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
* editing/spelling/spellcheck-paste-continuous-disabled.html:
* editing/spelling/spellcheck-paste-disabled-expected.txt:
* editing/spelling/spellcheck-paste-disabled.html:
* editing/spelling/spellcheck-sequencenum.html:
* editing/spelling/spelling-attribute-change-expected.txt:
* editing/spelling/spelling-backspace-between-lines-expected.txt:
* editing/spelling/spelling-linebreak.html:
* fast/box-shadow/shadow-repaint.html:
* fast/css/webkit-mask-crash-fieldset-legend.html:
* fast/css/webkit-mask-crash-figure.html:
* fast/css/webkit-mask-crash-table.html:
* fast/css/webkit-mask-crash-td-2.html:
* fast/css/webkit-mask-crash-td.html:
* fast/dom/icon-url-change.html:
* fast/dom/icon-url-list-apple-touch.html:
* fast/dom/icon-url-list.html:
* fast/dom/icon-url-property.html:
* fast/events/mouse-cursor-change.html:
* fast/events/mouse-cursor-image-set.html:
* fast/events/mouse-cursor-multiframecur.html:
* fast/events/mouse-cursor-no-mousemove.html:
* fast/events/mouse-cursor.html:
* fast/events/touch/touch-handler-count-expected.txt:
* fast/events/touch/touch-handler-count.html:
* fast/events/touch/touch-input-element-change-documents-expected.txt:
* fast/events/touch/touch-input-element-change-documents.html:
* fast/multicol/hit-test-gap-between-pages-flipped.html:
* fast/multicol/hit-test-gap-between-pages.html:
* fast/multicol/pagination-h-horizontal-bt.html:
* fast/multicol/pagination-h-horizontal-tb.html:
* fast/multicol/pagination-h-vertical-lr.html:
* fast/multicol/pagination-h-vertical-rl.html:
* fast/multicol/pagination-v-horizontal-bt.html:
* fast/multicol/pagination-v-horizontal-tb.html:
* fast/multicol/pagination-v-vertical-lr.html:
* fast/multicol/pagination-v-vertical-rl.html:
* fast/multicol/pagination/BottomToTop-bt.html:
* fast/multicol/pagination/BottomToTop-lr.html:
* fast/multicol/pagination/BottomToTop-rl.html:
* fast/multicol/pagination/BottomToTop-tb.html:
* fast/multicol/pagination/LeftToRight-bt.html:
* fast/multicol/pagination/LeftToRight-lr.html:
* fast/multicol/pagination/LeftToRight-rl.html:
* fast/multicol/pagination/LeftToRight-tb.html:
* fast/multicol/pagination/RightToLeft-bt.html:
* fast/multicol/pagination/RightToLeft-lr.html:
* fast/multicol/pagination/RightToLeft-rl.html:
* fast/multicol/pagination/RightToLeft-tb.html:
* fast/multicol/pagination/TopToBottom-bt.html:
* fast/multicol/pagination/TopToBottom-lr.html:
* fast/multicol/pagination/TopToBottom-rl.html:
* fast/multicol/pagination/TopToBottom-tb.html:
* fast/multicol/shrink-to-column-height-for-pagination.html:
* fast/repaint/background-shorthand-with-gradient-and-height-changes.html:
* fast/repaint/obscured-background-no-repaint.html:
* fast/repaint/resources/text-based-repaint.js:
(runRepaintTest):
* fast/scrolling/resources/scrollable-area.js:
(end):
* fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html:
* fast/viewport/viewport-1.html:
* fast/viewport/viewport-10.html:
* fast/viewport/viewport-100.html:
* fast/viewport/viewport-101.html:
* fast/viewport/viewport-102.html:
* fast/viewport/viewport-103.html:
* fast/viewport/viewport-104.html:
* fast/viewport/viewport-105.html:
* fast/viewport/viewport-106.html:
* fast/viewport/viewport-107.html:
* fast/viewport/viewport-108.html:
* fast/viewport/viewport-109.html:
* fast/viewport/viewport-11.html:
* fast/viewport/viewport-110.html:
* fast/viewport/viewport-111.html:
* fast/viewport/viewport-112.html:
* fast/viewport/viewport-113.html:
* fast/viewport/viewport-114.html:
* fast/viewport/viewport-115.html:
* fast/viewport/viewport-116.html:
* fast/viewport/viewport-117.html:
* fast/viewport/viewport-118.html:
* fast/viewport/viewport-119.html:
* fast/viewport/viewport-12.html:
* fast/viewport/viewport-120.html:
* fast/viewport/viewport-121.html:
* fast/viewport/viewport-122.html:
* fast/viewport/viewport-123.html:
* fast/viewport/viewport-124.html:
* fast/viewport/viewport-125.html:
* fast/viewport/viewport-126.html:
* fast/viewport/viewport-127.html:
* fast/viewport/viewport-128.html:
* fast/viewport/viewport-129.html:
* fast/viewport/viewport-13.html:
* fast/viewport/viewport-130.html:
* fast/viewport/viewport-131.html:
* fast/viewport/viewport-132.html:
* fast/viewport/viewport-133.html:
* fast/viewport/viewport-134.html:
* fast/viewport/viewport-14.html:
* fast/viewport/viewport-15.html:
* fast/viewport/viewport-16.html:
* fast/viewport/viewport-17.html:
* fast/viewport/viewport-18.html:
* fast/viewport/viewport-19.html:
* fast/viewport/viewport-2.html:
* fast/viewport/viewport-20.html:
* fast/viewport/viewport-21.html:
* fast/viewport/viewport-22.html:
* fast/viewport/viewport-23.html:
* fast/viewport/viewport-24.html:
* fast/viewport/viewport-25.html:
* fast/viewport/viewport-26.html:
* fast/viewport/viewport-27.html:
* fast/viewport/viewport-28.html:
* fast/viewport/viewport-29.html:
* fast/viewport/viewport-3.html:
* fast/viewport/viewport-30.html:
* fast/viewport/viewport-31.html:
* fast/viewport/viewport-32.html:
* fast/viewport/viewport-33.html:
* fast/viewport/viewport-34.html:
* fast/viewport/viewport-35.html:
* fast/viewport/viewport-36.html:
* fast/viewport/viewport-37.html:
* fast/viewport/viewport-38.html:
* fast/viewport/viewport-39.html:
* fast/viewport/viewport-4.html:
* fast/viewport/viewport-40.html:
* fast/viewport/viewport-41.html:
* fast/viewport/viewport-42.html:
* fast/viewport/viewport-43.html:
* fast/viewport/viewport-44.html:
* fast/viewport/viewport-45.html:
* fast/viewport/viewport-46.html:
* fast/viewport/viewport-47.html:
* fast/viewport/viewport-48.html:
* fast/viewport/viewport-49.html:
* fast/viewport/viewport-5.html:
* fast/viewport/viewport-50.html:
* fast/viewport/viewport-51.html:
* fast/viewport/viewport-52.html:
* fast/viewport/viewport-53.html:
* fast/viewport/viewport-54.html:
* fast/viewport/viewport-55.html:
* fast/viewport/viewport-56.html:
* fast/viewport/viewport-57.html:
* fast/viewport/viewport-58.html:
* fast/viewport/viewport-59.html:
* fast/viewport/viewport-6.html:
* fast/viewport/viewport-60.html:
* fast/viewport/viewport-61.html:
* fast/viewport/viewport-62.html:
* fast/viewport/viewport-63.html:
* fast/viewport/viewport-64.html:
* fast/viewport/viewport-65.html:
* fast/viewport/viewport-66.html:
* fast/viewport/viewport-67.html:
* fast/viewport/viewport-68.html:
* fast/viewport/viewport-69.html:
* fast/viewport/viewport-7.html:
* fast/viewport/viewport-70.html:
* fast/viewport/viewport-71.html:
* fast/viewport/viewport-72.html:
* fast/viewport/viewport-73.html:
* fast/viewport/viewport-74.html:
* fast/viewport/viewport-75.html:
* fast/viewport/viewport-76.html:
* fast/viewport/viewport-77.html:
* fast/viewport/viewport-78.html:
* fast/viewport/viewport-79.html:
* fast/viewport/viewport-8.html:
* fast/viewport/viewport-80.html:
* fast/viewport/viewport-81.html:
* fast/viewport/viewport-82.html:
* fast/viewport/viewport-83.html:
* fast/viewport/viewport-84.html:
* fast/viewport/viewport-85.html:
* fast/viewport/viewport-86.html:
* fast/viewport/viewport-87.html:
* fast/viewport/viewport-88.html:
* fast/viewport/viewport-9.html:
* fast/viewport/viewport-90.html:
* fast/viewport/viewport-91.html:
* fast/viewport/viewport-legacy-handheldfriendly.html:
* fast/viewport/viewport-legacy-mobileoptimized-2.html:
* fast/viewport/viewport-legacy-mobileoptimized-3.html:
* fast/viewport/viewport-legacy-mobileoptimized.html:
* fast/viewport/viewport-legacy-ordering-1.html:
* fast/viewport/viewport-legacy-ordering-2.html:
* fast/viewport/viewport-legacy-ordering-3.html:
* fast/viewport/viewport-legacy-ordering-4.html:
* fast/viewport/viewport-legacy-ordering-5.html:
* fast/viewport/viewport-legacy-ordering-6.html:
* fast/viewport/viewport-legacy-ordering-7.html:
* fast/viewport/viewport-legacy-ordering-8.html:
* fast/viewport/viewport-legacy-ordering-9.html:
* fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
* fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
* fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html:
* fast/viewport/viewport-legacy-xhtmlmp.html:
* fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html:
* fast/viewport/viewport-limits-adjusted-for-no-user-scale.html:
* fast/viewport/viewport-warnings-1.html:
* fast/viewport/viewport-warnings-2.html:
* fast/viewport/viewport-warnings-3.html:
* fast/viewport/viewport-warnings-4.html:
* fast/viewport/viewport-warnings-5.html:
* fast/viewport/viewport-warnings-6.html:
* fullscreen/video-cursor-auto-hide-expected.txt:
* fullscreen/video-cursor-auto-hide.html:
* http/tests/inspector-enabled/resources/console-clear-arguments-test.js:
(dumpConsoleMessageArgumentCounts):
* http/tests/inspector/elements-test.js:
* networkinformation/resources/event-after-navigation-new.html:
* networkinformation/script-tests/add-listener-from-callback.js:
(firstListener):
* networkinformation/script-tests/basic-all-types-of-events.js:
* networkinformation/script-tests/basic-operation.js:
* networkinformation/script-tests/multiple-frames.js:
* networkinformation/script-tests/updates.js:
(setNetworkInformation):
* platform/efl-wk2/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
* platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html:
* platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html:
* platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html:
* platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html:
* platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view-negative-zindex.html:
* platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view.html:
* platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html:
* platform/mac-wk2/tiled-drawing/fixed/four-bars-zoomed.html:
* platform/mac-wk2/tiled-drawing/fixed/four-bars.html:
* platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset-in-view.html:
* platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset.html:
* platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html:
* platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html:
* platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html:
* platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html:
* platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html:
* platform/mac-wk2/tiled-drawing/scrolling-tree-after-scroll.html:
* platform/mac-wk2/tiled-drawing/scrolling-tree-slow-scrolling.html:
* platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html:
* platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html:
* platform/mac-wk2/tiled-drawing/slow-scrolling.html:
* platform/mac-wk2/tiled-drawing/sticky/negative-scroll-offset.html:
* platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html:
* platform/mac-wk2/tiled-drawing/sticky/sticky-vertical.html:
* platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt:
* platform/mac/editing/spelling/autocorrection-blockquote-crash.html:
* platform/mac/editing/spelling/delete-into-misspelled-word.html:
* platform/mac/editing/spelling/editing-multiple-words-with-markers.html:
* platform/mac/editing/spelling/editing-word-with-marker-1.html:
* platform/mac/editing/spelling/editing-word-with-marker-2.html:
* platform/mac/editing/spelling/move-cursor-around-misspelled-word.html:
* platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt:
* printing/page-format-data-expected.txt:
* printing/page-format-data.html:
* proximity/add-listener-from-callback.html:
* proximity/basic-operation.html:
* proximity/multiple-frames.html:
* proximity/resources/event-after-navigation-new.html:
* proximity/updates.html:
* scrollingcoordinator/resources/non-fast-scrollable-region-testing.js:
(runNonFastScrollableRegionTest):
* touchadjustment/big-div.html:
* touchadjustment/event-triggered-widgets.html:
* touchadjustment/iframe.html:
* touchadjustment/nested-shadow-node.html:
* touchadjustment/resources/touchadjustment.js:
(testTouchPoint):
(testTouchPointContextMenu):
(adjustTouchPoint):
(adjustTouchPointContextMenu):
* touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html:
* touchadjustment/scroll-offset.html:
* touchadjustment/search-cancel.html:
* touchadjustment/zoom-basic.html:
* touchadjustment/zoom-fatfinger.html:
* transitions/created-while-suspended.html:
* transitions/started-while-suspended.html:
* transitions/suspend-transform-transition.html:
* userscripts/insert-stylesheets.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@158113 268f45cc-cd09-0410-ab3c-d52691b4dbfc

337 files changed:
LayoutTests/ChangeLog
LayoutTests/animations/added-while-suspended.html
LayoutTests/animations/play-state-suspend.html
LayoutTests/animations/stop-animation-on-suspend.html
LayoutTests/animations/suspend-resume-animation-events.html
LayoutTests/animations/suspend-resume-animation.html
LayoutTests/animations/suspend-transform-animation.html
LayoutTests/batterystatus/resources/event-after-navigation-new.html
LayoutTests/batterystatus/script-tests/add-listener-from-callback.js
LayoutTests/batterystatus/script-tests/basic-all-types-of-events.js
LayoutTests/batterystatus/script-tests/basic-operation.js
LayoutTests/batterystatus/script-tests/multiple-frames.js
LayoutTests/batterystatus/script-tests/updates.js
LayoutTests/compositing/columns/ancestor-clipped-in-paginated.html
LayoutTests/compositing/columns/clipped-in-paginated.html
LayoutTests/compositing/columns/composited-columns-vertical-rl.html
LayoutTests/compositing/columns/composited-in-paginated-rl.html
LayoutTests/compositing/columns/composited-in-paginated-writing-mode-rl.html
LayoutTests/compositing/columns/composited-in-paginated.html
LayoutTests/compositing/columns/composited-lr-paginated-repaint.html
LayoutTests/compositing/columns/composited-rl-paginated-repaint.html
LayoutTests/compositing/columns/geometry-map-paginated-assert.html
LayoutTests/compositing/columns/hittest-composited-in-paginated.html
LayoutTests/compositing/columns/rotated-in-paginated.html
LayoutTests/compositing/columns/untransformed-composited-in-paginated.html
LayoutTests/compositing/iframes/iframe-composited-scrolling.html
LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html
LayoutTests/compositing/layer-creation/fixed-position-no-content-scroll-reason.html
LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html
LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html
LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html
LayoutTests/compositing/overflow/dynamic-composited-scrolling-status.html
LayoutTests/compositing/overflow/scrolling-without-painting.html
LayoutTests/compositing/overflow/updating-scrolling-content.html
LayoutTests/compositing/repaint/absolute-painted-into-composited-ancestor.html
LayoutTests/compositing/repaint/fixed-background-scroll.html
LayoutTests/compositing/repaint/invalidations-on-composited-layers.html
LayoutTests/compositing/repaint/positioned-movement.html
LayoutTests/compositing/repaint/repaint-on-layer-grouping-change.html
LayoutTests/compositing/repaint/resize-repaint.html
LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html
LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html
LayoutTests/editing/caret/selection-with-caret-type-progress.html
LayoutTests/editing/execCommand/overtype.html
LayoutTests/editing/selection/block-cursor-overtype-mode.html
LayoutTests/editing/spelling/design-mode-spellcheck-off.html
LayoutTests/editing/spelling/grammar-edit-word-expected.txt
LayoutTests/editing/spelling/grammar-edit-word.html
LayoutTests/editing/spelling/grammar-markers-hidpi.html
LayoutTests/editing/spelling/grammar-markers.html
LayoutTests/editing/spelling/grammar.html
LayoutTests/editing/spelling/script-tests/spellcheck-paste.js
LayoutTests/editing/spelling/script-tests/spelling-attribute-at-child.js
LayoutTests/editing/spelling/script-tests/spelling-attribute-change.js
LayoutTests/editing/spelling/script-tests/spelling-backspace-between-lines.js
LayoutTests/editing/spelling/script-tests/spelling-hasspellingmarker.js
LayoutTests/editing/spelling/spellcheck-async-mutation.html
LayoutTests/editing/spelling/spellcheck-attribute-expected.txt
LayoutTests/editing/spelling/spellcheck-attribute.html
LayoutTests/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt
LayoutTests/editing/spelling/spellcheck-paste-continuous-disabled.html
LayoutTests/editing/spelling/spellcheck-paste-disabled-expected.txt
LayoutTests/editing/spelling/spellcheck-paste-disabled.html
LayoutTests/editing/spelling/spellcheck-sequencenum.html
LayoutTests/editing/spelling/spelling-attribute-change-expected.txt
LayoutTests/editing/spelling/spelling-backspace-between-lines-expected.txt
LayoutTests/editing/spelling/spelling-linebreak.html
LayoutTests/fast/box-shadow/shadow-repaint.html
LayoutTests/fast/css/webkit-mask-crash-fieldset-legend.html
LayoutTests/fast/css/webkit-mask-crash-figure.html
LayoutTests/fast/css/webkit-mask-crash-table.html
LayoutTests/fast/css/webkit-mask-crash-td-2.html
LayoutTests/fast/css/webkit-mask-crash-td.html
LayoutTests/fast/dom/icon-url-change.html
LayoutTests/fast/dom/icon-url-list-apple-touch.html
LayoutTests/fast/dom/icon-url-list.html
LayoutTests/fast/dom/icon-url-property.html
LayoutTests/fast/events/mouse-cursor-change.html
LayoutTests/fast/events/mouse-cursor-image-set.html
LayoutTests/fast/events/mouse-cursor-multiframecur.html
LayoutTests/fast/events/mouse-cursor-no-mousemove.html
LayoutTests/fast/events/mouse-cursor.html
LayoutTests/fast/events/touch/touch-handler-count-expected.txt
LayoutTests/fast/events/touch/touch-handler-count.html
LayoutTests/fast/events/touch/touch-input-element-change-documents-expected.txt
LayoutTests/fast/events/touch/touch-input-element-change-documents.html
LayoutTests/fast/multicol/hit-test-gap-between-pages-flipped.html
LayoutTests/fast/multicol/hit-test-gap-between-pages.html
LayoutTests/fast/multicol/pagination-h-horizontal-bt.html
LayoutTests/fast/multicol/pagination-h-horizontal-tb.html
LayoutTests/fast/multicol/pagination-h-vertical-lr.html
LayoutTests/fast/multicol/pagination-h-vertical-rl.html
LayoutTests/fast/multicol/pagination-v-horizontal-bt.html
LayoutTests/fast/multicol/pagination-v-horizontal-tb.html
LayoutTests/fast/multicol/pagination-v-vertical-lr.html
LayoutTests/fast/multicol/pagination-v-vertical-rl.html
LayoutTests/fast/multicol/pagination/BottomToTop-bt.html
LayoutTests/fast/multicol/pagination/BottomToTop-lr.html
LayoutTests/fast/multicol/pagination/BottomToTop-rl.html
LayoutTests/fast/multicol/pagination/BottomToTop-tb.html
LayoutTests/fast/multicol/pagination/LeftToRight-bt.html
LayoutTests/fast/multicol/pagination/LeftToRight-lr.html
LayoutTests/fast/multicol/pagination/LeftToRight-rl.html
LayoutTests/fast/multicol/pagination/LeftToRight-tb.html
LayoutTests/fast/multicol/pagination/RightToLeft-bt.html
LayoutTests/fast/multicol/pagination/RightToLeft-lr.html
LayoutTests/fast/multicol/pagination/RightToLeft-rl.html
LayoutTests/fast/multicol/pagination/RightToLeft-tb.html
LayoutTests/fast/multicol/pagination/TopToBottom-bt.html
LayoutTests/fast/multicol/pagination/TopToBottom-lr.html
LayoutTests/fast/multicol/pagination/TopToBottom-rl.html
LayoutTests/fast/multicol/pagination/TopToBottom-tb.html
LayoutTests/fast/multicol/shrink-to-column-height-for-pagination.html
LayoutTests/fast/repaint/background-shorthand-with-gradient-and-height-changes.html
LayoutTests/fast/repaint/obscured-background-no-repaint.html
LayoutTests/fast/repaint/resources/text-based-repaint.js
LayoutTests/fast/scrolling/resources/scrollable-area.js
LayoutTests/fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html
LayoutTests/fast/viewport/viewport-1.html
LayoutTests/fast/viewport/viewport-10.html
LayoutTests/fast/viewport/viewport-100.html
LayoutTests/fast/viewport/viewport-101.html
LayoutTests/fast/viewport/viewport-102.html
LayoutTests/fast/viewport/viewport-103.html
LayoutTests/fast/viewport/viewport-104.html
LayoutTests/fast/viewport/viewport-105.html
LayoutTests/fast/viewport/viewport-106.html
LayoutTests/fast/viewport/viewport-107.html
LayoutTests/fast/viewport/viewport-108.html
LayoutTests/fast/viewport/viewport-109.html
LayoutTests/fast/viewport/viewport-11.html
LayoutTests/fast/viewport/viewport-110.html
LayoutTests/fast/viewport/viewport-111.html
LayoutTests/fast/viewport/viewport-112.html
LayoutTests/fast/viewport/viewport-113.html
LayoutTests/fast/viewport/viewport-114.html
LayoutTests/fast/viewport/viewport-115.html
LayoutTests/fast/viewport/viewport-116.html
LayoutTests/fast/viewport/viewport-117.html
LayoutTests/fast/viewport/viewport-118.html
LayoutTests/fast/viewport/viewport-119.html
LayoutTests/fast/viewport/viewport-12.html
LayoutTests/fast/viewport/viewport-120.html
LayoutTests/fast/viewport/viewport-121.html
LayoutTests/fast/viewport/viewport-122.html
LayoutTests/fast/viewport/viewport-123.html
LayoutTests/fast/viewport/viewport-124.html
LayoutTests/fast/viewport/viewport-125.html
LayoutTests/fast/viewport/viewport-126.html
LayoutTests/fast/viewport/viewport-127.html
LayoutTests/fast/viewport/viewport-128.html
LayoutTests/fast/viewport/viewport-129.html
LayoutTests/fast/viewport/viewport-13.html
LayoutTests/fast/viewport/viewport-130.html
LayoutTests/fast/viewport/viewport-131.html
LayoutTests/fast/viewport/viewport-132.html
LayoutTests/fast/viewport/viewport-133.html
LayoutTests/fast/viewport/viewport-134.html
LayoutTests/fast/viewport/viewport-14.html
LayoutTests/fast/viewport/viewport-15.html
LayoutTests/fast/viewport/viewport-16.html
LayoutTests/fast/viewport/viewport-17.html
LayoutTests/fast/viewport/viewport-18.html
LayoutTests/fast/viewport/viewport-19.html
LayoutTests/fast/viewport/viewport-2.html
LayoutTests/fast/viewport/viewport-20.html
LayoutTests/fast/viewport/viewport-21.html
LayoutTests/fast/viewport/viewport-22.html
LayoutTests/fast/viewport/viewport-23.html
LayoutTests/fast/viewport/viewport-24.html
LayoutTests/fast/viewport/viewport-25.html
LayoutTests/fast/viewport/viewport-26.html
LayoutTests/fast/viewport/viewport-27.html
LayoutTests/fast/viewport/viewport-28.html
LayoutTests/fast/viewport/viewport-29.html
LayoutTests/fast/viewport/viewport-3.html
LayoutTests/fast/viewport/viewport-30.html
LayoutTests/fast/viewport/viewport-31.html
LayoutTests/fast/viewport/viewport-32.html
LayoutTests/fast/viewport/viewport-33.html
LayoutTests/fast/viewport/viewport-34.html
LayoutTests/fast/viewport/viewport-35.html
LayoutTests/fast/viewport/viewport-36.html
LayoutTests/fast/viewport/viewport-37.html
LayoutTests/fast/viewport/viewport-38.html
LayoutTests/fast/viewport/viewport-39.html
LayoutTests/fast/viewport/viewport-4.html
LayoutTests/fast/viewport/viewport-40.html
LayoutTests/fast/viewport/viewport-41.html
LayoutTests/fast/viewport/viewport-42.html
LayoutTests/fast/viewport/viewport-43.html
LayoutTests/fast/viewport/viewport-44.html
LayoutTests/fast/viewport/viewport-45.html
LayoutTests/fast/viewport/viewport-46.html
LayoutTests/fast/viewport/viewport-47.html
LayoutTests/fast/viewport/viewport-48.html
LayoutTests/fast/viewport/viewport-49.html
LayoutTests/fast/viewport/viewport-5.html
LayoutTests/fast/viewport/viewport-50.html
LayoutTests/fast/viewport/viewport-51.html
LayoutTests/fast/viewport/viewport-52.html
LayoutTests/fast/viewport/viewport-53.html
LayoutTests/fast/viewport/viewport-54.html
LayoutTests/fast/viewport/viewport-55.html
LayoutTests/fast/viewport/viewport-56.html
LayoutTests/fast/viewport/viewport-57.html
LayoutTests/fast/viewport/viewport-58.html
LayoutTests/fast/viewport/viewport-59.html
LayoutTests/fast/viewport/viewport-6.html
LayoutTests/fast/viewport/viewport-60.html
LayoutTests/fast/viewport/viewport-61.html
LayoutTests/fast/viewport/viewport-62.html
LayoutTests/fast/viewport/viewport-63.html
LayoutTests/fast/viewport/viewport-64.html
LayoutTests/fast/viewport/viewport-65.html
LayoutTests/fast/viewport/viewport-66.html
LayoutTests/fast/viewport/viewport-67.html
LayoutTests/fast/viewport/viewport-68.html
LayoutTests/fast/viewport/viewport-69.html
LayoutTests/fast/viewport/viewport-7.html
LayoutTests/fast/viewport/viewport-70.html
LayoutTests/fast/viewport/viewport-71.html
LayoutTests/fast/viewport/viewport-72.html
LayoutTests/fast/viewport/viewport-73.html
LayoutTests/fast/viewport/viewport-74.html
LayoutTests/fast/viewport/viewport-75.html
LayoutTests/fast/viewport/viewport-76.html
LayoutTests/fast/viewport/viewport-77.html
LayoutTests/fast/viewport/viewport-78.html
LayoutTests/fast/viewport/viewport-79.html
LayoutTests/fast/viewport/viewport-8.html
LayoutTests/fast/viewport/viewport-80.html
LayoutTests/fast/viewport/viewport-81.html
LayoutTests/fast/viewport/viewport-82.html
LayoutTests/fast/viewport/viewport-83.html
LayoutTests/fast/viewport/viewport-84.html
LayoutTests/fast/viewport/viewport-85.html
LayoutTests/fast/viewport/viewport-86.html
LayoutTests/fast/viewport/viewport-87.html
LayoutTests/fast/viewport/viewport-88.html
LayoutTests/fast/viewport/viewport-9.html
LayoutTests/fast/viewport/viewport-90.html
LayoutTests/fast/viewport/viewport-91.html
LayoutTests/fast/viewport/viewport-legacy-handheldfriendly.html
LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-2.html
LayoutTests/fast/viewport/viewport-legacy-mobileoptimized-3.html
LayoutTests/fast/viewport/viewport-legacy-mobileoptimized.html
LayoutTests/fast/viewport/viewport-legacy-ordering-1.html
LayoutTests/fast/viewport/viewport-legacy-ordering-2.html
LayoutTests/fast/viewport/viewport-legacy-ordering-3.html
LayoutTests/fast/viewport/viewport-legacy-ordering-4.html
LayoutTests/fast/viewport/viewport-legacy-ordering-5.html
LayoutTests/fast/viewport/viewport-legacy-ordering-6.html
LayoutTests/fast/viewport/viewport-legacy-ordering-7.html
LayoutTests/fast/viewport/viewport-legacy-ordering-8.html
LayoutTests/fast/viewport/viewport-legacy-ordering-9.html
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-ordering.html
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
LayoutTests/fast/viewport/viewport-legacy-xhtmlmp.html
LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html
LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale.html
LayoutTests/fast/viewport/viewport-warnings-1.html
LayoutTests/fast/viewport/viewport-warnings-2.html
LayoutTests/fast/viewport/viewport-warnings-3.html
LayoutTests/fast/viewport/viewport-warnings-4.html
LayoutTests/fast/viewport/viewport-warnings-5.html
LayoutTests/fast/viewport/viewport-warnings-6.html
LayoutTests/fullscreen/video-cursor-auto-hide-expected.txt
LayoutTests/fullscreen/video-cursor-auto-hide.html
LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js
LayoutTests/http/tests/inspector/elements-test.js
LayoutTests/networkinformation/resources/event-after-navigation-new.html
LayoutTests/networkinformation/script-tests/add-listener-from-callback.js
LayoutTests/networkinformation/script-tests/basic-all-types-of-events.js
LayoutTests/networkinformation/script-tests/basic-operation.js
LayoutTests/networkinformation/script-tests/multiple-frames.js
LayoutTests/networkinformation/script-tests/updates.js
LayoutTests/platform/efl-wk2/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt
LayoutTests/platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view-negative-zindex.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/four-bars-zoomed.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/four-bars.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset-in-view.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html
LayoutTests/platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html
LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html
LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html
LayoutTests/platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html
LayoutTests/platform/mac-wk2/tiled-drawing/scrolling-tree-after-scroll.html
LayoutTests/platform/mac-wk2/tiled-drawing/scrolling-tree-slow-scrolling.html
LayoutTests/platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html
LayoutTests/platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html
LayoutTests/platform/mac-wk2/tiled-drawing/slow-scrolling.html
LayoutTests/platform/mac-wk2/tiled-drawing/sticky/negative-scroll-offset.html
LayoutTests/platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html
LayoutTests/platform/mac-wk2/tiled-drawing/sticky/sticky-vertical.html
LayoutTests/platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt
LayoutTests/platform/mac/editing/spelling/autocorrection-blockquote-crash.html
LayoutTests/platform/mac/editing/spelling/delete-into-misspelled-word.html
LayoutTests/platform/mac/editing/spelling/editing-multiple-words-with-markers.html
LayoutTests/platform/mac/editing/spelling/editing-word-with-marker-1.html
LayoutTests/platform/mac/editing/spelling/editing-word-with-marker-2.html
LayoutTests/platform/mac/editing/spelling/move-cursor-around-misspelled-word.html
LayoutTests/platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt
LayoutTests/printing/page-format-data-expected.txt
LayoutTests/printing/page-format-data.html
LayoutTests/proximity/add-listener-from-callback.html
LayoutTests/proximity/basic-operation.html
LayoutTests/proximity/multiple-frames.html
LayoutTests/proximity/resources/event-after-navigation-new.html
LayoutTests/proximity/updates.html
LayoutTests/scrollingcoordinator/resources/non-fast-scrollable-region-testing.js
LayoutTests/touchadjustment/big-div.html
LayoutTests/touchadjustment/event-triggered-widgets.html
LayoutTests/touchadjustment/iframe.html
LayoutTests/touchadjustment/nested-shadow-node.html
LayoutTests/touchadjustment/resources/touchadjustment.js
LayoutTests/touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html
LayoutTests/touchadjustment/scroll-offset.html
LayoutTests/touchadjustment/search-cancel.html
LayoutTests/touchadjustment/zoom-basic.html
LayoutTests/touchadjustment/zoom-fatfinger.html
LayoutTests/transitions/created-while-suspended.html
LayoutTests/transitions/started-while-suspended.html
LayoutTests/transitions/suspend-transform-transition.html
LayoutTests/userscripts/insert-stylesheets.html
Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h
Source/WebCore/testing/Internals.idl

index c41bc5f090e89c0177ebdf2255e0ba4107073d1e..ad2358c6a97de6384865a5e80da3cd0fba087fda 100644 (file)
@@ -1,3 +1,366 @@
+2013-10-28  Afonso R. Costa Jr.  <afonso.costa@samsung.com>
+
+        Methods on window.internals shouldn't pass a document.
+        https://bugs.webkit.org/show_bug.cgi?id=107301
+
+        Reviewed by Alexey Proskuryakov.
+
+        Each 'Internals' instance is associated with a 'Document'. So, it
+        is not necessary to pass a document as argument. Only nodesFromRect and
+        layerTreeAsText methods were kept because, in some Layout Tests, the
+        'Document' object is not the same used by Internals::contextDocument.
+
+        * animations/added-while-suspended.html: Removed 'document' parameter.
+        * animations/play-state-suspend.html:
+        * animations/stop-animation-on-suspend.html:
+        * animations/suspend-resume-animation-events.html:
+        * animations/suspend-resume-animation.html:
+        * animations/suspend-transform-animation.html:
+        * batterystatus/resources/event-after-navigation-new.html:
+        * batterystatus/script-tests/add-listener-from-callback.js:
+        (firstListener):
+        * batterystatus/script-tests/basic-all-types-of-events.js:
+        * batterystatus/script-tests/basic-operation.js:
+        * batterystatus/script-tests/multiple-frames.js:
+        * batterystatus/script-tests/updates.js:
+        (setBatteryStatus):
+        * compositing/columns/ancestor-clipped-in-paginated.html:
+        * compositing/columns/clipped-in-paginated.html:
+        * compositing/columns/composited-columns-vertical-rl.html:
+        * compositing/columns/composited-in-paginated-rl.html:
+        * compositing/columns/composited-in-paginated-writing-mode-rl.html:
+        * compositing/columns/composited-in-paginated.html:
+        * compositing/columns/composited-lr-paginated-repaint.html:
+        * compositing/columns/composited-rl-paginated-repaint.html:
+        * compositing/columns/geometry-map-paginated-assert.html:
+        * compositing/columns/hittest-composited-in-paginated.html:
+        * compositing/columns/rotated-in-paginated.html:
+        * compositing/columns/untransformed-composited-in-paginated.html:
+        * compositing/iframes/iframe-composited-scrolling.html:
+        * compositing/layer-creation/fixed-position-in-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
+        * compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
+        * compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
+        * compositing/overflow/dynamic-composited-scrolling-status.html:
+        * compositing/overflow/scrolling-without-painting.html:
+        * compositing/overflow/updating-scrolling-content.html:
+        * compositing/repaint/absolute-painted-into-composited-ancestor.html:
+        * compositing/repaint/fixed-background-scroll.html:
+        * compositing/repaint/invalidations-on-composited-layers.html:
+        * compositing/repaint/positioned-movement.html:
+        * compositing/repaint/repaint-on-layer-grouping-change.html:
+        * compositing/repaint/resize-repaint.html:
+        * compositing/repaint/scroll-fixed-layer-no-content.html:
+        * compositing/repaint/scroll-fixed-layer-out-of-view.html:
+        * editing/caret/selection-with-caret-type-progress.html:
+        * editing/execCommand/overtype.html:
+        * editing/selection/block-cursor-overtype-mode.html:
+        * editing/spelling/design-mode-spellcheck-off.html:
+        * editing/spelling/grammar-edit-word-expected.txt:
+        * editing/spelling/grammar-edit-word.html:
+        * editing/spelling/grammar-markers-hidpi.html:
+        * editing/spelling/grammar-markers.html:
+        * editing/spelling/grammar.html:
+        * editing/spelling/script-tests/spellcheck-paste.js:
+        (verifyMarker):
+        * editing/spelling/script-tests/spelling-attribute-at-child.js:
+        (childHasSpellingMarker):
+        * editing/spelling/script-tests/spelling-attribute-change.js:
+        (testSpellCheckingEnabled):
+        * editing/spelling/script-tests/spelling-backspace-between-lines.js:
+        (testWithDelete):
+        (testWithForwardDelete):
+        * editing/spelling/script-tests/spelling-hasspellingmarker.js:
+        (hasMarked):
+        * editing/spelling/spellcheck-async-mutation.html:
+        * editing/spelling/spellcheck-attribute-expected.txt:
+        * editing/spelling/spellcheck-attribute.html:
+        * editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
+        * editing/spelling/spellcheck-paste-continuous-disabled.html:
+        * editing/spelling/spellcheck-paste-disabled-expected.txt:
+        * editing/spelling/spellcheck-paste-disabled.html:
+        * editing/spelling/spellcheck-sequencenum.html:
+        * editing/spelling/spelling-attribute-change-expected.txt:
+        * editing/spelling/spelling-backspace-between-lines-expected.txt:
+        * editing/spelling/spelling-linebreak.html:
+        * fast/box-shadow/shadow-repaint.html:
+        * fast/css/webkit-mask-crash-fieldset-legend.html:
+        * fast/css/webkit-mask-crash-figure.html:
+        * fast/css/webkit-mask-crash-table.html:
+        * fast/css/webkit-mask-crash-td-2.html:
+        * fast/css/webkit-mask-crash-td.html:
+        * fast/dom/icon-url-change.html:
+        * fast/dom/icon-url-list-apple-touch.html:
+        * fast/dom/icon-url-list.html:
+        * fast/dom/icon-url-property.html:
+        * fast/events/mouse-cursor-change.html:
+        * fast/events/mouse-cursor-image-set.html:
+        * fast/events/mouse-cursor-multiframecur.html:
+        * fast/events/mouse-cursor-no-mousemove.html:
+        * fast/events/mouse-cursor.html:
+        * fast/events/touch/touch-handler-count-expected.txt:
+        * fast/events/touch/touch-handler-count.html:
+        * fast/events/touch/touch-input-element-change-documents-expected.txt:
+        * fast/events/touch/touch-input-element-change-documents.html:
+        * fast/multicol/hit-test-gap-between-pages-flipped.html:
+        * fast/multicol/hit-test-gap-between-pages.html:
+        * fast/multicol/pagination-h-horizontal-bt.html:
+        * fast/multicol/pagination-h-horizontal-tb.html:
+        * fast/multicol/pagination-h-vertical-lr.html:
+        * fast/multicol/pagination-h-vertical-rl.html:
+        * fast/multicol/pagination-v-horizontal-bt.html:
+        * fast/multicol/pagination-v-horizontal-tb.html:
+        * fast/multicol/pagination-v-vertical-lr.html:
+        * fast/multicol/pagination-v-vertical-rl.html:
+        * fast/multicol/pagination/BottomToTop-bt.html:
+        * fast/multicol/pagination/BottomToTop-lr.html:
+        * fast/multicol/pagination/BottomToTop-rl.html:
+        * fast/multicol/pagination/BottomToTop-tb.html:
+        * fast/multicol/pagination/LeftToRight-bt.html:
+        * fast/multicol/pagination/LeftToRight-lr.html:
+        * fast/multicol/pagination/LeftToRight-rl.html:
+        * fast/multicol/pagination/LeftToRight-tb.html:
+        * fast/multicol/pagination/RightToLeft-bt.html:
+        * fast/multicol/pagination/RightToLeft-lr.html:
+        * fast/multicol/pagination/RightToLeft-rl.html:
+        * fast/multicol/pagination/RightToLeft-tb.html:
+        * fast/multicol/pagination/TopToBottom-bt.html:
+        * fast/multicol/pagination/TopToBottom-lr.html:
+        * fast/multicol/pagination/TopToBottom-rl.html:
+        * fast/multicol/pagination/TopToBottom-tb.html:
+        * fast/multicol/shrink-to-column-height-for-pagination.html:
+        * fast/repaint/background-shorthand-with-gradient-and-height-changes.html:
+        * fast/repaint/obscured-background-no-repaint.html:
+        * fast/repaint/resources/text-based-repaint.js:
+        (runRepaintTest):
+        * fast/scrolling/resources/scrollable-area.js:
+        (end):
+        * fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html:
+        * fast/viewport/viewport-1.html:
+        * fast/viewport/viewport-10.html:
+        * fast/viewport/viewport-100.html:
+        * fast/viewport/viewport-101.html:
+        * fast/viewport/viewport-102.html:
+        * fast/viewport/viewport-103.html:
+        * fast/viewport/viewport-104.html:
+        * fast/viewport/viewport-105.html:
+        * fast/viewport/viewport-106.html:
+        * fast/viewport/viewport-107.html:
+        * fast/viewport/viewport-108.html:
+        * fast/viewport/viewport-109.html:
+        * fast/viewport/viewport-11.html:
+        * fast/viewport/viewport-110.html:
+        * fast/viewport/viewport-111.html:
+        * fast/viewport/viewport-112.html:
+        * fast/viewport/viewport-113.html:
+        * fast/viewport/viewport-114.html:
+        * fast/viewport/viewport-115.html:
+        * fast/viewport/viewport-116.html:
+        * fast/viewport/viewport-117.html:
+        * fast/viewport/viewport-118.html:
+        * fast/viewport/viewport-119.html:
+        * fast/viewport/viewport-12.html:
+        * fast/viewport/viewport-120.html:
+        * fast/viewport/viewport-121.html:
+        * fast/viewport/viewport-122.html:
+        * fast/viewport/viewport-123.html:
+        * fast/viewport/viewport-124.html:
+        * fast/viewport/viewport-125.html:
+        * fast/viewport/viewport-126.html:
+        * fast/viewport/viewport-127.html:
+        * fast/viewport/viewport-128.html:
+        * fast/viewport/viewport-129.html:
+        * fast/viewport/viewport-13.html:
+        * fast/viewport/viewport-130.html:
+        * fast/viewport/viewport-131.html:
+        * fast/viewport/viewport-132.html:
+        * fast/viewport/viewport-133.html:
+        * fast/viewport/viewport-134.html:
+        * fast/viewport/viewport-14.html:
+        * fast/viewport/viewport-15.html:
+        * fast/viewport/viewport-16.html:
+        * fast/viewport/viewport-17.html:
+        * fast/viewport/viewport-18.html:
+        * fast/viewport/viewport-19.html:
+        * fast/viewport/viewport-2.html:
+        * fast/viewport/viewport-20.html:
+        * fast/viewport/viewport-21.html:
+        * fast/viewport/viewport-22.html:
+        * fast/viewport/viewport-23.html:
+        * fast/viewport/viewport-24.html:
+        * fast/viewport/viewport-25.html:
+        * fast/viewport/viewport-26.html:
+        * fast/viewport/viewport-27.html:
+        * fast/viewport/viewport-28.html:
+        * fast/viewport/viewport-29.html:
+        * fast/viewport/viewport-3.html:
+        * fast/viewport/viewport-30.html:
+        * fast/viewport/viewport-31.html:
+        * fast/viewport/viewport-32.html:
+        * fast/viewport/viewport-33.html:
+        * fast/viewport/viewport-34.html:
+        * fast/viewport/viewport-35.html:
+        * fast/viewport/viewport-36.html:
+        * fast/viewport/viewport-37.html:
+        * fast/viewport/viewport-38.html:
+        * fast/viewport/viewport-39.html:
+        * fast/viewport/viewport-4.html:
+        * fast/viewport/viewport-40.html:
+        * fast/viewport/viewport-41.html:
+        * fast/viewport/viewport-42.html:
+        * fast/viewport/viewport-43.html:
+        * fast/viewport/viewport-44.html:
+        * fast/viewport/viewport-45.html:
+        * fast/viewport/viewport-46.html:
+        * fast/viewport/viewport-47.html:
+        * fast/viewport/viewport-48.html:
+        * fast/viewport/viewport-49.html:
+        * fast/viewport/viewport-5.html:
+        * fast/viewport/viewport-50.html:
+        * fast/viewport/viewport-51.html:
+        * fast/viewport/viewport-52.html:
+        * fast/viewport/viewport-53.html:
+        * fast/viewport/viewport-54.html:
+        * fast/viewport/viewport-55.html:
+        * fast/viewport/viewport-56.html:
+        * fast/viewport/viewport-57.html:
+        * fast/viewport/viewport-58.html:
+        * fast/viewport/viewport-59.html:
+        * fast/viewport/viewport-6.html:
+        * fast/viewport/viewport-60.html:
+        * fast/viewport/viewport-61.html:
+        * fast/viewport/viewport-62.html:
+        * fast/viewport/viewport-63.html:
+        * fast/viewport/viewport-64.html:
+        * fast/viewport/viewport-65.html:
+        * fast/viewport/viewport-66.html:
+        * fast/viewport/viewport-67.html:
+        * fast/viewport/viewport-68.html:
+        * fast/viewport/viewport-69.html:
+        * fast/viewport/viewport-7.html:
+        * fast/viewport/viewport-70.html:
+        * fast/viewport/viewport-71.html:
+        * fast/viewport/viewport-72.html:
+        * fast/viewport/viewport-73.html:
+        * fast/viewport/viewport-74.html:
+        * fast/viewport/viewport-75.html:
+        * fast/viewport/viewport-76.html:
+        * fast/viewport/viewport-77.html:
+        * fast/viewport/viewport-78.html:
+        * fast/viewport/viewport-79.html:
+        * fast/viewport/viewport-8.html:
+        * fast/viewport/viewport-80.html:
+        * fast/viewport/viewport-81.html:
+        * fast/viewport/viewport-82.html:
+        * fast/viewport/viewport-83.html:
+        * fast/viewport/viewport-84.html:
+        * fast/viewport/viewport-85.html:
+        * fast/viewport/viewport-86.html:
+        * fast/viewport/viewport-87.html:
+        * fast/viewport/viewport-88.html:
+        * fast/viewport/viewport-9.html:
+        * fast/viewport/viewport-90.html:
+        * fast/viewport/viewport-91.html:
+        * fast/viewport/viewport-legacy-handheldfriendly.html:
+        * fast/viewport/viewport-legacy-mobileoptimized-2.html:
+        * fast/viewport/viewport-legacy-mobileoptimized-3.html:
+        * fast/viewport/viewport-legacy-mobileoptimized.html:
+        * fast/viewport/viewport-legacy-ordering-1.html:
+        * fast/viewport/viewport-legacy-ordering-2.html:
+        * fast/viewport/viewport-legacy-ordering-3.html:
+        * fast/viewport/viewport-legacy-ordering-4.html:
+        * fast/viewport/viewport-legacy-ordering-5.html:
+        * fast/viewport/viewport-legacy-ordering-6.html:
+        * fast/viewport/viewport-legacy-ordering-7.html:
+        * fast/viewport/viewport-legacy-ordering-8.html:
+        * fast/viewport/viewport-legacy-ordering-9.html:
+        * fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
+        * fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
+        * fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html:
+        * fast/viewport/viewport-legacy-xhtmlmp.html:
+        * fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html:
+        * fast/viewport/viewport-limits-adjusted-for-no-user-scale.html:
+        * fast/viewport/viewport-warnings-1.html:
+        * fast/viewport/viewport-warnings-2.html:
+        * fast/viewport/viewport-warnings-3.html:
+        * fast/viewport/viewport-warnings-4.html:
+        * fast/viewport/viewport-warnings-5.html:
+        * fast/viewport/viewport-warnings-6.html:
+        * fullscreen/video-cursor-auto-hide-expected.txt:
+        * fullscreen/video-cursor-auto-hide.html:
+        * http/tests/inspector-enabled/resources/console-clear-arguments-test.js:
+        (dumpConsoleMessageArgumentCounts):
+        * http/tests/inspector/elements-test.js:
+        * networkinformation/resources/event-after-navigation-new.html:
+        * networkinformation/script-tests/add-listener-from-callback.js:
+        (firstListener):
+        * networkinformation/script-tests/basic-all-types-of-events.js:
+        * networkinformation/script-tests/basic-operation.js:
+        * networkinformation/script-tests/multiple-frames.js:
+        * networkinformation/script-tests/updates.js:
+        (setNetworkInformation):
+        * platform/efl-wk2/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
+        * platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html:
+        * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html:
+        * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html:
+        * platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html:
+        * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view-negative-zindex.html:
+        * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view.html:
+        * platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html:
+        * platform/mac-wk2/tiled-drawing/fixed/four-bars-zoomed.html:
+        * platform/mac-wk2/tiled-drawing/fixed/four-bars.html:
+        * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset-in-view.html:
+        * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset.html:
+        * platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html:
+        * platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html:
+        * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html:
+        * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html:
+        * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html:
+        * platform/mac-wk2/tiled-drawing/scrolling-tree-after-scroll.html:
+        * platform/mac-wk2/tiled-drawing/scrolling-tree-slow-scrolling.html:
+        * platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html:
+        * platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html:
+        * platform/mac-wk2/tiled-drawing/slow-scrolling.html:
+        * platform/mac-wk2/tiled-drawing/sticky/negative-scroll-offset.html:
+        * platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html:
+        * platform/mac-wk2/tiled-drawing/sticky/sticky-vertical.html:
+        * platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt:
+        * platform/mac/editing/spelling/autocorrection-blockquote-crash.html:
+        * platform/mac/editing/spelling/delete-into-misspelled-word.html:
+        * platform/mac/editing/spelling/editing-multiple-words-with-markers.html:
+        * platform/mac/editing/spelling/editing-word-with-marker-1.html:
+        * platform/mac/editing/spelling/editing-word-with-marker-2.html:
+        * platform/mac/editing/spelling/move-cursor-around-misspelled-word.html:
+        * platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt:
+        * printing/page-format-data-expected.txt:
+        * printing/page-format-data.html:
+        * proximity/add-listener-from-callback.html:
+        * proximity/basic-operation.html:
+        * proximity/multiple-frames.html:
+        * proximity/resources/event-after-navigation-new.html:
+        * proximity/updates.html:
+        * scrollingcoordinator/resources/non-fast-scrollable-region-testing.js:
+        (runNonFastScrollableRegionTest):
+        * touchadjustment/big-div.html:
+        * touchadjustment/event-triggered-widgets.html:
+        * touchadjustment/iframe.html:
+        * touchadjustment/nested-shadow-node.html:
+        * touchadjustment/resources/touchadjustment.js:
+        (testTouchPoint):
+        (testTouchPointContextMenu):
+        (adjustTouchPoint):
+        (adjustTouchPointContextMenu):
+        * touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html:
+        * touchadjustment/scroll-offset.html:
+        * touchadjustment/search-cancel.html:
+        * touchadjustment/zoom-basic.html:
+        * touchadjustment/zoom-fatfinger.html:
+        * transitions/created-while-suspended.html:
+        * transitions/started-while-suspended.html:
+        * transitions/suspend-transform-transition.html:
+        * userscripts/insert-stylesheets.html:
+
 2013-10-28  Xabier Rodriguez Calvar  <calvaris@igalia.com>
 
         Remove HTMLMediaElement.startTime
index de1c18994aac98e1f09b04718088421d9e23fb2e..3e71f5191236b10c406097f88f7ca8b22fd2c986 100644 (file)
@@ -31,13 +31,13 @@ var animationsYetToEnd = 2;
 function suspend()
 {
     if (window.internals)
-        internals.suspendAnimations(document);
+        internals.suspendAnimations();
 }
 
 function resume()
 {
     if (window.internals)
-        internals.resumeAnimations(document);
+        internals.resumeAnimations();
 }
 
 function animationStarted(event)
@@ -63,7 +63,7 @@ function addDivWithId(id)
 function addFirstBox()
 {
     if (window.internals)
-        log("Animations should be suspended: " + (window.internals.animationsAreSuspended(document) ? "PASS" : "FAIL"));
+        log("Animations should be suspended: " + (window.internals.animationsAreSuspended() ? "PASS" : "FAIL"));
 
     log("*** Adding first box with animation");
     addDivWithId("box");
@@ -86,7 +86,7 @@ function resumeAndContinue()
 function endTest()
 {
     if (window.internals)
-        log("Animations should not be suspended: " + (window.internals.animationsAreSuspended(document) ? "FAIL" : "PASS"));
+        log("Animations should not be suspended: " + (window.internals.animationsAreSuspended() ? "FAIL" : "PASS"));
     log("*** Animations finished");
     resume(); // Just in case.
     if (window.testRunner)
@@ -99,7 +99,7 @@ function startTest()
     document.addEventListener("webkitAnimationEnd", animationEnded, false);
 
     if (window.internals)
-        log("Animations should not be suspended: " + (window.internals.animationsAreSuspended(document) ? "FAIL" : "PASS"));
+        log("Animations should not be suspended: " + (window.internals.animationsAreSuspended() ? "FAIL" : "PASS"));
 
     setTimeout(function() {
         log("*** Suspending Animations");
index e25f91f42320bc6bf85a769e8b13f3b56e7af352..70dbf32dc5a2154903274dfb3c28a28bd3b8f8df 100644 (file)
@@ -57,7 +57,7 @@
     function suspend()
     {
         if (window.internals)
-            internals.suspendAnimations(document);
+            internals.suspendAnimations();
     }
 
     function unpause()
@@ -69,7 +69,7 @@
     function resume()
     {
         if (window.internals)
-            internals.resumeAnimations(document);
+            internals.resumeAnimations();
     }
 
     function setTimers()
index 478cdb4f4e388f36b01fec5116d8c6695a98640d..f787384c9e0efc5da85a1f1e933122be6afa09cc 100644 (file)
     function suspend()
     {
         if (window.internals)
-            internals.suspendAnimations(document);
+            internals.suspendAnimations();
     }
     
     function resume()
     {
         if (window.internals)
-            internals.resumeAnimations(document);
+            internals.resumeAnimations();
     }
     
     function setTimers()
index 9fe864b90a2344cf5f525bf48e7c89698a11927d..6ce62e99b0724648eb2996ff33a8b79fd54e1286 100644 (file)
     function suspend()
     {
         if (window.internals)
-            internals.suspendAnimations(document);
+            internals.suspendAnimations();
     }
     
     function resume()
     {
         if (window.internals)
-            internals.resumeAnimations(document);
+            internals.resumeAnimations();
     }
     
     function startTest()
index 56ca96080551a0b4886c78dc44b4e5f5fb7f720f..cc29b40c2189f9ad45110638d1e7f9a362147d10 100644 (file)
     function suspend()
     {
         if (window.internals)
-            internals.suspendAnimations(document);
+            internals.suspendAnimations();
     }
     
     function resume()
     {
         if (window.internals)
-            internals.resumeAnimations(document);
+            internals.resumeAnimations();
     }
     
     function setTimers()
index 46c6f71019fcaa22ed4b1ea7315f8545af535dd7..f84144be763b4b5e19208541d2e153f204685c6e 100644 (file)
     function suspendAndWaitForCompletion()
     {
         if (window.internals)
-            internals.suspendAnimations(document);
+            internals.suspendAnimations();
 
         window.setTimeout(function() {
             if (window.testRunner) {
-                internals.resumeAnimations(document);
+                internals.resumeAnimations();
                 testRunner.notifyDone();
             }
         }, 250);
index 1ef21975f3898fb28b83880dfffef6add056552c..09c5f0970186e47e756f52e2b721373a8be50bb3 100644 (file)
@@ -6,7 +6,7 @@
     away when the original page is in the page cache.<br><br>
     SUCCESS
     <script>
-        internals.setBatteryStatus(document, 'chargingchange', true, 3000, Number.POSITIVE_INFINITY, 0.5);
+        internals.setBatteryStatus('chargingchange', true, 3000, Number.POSITIVE_INFINITY, 0.5);
         testRunner.notifyDone();
     </script>
   </body>
index 2bd5cdacf865d5baf18d366a0c064c0e6171279c..ffb1656de09dda8f14dbf0742e55187aa2e0ee23 100644 (file)
@@ -19,7 +19,7 @@ function firstListener() {
     checkBatteryStatus();
     if (++firstListenerEvents == 1) {
         battery.addEventListener('chargingchange', secondListener);
-        internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
+        internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
     }
     else if (firstListenerEvents > 2)
         testFailed('Too many events for first listener.');
@@ -40,5 +40,5 @@ function maybeFinishTest() {
 }
 
 battery.addEventListener('chargingchange', firstListener);
-internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
 window.jsTestIsAsync = true;
index bef0d420db9f10895bf0e6597f6668d38a64acc9..6e099d7db45804d5f0122540dccd92ae984f28f8 100644 (file)
@@ -35,8 +35,8 @@ battery.addEventListener('levelchange', function() {
     finishJSTest();
 });
 
-internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
-internals.setBatteryStatus(document, 'chargingtimechange', charging, chargingTime, dischargingTime, level);
-internals.setBatteryStatus(document, 'dischargingtimechange', charging, chargingTime, dischargingTime, level);
-internals.setBatteryStatus(document, 'levelchange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('chargingtimechange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('dischargingtimechange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('levelchange', charging, chargingTime, dischargingTime, level);
 window.jsTestIsAsync = true;
index 615f854a0662a8d64245aa330ba940d670cf4563..93bf1aa0bfee714669cb607d73d1c935e0a22810 100644 (file)
@@ -15,5 +15,5 @@ battery.addEventListener('chargingchange', function() {
     finishJSTest();
 });
 
-internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
 window.jsTestIsAsync = true;
index 10d623337f9d1857a9952a978b1b1754523e8bad..b2873089862b6f6853eb4cde8adc18236591f778 100644 (file)
@@ -47,5 +47,5 @@ var childBattery = childFrame.contentWindow.navigator.webkitBattery
 childBattery.addEventListener('chargingchange', childFrameListener);
 battery.addEventListener('chargingchange', mainFrameListener);
 
-internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
+internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
 window.jsTestIsAsync = true;
index fe840ffeb16d6f82fa14d85b30d49e83d00827f5..72b23fab762fffc097d0a4102265ffd44a7bcb83 100644 (file)
@@ -15,7 +15,7 @@ function checkBatteryStatus() {
 }
 
 function setBatteryStatus() {
-    internals.setBatteryStatus(document, 'chargingchange', charging, chargingTime, dischargingTime, level);
+    internals.setBatteryStatus('chargingchange', charging, chargingTime, dischargingTime, level);
 }
 
 function firstListener() {
index 18637137500943a7514bcb4eb5a57c0e3aa05828..8b1a0ffe22df0fd9419f11f959a134e013489416 100644 (file)
@@ -5,8 +5,8 @@
             testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index ca83ac99fc7118960f3063aa14bfe8bafb0eba8e..f7d31ab921cfdb29b563157e986fe7a7d13006ec 100644 (file)
@@ -5,8 +5,8 @@
             testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index b03e321b466ceb74cb36a35e2a1373bf3bd67066..2bd000d04fe1d8117cb5b379673acfd046f6713c 100644 (file)
@@ -28,8 +28,8 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index a9b574720a748f467fccb056c31ddbe03c99b7f7..92eec5f8f9d42201cdfa47d95f3af7717f5ee461 100644 (file)
@@ -5,8 +5,8 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 0);
-            
+            internals.setPagination("RightToLeftPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index f5e3150645bb320374f6836d8fafba7cce790d9e..0d1da8d12498c7986153482550cfdfdc3e16dfaa 100644 (file)
@@ -5,8 +5,8 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index 85ab7201daa6e191ecc9438634def9881d83aea6..202f9fd68aea3920dd894d8f6326686d90c89718 100644 (file)
@@ -5,8 +5,8 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index db3705244b3d350559cda8af99dc940e0d081dd4..ee928d65c12bb6956320a6cd46de33034e0715a8 100644 (file)
         }
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             window.setTimeout(function() {
                 if (window.internals)
-                    internals.startTrackingRepaints(document);
+                    internals.startTrackingRepaints();
                 document.getElementById('inner').classList.add('changed');
                 if (window.testRunner) {
                     document.getElementById('layers').innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
index afbc0563ffb9726bef09843f17c0fe848cc12118..b735cfd182a026e9fc22819d533db38a4a4db440 100644 (file)
         }
 
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 0);
-            
+            internals.setPagination("RightToLeftPaginated", 0);
+
         function dumpLayers()
         {
             window.setTimeout(function() {
                 if (window.internals)
-                    internals.startTrackingRepaints(document);
+                    internals.startTrackingRepaints();
 
                 document.getElementById('inner').classList.add('changed');
                 if (window.testRunner) {
index 30ac50cd55643fc95ad82c5565da6ed3dc5cbf45..39983d6437a503570c8e95a7197235cfbbde5dde 100644 (file)
@@ -5,7 +5,7 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
     <style>
     .spacer {
index a8c9cb292cbaf1133e189f92a61218e024932330..5baa587f85f7a3984b664f8acc51eb9f485fd04a 100644 (file)
@@ -5,15 +5,15 @@
             testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 10, 400);
-            
+            internals.setPagination("LeftToRightPaginated", 10, 400);
+
         function dumpLayers()
         {
             var result = "Element at 500, 200: " + document.elementFromPoint(500, 200).classList + "\n";
 
             if (window.testRunner)
                 result += window.internals.layerTreeAsText(document);
-                
+
             document.getElementById('layers').innerText = result;
         }
         
index 16b94f29c482c0361244e0b620e23208447b0879..684962d101dbccf1351ec6379ee7e8160251893f 100644 (file)
@@ -5,8 +5,8 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index d609db4bfc34b6f92dab741ed9c60c280ce463fe..bd324d38ac8e16d0a6e493470019b23cd11a11e5 100644 (file)
@@ -5,8 +5,8 @@
             testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
-            
+            internals.setPagination("LeftToRightPaginated", 0);
+
         function dumpLayers()
         {
             if (window.testRunner)
index a5c7d8019377af433e5ca5a1f49d78f00e62a7b0..124d9e42c5a9623b9bdaabf8d0c59e09023bf31c 100644 (file)
@@ -18,7 +18,7 @@
       if (window.testRunner) {
         testRunner.dumpAsText(false);
         if (window.internals)
-          document.getElementById("result").innerText = window.internals.nonFastScrollableRects(document).length ? "FAIL" : "PASS";
+          document.getElementById("result").innerText = window.internals.nonFastScrollableRects().length ? "FAIL" : "PASS";
       }
     }
     window.addEventListener("load", doTest, false);
index 9c4b68b7b16336cac6a01f884171ad9831726a47..15b68e4f94ae995571376192d744424040bbe2a7 100644 (file)
@@ -23,7 +23,7 @@
         document.body.appendChild(fixed);
         document.body.offsetHeight;
         fixed.className = "fixed";
-        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons(document);
+        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons();
         document.getElementById("result").innerText = !mainThreadScrollingReasons ? "PASS" : "FAIL: " + mainThreadScrollingReasons;
       }, false);
     }
index 67c0c0045bde49b17b707bd8b65d6cf6e7a52d35..4ff4ffa5bc45d11deaa35d0a4fc70895d887f7fa 100644 (file)
@@ -21,7 +21,7 @@
     testRunner.dumpAsText();
 
     window.addEventListener("load", function() {
-      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons(document);
+      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
     }, false);
   }
 </script>
index 73785c018c0d32b7a9e24e6ba193e5e8e2e3f12c..3fbb904c4b660ce6f79d24eb89c4abe606b87ee3 100644 (file)
@@ -23,7 +23,7 @@
         document.body.appendChild(fixed);
         document.body.offsetHeight;
         fixed.className = "fixed";
-        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons(document);
+        var mainThreadScrollingReasons = internals.mainThreadScrollingReasons();
         document.getElementById("result").innerText = !mainThreadScrollingReasons ? "PASS" : "FAIL: " + mainThreadScrollingReasons;
         testRunner.notifyDone();
       }, false);
index 60cb1a594a5442d5f933a9fa6e447a4e4a5779c9..ff878f2810c345dd088f7fa749c604442096b1d3 100644 (file)
@@ -20,7 +20,7 @@
     testRunner.dumpAsText();
 
     window.addEventListener("load", function() {
-      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons(document);
+      document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
     }, false);
   }
 </script>
index 25c3072a9d978531448d794fdc765978462df8ad..3256cd308da8803e3d239181721e99a2de0b5a09 100644 (file)
@@ -25,7 +25,7 @@
 
       window.addEventListener("load", function() {
         document.getElementById("layerTree").innerText = window.internals.layerTreeAsText(document);
-        document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons(document);
+        document.getElementById("mainThreadScrollingReasons").innerText = window.internals.mainThreadScrollingReasons();
       }, false);
     }
   </script>
index 40eea5f2d52e198c228b054a8fdc7d8c6b31adf1..472416005ece105f692dd1f9d4c1bad71ef15c24 100644 (file)
@@ -27,7 +27,7 @@
       document.body.offsetHeight;
       document.getElementById('content').style.height = '1000px';
       if (window.internals)
-        document.getElementById('result').innerText = window.internals.nonFastScrollableRects(document).length ? "FAIL" : "PASS";
+        document.getElementById('result').innerText = window.internals.nonFastScrollableRects().length ? "FAIL" : "PASS";
     }
 
     window.addEventListener('load', doTest, false);
index fbe855d4b33f0bdc33b719f814bd256bbaa3ca24..f8016faa6bde40dc6c9d6af16143ff657d8c8fb9 100644 (file)
@@ -38,13 +38,13 @@ repainting their contents. See https://bugs.webkit.org/show_bug.cgi?id=96087.
 
           // Scroll down. This should not cause any more repaints to the
           // scrolling contents.
-          window.internals.startTrackingRepaints(document);
+          window.internals.startTrackingRepaints();
           scroller.scrollTop = 25;
 
           var layerTree = document.getElementById('layerTree');
           layerTree.innerText =
               window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
-          window.internals.stopTrackingRepaints(document);
+          window.internals.stopTrackingRepaints();
       });
   </script>
 </head>
index 1b9189fd02c51313c604833cdeec6ec2af199676..e9e3bdba22ac27d873d27837a6f7eee3db2ce13d 100644 (file)
@@ -45,7 +45,7 @@ https://bugs.webkit.org/show_bug.cgi?id=100524.
           // Scroll all the way to the bottom and change the color of the
           // indicator (which is now outside the overflow clip).
           scroller.scrollTop = 1000;
-          window.internals.startTrackingRepaints(document);
+          window.internals.startTrackingRepaints();
           indicator.style.background = 'green';
 
           // Scroll back up so that the updated (green) indicator is visible.
@@ -53,7 +53,7 @@ https://bugs.webkit.org/show_bug.cgi?id=100524.
           scroller.scrollTop = 0;
           layerTree.innerText =
               window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
-          window.internals.stopTrackingRepaints(document);
+          window.internals.stopTrackingRepaints();
       });
   </script>
 </head>
index 2862fbc4dbe36e414def6ca1152a291703e176d2..fec61690aa96678a956647b5f702393739073923 100644 (file)
 
     function doTest() {
       if (window.internals)
-          window.internals.startTrackingRepaints(document);
+          window.internals.startTrackingRepaints();
 
       document.getElementById("target").style.left = '300px';
 
       if (window.internals) {
           document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
-          window.internals.stopTrackingRepaints(document);
+          window.internals.stopTrackingRepaints();
       }
     }
 
index 91eb1d5179b006674f9a2cb4a03d6a88aa4477dc..cd9f1052f5d001adca6328a8451a741fbde63a91 100644 (file)
@@ -33,7 +33,7 @@
             window.setTimeout(function() {
                 document.body.offsetTop;
                 if (window.internals)
-                    window.internals.startTrackingRepaints(document);
+                    window.internals.startTrackingRepaints();
 
                 window.scrollTo(0, 100);
 
index 9d91d0b96676bc062c0c34d059c49ca313c0a065..0440fc339219f4944a5a140a5e917ad55d98a7b4 100644 (file)
@@ -46,7 +46,7 @@ This test checks that repaint testing works with composited layers.
           // tracking (we don't want our lists of invalidated rects to be
           // polluted).
           document.body.offsetTop;
-          window.internals.startTrackingRepaints(document);
+          window.internals.startTrackingRepaints();
 
           child.style.background = 'blue';
           parent.style.background = 'green';
@@ -59,7 +59,7 @@ This test checks that repaint testing works with composited layers.
 
           var layerTreeText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
 
-          window.internals.stopTrackingRepaints(document);
+          window.internals.stopTrackingRepaints();
 
           text.innerHTML = layerTreeText;
       });
index 53349bc304cbdc3c37ad8a3194f1f3cebdda54a3..95255f5a7b4ff65af38d87bf56d5ac8f07feedcf 100644 (file)
@@ -34,7 +34,7 @@
             window.setTimeout(function() {
                 document.body.offsetTop;
                 if (window.internals)
-                    window.internals.startTrackingRepaints(document);
+                    window.internals.startTrackingRepaints();
 
                 document.getElementById('box').classList.add('moved');
 
index f4c52a33280ec42965738ce262300ba3c226f553..fc0176a08b4277f049fa82b39b804f5312a46061 100644 (file)
@@ -44,7 +44,7 @@
         document.body.offsetWidth;
         window.setTimeout(function() {
             if (window.internals)
-                window.internals.startTrackingRepaints(document);
+                window.internals.startTrackingRepaints();
             document.body.classList.toggle('changed');
             if (window.testRunner) {
                 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
index bce51d653809dbc2cd9e6190c843205e8a3d048b..93c2408fc6f476daf0032445b0b22b801bf59f47 100644 (file)
             }
 
             if (window.internals)
-                window.internals.startTrackingRepaints(document);
+                window.internals.startTrackingRepaints();
 
             for (var i = 0; i < 2; ++i) {
                 var newDiv = document.createElement('div');
                 resizingDiv.appendChild(newDiv);
             }
-            
+
             if (window.internals)
                 document.getElementById('layers').textContent = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS);
         }
-        
+
         window.addEventListener('load', doTest, false);
     </script>
 </head>
index b7bebd812e8b5c7a162024c244684474ff49fe51..06906798daaad6da0cbc22302aa8284223c9fc5b 100644 (file)
         {
             document.body.offsetHeight;
             if (window.internals)
-                window.internals.startTrackingRepaints(document);
+                window.internals.startTrackingRepaints();
 
             window.scrollTo(0, 1000);
             window.scrollTo(0, 100);
 
             if (window.internals)
-                document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText(document);
+                document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText();
         }
     </script>
 </head>
index 4a8249a8514a45c402bc34e135dfd65e173d3d8a..2188c08956e07f72df0c4470e6b073260c6399b8 100644 (file)
         {
             document.body.offsetHeight;
             if (window.internals)
-                window.internals.startTrackingRepaints(document);
+                window.internals.startTrackingRepaints();
 
             window.scrollTo(0, 1000);
             window.scrollTo(0, 100);
 
             if (window.internals)
-                document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText(document);
+                document.getElementById('repaintRects').textContent = window.internals.repaintRectsAsText();
         }
     </script>
 </head>
index 26c0333397f8dd39bce01737e3c9d60856a369d0..835ac90e4b69b8918872d4aa894e9b18331c8a85 100644 (file)
@@ -26,7 +26,7 @@ if (window.eventSender && window.internals) {
     leapForwardAndMove(div.offsetLeft + 20);
     leapForwardAndMove(div.offsetWidth - 10);
 
-    var cursorInfo = window.internals.getCurrentCursorInfo(document);
+    var cursorInfo = window.internals.getCurrentCursorInfo();
     var currentCursorType = cursorInfo.substring(cursorInfo.indexOf('=') + 1, cursorInfo.lastIndexOf(' '));
     shouldBeEqualToString('currentCursorType', 'Progress');
 } else {
index 50431408afc61ea92d8e3d74282c49c0203f25c4..fca4c978df2ad8b869b8126ea84019d8847efa77 100644 (file)
@@ -27,7 +27,7 @@ else {
     Markup.dump(element, 'These are the original contents');
 
     selection.collapse(element, 0);
-    internals.toggleOverwriteModeEnabled(document);
+    internals.toggleOverwriteModeEnabled();
 
     document.execCommand("InsertText", false, 'F');
     Markup.dump(element, 'After overwritting the first character');
index 4e9310f412d30e5cf86c5da4c57b05eb1ac75415..1a107042b11aab50a254d36ed2bd86d61e0137f9 100644 (file)
@@ -55,7 +55,7 @@ function verifyBlockCursorLeftPositionAndWidth(elementId, expected)
 
 if (window.testRunner) {
 
-    internals.toggleOverwriteModeEnabled(document);
+    internals.toggleOverwriteModeEnabled();
 
     verifyBlockCursorLeftPositionAndWidth("ltrtext", ["<", "<"]);
     verifyBlockCursorLeftPositionAndWidth("ltrtext-rtl", ["<", "<"]);
index 34e1f6e75b4b54a85ea86cb0d7ce7df7b380fdac..fd8f8bbc175b53e6002a1bd2def2609d3276946b 100644 (file)
@@ -18,7 +18,7 @@ else if (window.testRunner && window.eventSender) {
     document.body.addEventListener('mousedown', function() {
         if (document.activeElement != document.body)
             document.body.appendChild(document.createTextNode('FAIL: active element after click is not body element'));
-        else if (internals.hasSpellingMarker(document, 0, 4))
+        else if (internals.hasSpellingMarker(0, 4))
             document.body.appendChild(document.createTextNode('FAIL: spell check was invoked'));
         else
             document.body.appendChild(document.createTextNode('PASS'));
index 6bd00cdc967687b45ad05f6c1d10384126fab318..38359fa989db1743a8182348b91542d97ccb071f 100644 (file)
@@ -4,7 +4,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 
 document.execCommand("InsertText", false, "You has the right.")
-PASS internals.hasGrammarMarker(document, 4, 3) is true
+PASS internals.hasGrammarMarker(4, 3) is true
 Delete the end of this sentence until it becomes "You ha".
 testRunner.execCommand("DeleteBackward")
 testRunner.execCommand("DeleteBackward")
@@ -18,7 +18,7 @@ testRunner.execCommand("DeleteBackward")
 testRunner.execCommand("DeleteBackward")
 testRunner.execCommand("DeleteBackward")
 testRunner.execCommand("DeleteBackward")
-PASS internals.hasGrammarMarker(document, 4, 2) is false
+PASS internals.hasGrammarMarker(4, 2) is false
 PASS successfullyParsed is true
 
 TEST COMPLETE
index 025302a2b888be761b26bc9a083d27538b17f092..27424c5275264a08144d8e6cb762fd584fc44f71 100644 (file)
@@ -14,12 +14,12 @@ var target = document.getElementById('src');
 target.focus();
 
 evalAndLog('document.execCommand("InsertText", false, "You has the right.")');
-shouldBeTrue('internals.hasGrammarMarker(document, 4, 3)');
+shouldBeTrue('internals.hasGrammarMarker(4, 3)');
 
 debug('Delete the end of this sentence until it becomes "You ha".');
 for (var i = 0; i < 12; ++i)
     evalAndLog('testRunner.execCommand("DeleteBackward")');
-shouldBeFalse('internals.hasGrammarMarker(document, 4, 2)');
+shouldBeFalse('internals.hasGrammarMarker(4, 2)');
 
 internals.settings.setUnifiedTextCheckerEnabled(false);
 </script>
index add70124c66897e42f325127ef41ab8645466d70..677938777854e51e883f64cd68af93da7b718cac 100644 (file)
@@ -17,7 +17,7 @@ if (window.internals)
 
 function verifyGrammarMarker(destination, ungrammaticalPhrase)
 {
-    if (internals.hasGrammarMarker(document, destination.innerHTML.indexOf(ungrammaticalPhrase), ungrammaticalPhrase.length)) {
+    if (internals.hasGrammarMarker(destination.innerHTML.indexOf(ungrammaticalPhrase), ungrammaticalPhrase.length)) {
         testPassed("ungrammatical phrase '" + ungrammaticalPhrase + "' on '" + destination.innerHTML + "'");
         return true;
     } else
index 65da496c232639b42839022b0226d29717f6a162..7ca999fb0f97703d4b57a3e4e3b0fe63541d9752 100644 (file)
@@ -20,7 +20,7 @@ if (window.testRunner)
 
 function verifyGrammarMarker(destination, ungrammaticalPhrase)
 {
-    if (window.internals && internals.hasGrammarMarker(document, destination.innerHTML.indexOf(ungrammaticalPhrase), ungrammaticalPhrase.length)) {
+    if (window.internals && internals.hasGrammarMarker(destination.innerHTML.indexOf(ungrammaticalPhrase), ungrammaticalPhrase.length)) {
         testPassed("ungrammatical phrase '" + ungrammaticalPhrase + "' on '" + destination.innerHTML + "'");
         return true;
     } else
index 040a0fe2ce2cc9339d73cf6d519f55837367cbed..953499becdf8ed087430ffa0c428002f90219d95 100644 (file)
@@ -24,7 +24,7 @@ function editingTest() {
     document.execCommand("InsertText", false, "I have a issue.");
 
     if (window.testRunner) {
-        if (internals.hasGrammarMarker(document, 7, 1))
+        if (internals.hasGrammarMarker(7, 1))
             log("PASS");
         else
             log("FAIL");
index 4d1c74e328bbb4758de3642022b46f543f2fde8e..b71aba729c06522433fd6305bcd8331089f48a2a 100644 (file)
@@ -52,7 +52,7 @@ function verifyMarker(node, expectedMarked)
 
     var ok = true;
     for (var i = 0; ok && i < expectedMarked.length; ++i)
-        ok = internals.hasSpellingMarker(document, expectedMarked[i][0], expectedMarked[i][1]);
+        ok = internals.hasSpellingMarker(expectedMarked[i][0], expectedMarked[i][1]);
 
     if (ok) {
         var nodeContent = node instanceof HTMLInputElement || node instanceof HTMLTextAreaElement ? node.value : node.innerHTML;
index 1810c2897f53e956c422caf56936cb3f6f4ba499..cbd2315d0bfa3defcf791c4a343dc8452dc286a1 100644 (file)
@@ -11,7 +11,7 @@ function childHasSpellingMarker(markup)
     document.execCommand("InsertText", false, 'z');
     document.execCommand("InsertText", false, 'z');
     document.execCommand("InsertText", false, ' ');
-    var marked = internals.hasSpellingMarker(document, 1, 2);
+    var marked = internals.hasSpellingMarker(1, 2);
     root.innerHTML = "";
     return marked;
 }
index ff4eaa7b76fba3e1121bc105e789559f42ea8312..6a0cdd50d3bf51c2f0c3163ae42e41c40c213240 100644 (file)
@@ -22,7 +22,7 @@ function testSpellCheckingEnabled(target, enabled)
 
     window.target = target;
     shouldBe("target.spellcheck", enabled ? "true" : "false");
-    shouldBe("internals.hasSpellingMarker(document, 6, 2)", enabled ? "true" : "false");
+    shouldBe("internals.hasSpellingMarker(6, 2)", enabled ? "true" : "false");
 }
 
 function createElement(tagName, spellcheck)
index 616f001fd2f8ad868489bdf59574828d60a2f855..9528eb3c6f9b48c8ad736e2b498548bd47fb6e65 100644 (file)
@@ -26,7 +26,7 @@ function testWithDelete()
 
     shouldBe("firstLineText()", "'OK'");
     shouldBe("sel.anchorNode.data", "'OK zz OK'");
-    shouldBeTrue("internals.hasSpellingMarker(document, 3, 2)");
+    shouldBeTrue("internals.hasSpellingMarker(3, 2)");
 
     sel.modify("move", "left", "lineboundary");
     document.execCommand("Delete", false);
@@ -34,7 +34,7 @@ function testWithDelete()
 
     shouldBe("sel.anchorNode.data", "'OKOK zz OK'");
     shouldBe("firstLineText()", "'OKOK zz OK'");
-    shouldBeTrue("internals.hasSpellingMarker(document, 5, 2)");
+    shouldBeTrue("internals.hasSpellingMarker(5, 2)");
 }
 
 function testWithForwardDelete()
@@ -47,7 +47,7 @@ function testWithForwardDelete()
 
     shouldBe("firstLineText()", "'OK'");
     shouldBe("sel.anchorNode.data", "'OK zz OK'");
-    shouldBeTrue("internals.hasSpellingMarker(document, 3, 2)");
+    shouldBeTrue("internals.hasSpellingMarker(3, 2)");
 
     sel.modify("move", "left", "line");
     document.execCommand("ForwardDelete", false);
@@ -55,7 +55,7 @@ function testWithForwardDelete()
 
     shouldBe("firstLineText()", "'OKOK zz OK'");
     shouldBe("sel.anchorNode.data", "'OKOK zz OK'");
-    shouldBeTrue("internals.hasSpellingMarker(document, 5, 2)");
+    shouldBeTrue("internals.hasSpellingMarker(5, 2)");
 }
 
 testWithDelete();
index c107ff8bede9c367079337c3c28cf2be3d7ea661..fbafa6e2b546d628351bd0730a229676bcad2b7e 100644 (file)
@@ -11,7 +11,7 @@ function hasMarked(markup)
     document.execCommand("InsertText", false, 'z');
     document.execCommand("InsertText", false, ' ');
 
-    return internals.hasSpellingMarker(document, 0, 2);
+    return internals.hasSpellingMarker(0, 2);
 }
 
 shouldBeTrue("hasMarked(\"<textarea id='test' cols='80' rows='10'></textarea>\");");
index 98c2a2c4b78075c5fb422bec31ee53395c235e49..772cb3dff9a3d4de50e542f7896a1fa610986f5d 100644 (file)
@@ -96,14 +96,14 @@ function doTest(testNo, testData) {
     document.getElementById('container').appendChild(destination);
 
     if (window.internals)
-        lastRequestId = internals.lastSpellCheckRequestSequence(document);
+        lastRequestId = internals.lastSpellCheckRequestSequence();
 
     // A spellcheck request will be invoked.
     doCopyAndPaste(source, destination);
 
     setTimeout(function() {
         if (window.internals)
-            requestId = internals.lastSpellCheckRequestSequence(document);
+            requestId = internals.lastSpellCheckRequestSequence();
         shouldBeGreaterThanOrEqual('requestId', 'lastRequestId + 1');
 
         // Then, tweak
@@ -158,7 +158,7 @@ function waitForSpellCheckRequestDone(requestId, destination, tweakKind, restTry
     }
 
     if (window.internals)
-        var lastProcessedId = internals.lastSpellCheckProcessedSequence(document);
+        var lastProcessedId = internals.lastSpellCheckProcessedSequence();
 
     if (requestId != lastProcessedId) {
         setTimeout(function() {
index dddf7dc6e1444cf90c0fa9195969d8874eac5b4c..3e1506d138b907b6c1729e6cd04d8a685bc08472 100644 (file)
@@ -1,56 +1,56 @@
 This tests if the "spellcheck" attribute is implemented as written in its specification. If this test succeeds, you can see forms filled with an invalid word 'zz '. Nevertheless, the 'zz ' is not marked as misspelled in all of them.
 
 id=test1_1 type=text spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test1_2 type=text spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test1_3 type=text spellcheck=false parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test1_4 type=text spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test1_5 type=text spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test1_6 type=text spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 
 id=test2_1 type=text spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test2_2 type=text spellcheck=true parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test2_3 type=text spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test2_4 type=text spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test2_5 type=text spellcheck=true parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test2_6 type=text spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 
 id=test3_1 type=search spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test3_2 type=search spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test3_3 type=search spellcheck=false parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test3_4 type=search spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test3_5 type=search spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test3_6 type=search spellcheck=true parent's spellcheck=true
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 
 id=test4_1 type=search spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test4_2 type=search spellcheck=true parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test4_3 type=search spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test4_4 type=search spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 id=test4_5 type=search spellcheck=true parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is true
 id=test4_6 type=search spellcheck=false parent's spellcheck=false
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is false
 PASS successfullyParsed is true
 
 TEST COMPLETE
index c5e930758441433f03b4ce4a64a86b1c02cc283d..da49073916cf2644f559547ab64e70f498eff900 100644 (file)
@@ -59,7 +59,7 @@ function testMarkerForMisspelledWord(id, shouldBeMarked) {
     log("id=" + id + " type=" + inputElement.type + " spellcheck=" + inputElement.spellcheck
         + " parent's spellcheck=" + inputElement.parentNode.spellcheck);
 
-    shouldBe("internals.hasSpellingMarker(document, 0, 2)", shouldBeMarked ? "true" : "false")
+    shouldBe("internals.hasSpellingMarker(0, 2)", shouldBeMarked ? "true" : "false")
 }
 
 // For type="text".
index 7c944d13e5b1fceb07d0d304ee6fc58251a12984..5660aa872370b16b2ed2764836e48420ba9dc6fd 100644 (file)
@@ -3,8 +3,8 @@ Test if WebKit does not spellcheck text when pasting text and continuous spellch
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS internals.hasSpellingMarker(document, 0, 2) is true
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is false
 PASS successfullyParsed is true
 
 TEST COMPLETE
index a8d7cf42bc0471c6102d63ac32ca76f206e0976b..07ead04a232be8a864874b397c6659219f736e72 100644 (file)
@@ -24,14 +24,14 @@ document.execCommand("InsertText", false, 'p');
 document.execCommand("InsertText", false, 'p');
 document.execCommand("InsertText", false, 'l');
 document.execCommand("InsertText", false, 'e');
-shouldBeTrue('internals.hasSpellingMarker(document, 0, 2)');
+shouldBeTrue('internals.hasSpellingMarker(0, 2)');
 window.getSelection().selectAllChildren(srcNode);
 document.execCommand('Copy');
 
 internals.setContinuousSpellCheckingEnabled(false);
 
 document.execCommand('Paste');
-shouldBeFalse('internals.hasSpellingMarker(document, 0, 2)');
+shouldBeFalse('internals.hasSpellingMarker(0, 2)');
 
 </script>
 <script src="../../resources/js-test-post.js"></script>
index 25402c778773940abfde4e5ecf17e6f27a2dfef2..3761e032ba27c38c38246f04f2598e898ea83dca 100644 (file)
@@ -3,8 +3,8 @@ Test if WebKit does not spellcheck text when pasting text to an element having s
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS internals.hasSpellingMarker(document, 0, 2) is true
-PASS internals.hasSpellingMarker(document, 0, 2) is false
+PASS internals.hasSpellingMarker(0, 2) is true
+PASS internals.hasSpellingMarker(0, 2) is false
 PASS successfullyParsed is true
 
 TEST COMPLETE
index 5407a7c48222b9c15a3f2d8bdff7d3608e89b48d..db97f0d76cf455f3d883ea807d6092184b52388f 100644 (file)
@@ -25,14 +25,14 @@ document.execCommand("InsertText", false, 'p');
 document.execCommand("InsertText", false, 'p');
 document.execCommand("InsertText", false, 'l');
 document.execCommand("InsertText", false, 'e');
-shouldBeTrue('internals.hasSpellingMarker(document, 0, 2)');
+shouldBeTrue('internals.hasSpellingMarker(0, 2)');
 window.getSelection().selectAllChildren(srcNode);
 document.execCommand('Copy');
 
 var dstNode = document.getElementById('dst');
 dstNode.focus();
 document.execCommand('Paste');
-shouldBeFalse('internals.hasSpellingMarker(document, 0, 2)');
+shouldBeFalse('internals.hasSpellingMarker(0, 2)');
 
 </script>
 <script src="../../resources/js-test-post.js"></script>
index faa739b3b0ca55b7564206cc4c8fc3c4e5b0cb7e..3ca42c541d8d1c40a2a903a4d11af76d64268b58 100644 (file)
@@ -59,8 +59,8 @@ for (var i = 0; i < destinations.length; ++i) {
         return function() {
             if (!window.internals)
                  return;
-            var sequence = internals.lastSpellCheckRequestSequence(document);
-            var processed = internals.lastSpellCheckProcessedSequence(document);
+            var sequence = internals.lastSpellCheckRequestSequence();
+            var processed = internals.lastSpellCheckProcessedSequence();
             copyAndPaste(source, destinations[i]);
             verify(sequence, processed);
         }
@@ -100,8 +100,8 @@ function verify(sequence, processed)
     var nretry = 10;
     var nsleep = 1;
     function trial() {
-        var newSequence = internals.lastSpellCheckRequestSequence(document);
-        var newProcessed = internals.lastSpellCheckProcessedSequence(document);
+        var newSequence = internals.lastSpellCheckRequestSequence();
+        var newProcessed = internals.lastSpellCheckProcessedSequence();
 
         var verified = newSequence >= sequence && newProcessed >= processed && newSequence == newProcessed;
         if (verified) {
index f8eda2c4e555349a37ecbb7594f557694a34f67f..79ce257bb01bbcb8af552f4e01ff07582b91dbfd 100644 (file)
@@ -4,41 +4,41 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS target.spellcheck is true
-PASS internals.hasSpellingMarker(document, 6, 2) is true
+PASS internals.hasSpellingMarker(6, 2) is true
 PASS target.spellcheck is false
-PASS internals.hasSpellingMarker(document, 6, 2) is false
+PASS internals.hasSpellingMarker(6, 2) is false
 PASS successfullyParsed is true
 
 TEST COMPLETE
index 222f569a86d0dda920c753f3146d247504389975..353062051af1120893e72636f23f9e06d9128962 100644 (file)
@@ -5,16 +5,16 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 PASS firstLineText() is 'OK'
 PASS sel.anchorNode.data is 'OK zz OK'
-PASS internals.hasSpellingMarker(document, 3, 2) is true
+PASS internals.hasSpellingMarker(3, 2) is true
 PASS sel.anchorNode.data is 'OKOK zz OK'
 PASS firstLineText() is 'OKOK zz OK'
-PASS internals.hasSpellingMarker(document, 5, 2) is true
+PASS internals.hasSpellingMarker(5, 2) is true
 PASS firstLineText() is 'OK'
 PASS sel.anchorNode.data is 'OK zz OK'
-PASS internals.hasSpellingMarker(document, 3, 2) is true
+PASS internals.hasSpellingMarker(3, 2) is true
 PASS firstLineText() is 'OKOK zz OK'
 PASS sel.anchorNode.data is 'OKOK zz OK'
-PASS internals.hasSpellingMarker(document, 5, 2) is true
+PASS internals.hasSpellingMarker(5, 2) is true
 PASS successfullyParsed is true
 
 TEST COMPLETE
index 70e52bff69568b998bc538ecf456c775135d1dcf..73fea762e2a18958276ca0f7b04d68753fcf2476 100644 (file)
@@ -34,7 +34,7 @@ function editingTest() {
 
     if (window.testRunner) {
         selection.setPosition(elem, 0);
-        if (internals.hasSpellingMarker(document, 6, 2))
+        if (internals.hasSpellingMarker(6, 2))
            log("PASS");
         else
            log("FAIL");
index 9b168180b725c5c4c3db240eb6574c7057285629..a855217dede42048f1fab4acd9af8cf24ae3abd5 100644 (file)
             if (!window.testRunner || !window.internals)
                 return;
 
-            window.internals.startTrackingRepaints(document);
+            window.internals.startTrackingRepaints();
             document.getElementById('box').classList.add('shadowed');
-            document.getElementById('repaints').textContent = window.internals.repaintRectsAsText(document);
-            window.internals.stopTrackingRepaints(document);
+            document.getElementById('repaints').textContent = window.internals.repaintRectsAsText();
+            window.internals.stopTrackingRepaints();
         }
         
         window.addEventListener('load', doTest, false);
index d98542993376e6608880e0f05d3e77e6c6f28e34..42c2c6438c26f8406b993497383af0525ecde775 100644 (file)
@@ -11,7 +11,7 @@
 <script>
     if (window.internals) {
         testRunner.dumpAsText();
-        internals.paintControlTints(document);
+        internals.paintControlTints();
     }
 </script>
 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=68133">68133</a>: Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled<br>
index 27eece53e9964491a1bb4c4e7d7fc8b678cca61e..2d37987fcdf39e65804fe0b4d630a96d1dd91769 100644 (file)
@@ -11,7 +11,7 @@ display: table-footer-group; -webkit-mask-box-image: url("bogus.png");
 <script>
     if (window.internals) {
         testRunner.dumpAsText();
-        internals.paintControlTints(document);
+        internals.paintControlTints();
     }
 </script>
 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=68133">68133</a>: Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled<br>
index 847a27a749e09de8b1e9391e52f0640dc0738b65..c5ff68e91dd69d4d4f097b3adba4addf555c653f 100644 (file)
@@ -11,7 +11,7 @@
 <script>
     if (window.internals) {
         testRunner.dumpAsText();
-        internals.paintControlTints(document);
+        internals.paintControlTints();
     }
 </script>
 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=68133">68133</a>: Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled<br>
index c655362059b18a315412fbb7a27d998c215684d8..34f97849cdb2124a5bbea5bc82d79de74ea47290 100644 (file)
@@ -9,7 +9,7 @@ AA000A00AAA00<table><tr><td>
 <script>
     if (window.internals) {
         testRunner.dumpAsText();
-        internals.paintControlTints(document);
+        internals.paintControlTints();
     }
 </script>
 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=68133">68133</a>: Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled<br>
index c87e5397d6f9c27a597c6593157382b50f869c4a..3ed559ce7be83c5489532384a5e7b5e731e7163e 100644 (file)
@@ -13,7 +13,7 @@
 <script>
     if (window.internals) {
         testRunner.dumpAsText();
-        internals.paintControlTints(document);
+        internals.paintControlTints();
     }
 </script>
 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=68133">68133</a>: Crash in RenderBox::paintMaskImages when GraphicsContext's painting is disabled<br>
index 27659fd0fc1682eaab39b727a1132cecf7af0d37..eef3d85c5087f987c8339e929e2acc411fd29bf4 100644 (file)
@@ -45,7 +45,7 @@ function runTests() {
 
     // check that the URL list in the document is as we expect
     var expectedURLs = "http://test.com/oldfavicon.ico";
-    var iconURLs = window.internals.shortcutIconURLs(document);
+    var iconURLs = window.internals.shortcutIconURLs();
     if (expectedURLs == iconURLs[0])
         testPassed('URL list matches expected');
     else
index e59c584c9e68ca0640a602471757c5767004ef99..76dc62a79ba28a7422860c3137d161cdb8fc1ad3 100644 (file)
@@ -13,7 +13,7 @@ function runTests() {
     debug('Tests that all favicons and touch icons (if ENABLE(TOUCH_ICON_LOADING)) are in document.iconURLs()');
 
     // Fetch the actual list of icon URLs.
-    var actualURLs = window.internals.allIconURLs(document);
+    var actualURLs = window.internals.allIconURLs();
 
     // Print out the URL list in the document to match it against the expected list.
     // Note that the expected order is reverse to ensure that icons seen later
index 5406021210cfa8d90538f36ab34e4bf68e14c892..06cd9614dd1c14a20d90d3b88cd318e206671170 100644 (file)
@@ -48,7 +48,7 @@ function runTests() {
     var expectedURL0 = "http://test.com/barfavicon.ico";
     var expectedURL1 = "http://test.com/foofavicon.ico";
     var expectedURL2 = "http://test.com/newfavicon.ico";
-    var iconURLs = window.internals.shortcutIconURLs(document);
+    var iconURLs = window.internals.shortcutIconURLs();
     if (expectedURL0 == iconURLs[0] && expectedURL1 == iconURLs[1] && expectedURL2 == iconURLs[2]) 
         testPassed('URL list matches expected');
     else
index ff71712e93a10e9336922d1551f79612aaa997d1..035921d393e0e2f425d21d74f4a002ddcdc43444 100644 (file)
@@ -54,7 +54,7 @@ function runTests() {
 
     // check that the URL list in the document is as we expect
     var expectedURLs = "http://test.com/newfavicon.ico";
-    var iconURLs = window.internals.shortcutIconURLs(document);
+    var iconURLs = window.internals.shortcutIconURLs();
     if (expectedURLs == iconURLs[0])
         debugOutput('PASS - URL list matches expected');
     else
index 86f6dbddb0f7072972ca0144fe56e1236fef19f3..7646ae241d9509db02788a93dbf60405ed20903b 100644 (file)
@@ -31,7 +31,7 @@ if (window.testRunner) {
 function runTest(prepare, next) {
     prepare();
     setTimeout(function() {
-        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
         debug('');
         next();
     }, CURSOR_UPDATE_DELAY);
index 02aa7aed42149bb02bb8efe73b793ea89c904819..cb096871ce19144340964cdb5ae7eced621d2134 100644 (file)
@@ -44,7 +44,7 @@ function checkCursors() {
         // Note that we could return structured data which we then validate, but that's a lot more
         // work and is redundant with relying on the expected output anyway.  Better to just dump
         // it and inspect that it matches the description.
-        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
         debug('');
     }
 }
index 3758958b0805f7454219cb5e7bfa42e1ff881ef7..89b142f778402180561df99b25b6fcd972f2b8eb 100644 (file)
@@ -35,7 +35,7 @@ function runTests() {
             // Note that we could return structured data which we then validate, but that's a lot more
             // work and is redundant with relying on the expected output anyway.  Better to just dump
             // it and inspect that it matches the description.
-            debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+            debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
             debug('');
         }
         // This text is redundant with the test output - hide it
index 40f12cdc44c2cdb60e46a073974f2e8ae141f909..c0720a49eb17fbe08880843d6a1b29f83ebc007d 100644 (file)
@@ -33,14 +33,14 @@ if (window.eventSender) {
     var node = document.getElementById('target');
     debug('TEST CASE: ' + node.textContent);
     eventSender.mouseMoveTo(node.offsetLeft + 3, node.offsetTop + 3);
-    debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+    debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
     node.addEventListener('mousemove', function() {
         testFailed('Mousemove event should not be fired when changing cursor');
         finishJSTest();
     });
     node.style.cursor = 'help';
     setTimeout(function() {
-        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+        debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
         debug('');
     }, CURSOR_UPDATE_DELAY);
 
index 96ec700a7fa740598708ff9c407af1b5fa14a6f3..6cfc859f82f8e8f233770a49eec3f137174161bb 100644 (file)
@@ -61,7 +61,7 @@ function runTests() {
             // Note that we could return structured data which we then validate, but that's a lot more
             // work and is redundant with relying on the expected output anyway.  Better to just dump
             // it and inspect that it matches the description.
-            debug('Cursor Info: ' + window.internals.getCurrentCursorInfo(document));
+            debug('Cursor Info: ' + window.internals.getCurrentCursorInfo());
             debug('');
         }
         // This text is redundant with the test output - hide it
index 796d327721eff6f7ce9eb0a75c923882d42cc09d..83811805fe15668b45a141240d183775b50efe1d 100644 (file)
@@ -4,75 +4,75 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 
 Test addEventListener/removeEventListener on the document.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 0
 Test setting touch handlers on the document.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 0
 Test addEventListener/removeEventListener on the window.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 0
 Test setting touch handlers on the window.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 0
 Test addEventListener/removeEventListener on a div.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 0
 Test setting touch handlers on a div.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 4
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 4
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 0
 Test addEventListener/removeEventListener on a new div.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 0
 Test setting touch handlers on a new div.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 0
 Test that nested Documents' touch handlers are properly removed from their parent Document.
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 1
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 1
+PASS window.internals.touchEventHandlerCount() is 0
 
index 4b277781719925c247199d82e8863bf7cf90e12e..956fc32eee573b04263c0ac96f1bc54b2999a34c 100644 (file)
@@ -7,92 +7,92 @@ debug("Test addEventListener/removeEventListener on the document.");
 (function() {
     var listener = function() { }
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     document.addEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     document.addEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     document.addEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     document.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     document.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     // Try removing the capturing listener again.
     document.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     document.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     document.removeEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test setting touch handlers on the document.");
 (function() {
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     document.ontouchstart = function() { }
     document.ontouchmove = function() {}
     document.ontouchend = function() {}
     document.ontouchcancel = function() {}
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     document.ontouchstart = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     document.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     document.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     document.ontouchmove = null;
     document.ontouchend = null;
     document.ontouchcancel = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test addEventListener/removeEventListener on the window.");
 (function() {
     var listener = function() { }
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     window.addEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     window.addEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     window.addEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     window.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     window.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     // Try removing the capturing listener again.
     window.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     window.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     window.removeEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test setting touch handlers on the window.");
 (function() {
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     window.ontouchstart = function() { }
     window.ontouchmove = function() {}
     window.ontouchend = function() {}
     window.ontouchcancel = function() {}
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     window.ontouchstart = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     window.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     window.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     window.ontouchmove = null;
     window.ontouchend = null;
     window.ontouchcancel = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test addEventListener/removeEventListener on a div.");
@@ -100,48 +100,48 @@ debug("Test addEventListener/removeEventListener on a div.");
     var listener = function() { }
     var div = document.getElementById('touchtarget');
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     div.addEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     div.addEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     div.addEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     div.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
     div.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     // Try removing the capturing listener again.
     div.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
     div.removeEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     div.removeEventListener('touchstart', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test setting touch handlers on a div.");
 (function() {
     var div = document.getElementById('touchtarget');
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
     div.ontouchstart = function() { }
     div.ontouchmove = function() { }
     div.ontouchend = function() { }
     div.ontouchcancel = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     div.ontouchstart = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '4');
+    shouldBe('window.internals.touchEventHandlerCount()', '4');
     div.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     div.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
     div.ontouchmove = null;
     div.ontouchend = null;
     div.ontouchcancel = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test addEventListener/removeEventListener on a new div.");
@@ -150,30 +150,30 @@ debug("Test addEventListener/removeEventListener on a new div.");
     var touchtarget = document.getElementById('touchtarget');
     var listener = function() { }
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 
     div.addEventListener('touchstart', listener, true);
     div.addEventListener('touchmove', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     touchtarget.appendChild(div);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     div.addEventListener('touchend', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
 
     div.removeEventListener('touchstart', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     touchtarget.removeChild(div);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     div.removeEventListener('touchmove', listener, false);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     div.removeEventListener('touchmove', listener, true);
     div.removeEventListener('touchend', listener, true);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test setting touch handlers on a new div.");
@@ -181,27 +181,27 @@ debug("Test setting touch handlers on a new div.");
     var div = document.createElement('div');
     var touchtarget = document.getElementById('touchtarget');
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 
     div.ontouchstart = function() { }
     div.ontouchmove = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     touchtarget.appendChild(div);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     div.ontouchend = function() { }
-    shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+    shouldBe('window.internals.touchEventHandlerCount()', '3');
 
     div.ontouchstart = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     touchtarget.removeChild(div);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+    shouldBe('window.internals.touchEventHandlerCount()', '2');
 
     div.ontouchend = null;
     div.ontouchmove = null;
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 
 debug("Test that nested Documents' touch handlers are properly removed from their parent Document.");
@@ -209,7 +209,7 @@ debug("Test that nested Documents' touch handlers are properly removed from thei
     var iframe = document.createElement('iframe');
     var touchtarget = document.getElementById('touchtarget');
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 
     touchtarget.appendChild(iframe);
 
@@ -218,10 +218,10 @@ debug("Test that nested Documents' touch handlers are properly removed from thei
     nestedDocument.write("<!DOCTYPE html>\n<html><body onload=\"window.ontouchstart = function() { };\"></body>");
     nestedDocument.close();
 
-    shouldBe('window.internals.touchEventHandlerCount(document)', '1');
+    shouldBe('window.internals.touchEventHandlerCount()', '1');
 
     touchtarget.removeChild(iframe);
-    shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+    shouldBe('window.internals.touchEventHandlerCount()', '0');
 })();
 </script>
 </body>
index c8ba371a13db0f9d1f55f2e15aead32b49cb406f..84ef9f0043efab57709cbaea0c651f6c8bbe26d1 100644 (file)
@@ -3,10 +3,10 @@ This test checks that we correctly update the touch event handler count when an
 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
 
 
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 0
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 3
-PASS window.internals.touchEventHandlerCount(document) is 2
-PASS window.internals.touchEventHandlerCount(document) is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 0
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 3
+PASS window.internals.touchEventHandlerCount() is 2
+PASS window.internals.touchEventHandlerCount() is 0
 
index 5a102186804d2da2ae02cc87f1f1aa6179411142..b667452f37aac5b5638ec1db24e4d37e117a9cbb 100644 (file)
@@ -4,26 +4,26 @@
 description("This test checks that we correctly update the touch event handler count when an Input element with default touch handlers changes documents.");
 
 
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+ shouldBe('window.internals.touchEventHandlerCount()', '0');
 
  // There are two touchable Input elements in Audio's shadow DOM when controls are enabled.
  var input = document.createElement('audio');
  input.setAttribute("controls", true);
  var container = document.getElementById('container');
 
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+ shouldBe('window.internals.touchEventHandlerCount()', '0');
 
  container.appendChild(input);
- shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+ shouldBe('window.internals.touchEventHandlerCount()', '2');
 
  input.ontouchend = function() { };
- shouldBe('window.internals.touchEventHandlerCount(document)', '3');
+ shouldBe('window.internals.touchEventHandlerCount()', '3');
 
  input.ontouchend = null;
- shouldBe('window.internals.touchEventHandlerCount(document)', '2');
+ shouldBe('window.internals.touchEventHandlerCount()', '2');
 
  document.implementation.createDocument("", "", null).adoptNode(input);
- shouldBe('window.internals.touchEventHandlerCount(document)', '0');
+ shouldBe('window.internals.touchEventHandlerCount()', '0');
 
 
 </script>
index 158e573dcbc0f3887157a5c85fc30633062d52c6..3753cef45253c046dcff0172982dcffc430a2a8f 100644 (file)
@@ -8,7 +8,7 @@
         <script>
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                internals.setPagination(document, "LeftToRightPaginated", 20, 100);
+                internals.setPagination("LeftToRightPaginated", 20, 100);
                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 550).startContainer === document.getElementById("target")
                     ? "PASS" : "FAIL";
             }
index bce92b81a906513caff4237ef7712ee68cfe6511..94041c41b76c97ab61ce1228619d51f1d0e4da5f 100644 (file)
@@ -8,7 +8,7 @@
         <script>
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                internals.setPagination(document, "LeftToRightPaginated", 20, 100);
+                internals.setPagination("LeftToRightPaginated", 20, 100);
                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 50).startContainer === document.getElementById("target")
                     ? "PASS" : "FAIL";
             }
index 0764e5c5d96fcb3b3b79c0b1cdd384bd7872c70c..f36f0dce44a8e23c7360fbe3ddcf99baa2431434 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index b9828fa884f11be26cd274dabe875e1614ddb131..ec6bfc96f2d7a5c61c73e03c73eacd7ffac8f88c 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index e0e7300cf539bdeed430d34550158d6dadaa061a..1d670faa25c1824849b11d37704e5e1cd97067fb 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index 6412da5932660351e5b476bae8daf67c9955676f..c979c42418127397bc604b05f1b3d047d9642cb5 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 0);
+            internals.setPagination("RightToLeftPaginated", 0);
     </script>
 </head>
 <body>
index 9a67328fde58d1cb550bd72a4a32679325681a24..633c58f8b35842fda76df32951608da38a5d1828 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 0);
+            internals.setPagination("BottomToTopPaginated", 0);
     </script>
 </head>
 <body>
index e0496f68af5133662f456f41b33b609e5dc058f1..eca917aae2233ac499a83ad854299b3ed2b9b19c 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index 0f8d3bb30aff24cdeedf10b8531917f871fac6b9..65ea109790010285b961c97d37d1452105ba5b61 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index a4c85f19ce58ed4d01e1995f14db16a5a9c9b5a8..6c64dd7cb3f4291e06bd6eb61d01cb8517e1ba70 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index 59148e248c5ed8b76db3de5205b4e249b6bf832d..2d5b09c1c98f79f2e570b96fb0f8794277d2a91e 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 20, 180);
-    </script>    
+            internals.setPagination("BottomToTopPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index b2d63dd5fed322beef479ae2143c2b2712ea1979..faec0ca2d1ecae3aa349c9647fe24c04a577ee58 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 20, 180);
-    </script>    
+            internals.setPagination("BottomToTopPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 17a313c1d008319deca44bdbaf03e77921b95581..f3a3bb1b10fd7b747cc55adcc194f709cae09082 100644 (file)
@@ -17,7 +17,7 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 20, 180);
+            internals.setPagination("BottomToTopPaginated", 20, 180);
     </script>
 </head>
 <body>
index aa7be587a55f9ea2b0ea64f1c97186f6ea390d69..2df0e8b09b195a9593e37ed8184c91b266f86769 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 20, 180);
-    </script>    
+            internals.setPagination("BottomToTopPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index bb26f0345aea7b01e4c7af03efb95c5fa400e62c..ad4b55b7dbef46d1d4e8bc086deea2c9f5ceee8a 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 20, 180);
-    </script>    
+            internals.setPagination("LeftToRightPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index d1e4e9859e21312ac40027524c778504ae9e555b..6ab6d1a24d1af3fa2a6fba4a8bc601a2c4c2d92d 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 20, 180);
-    </script>    
+            internals.setPagination("LeftToRightPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 659aacbbbd65e0326dd47826ebffe9e688d391c1..d7605b05c462227a8a003f275b956db8fc866c94 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 20, 180);
-    </script>    
+            internals.setPagination("LeftToRightPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 5059a6a0c1ca9f90d63aa1bf49b48567be69de91..50caf40c211aadf0e16240fe5bcfe1d0681805f5 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 20, 180);
-    </script>    
+            internals.setPagination("LeftToRightPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index a75be472a54f642ef5ec7623720da7c79a7be4dc..a8b5db4e7b9664a855dd520929c519484c92dfda 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 20, 180);
-    </script>    
+            internals.setPagination("RightToLeftPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 30b921c4328d1ecdfca898963b92f2e32c7235de..e962049b1e48a76686b2afa42d4d42d5aae14845 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 20, 180);
-    </script>    
+            internals.setPagination("RightToLeftPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index f1e446f614c5d063ec50d181ed9127cb377da36f..af13d5634dece5aecad88fde8150110b9f7be111 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 20, 180);
-    </script>    
+            internals.setPagination("RightToLeftPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index b106247925401356a2c2733c82c3dadf57ef8893..4e5f45f83c05edcb3befa0d41de27b011f2c47a5 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 20, 180);
-    </script>    
+            internals.setPagination("RightToLeftPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 8cf5759e48b45d2289089e80fbaaa430c6dc2ff4..f9fc82ae9a0737bbee972f0a84837d4df7e13346 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 20, 180);
-    </script>    
+            internals.setPagination("TopToBottomPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 8fb29e3d54a829f0e6b6845c5d1fca0f819cd8c3..0244af59ca8fa550f8907320b5c438b6a4f3e759 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 20, 180);
-    </script>    
+            internals.setPagination("TopToBottomPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 355c6bff3c8fcc40936c6d7a796436191d0ea846..3a50b46e95336398500658854edb7fdfb9cbb3f7 100644 (file)
@@ -17,7 +17,7 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 20, 180);
+            internals.setPagination("TopToBottomPaginated", 20, 180);
     </script>
 </head>
 <body>
index 968057b2121e5a5a6d1ad990a9da642afbe9ed45..872c07b2093eb0290085c3a03fa70168c598eef3 100644 (file)
@@ -17,8 +17,8 @@
     </style>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 20, 180);
-    </script>    
+            internals.setPagination("TopToBottomPaginated", 20, 180);
+    </script>
 </head>
 <body>
 
index 50279345668c9ed1ca9d9a22c65f164ed20aaa93..e7a72b3320aab1aab9dcda15b2d721ac358d6bd8 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 0, 400);
+            internals.setPagination("RightToLeftPaginated", 0, 400);
     </script>
 </head>
 <body style="width:100%; height:100%;">
index c8a88d408dec61590fb13768b310b079f0d0389c..1091e8fb548eafb6902f8855cb3f5b9b87382df6 100644 (file)
@@ -51,7 +51,7 @@ function start() {
     if (!window.testRunner || !window.internals)
         return;
         
-    window.internals.startTrackingRepaints(document);
+    window.internals.startTrackingRepaints();
     window.testRunner.display();
 }
 
@@ -59,8 +59,8 @@ function logRepaints() {
     if (!window.internals)
         return;
         
-    repaintRects = window.internals.repaintRectsAsText(document);
-    window.internals.stopTrackingRepaints(document);
+    repaintRects = window.internals.repaintRectsAsText();
+    window.internals.stopTrackingRepaints();
     shouldNotBe("repaintRects.indexOf('28 84')", "-1");
     shouldNotBe("repaintRects.indexOf('8 84')", "-1");
     finishJSTest();
index 9ae941f803cd19014883ae88d2d1b2b2d51208e3..cea97196d4e1cf8845d31130bff178ced1fb1900 100644 (file)
     function startTrackingRepaints()
     {
         document.body.offsetTop;
-        window.internals.startTrackingRepaints(document);
+        window.internals.startTrackingRepaints();
         testRunner.display();
         setTimeout(logRepaints, 200);
     }
 
     function logRepaints()
     {
-        repaintRects = window.internals.repaintRectsAsText(document);
-        window.internals.stopTrackingRepaints(document);
+        repaintRects = window.internals.repaintRectsAsText();
+        window.internals.stopTrackingRepaints();
 
         shouldBeEqualToString("repaintRects", "");
 
index 8b83cfec4119103160ff01795ff2e5b06926999b..b94010ed1328793ad50cbdc50130d1c9f0f9c648 100644 (file)
@@ -8,16 +8,16 @@ function runRepaintTest()
         else if (document.documentElement)
             document.documentElement.offsetTop;
 
-        window.internals.startTrackingRepaints(document);
+        window.internals.startTrackingRepaints();
 
         repaintTest();
 
         // force a style recalc.
         var dummy = document.body.offsetTop;
 
-        var repaintRects = window.internals.repaintRectsAsText(document);
+        var repaintRects = window.internals.repaintRectsAsText();
 
-        window.internals.stopTrackingRepaints(document);
+        window.internals.stopTrackingRepaints();
 
         var pre = document.createElement('pre');
         document.body.appendChild(pre);
index 43319c51044bbbaefbf7c93c913e7e1cb49a7e5a..acc0372b5f8885526d20c305d5fc2bc7b48cd991 100644 (file)
@@ -23,11 +23,11 @@ function end()
     var result = 0;
 
     if (isDRT) {
-        result = internals.numberOfScrollableAreas(document);
+        result = internals.numberOfScrollableAreas();
         shouldBeTrue(stringify(result == referenceResult));
         if (referenceIntermediateFunction) {
             referenceIntermediateFunction();
-            result = internals.numberOfScrollableAreas(document);
+            result = internals.numberOfScrollableAreas();
             shouldBeTrue(stringify(result == referenceResult2));
         }
 
index 4d8b9bdf035325525a4baf9a42df55a8c3d47a88..06dea7ddb604a26123316b2e17e01ae8ef12a204 100644 (file)
@@ -6,7 +6,7 @@
 <script>
 if (window.testRunner && window.internals && internals.setDelegatesScrolling) {
     testRunner.dumpAsText();
-    internals.setDelegatesScrolling(true, document);
+    internals.setDelegatesScrolling(true);
 }
 </script>
 </body>
index 13fee4dcdeab8ec8cb343d54b9cf76b064e568dd..2f6bc40fd3002d46747e05fd7878aed7c7c5e80d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 1f6146021f31a5a028b8719f56c868a4d5b1a470..d308f00c9d444f10afdc6fd4b91176e78a999ee7 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a19811bf93e754e2328211a39640152e30caa1bc..d40e30428b50476b598953c99b09fc28584c3b4e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 5c28a32da740063dc9d45194f921a5c867072f9a..c4efc88b1933160a8977d1864ac090303b300d72 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 49d996b06daf24980cc14ab09e651cb15533a040..dfe5b67393b34bbd2ff9bafadbf5533067f6a9d5 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index d8079bc8eb66b8dc74fd30759167cc69645a8739..3d0749031339c8510d9e2973d25018aff654c366 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index b4397b2f57d493ce654d28c9f8517623a75dc4da..6f3ba040eaf48f2846dbe6d6ec0966b2bb23cee2 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ed5a7661268653714a5f63a3f6fdad24211cb784..cd848f25d0b69f53fcbb55941e7e411d12928fd0 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 223152a7c410f37c5875e768ddb6d63322e758f9..3af84012092ddea4dfa3317438da3dd966f8d107 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index cefe5e1b5a657cf4fdf43895547234111f624ea0..f51baec9382818d53a824133ad798cdfafa6ed0d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 777aa96782cbbc773d961f4790303409e39644c9..d456ab4a8504070f66d9698d536d7965931fe102 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index fd9b341690e362de78b3f675e24fed8b6643e221..4e87a080cc6fdd0ea47785fe5dd12c1d42c0f94a 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 922b421062394fc05d5d7cc3235d3dbeddd84d32..15ccfc00fdabdc5c5ba9fbbab1f262e80335f7ef 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 88e52f64d69da39b96433fdc0e015dccd1cc1c78..a6e45b19125d383a9e418214f829285068b7d47b 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 13f2074df968a762d6d6401a105980f236b2fe57..2c635858f07e17d5e4122d54c8d525d568f18317 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index d01d1e699ee14aef760ff1c6e47666af10904b12..e6567c73f5af2d04b630255761fc4d560205856d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e44e800193c12cf6826bff4e3ea05812896fc2a7..15bd6b45fca8afa0354f151769fb80208ac37b57 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a5b3caf628982311555aa061e09257c87b1de37c..bbbaa4da7955cc52c65daa93f8c2f6944dd96f4c 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 819b5591f2967fe112ca72e434577a6fc5f3ada6..f74772fda48adc726febc7798c97d9e27b989070 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index bcf5aea91509fc545d49f53d3a8f1d1b520a1408..8a1b305b319d610e147f13929225d032100249cc 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 3c7510f7c42176c5b9a53d6bf75fd7c4c82b6660..3ccaebbe0b07e8af39ff9949f4165f781a5a38ed 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 9c6ac70ccc3f1339980bdf5ebfbf66170d2221e2..6ae82c5232520c7e5593b0f44e001f479d6db251 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 09cc764dce2ba1dd2a304160582dce5efc246f2d..0ae049bb97e9a55b42119b8bb83008f7785e6eae 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ae3a229b9237c4363c6359a167b0bcfbfc075671..18a09a6620f818e35b19cb636d6a3a32b0b879f0 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 230, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 230, 480, 320, 352));
             }
         }
     </script>
index 3dbaaf8d605d8ec019b21d471289f13e3ecb9adc..15ac54be9c4d5d0d88110fdd7baf15c8a0549ff2 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 816f8adcd5ac57a5fc3cd645acd91a1a5ca56ac5..2f91331b8a2bc36c34596d4c0d4bf58ed5d2a4f6 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a68af9265c393d367fee929fa07befe07d9b8975..1c6fac7285ad2ad028ea4696716caaa303f1e4e8 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index c6c39f2def239ae4866a954f6dedba755baf7c3f..910c1ddbfc7fb7cc92383ba46b402b8c0c108980 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index f0f1cfa758e4f9b1cfd24e89d969f9cfb98094d7..6b7db77f7b167acbb5946332beb648d03263a14a 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 7f4bb78e617d0296fd632cc049a3bb5dbc070731..ebb25fc6f0b6d15af61384abb6109552ef021d7a 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index b1b0ed37242416c2b58c1595611fa21ac39fba88..588ffbc9669272d9e6bc3090d58ac9244df33a17 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 89b2b554019c27668225f831d63f504abb1bd507..38fe875653de9073da0050e3b04c17a5ca2c5c87 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 0ad6c61b88f8492f401421f24621ff7fdf55f81c..1e86afbd3b101f367cd8c80ed16a5f4f91426a8a 100644 (file)
@@ -20,7 +20,7 @@
 
                 } else {
                     // if this point is reached the page is comming from the page cache.
-                    alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                    alert(internals.configurationForViewport(1, 320, 480, 320, 352));
                     setTimeout(function() { if (window.testRunner) testRunner.notifyDone(); }, 0);
 
                 }
index 3091cdbd49edb6c75330bbd6b1c103f46a1a4483..5ac0e3a799034df5293129d818b7922e045b88e4 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 982a0d71f39967a7d8a4c5db063b139c5d2beb5c..1345f799297e4d51e1578acd9a67fb4f8489357d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 8604ed952ca9bb707d8e0ed24a57d82c0def6c54..633a4ce35424cb3595754ab209ce58e8c5e2295a 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e2389823207d7acc0a6a3ede5367152ef54f97d2..6ba4c546365de817ca2e556b4ba43ff4c3058ac3 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index c712c54082ac9ccac17dab964318ccf28b6f9c3c..87c3fd93fdad361a80fdfd4dbdfdc71a07e3367c 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 20daff53f19769ecda3e8cb048e17d4369944e0b..b19987eb3543a6043a802892d1aac9c066293462 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index fcad79b089abf063e9bada2d5003315713462a49..aa85799fa19ecdbb2c5aa99aeb399491630a1627 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ca0726354ce13d25fde7caad206976e1559725cd..9547e6fdc81a68218f25d73e628529d2462c144e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 6e088757edc8a4dcc8abe1fe3c0f11995522e2f2..ce8091d41576f8a71ee8e8fdf0118203ab3b6344 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 2376429d26fcbe66233a9a130ed5d47908a40693..77b743d17f48b16ad4a54928f69518f9b3ed09e8 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 27ddbc81ecb9f1a9d440ae7deef4c602400e33fa..223d926c5d37d6927214316e11f3e9d83cc1026f 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 8ea60a2e57dd85599ebcc323a19a1b125951e5fc..5fa60ed1dc9674e07126ef142c23ec13fc23737e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 2cfe96e0c512d8de44a7e67b28af4a833e9343b0..6c4614e79cb528032b7e3a2844a1ce822c611bbf 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 47bd03a2ba5aa767ef09aee00a3cc1c030c6660f..3754ac87f2899f1c3a89587eae882c58a292c83d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 12cb992eae8bd5f4e26093c441e87942cab0d926..5b760a59a2790bb4211f74b5d4cb6cc05b9c555f 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index b9edf424268ebcf9e11d429c52ef242ed7f82eee..98d1545a949c2f4f32eaa5e2dae610a75187e7b8 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index cd69dd2f0ad3b09bd4f944f47cf10b584788a776..3b24262765b78318039162d5f315ad21ba33c582 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e645a4c16f7b3696c33a74643d7406ac150e30fa..bd024d30be8e5f527e1074e184b99f44096ba1fd 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a7fd6fd2e7a7b2b628c2711d2ae51aea0e62354b..40dfa18281d2034c2031fe7ea8d83b7db226015c 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 644ff8928574a2da877577188651d59586b72a58..17427fc9a5892571e4554d893378e199b5f60dd8 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 63cc8d956da358e00bf7a71c7d55aabc00980e62..8bd8b09b2bf2535a02250782cab170725ec00d09 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 649b8a154d378c76c33fa888f252b58381c62d7b..0fde07660c17459deb24d7816fab6e6d9106153e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 188e3497f956b19da0b78d47ddce9510e53f5438..e7ffb59ebd1861a51561752706d63c0d532f0b67 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index df22de2f81d46ddbcfeec58ed5359bd412adb580..4149512599b6b9a21f265cc4b3674211b1c922f5 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 97dbdfcc170f682f57e07e2b93a40664bacb9ed5..f5ce9158507a65c8f1da24af2be539b1a3945c8e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index c8d2935c57d95bf86d43bd24532a41081ab25235..d0c4788260177329c78a01b205cf900cfd6a6958 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 03e17b348ce1d53ba1ea1cbdd26b1509ee10a9bc..0e79b4b946512d5aa62362c98fb72f992c54e946 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index bb418d3adf5fc787bdaf79e39be004860d27ef23..45edfe1975e8b9be3111e6740b454718973cbf23 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 0049f867d2b3eb9222ede2ac2bd2f56cafc0a415..888d9aca5ed7dae368464369c7a5d2f5d57f27cf 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 9a750913339a7be34bc01344f0b0db7c0f0ec2da..cf9619e3207a38d072f052aeeeb64f8ad851cf35 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 8bbd389ed5943f1894318f5ef90b8a6064bdce4e..0849b48c31e2915460d4d3d6f06dee450233177b 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 5b8b01b484561530f1d6767cb98a1724480eac9d..e8b69c930b2139c46d3aead9f7737cd6ee163502 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 92a3745f7fc70af5acdfed3060e1e0a10a93ba91..0636e1080822dcf06b4b0e2e01699269d1814f6b 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 47facdffcde5b18257dd37499184b96a20e0b2cc..a98082836221ed04055350618b0ae4f80e191fa2 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index afaa6ac1bd497f256bbf425cd83eea8942e45fba..42efa580aa0cd6f4aa6c8778c339e66aa3484b41 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index dc236cfa416c94e92f42af4531c857e425d279d9..914c5b40f261b83677cf29e9c3db11cf7b4d5b79 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 7b726988fbc9a2aa47e2a86561694711d48231ed..fbc5b997221c52399870f3148d658ad911a74ddf 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ea5dafa4cfea3662ea3cdd6aeb16055fb6eeffd7..25613268bda4659e042ae9426dfeea5f87d887d6 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 93aefd806fbfd2c2d3dd7ab11276903fcf4d9679..f4072a9f8db92e624bf5b42e3cf9617db8887f7e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ef56f5d163aa1c2c38d465c61d6f2bae12841196..ba4a4c618bbcc41a68cfdc76a7468ca8bf79c71c 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 88d2e7a942064b14c54ba8f7b420c08190d88f38..a7b309b31357e5b4727504ed683de06e1f331f4d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 6e69debac621e406f44e0a59559a0f4677819a91..279646ead452e1994e07ec0dcf50821e5128f182 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 4b11a078fd9ece6f373e2232c57f9dff754d9605..8f8a1a52dcbe6071b60fe9ead3c19dd2f754f542 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e32f3c162f6bda5135ea3b210b9227b5dfcba415..2904c326fe0e4580ca76f3c5473fdf3a60f8c943 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 34db34d48bfae7abe107ae86e759ee4509b9425d..56344c84e005e0c6189a77382a6352b2151248a4 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index ddffffc8e6a9f766a37aef9fc07d25de80a7b401..c97b35b5cf3e40dd89bc7080f1f2041acb86e187 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 930b9fa7837d2f9e016bee48efab2e88f3c4dbc4..9d4a610b25826f2edcb18005173c1b27c4ae6320 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 37c53ed7705531284e5fc0703dc2f3b86c7787ce..750ad5e65ab829b3f5160d518ad4627f94e6e06b 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e2afa85bd357bfb2e9a265e42ca822ab35a02d24..f375d6b2b38c9043a74e1b4807dfc013267a40ff 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 52c50fd68889bf5cb49bfec91f311ea8978636d5..82556f95f8d2e235a31f727f92fd8ae756f43a29 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index eb1dde6b2803ae7757aaee388f252b8b08e88e73..19f5d78c8680cc666308709204d60995de32f679 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index afbe815541ddd00f2ab2f2d0855f91165a0d9ffb..c373014395324ae20cd76abbc358ea5d95a078de 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a53988cf3cf60761d583a1a70fd394108bf3cb7e..766c9cc2688d3a64df01c31503444061fbceb8ba 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 5a4925f3fdb25e0234e6e44f92b051fa791d48d5..8bae9f9664907c9c6bfaf5ba8f7f3ba5dc7cafc9 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index f17a6507268af50033c31eab98d41e3f9b5b60b9..293baa4dbbbea2d337479ff460571c70fad08599 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 730897f5fc5fb7ec89767cee46298908acefe72d..a48e333999ba9b882bc9ff435375a2ed1ed3a386 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 1dd6c610025ef6ef8d6e9f9f50c084601dfe07af..62ece438bbe4fc4a2b274daa68e7102d4dfebc83 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a60ff2b17ff97cf711940bc621ee16d65d838417..5496d652f8ec08cb19544d48a1fd93288b2c3c27 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 27a7ad58139fd88942ef788416d1cf40858ef831..1fb9cccb4d489173975d2592e555dc1d24f1e136 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index f1a6bba23512758d8f21d3357ccafd08cf9fcf2f..5d36324c04ef9fdce973cbf76ce7eb19b161cf2d 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 704613916e1ac5062e7c2e301d591701e52cb9a6..53c27fb25a8727e96c18b3d07877008446c4f0ea 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a7d1620c2407a251084075e868705bc4c341e5e1..70e1f74eb838f38ab4746587da0080400f091b05 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index e35377e4d540f4ebeaea7fb30bf0f5b9e6efd521..169964beeda113acd4c08f5f8e2451c2d4ead58e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index b748306ba6780edf17ffe229348081f12265367c..e1f41b5cc124b2b0778aee9cc04994ae57781ba5 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 3322acecf9a555a88163bfd196baad97470333a0..8aa14fee6ddf8a274bc5edcf5671e95070d6b581 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 4f03401490decb4d2cf2bf63ce59fbe1a7bfc46c..ea505584b42030b9ba5d7d8d56615bbeaf526e9e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 29a9cacff02cee2f05bf6972339459e4610eb713..9443c04f13d22072b07d9b1e41ba8de402c2a17b 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index a6f465e40b768943f4e6ff98c698573590b6856c..593377e9392a066816c444e910c8c7041beb49f4 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
+                alert(internals.configurationForViewport(1, 320, 480, 320, 352));
             }
         }
     </script>
index 3ac85922087edab855660a857e9cc5bce57365c1..7ad45bddc1100b1c7013e964eca6a8dabe97a7ba 100644 (file)
@@