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 c41bc5f..ad2358c 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 de1c189..3e71f51 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 e25f91f..70dbf32 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 478cdb4..f787384 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 9fe864b..6ce62e9 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 56ca960..cc29b40 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 46c6f71..f84144b 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 1ef2197..09c5f09 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 2bd5cda..ffb1656 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 bef0d42..6e099d7 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 615f854..93bf1aa 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 10d6233..b287308 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 fe840ff..72b23fa 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 1863713..8b1a0ff 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 ca83ac9..f7d31ab 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 b03e321..2bd000d 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 a9b5747..92eec5f 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 f5e3150..0d1da8d 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 85ab720..202f9fd 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 db37052..ee928d6 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 afbc056..b735cfd 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 30ac50c..39983d6 100644 (file)
@@ -5,7 +5,7 @@
           testRunner.dumpAsText();
 
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
     <style>
     .spacer {
index a8c9cb2..5baa587 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 16b94f2..684962d 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 d609db4..bd324d3 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 a5c7d80..124d9e4 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 9c4b68b..15b68e4 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 67c0c00..4ff4ffa 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 73785c0..3fbb904 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 60cb1a5..ff878f2 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 25c3072..3256cd3 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 40eea5f..4724160 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 fbe855d..f8016fa 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 1b9189f..e9e3bdb 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 2862fbc..fec6169 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 91eb1d5..cd9f105 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 9d91d0b..0440fc3 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 53349bc..95255f5 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 f4c52a3..fc0176a 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 bce51d6..93c2408 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 b7bebd8..0690679 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 4a8249a..2188c08 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 26c0333..835ac90 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 5043140..fca4c97 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 4e9310f..1a10704 100644 (file)
@@ -55,7 +55,7 @@ function verifyBlockCursorLeftPositionAndWidth(elementId, expected)
 
 if (window.testRunner) {
 
-    internals.toggleOverwriteModeEnabled(document);
+    internals.toggleOverwriteModeEnabled();
 
     verifyBlockCursorLeftPositionAndWidth("ltrtext", ["<", "<"]);
     verifyBlockCursorLeftPositionAndWidth("ltrtext-rtl", ["<", "<"]);
index 34e1f6e..fd8f8bb 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 6bd00cd..38359fa 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 025302a..27424c5 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 add7012..6779387 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 65da496..7ca999f 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 040a0fe..953499b 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 4d1c74e..b71aba7 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 1810c28..cbd2315 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 ff4eaa7..6a0cdd5 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 616f001..9528eb3 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 c107ff8..fbafa6e 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 98c2a2c..772cb3d 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 dddf7dc..3e1506d 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 c5e9307..da49073 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 7c944d1..5660aa8 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 a8d7cf4..07ead04 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 25402c7..3761e03 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 5407a7c..db97f0d 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 faa739b..3ca42c5 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 f8eda2c..79ce257 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 222f569..3530620 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 70e52bf..73fea76 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 9b16818..a855217 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 d985429..42c2c64 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 27eece5..2d37987 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 847a27a..c5ff68e 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 c655362..34f9784 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 c87e539..3ed559c 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 27659fd..eef3d85 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 e59c584..76dc62a 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 5406021..06cd961 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 ff71712..035921d 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 86f6dbd..7646ae2 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 02aa7ae..cb09687 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 3758958..89b142f 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 40f12cd..c0720a4 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 96ec700..6cfc859 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 796d327..8381180 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 4b27778..956fc32 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 c8ba371..84ef9f0 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 5a10218..b667452 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 158e573..3753cef 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 bce92b8..94041c4 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 0764e5c..f36f0dc 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index b9828fa..ec6bfc9 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index e0e7300..1d670fa 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "LeftToRightPaginated", 0);
+            internals.setPagination("LeftToRightPaginated", 0);
     </script>
 </head>
 <body>
index 6412da5..c979c42 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "RightToLeftPaginated", 0);
+            internals.setPagination("RightToLeftPaginated", 0);
     </script>
 </head>
 <body>
index 9a67328..633c58f 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "BottomToTopPaginated", 0);
+            internals.setPagination("BottomToTopPaginated", 0);
     </script>
 </head>
 <body>
index e0496f6..eca917a 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index 0f8d3bb..65ea109 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index a4c85f1..6c64dd7 100644 (file)
@@ -2,7 +2,7 @@
 <head>
     <script>
         if (window.internals)
-            internals.setPagination(document, "TopToBottomPaginated", 0);
+            internals.setPagination("TopToBottomPaginated", 0);
     </script>
 </head>
 <body>
index 59148e2..2d5b09c 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 b2d63dd..faec0ca 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 17a313c..f3a3bb1 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 aa7be58..2df0e8b 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 bb26f03..ad4b55b 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 d1e4e98..6ab6d1a 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 659aacb..d7605b0 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 5059a6a..50caf40 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 a75be47..a8b5db4 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 30b921c..e962049 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 f1e446f..af13d56 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 b106247..4e5f45f 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 8cf5759..f9fc82a 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 8fb29e3..0244af5 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 355c6bf..3a50b46 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 968057b..872c07b 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 5027934..e7a72b3 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 c8a88d4..1091e8f 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 9ae941f..cea9719 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 8b83cfe..b94010e 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 43319c5..acc0372 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 4d8b9bd..06dea7d 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 13fee4d..2f6bc40 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 1f61460..d308f00 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 a19811b..d40e304 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 5c28a32..c4efc88 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 49d996b..dfe5b67 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 d8079bc..3d07490 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 b4397b2..6f3ba04 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 ed5a766..cd848f2 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 223152a..3af8401 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 cefe5e1..f51baec 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 777aa96..d456ab4 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 fd9b341..4e87a08 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 922b421..15ccfc0 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 88e52f6..a6e45b1 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 13f2074..2c63585 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 d01d1e6..e6567c7 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 e44e800..15bd6b4 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 a5b3caf..bbbaa4d 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 819b559..f74772f 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 bcf5aea..8a1b305 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 3c7510f..3ccaebb 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 9c6ac70..6ae82c5 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 09cc764..0ae049b 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 ae3a229..18a09a6 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 3dbaaf8..15ac54b 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 816f8ad..2f91331 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 a68af92..1c6fac7 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 c6c39f2..910c1dd 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 f0f1cfa..6b7db77 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 7f4bb78..ebb25fc 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 b1b0ed3..588ffbc 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 89b2b55..38fe875 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 0ad6c61..1e86afb 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 3091cdb..5ac0e3a 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 982a0d7..1345f79 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 8604ed9..633a4ce 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 e238982..6ba4c54 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 c712c54..87c3fd9 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 20daff5..b19987e 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 fcad79b..aa85799 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 ca07263..9547e6f 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 6e08875..ce8091d 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 2376429..77b743d 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 27ddbc8..223d926 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 8ea60a2..5fa60ed 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 2cfe96e..6c4614e 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 47bd03a..3754ac8 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 12cb992..5b760a5 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 b9edf42..98d1545 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 cd69dd2..3b24262 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 e645a4c..bd024d3 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 a7fd6fd..40dfa18 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 644ff89..17427fc 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 63cc8d9..8bd8b09 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 649b8a1..0fde076 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 188e349..e7ffb59 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 df22de2..4149512 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 97dbdfc..f5ce915 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 c8d2935..d0c4788 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 03e17b3..0e79b4b 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 bb418d3..45edfe1 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 0049f86..888d9ac 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 9a75091..cf9619e 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 8bbd389..0849b48 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 5b8b01b..e8b69c9 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 92a3745..0636e10 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 47facdf..a980828 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 afaa6ac..42efa58 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 dc236cf..914c5b4 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 7b72698..fbc5b99 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 ea5dafa..2561326 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 93aefd8..f4072a9 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 ef56f5d..ba4a4c6 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 88d2e7a..a7b309b 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 6e69deb..279646e 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 4b11a07..8f8a1a5 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 e32f3c1..2904c32 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 34db34d..56344c8 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 ddffffc..c97b35b 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 930b9fa..9d4a610 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 37c53ed..750ad5e 100644 (file)
@@ -5,7 +5,7 @@
         function test() {
             if (window.testRunner) {
                 testRunner.dumpAsText();
-                alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));