Use testRunner instead of layoutTestController in fast/canvas, clip, compact, constru...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2012 07:23:13 +0000 (07:23 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2012 07:23:13 +0000 (07:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89431

Reviewed by Kent Tamura.

* fast/canvas/:
* fast/constructors/constructor-as-function-crash.html:
* fast/css-generated-content/absolute-position-inside-inline.html:
* fast/css-generated-content/after-with-first-letter-float-crash.html:
* fast/css-generated-content/attr-missing.html:
* fast/css-generated-content/before-content-with-list-marker-in-anon-block-crash.html:
* fast/css-generated-content/block-after.html:
* fast/css-generated-content/drag-state.html:
* fast/css-generated-content/empty-content-with-float-crash.html:
* fast/css-generated-content/first-letter-next-sibling-crash.html:
* fast/css-generated-content/first-letter-table-cell-format-block-crash.html:
* fast/css-generated-content/float-first-letter-siblings-convert-to-inline.html:
* fast/css-generated-content/floating-before-content-with-list-marker-crash.html:
* fast/css-generated-content/hit-test-generated-content.html:
* fast/css-generated-content/hover-style-change.html:
* fast/css-generated-content/inline-splitting-with-after-float-crash.html:
* fast/css-generated-content/malformed-url.html:
* fast/css-generated-content/positioned-background-hit-test-crash.html:
* fast/css-generated-content/positioned-div-with-floating-after-content-crash.html:
* fast/css-generated-content/positioned-generated-content-under-run-in-crash.html:
* fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash.html:
* fast/css-generated-content/reset-content-to-initial.html:
* fast/css-generated-content/resources/pass.html:
* fast/css-generated-content/resources/positioned-div-with-floating-after-content-crash-frame2.html:
* fast/css-generated-content/spellingToolTip-assert.html:
* fast/css-generated-content/table-row-after-no-crash.html:
* fast/css-generated-content/table-with-scrollbar-corner.html:
* fast/css-generated-content/text-before-table-col-crash.html:
* fast/css-grid-layout/display-grid-set-get.html:
* fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
* fast/css-grid-layout/grid-columns-rows-get-set.html:
* fast/css-grid-layout/grid-item-column-row-get-set.html:
* fast/css/:
* platform/mac/fast/canvas/canvas-draw-xbm-image.html:
* platform/qt/fast/canvas/toDataURL-jpeg-alpha.html:
* platform/qt/fast/canvas/toDataURL-jpeg-primarycolors.html:
* platform/qt/fast/canvas/toDataURL-jpeg-quality-basic.html:
* platform/qt/fast/canvas/toDataURL-jpeg-quality-notnumber.html:
* platform/qt/fast/canvas/toDataURL-jpeg-quality-outsiderange.html:

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

492 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/canvas/2d.backingStorePixelRatio.html
LayoutTests/fast/canvas/2d.fillText.gradient.html
LayoutTests/fast/canvas/2d.imageDataHD.html
LayoutTests/fast/canvas/2d.text.draw.fill.maxWidth.gradient.html
LayoutTests/fast/canvas/2d.text.draw.fill.maxWidth.negative.html
LayoutTests/fast/canvas/2d.text.draw.fill.maxWidth.veryLarge.html
LayoutTests/fast/canvas/2d.text.draw.fill.maxWidth.verySmall.html
LayoutTests/fast/canvas/DrawImageSinglePixelStretch.html
LayoutTests/fast/canvas/access-zero-sized-canvas.html
LayoutTests/fast/canvas/arc-crash.html
LayoutTests/fast/canvas/arc360.html
LayoutTests/fast/canvas/canvas-as-image-incremental-repaint.html
LayoutTests/fast/canvas/canvas-before-css.html
LayoutTests/fast/canvas/canvas-bg-multiple-removal.html
LayoutTests/fast/canvas/canvas-composite-alpha.html
LayoutTests/fast/canvas/canvas-composite-fill-repaint.html
LayoutTests/fast/canvas/canvas-composite-transformclip.html
LayoutTests/fast/canvas/canvas-composite.html
LayoutTests/fast/canvas/canvas-empty-image-pattern.html
LayoutTests/fast/canvas/canvas-getImageData-large-crash.html
LayoutTests/fast/canvas/canvas-getImageData-largeNonintegralDimensions.html
LayoutTests/fast/canvas/canvas-getImageData.html
LayoutTests/fast/canvas/canvas-hides-fallback.html
LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-patterns.html
LayoutTests/fast/canvas/canvas-incremental-repaint-2.html
LayoutTests/fast/canvas/canvas-incremental-repaint.html
LayoutTests/fast/canvas/canvas-largedraws.html
LayoutTests/fast/canvas/canvas-path-with-inf-nan-dimensions.html
LayoutTests/fast/canvas/canvas-resize-after-paint-without-layout.html
LayoutTests/fast/canvas/canvas-resize-after-paint.html
LayoutTests/fast/canvas/canvas-resize-reset.html
LayoutTests/fast/canvas/canvas-skia-excessive-size.html
LayoutTests/fast/canvas/canvas-text-alignment.html
LayoutTests/fast/canvas/canvas-text-baseline.html
LayoutTests/fast/canvas/canvas-toDataURL-crash.html
LayoutTests/fast/canvas/canvas-toDataURL-jpeg-crash.html
LayoutTests/fast/canvas/canvas-toDataURL-webp.html
LayoutTests/fast/canvas/canvas-transform-identity.html
LayoutTests/fast/canvas/canvas-transform-infinity.html
LayoutTests/fast/canvas/canvas-transform-multiply.html
LayoutTests/fast/canvas/canvas-transform-nan.html
LayoutTests/fast/canvas/canvas-transform-non-invertible.html
LayoutTests/fast/canvas/canvas-transform-skewed.html
LayoutTests/fast/canvas/canvas-transforms-during-path.html
LayoutTests/fast/canvas/canvas-with-incorrect-args.html
LayoutTests/fast/canvas/canvasDrawingIntoSelf.html
LayoutTests/fast/canvas/canvas_arc_largeangles.html
LayoutTests/fast/canvas/change-context.html
LayoutTests/fast/canvas/check-stale-putImageData.html
LayoutTests/fast/canvas/crash-set-font.html
LayoutTests/fast/canvas/create-pattern-does-not-crash.html
LayoutTests/fast/canvas/drawImage-with-globalAlpha.html
LayoutTests/fast/canvas/drawImage-with-invalid-args.html
LayoutTests/fast/canvas/drawImage.html
LayoutTests/fast/canvas/drawImageFromRect_withToDataURLAsSource.html
LayoutTests/fast/canvas/fill-stroke-clip-reset-path.html
LayoutTests/fast/canvas/fillrect-gradient-zero-stops.html
LayoutTests/fast/canvas/fillrect_gradient.html
LayoutTests/fast/canvas/font-update.html
LayoutTests/fast/canvas/getPutImageDataPairTest.html
LayoutTests/fast/canvas/gradient-add-second-start-end-stop.html
LayoutTests/fast/canvas/image-object-in-canvas.html
LayoutTests/fast/canvas/image-pattern-rotate.html
LayoutTests/fast/canvas/invalid-set-font-crash.html
LayoutTests/fast/canvas/patternfill-repeat.html
LayoutTests/fast/canvas/quadraticCurveTo.xml
LayoutTests/fast/canvas/resize-while-save-active.html
LayoutTests/fast/canvas/resources/canvas-composite-image-common.js
LayoutTests/fast/canvas/resources/repaint.js
LayoutTests/fast/canvas/script-inside-canvas-fallback.html
LayoutTests/fast/canvas/script-tests/canvas-drawImage-incomplete.js
LayoutTests/fast/canvas/script-tests/canvas-gradient-addStop-error.js
LayoutTests/fast/canvas/script-tests/canvas-imageSmoothingEnabled-repaint.js
LayoutTests/fast/canvas/setWidthResetAfterForcedRender.html
LayoutTests/fast/canvas/shadow-huge-blur.html
LayoutTests/fast/canvas/shadow-offset-1.html
LayoutTests/fast/canvas/shadow-offset-2.html
LayoutTests/fast/canvas/shadow-offset-3.html
LayoutTests/fast/canvas/shadow-offset-4.html
LayoutTests/fast/canvas/shadow-offset-5.html
LayoutTests/fast/canvas/shadow-offset-6.html
LayoutTests/fast/canvas/shadow-offset-7.html
LayoutTests/fast/canvas/strokeText-missing-args.html
LayoutTests/fast/canvas/svg-taint.html
LayoutTests/fast/canvas/toDataURL-alpha.html
LayoutTests/fast/canvas/toDataURL-noData.html
LayoutTests/fast/canvas/toDataURL-supportedTypes.html
LayoutTests/fast/canvas/unclosed-canvas-1.html
LayoutTests/fast/canvas/unclosed-canvas-2.html
LayoutTests/fast/canvas/unclosed-canvas-3.html
LayoutTests/fast/canvas/unclosed-canvas-4.html
LayoutTests/fast/canvas/webgl/canvas-2d-webgl-texture.html
LayoutTests/fast/canvas/webgl/canvas-test.html
LayoutTests/fast/canvas/webgl/context-destroyed-crash.html
LayoutTests/fast/canvas/webgl/css-webkit-canvas-repaint.html
LayoutTests/fast/canvas/webgl/css-webkit-canvas.html
LayoutTests/fast/canvas/webgl/gl-teximage.html
LayoutTests/fast/canvas/webgl/premultiplyalpha-test.html
LayoutTests/fast/canvas/webgl/resources/webgl-test.js
LayoutTests/fast/canvas/webgl/texImage2DImageDataTest.html
LayoutTests/fast/canvas/webgl/texture-color-profile.html
LayoutTests/fast/canvas/webgl/webgl-composite-modes-repaint.html
LayoutTests/fast/canvas/webgl/webgl-composite-modes.html
LayoutTests/fast/canvas/webgl/webgl-texture-binding-preserved.html
LayoutTests/fast/canvas/webgl/webgl-viewport-parameters-preserved.html
LayoutTests/fast/canvas/webgl/worker-data-view-test.html
LayoutTests/fast/canvas/zero-size-fill-rect.html
LayoutTests/fast/constructors/constructor-as-function-crash.html
LayoutTests/fast/css-generated-content/absolute-position-inside-inline.html
LayoutTests/fast/css-generated-content/after-with-first-letter-float-crash.html
LayoutTests/fast/css-generated-content/attr-missing.html
LayoutTests/fast/css-generated-content/before-content-with-list-marker-in-anon-block-crash.html
LayoutTests/fast/css-generated-content/block-after.html
LayoutTests/fast/css-generated-content/drag-state.html
LayoutTests/fast/css-generated-content/empty-content-with-float-crash.html
LayoutTests/fast/css-generated-content/first-letter-next-sibling-crash.html
LayoutTests/fast/css-generated-content/first-letter-table-cell-format-block-crash.html
LayoutTests/fast/css-generated-content/float-first-letter-siblings-convert-to-inline.html
LayoutTests/fast/css-generated-content/floating-before-content-with-list-marker-crash.html
LayoutTests/fast/css-generated-content/hit-test-generated-content.html
LayoutTests/fast/css-generated-content/hover-style-change.html
LayoutTests/fast/css-generated-content/inline-splitting-with-after-float-crash.html
LayoutTests/fast/css-generated-content/malformed-url.html
LayoutTests/fast/css-generated-content/positioned-background-hit-test-crash.html
LayoutTests/fast/css-generated-content/positioned-div-with-floating-after-content-crash.html
LayoutTests/fast/css-generated-content/positioned-generated-content-under-run-in-crash.html
LayoutTests/fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash.html
LayoutTests/fast/css-generated-content/reset-content-to-initial.html
LayoutTests/fast/css-generated-content/resources/pass.html
LayoutTests/fast/css-generated-content/resources/positioned-div-with-floating-after-content-crash-frame2.html
LayoutTests/fast/css-generated-content/spellingToolTip-assert.html
LayoutTests/fast/css-generated-content/table-row-after-no-crash.html
LayoutTests/fast/css-generated-content/table-with-scrollbar-corner.html
LayoutTests/fast/css-generated-content/text-before-table-col-crash.html
LayoutTests/fast/css-grid-layout/display-grid-set-get.html
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-multiple.html
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set.html
LayoutTests/fast/css-grid-layout/grid-item-column-row-get-set.html
LayoutTests/fast/css/affected-by-hover-after-style-change.html
LayoutTests/fast/css/align-positioned-object-on-resize.html
LayoutTests/fast/css/appearance-caps-lock-indicator.html
LayoutTests/fast/css/assert-marquee-not-last-element.html
LayoutTests/fast/css/atrule_longest_match.html
LayoutTests/fast/css/attr-parsing.html
LayoutTests/fast/css/attribute-selector-begin-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-contain-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-dynamic.xml
LayoutTests/fast/css/attribute-selector-end-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-exact-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-hyphen-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-list-dynamic-no-elementstyle.html
LayoutTests/fast/css/attribute-selector-set-dynamic-no-elementstyle.html
LayoutTests/fast/css/background-norepeat-crash.html
LayoutTests/fast/css/background-position-inherit.html
LayoutTests/fast/css/background-position-serialize.html
LayoutTests/fast/css/border-image-crash.html
LayoutTests/fast/css/border-radius-non-negative.html
LayoutTests/fast/css/border-radius-property-value.html
LayoutTests/fast/css/border-solid-single-edge-antialias.html
LayoutTests/fast/css/border-spacing-without-vertical-value.html
LayoutTests/fast/css/button-height.html
LayoutTests/fast/css/cached-sheet-restore-crash.html
LayoutTests/fast/css/case-transform.html
LayoutTests/fast/css/checked-pseudo-selector.html
LayoutTests/fast/css/child-selector-implicit-tbody.html
LayoutTests/fast/css/comment-before-charset-external.html
LayoutTests/fast/css/comment-before-charset.html
LayoutTests/fast/css/compare-content-style.html
LayoutTests/fast/css/content/content-none.html
LayoutTests/fast/css/content/content-normal.html
LayoutTests/fast/css/content/content-quotes-01.html
LayoutTests/fast/css/content/content-quotes-02.html
LayoutTests/fast/css/content/content-quotes-03.html
LayoutTests/fast/css/content/content-quotes-04.html
LayoutTests/fast/css/content/content-quotes-05.html
LayoutTests/fast/css/content/content-quotes-06.html
LayoutTests/fast/css/counter-crash.html
LayoutTests/fast/css/counters/2displays.html
LayoutTests/fast/css/counters/adding-nodes.html
LayoutTests/fast/css/counters/after-continuation.html
LayoutTests/fast/css/counters/asterisk-counter-update-after-layout-crash.html
LayoutTests/fast/css/counters/complex-before.html
LayoutTests/fast/css/counters/content-021.html
LayoutTests/fast/css/counters/counter-after-style-crash.html
LayoutTests/fast/css/counters/counter-before-content-not-incremented.html
LayoutTests/fast/css/counters/counter-before-selector-crash.html
LayoutTests/fast/css/counters/counter-function-input-2.html
LayoutTests/fast/css/counters/counter-function-input.html
LayoutTests/fast/css/counters/counter-increment-000.html
LayoutTests/fast/css/counters/counter-increment-001.html
LayoutTests/fast/css/counters/counter-increment-002.html
LayoutTests/fast/css/counters/counter-increment-inherit.htm
LayoutTests/fast/css/counters/counter-increment-overflow.html
LayoutTests/fast/css/counters/counter-increment-tests.htm
LayoutTests/fast/css/counters/counter-number-input.html
LayoutTests/fast/css/counters/counter-reparent-table-children-crash.html
LayoutTests/fast/css/counters/counter-reset-000.html
LayoutTests/fast/css/counters/counter-reset-001.html
LayoutTests/fast/css/counters/counter-reset-002.html
LayoutTests/fast/css/counters/counter-ruby-text-cleared.html
LayoutTests/fast/css/counters/counter-traverse-object-crash.html
LayoutTests/fast/css/counters/counter-traverse-table-cell.html
LayoutTests/fast/css/counters/counterValueForElementById.html
LayoutTests/fast/css/counters/deep-before.html
LayoutTests/fast/css/counters/destroy-counter-crash.html
LayoutTests/fast/css/counters/element-removal-crash.xhtml
LayoutTests/fast/css/counters/invalidate-cached-counter-node.html
LayoutTests/fast/css/counters/nesting.html
LayoutTests/fast/css/counters/render-tree-reorg-crash.html
LayoutTests/fast/css/counters/reparent-table-children-with-counters-crash.html
LayoutTests/fast/css/crash-on-custom-cursor-when-loading.html
LayoutTests/fast/css/crash-on-incomplete-not.html
LayoutTests/fast/css/css-fontface-rule-crash.html
LayoutTests/fast/css/css-imports-2.html
LayoutTests/fast/css/css-keyframe-parent.html
LayoutTests/fast/css/css-keyframe-style-crash.html
LayoutTests/fast/css/css-properties-case-insensitive.html
LayoutTests/fast/css/css-selector-deeply-nested.html
LayoutTests/fast/css/css-set-selector-text-crash.html
LayoutTests/fast/css/cssText-cache.html
LayoutTests/fast/css/custom-font-xheight.html
LayoutTests/fast/css/dashboard-regions-attr-crash.html
LayoutTests/fast/css/dashboard-regions-undefined-length-assertion.html
LayoutTests/fast/css/delete-rule-crash.html
LayoutTests/fast/css/device-aspect-ratio.html
LayoutTests/fast/css/dfn-default-font-style.html
LayoutTests/fast/css/disabled-author-styles.html
LayoutTests/fast/css/display-none-inline-style-change-crash.html
LayoutTests/fast/css/div_plus_nav_bug47971.html
LayoutTests/fast/css/duplicate-property-in-rule-important.html
LayoutTests/fast/css/duplicate-property-in-rule.html
LayoutTests/fast/css/empty-display-none.html
LayoutTests/fast/css/empty-first-line-crash.html
LayoutTests/fast/css/empty-script.html
LayoutTests/fast/css/empty-webkit-mask-crash.html
LayoutTests/fast/css/emptyStyleTag.html
LayoutTests/fast/css/end-of-buffer-crash.html
LayoutTests/fast/css/epub-properties.html
LayoutTests/fast/css/fill-layer-crash.html
LayoutTests/fast/css/first-letter-anonymous-block-crash.html
LayoutTests/fast/css/first-letter-block-form-controls-crash.html
LayoutTests/fast/css/first-letter-capitalized-edit-select-crash.html
LayoutTests/fast/css/first-letter-inline-flow-split-crash.html
LayoutTests/fast/css/first-letter-inline-flow-split-table-crash.html
LayoutTests/fast/css/first-letter-text-fragment-crash.html
LayoutTests/fast/css/first-line-parent-style-different.html
LayoutTests/fast/css/font-face-data-uri-invalid.html
LayoutTests/fast/css/font-face-data-uri.html
LayoutTests/fast/css/font-face-download-error.html
LayoutTests/fast/css/font-face-font-family-descriptor.html
LayoutTests/fast/css/font-face-multiple-families.html
LayoutTests/fast/css/font-face-remote.html
LayoutTests/fast/css/font-face-repeated-url.html
LayoutTests/fast/css/font-face-src-parsing.html
LayoutTests/fast/css/font-face-svg-decoding-error.html
LayoutTests/fast/css/font-face-synthetic-bold-italic.html
LayoutTests/fast/css/font-face-unicode-range.html
LayoutTests/fast/css/font-face-unquoted-local-expected.html
LayoutTests/fast/css/font-face-unquoted-local.html
LayoutTests/fast/css/font-face-unused-source-loaded.html
LayoutTests/fast/css/font-face-used-after-retired.html
LayoutTests/fast/css/font-face-weight-matching.html
LayoutTests/fast/css/font-face-zero-hash-key.html
LayoutTests/fast/css/font-family-builtins.html
LayoutTests/fast/css/font-family-initial.html
LayoutTests/fast/css/font-property-priority.html
LayoutTests/fast/css/font-shorthand.html
LayoutTests/fast/css/fontMetric-border-radius-null-crash.html
LayoutTests/fast/css/fontMetric-webkit-border-end-width-null-crash.html
LayoutTests/fast/css/fontsize-unit-rems-crash-expected.txt
LayoutTests/fast/css/fontsize-unit-rems-crash.html
LayoutTests/fast/css/getComputedStyle/computed-style-display-none.html
LayoutTests/fast/css/getComputedStyle/computed-style-font-family.html
LayoutTests/fast/css/getComputedStyle/computed-style-negative-top.html
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer.html
LayoutTests/fast/css/getComputedStyle/computed-style.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-size.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-box.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-image.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-spacing.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-borderRadius.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-margin-auto.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-margin-length.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-margin-percentage.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-relayout.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-resolved-values.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-text-overflow.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-transform.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-with-pseudo-element.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-zIndex-auto.html
LayoutTests/fast/css/getComputedStyle/getComputedStyle-zoom-and-background-size.html
LayoutTests/fast/css/getComputedStyle/pending-stylesheet.html
LayoutTests/fast/css/getComputedStyle/zoom-on-display-none.html
LayoutTests/fast/css/getFloatValueForUnit.html
LayoutTests/fast/css/getPropertyValue-border.html
LayoutTests/fast/css/getPropertyValue-clip.html
LayoutTests/fast/css/giant-stylesheet-crash.html
LayoutTests/fast/css/hover-active-drag.html
LayoutTests/fast/css/hover-affects-ancestor.html
LayoutTests/fast/css/hover-affects-child.html
LayoutTests/fast/css/hover-update.html
LayoutTests/fast/css/image-resolution/image-resolution.html
LayoutTests/fast/css/import-and-insert-rule-no-update.html
LayoutTests/fast/css/import-style-update.html
LayoutTests/fast/css/important-js-override.html
LayoutTests/fast/css/inherited-properties-explicit.html
LayoutTests/fast/css/inherited-properties-rare-text.html
LayoutTests/fast/css/input-search-table-column-crash.html
LayoutTests/fast/css/invalid-cursor-property-crash.html
LayoutTests/fast/css/invalid-font-family-in-font-face-crash.html
LayoutTests/fast/css/invalid-hex-color.html
LayoutTests/fast/css/invalid-import-rule-insertion.html
LayoutTests/fast/css/invalid-not-with-pseudo-element.html
LayoutTests/fast/css/invalid-not-with-simple-selector-sequence.html
LayoutTests/fast/css/lang-selector-empty-attribute.xhtml
LayoutTests/fast/css/large-font-size-crash.html
LayoutTests/fast/css/large-list-of-rules-crash.html
LayoutTests/fast/css/large-number-round-trip.html
LayoutTests/fast/css/large-value-csstext.html
LayoutTests/fast/css/line-height-rounding.html
LayoutTests/fast/css/linear-gradient-currentcolor.html
LayoutTests/fast/css/link-alternate-stylesheet-1.html
LayoutTests/fast/css/link-alternate-stylesheet-2.html
LayoutTests/fast/css/link-alternate-stylesheet-3.html
LayoutTests/fast/css/link-alternate-stylesheet-4.html
LayoutTests/fast/css/link-alternate-stylesheet-5.html
LayoutTests/fast/css/list-item-pseudo-nocrash.html
LayoutTests/fast/css/list-item-text-align.html
LayoutTests/fast/css/local_font_invalid.html
LayoutTests/fast/css/logical-property-resolution.html
LayoutTests/fast/css/many-spaces-before-charset.html
LayoutTests/fast/css/mask-missing-image-crash.html
LayoutTests/fast/css/matrix-as-function-crash.html
LayoutTests/fast/css/max-device-aspect-ratio.html
LayoutTests/fast/css/max-height-and-max-width.html
LayoutTests/fast/css/max-width-none.html
LayoutTests/fast/css/media-query-evaluator-crash.html
LayoutTests/fast/css/media-rule-dyn.html
LayoutTests/fast/css/media-rule-screenDepthPerComponent.html
LayoutTests/fast/css/min-device-aspect-ratio.html
LayoutTests/fast/css/misplaced-charset.html
LayoutTests/fast/css/modify-ua-rules-from-javascript.html
LayoutTests/fast/css/named-colors.html
LayoutTests/fast/css/nested-first-letter-with-float-crash.html
LayoutTests/fast/css/nested-layers-with-hover.html
LayoutTests/fast/css/nested-rule-parent-sheet.html
LayoutTests/fast/css/nth-child-implied-step.html
LayoutTests/fast/css/nth-child-n.html
LayoutTests/fast/css/nth-child-negative-a-param.html
LayoutTests/fast/css/nth-child-odd-case-insensitive.html
LayoutTests/fast/css/nth-child-unary-prefix.html
LayoutTests/fast/css/number-parsing-crash-2.html
LayoutTests/fast/css/number-parsing-crash.html
LayoutTests/fast/css/opacity-float.html
LayoutTests/fast/css/orphaned_units_crash.html
LayoutTests/fast/css/outline-hidden-illegal-value.html
LayoutTests/fast/css/outline-invert-assertion.html
LayoutTests/fast/css/parse-color-int-or-percent-crash.html
LayoutTests/fast/css/parse-timing-function-crash.html
LayoutTests/fast/css/parsing-css-allowed-string-characters.html
LayoutTests/fast/css/parsing-css-block.html
LayoutTests/fast/css/parsing-css-comment.html
LayoutTests/fast/css/parsing-css-escapes.html
LayoutTests/fast/css/parsing-css-nonascii.html
LayoutTests/fast/css/parsing-css-nth-child.html
LayoutTests/fast/css/parsing-css-number-types.html
LayoutTests/fast/css/parsing-css-surrogate-pairs.html
LayoutTests/fast/css/parsing-css-wrap.html
LayoutTests/fast/css/parsing-error-recovery.html
LayoutTests/fast/css/parsing-font-variant-ligatures.html
LayoutTests/fast/css/parsing-hyphenate-limit-lines.html
LayoutTests/fast/css/parsing-hyphenate-limit.html
LayoutTests/fast/css/parsing-page-rule.html
LayoutTests/fast/css/parsing-text-emphasis.html
LayoutTests/fast/css/pending-images-crash.html
LayoutTests/fast/css/percent-character-as-value.html
LayoutTests/fast/css/positioned-in-relative-position-inline-crash.html
LayoutTests/fast/css/preserve-user-specified-zoom-level-on-reload.html
LayoutTests/fast/css/pseudo-any.html
LayoutTests/fast/css/pseudo-empty-display-none.html
LayoutTests/fast/css/pseudo-empty-dynamic-empty.html
LayoutTests/fast/css/pseudo-required-optional-001.html
LayoutTests/fast/css/pseudo-required-optional-002.html
LayoutTests/fast/css/pseudo-required-optional-003.html
LayoutTests/fast/css/pseudo-required-optional-004.html
LayoutTests/fast/css/pseudo-required-optional-006.html
LayoutTests/fast/css/pseudo-target-indirect-sibling-001.html
LayoutTests/fast/css/pseudo-target-indirect-sibling-002.html
LayoutTests/fast/css/pseudostyle-anonymous-text.html
LayoutTests/fast/css/readonly-pseudoclass-opera-001.html
LayoutTests/fast/css/readonly-pseudoclass-opera-002.html
LayoutTests/fast/css/readonly-pseudoclass-opera-003.html
LayoutTests/fast/css/readonly-pseudoclass-opera-004.html
LayoutTests/fast/css/readonly-pseudoclass-opera-005.html
LayoutTests/fast/css/recursive-delay-update-scroll.html
LayoutTests/fast/css/relative-position-replaced-in-table-display-crash.html
LayoutTests/fast/css/relative-positioned-block-crash.html
LayoutTests/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic-removed.html
LayoutTests/fast/css/relative-positioned-block-nested-with-inline-parent-dynamic.html
LayoutTests/fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html
LayoutTests/fast/css/relative-positioned-block-with-inline-ancestor-and-parent-dynamic.html
LayoutTests/fast/css/relative-positioned-block-with-inline-ancestor-dynamic-removed.html
LayoutTests/fast/css/relative-positioned-block-with-inline-ancestor-dynamic.html
LayoutTests/fast/css/relative-positioned-block-with-inline-parent-dynamic-removed.html
LayoutTests/fast/css/relative-positioned-block-with-inline-parent-dynamic.html
LayoutTests/fast/css/relative-positioned-block-with-inline-parent-keeps-style.html
LayoutTests/fast/css/remove-shorthand.html
LayoutTests/fast/css/resize-corner-tracking-transformed.html
LayoutTests/fast/css/resize-corner-tracking.html
LayoutTests/fast/css/resize-single-axis.html
LayoutTests/fast/css/resize-value-compared.html
LayoutTests/fast/css/round-trip-values.html
LayoutTests/fast/css/rtl-nth-child-first-letter-crash.html
LayoutTests/fast/css/run-in-children.html
LayoutTests/fast/css/run-in-crash.html
LayoutTests/fast/css/shadow-dom-scope.html
LayoutTests/fast/css/sheet-collection-link.html
LayoutTests/fast/css/sheet-title.html
LayoutTests/fast/css/sibling-selectors.html
LayoutTests/fast/css/small-caps-crash.html
LayoutTests/fast/css/space-before-charset-external.html
LayoutTests/fast/css/space-before-charset.html
LayoutTests/fast/css/stale-style-selector-crash-1.html
LayoutTests/fast/css/stale-style-selector-crash-2.html
LayoutTests/fast/css/style-enumerate-properties.html
LayoutTests/fast/css/style-scoped/scope-pseudo.html
LayoutTests/fast/css/style-scoped/style-scoped-attach.html
LayoutTests/fast/css/style-scoped/style-scoped-basic.html
LayoutTests/fast/css/style-scoped/style-scoped-change-scoped-in-shadow.html
LayoutTests/fast/css/style-scoped/style-scoped-detach.html
LayoutTests/fast/css/style-scoped/style-scoped-in-shadow.html
LayoutTests/fast/css/style-scoped/style-scoped-remove-scoped.html
LayoutTests/fast/css/style-scoped/style-scoped-set-scoped.html
LayoutTests/fast/css/stylesheet-candidate-nodes-crash.xhtml
LayoutTests/fast/css/stylesheet-enable-first-alternate-link.html
LayoutTests/fast/css/stylesheet-enable-first-alternate-on-load-link.html
LayoutTests/fast/css/stylesheet-enable-first-alternate-on-load-sheet.html
LayoutTests/fast/css/stylesheet-enable-second-alternate-link.html
LayoutTests/fast/css/stylesheet-enable-second-alternate-on-load-link.html
LayoutTests/fast/css/stylesheet-enable-second-alternate-on-load-sheet.html
LayoutTests/fast/css/stylesheet-parentStyleSheet.html
LayoutTests/fast/css/tab-size.html
LayoutTests/fast/css/table-rules-attribute-groups-with-frame.html
LayoutTests/fast/css/table-rules-attribute-with-frame1.html
LayoutTests/fast/css/table-rules-attribute-with-frame2.html
LayoutTests/fast/css/target-fragment-match.html
LayoutTests/fast/css/text-align-initial.html
LayoutTests/fast/css/text-align-webkit-match-parent-parse.html
LayoutTests/fast/css/text-align-webkit-match-parent.html
LayoutTests/fast/css/text-rendering-priority.html
LayoutTests/fast/css/text-security.html
LayoutTests/fast/css/transform-function-lowercase-assert.html
LayoutTests/fast/css/transform-inline-style-remove.html
LayoutTests/fast/css/transform-inline-style.html
LayoutTests/fast/css/transition-color-unspecified.html
LayoutTests/fast/css/transition-timing-function.html
LayoutTests/fast/css/transition_shorthand_parsing.html
LayoutTests/fast/css/unknown-pseudo-element-matching.html
LayoutTests/fast/css/uri-token-parsing.html
LayoutTests/fast/css/url-format-non-string.html
LayoutTests/fast/css/user-drag-none.html
LayoutTests/fast/css/user-stylesheet-crash.html
LayoutTests/fast/css/visibility-collapse-form-buttons.html
LayoutTests/fast/css/visited-link-hang.html
LayoutTests/fast/css/webkit-color-adjust.html
LayoutTests/fast/css/webkit-empty-transform-preserve3d-crash.html
LayoutTests/fast/css/webkit-keyframes-crash.html
LayoutTests/fast/css/webkit-marquee-anonymous-node-crash.html
LayoutTests/fast/css/webkit-marquee-speed-unit-in-quirksmode.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/css/word-break-user-modify-allowed-values.html
LayoutTests/fast/css/xml-stylesheet-alternate-no-title.xhtml
LayoutTests/fast/css/xml-stylesheet-alternate-processing.xhtml
LayoutTests/fast/css/xml-stylesheet-media-processing.xhtml
LayoutTests/fast/css/xml-stylesheet-title-processing.xhtml
LayoutTests/fast/css/zoom-body-scroll.html
LayoutTests/fast/css/zoom-change-triggering-layout.html
LayoutTests/fast/css/zoom-in-length-round-trip.html
LayoutTests/fast/css/zoom-on-unattached.html
LayoutTests/fast/css/zoom-property-parsing.html
LayoutTests/platform/mac/fast/canvas/canvas-draw-xbm-image.html
LayoutTests/platform/qt/fast/canvas/toDataURL-jpeg-alpha.html
LayoutTests/platform/qt/fast/canvas/toDataURL-jpeg-primarycolors.html
LayoutTests/platform/qt/fast/canvas/toDataURL-jpeg-quality-basic.html
LayoutTests/platform/qt/fast/canvas/toDataURL-jpeg-quality-notnumber.html
LayoutTests/platform/qt/fast/canvas/toDataURL-jpeg-quality-outsiderange.html

index 3632d25..045531b 100644 (file)
@@ -1,3 +1,50 @@
+2012-06-18  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Use testRunner instead of layoutTestController in fast/canvas, clip, compact, constructors, cookies, and css* tests
+        https://bugs.webkit.org/show_bug.cgi?id=89431
+
+        Reviewed by Kent Tamura.
+
+        * fast/canvas/:
+        * fast/constructors/constructor-as-function-crash.html:
+        * fast/css-generated-content/absolute-position-inside-inline.html:
+        * fast/css-generated-content/after-with-first-letter-float-crash.html:
+        * fast/css-generated-content/attr-missing.html:
+        * fast/css-generated-content/before-content-with-list-marker-in-anon-block-crash.html:
+        * fast/css-generated-content/block-after.html:
+        * fast/css-generated-content/drag-state.html:
+        * fast/css-generated-content/empty-content-with-float-crash.html:
+        * fast/css-generated-content/first-letter-next-sibling-crash.html:
+        * fast/css-generated-content/first-letter-table-cell-format-block-crash.html:
+        * fast/css-generated-content/float-first-letter-siblings-convert-to-inline.html:
+        * fast/css-generated-content/floating-before-content-with-list-marker-crash.html:
+        * fast/css-generated-content/hit-test-generated-content.html:
+        * fast/css-generated-content/hover-style-change.html:
+        * fast/css-generated-content/inline-splitting-with-after-float-crash.html:
+        * fast/css-generated-content/malformed-url.html:
+        * fast/css-generated-content/positioned-background-hit-test-crash.html:
+        * fast/css-generated-content/positioned-div-with-floating-after-content-crash.html:
+        * fast/css-generated-content/positioned-generated-content-under-run-in-crash.html:
+        * fast/css-generated-content/remove-div-from-flexible-box-with-floating-after-content-crash.html:
+        * fast/css-generated-content/reset-content-to-initial.html:
+        * fast/css-generated-content/resources/pass.html:
+        * fast/css-generated-content/resources/positioned-div-with-floating-after-content-crash-frame2.html:
+        * fast/css-generated-content/spellingToolTip-assert.html:
+        * fast/css-generated-content/table-row-after-no-crash.html:
+        * fast/css-generated-content/table-with-scrollbar-corner.html:
+        * fast/css-generated-content/text-before-table-col-crash.html:
+        * fast/css-grid-layout/display-grid-set-get.html:
+        * fast/css-grid-layout/grid-columns-rows-get-set-multiple.html:
+        * fast/css-grid-layout/grid-columns-rows-get-set.html:
+        * fast/css-grid-layout/grid-item-column-row-get-set.html:
+        * fast/css/:
+        * platform/mac/fast/canvas/canvas-draw-xbm-image.html:
+        * platform/qt/fast/canvas/toDataURL-jpeg-alpha.html:
+        * platform/qt/fast/canvas/toDataURL-jpeg-primarycolors.html:
+        * platform/qt/fast/canvas/toDataURL-jpeg-quality-basic.html:
+        * platform/qt/fast/canvas/toDataURL-jpeg-quality-notnumber.html:
+        * platform/qt/fast/canvas/toDataURL-jpeg-quality-outsiderange.html:
+
 2012-06-18  Csaba Osztrogonác  <ossy@webkit.org>
 
         [Qt] Unreviewed gardening, skip failing tests.
index 9c0a9f7..921cc3c 100644 (file)
@@ -5,20 +5,20 @@
         document.getElementById("console").appendChild(document.createTextNode(message + "\n"));
     }
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         var canvas1 = document.createElement("canvas");
         var context1 = canvas1.getContext("2d");
 
-        layoutTestController.waitUntilDone();
-        layoutTestController.setBackingScaleFactor(2, function() {
+        testRunner.waitUntilDone();
+        testRunner.setBackingScaleFactor(2, function() {
             var canvas2 = document.createElement("canvas");
             var context2 = canvas2.getContext("2d");
 
             log ("context1.webkitBackingStorePixelRatio is " + context1.webkitBackingStorePixelRatio);
             log ("context2.webkitBackingStorePixelRatio is " + context2.webkitBackingStorePixelRatio);
 
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         });
     } else {
         log ("When not run inside DumpRenderTree or WebKitTestRunner, this test just prints the value of");
index cfb6317..8f6d0e9 100644 (file)
@@ -21,8 +21,8 @@ function drawCanvas(ctx) {
   ctx.fillText("I", -5, 100);
 }
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.getElementById('c');
 var ctx = canvas.getContext("2d");
index b392bbd..617e71c 100644 (file)
@@ -1,6 +1,6 @@
 <pre id="console"></pre>
 <script>
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
 
     function log(message)
     {
             log("FAIL: Pixel " + i + " is not blue: " + formatColor(r, g, b, a) + ".");
     }
 
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         log("This test requires WebKitTestRunner or DumpRenderTree.");
 
-    layoutTestController.waitUntilDone();
-    layoutTestController.setBackingScaleFactor(2, function() {
+    testRunner.waitUntilDone();
+    testRunner.setBackingScaleFactor(2, function() {
         var canvas = document.createElement("canvas");
         canvas.width = 8;
         canvas.height = 8;
         } else
             log("High-DPI canvas is not enabled.");
 
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     });
 </script>
index 235b385..8675e35 100644 (file)
@@ -43,13 +43,13 @@ function doDeferredTest() {
   else
     document.getElementById("console").innerHTML = "TEST FAILED";
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 var canvas = document.getElementById('c');
index 2c03ccf..683d5f1 100644 (file)
@@ -38,13 +38,13 @@ function doDeferredTest() {
   else
     document.getElementById("console").innerHTML = "TEST FAILED";
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 var canvas = document.getElementById('c');
index 7d2243b..e2a5812 100644 (file)
@@ -38,13 +38,13 @@ function doDeferredTest() {
   else
     document.getElementById("console").innerHTML = "TEST FAILED";
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 var canvas = document.getElementById('c');
index 91956cc..b98b1c9 100644 (file)
@@ -38,13 +38,13 @@ function doDeferredTest() {
   else
     document.getElementById("console").innerHTML = "TEST FAILED";
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 var canvas = document.getElementById('c');
index b76d29d..8ce02d3 100644 (file)
@@ -9,9 +9,9 @@
         var image, ctx;
 
         function init () {
-          if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+          if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
           }
 
           var canvas = document.getElementById("c");
@@ -42,8 +42,8 @@
             else
                 result.innerHTML = "FAILED";
 
-            if (window.layoutTestController) 
-                layoutTestController.notifyDone();
+            if (window.testRunner) 
+                testRunner.notifyDone();
         }
 
         function areAllRowsUniform(ctx) {
index 33524da..3796142 100644 (file)
@@ -1,8 +1,8 @@
 This test ensures that accessing the context of a zero sized canvas does not crash.
 <canvas id="canvas" width="0" height="0"></canvas><br />
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var context = document.getElementById("canvas").getContext("2d");
 context.fillStyle = "green";
index f17a3e6..d5ac97d 100644 (file)
@@ -29,8 +29,8 @@ function runTests() {
     context.fillStyle = '#0f0';
     context.fillRect(0, 0, canvas.width, canvas.height);
     debug("Test passed.");
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 <title>borkedness</title>
index ddd110a..43d06fa 100644 (file)
@@ -2,8 +2,8 @@
 <p>Test canvas arc() start / end points when the arc is >= 360 degrees. The result should be a circle with two line segments connected to the left hand side, towards the top left and bottom left corners.
 <canvas id="mycanvas" width="400" height="400"></canvas>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 
 var canvas = document.getElementById('mycanvas');
 var ctx = canvas.getContext('2d');
index 10f35cc..e8ffc4d 100644 (file)
    </style>
  
   <script type="application/x-javascript">
-    if (window.layoutTestController)
-      layoutTestController.waitUntilDone();
+    if (window.testRunner)
+      testRunner.waitUntilDone();
 
     var canvasContext;
     function runRepaintTest()
     {
       canvasContext = document.getCSSCanvasContext("2d", "squares", 300, 300);
-      if (window.layoutTestController) {
+      if (window.testRunner) {
         document.body.offsetTop;
-        layoutTestController.display();
+        testRunner.display();
         repaintTest();
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
       } else {
         setTimeout(repaintTest, 2000);
       }
index 0d723ee..515f11c 100644 (file)
@@ -6,8 +6,8 @@
     <p>If the canvas below is black, then we managed to draw before loading stylesheets. Hooray!</p>
     <canvas id="mycanvas" width="400" height="200"></canvas>
     <script type="application/x-javascript">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText(true);
+        if (window.testRunner)
+            testRunner.dumpAsText(true);
 
         var canvas = document.getElementById("mycanvas");
         canvas.getContext("2d").fillRect(0, 0, canvas.width, canvas.height);
index 898cf87..de04017 100644 (file)
@@ -1,16 +1,16 @@
 <html>\r
 <script>\r
-if (window.layoutTestController) {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+if (window.testRunner) {\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }\r
 \r
 window.onload = function()\r
 {\r
     if (location.hash == "#2") {\r
         document.body.innerHTML = "PASSED: Duplicate webkit-canvas styles removed without crash.";\r
-        if (window.layoutTestController)\r
-            layoutTestController.notifyDone();\r
+        if (window.testRunner)\r
+            testRunner.notifyDone();\r
     } else {\r
         if (location.hash)\r
             location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();\r
index 7612b8a..1510d2d 100644 (file)
@@ -3,9 +3,9 @@
     <title>A canvas globalCompositeOperation test with alpha blending</title>
     <!-- This test was inspired by http://canvex.lazyilluminati.com/misc/compositex.html -->
     <script type="application/x-javascript">
-      if (window.layoutTestController) {
-          layoutTestController.dumpAsText();
-          layoutTestController.waitUntilDone();
+      if (window.testRunner) {
+          testRunner.dumpAsText();
+          testRunner.waitUntilDone();
       }
 
       var compositeTypes = [
       {
           drawTable(useFillRect);
           drawTable(usePathAndFill);
-          if (window.layoutTestController)
-              layoutTestController.notifyDone();
+          if (window.testRunner)
+              testRunner.notifyDone();
       }
     </script>
     <style type="text/css">
index 3217b01..ff5e081 100644 (file)
@@ -6,8 +6,8 @@
   <script>
   var compositeTypes = ['source-in','copy'];
 
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+  if (window.testRunner)
+    testRunner.dumpAsText(true);
 
   for (i = 0; i < compositeTypes.length; i++) {
     var canvas = document.getElementById('canvas-' + compositeTypes[i]);
index 7a16059..4029cc9 100644 (file)
@@ -4,8 +4,8 @@
     <meta name="DC.creator" content="Kamiel Martinet, http://www.martinet.nl/"> 
     <meta name="DC.publisher" content="Mozilla Developer Center, http://developer.mozilla.org"> 
     <script type="application/x-javascript"> 
-      if (window.layoutTestController)
-           layoutTestController.dumpAsText(true);
+      if (window.testRunner)
+           testRunner.dumpAsText(true);
 
       // This test should show a table of canvas elements. The canvas elements have transforms
       // applied, and onto the background a blue square is drawn, either fully opaque or with some
index 6151a10..fdc417e 100644 (file)
@@ -4,8 +4,8 @@
     <meta name="DC.creator" content="Kamiel Martinet, http://www.martinet.nl/">
     <meta name="DC.publisher" content="Mozilla Developer Center, http://developer.mozilla.org">
     <script type="application/x-javascript">
-      if (window.layoutTestController)
-           layoutTestController.dumpAsText(true);
+      if (window.testRunner)
+           testRunner.dumpAsText(true);
 
       var compositeTypes = [
         'source-over','source-in','source-out','source-atop',
index e224a88..1eb21a2 100644 (file)
@@ -2,8 +2,8 @@
 <title>Canvas test: filling a pattern with an empty image should not crash.</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("canvas").getContext("2d");
 canvas.fillStyle = canvas.createPattern(new Image, "repeat")
index 6ac1da8..6c763be 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(false);
+if (window.testRunner)
+    testRunner.dumpAsText(false);
 
 var canvas = document.createElement("canvas");
 canvas.getContext("2d").getImageData(10, 0xffffffff, 2147483647,10);
index 343e4d4..5ce9293 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 PASS!
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 var canvas = document.createElement("canvas");
 var ctx = canvas.getContext("2d");
index 5eaacfd..2a407f2 100644 (file)
@@ -1,8 +1,8 @@
 This test ensures that getImageData works correctly.
 <div id="log"></div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.createElement("canvas");
 canvas.width = 200;
index 8f6125b..c31da53 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index cc1ecd4..8531d54 100644 (file)
@@ -62,8 +62,8 @@
     }
 
     function draw() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText(true);
+        if (window.testRunner)
+            testRunner.dumpAsText(true);
 
         var image = createImage();
         drawFillRect(document.getElementById('unsmoothedFillRect'), image,
index 2969e57..e6dcd29 100644 (file)
   </style>
   <script type="text/javascript" charset="utf-8">
 
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText(true);
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText(true);
+      testRunner.waitUntilDone();
     }
 
     function runRepaintTest()
     {
-        if (window.layoutTestController) {
+        if (window.testRunner) {
             document.body.offsetTop;
-            layoutTestController.display();
+            testRunner.display();
             repaintTest();
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             setTimeout(repaintTest, 0);
         }
index b7d2313..ed68dfe 100644 (file)
   </style>
   <script type="text/javascript" charset="utf-8">
 
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText(true);
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText(true);
+      testRunner.waitUntilDone();
     }
 
     var appleImage;
     function runRepaintTest()
     {
-        if (window.layoutTestController) {
+        if (window.testRunner) {
             document.body.offsetTop;
-            layoutTestController.display();
+            testRunner.display();
             repaintTest();
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             setTimeout(repaintTest, 0);
         }
index 3285469..a5f1bc8 100644 (file)
@@ -2,8 +2,8 @@
 <html>
   <body>
     <script>
-      if (window.layoutTestController)
-          layoutTestController.dumpAsText();
+      if (window.testRunner)
+          testRunner.dumpAsText();
 
       function newCanvasContext() {
         canvas = document.createElement("canvas");
index cfb9294..8d767fa 100644 (file)
@@ -1,8 +1,8 @@
 <canvas width="200" height="200" id="canvas">FAIL: no canvas support</canvas>
 <div id="log"></div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.getElementById("canvas").getContext("2d");
 //four tests
index 6aa01c9..5432be3 100644 (file)
@@ -14,8 +14,8 @@
     </style>
     <script src="resources/repaint.js"></script>
     <script>
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText(true);
+      if (window.testRunner)
+        testRunner.dumpAsText(true);
 
       function runTest() {
         var canvas = document.getElementById('canvas');
index 9573cbf..9e960bf 100644 (file)
@@ -2,8 +2,8 @@
 <canvas id="c" width=100 height=100></canvas>
 <!-- Tests that resizing a canvas to very large dimensions after a composite does not crash -->
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 var c = document.getElementById("c");
 
 function resize() {
@@ -11,8 +11,8 @@ function resize() {
     c.height = "10000";
 }
 
-if (window.layoutTestController) {
-    layoutTestController.display(); // Force a composite at normal width/height to ensure we have a compositing layer for the canvas.
+if (window.testRunner) {
+    testRunner.display(); // Force a composite at normal width/height to ensure we have a compositing layer for the canvas.
     resize();
 } else
     window.setTimeout(resize, 0);
index d4cadec..ecbbfb8 100644 (file)
@@ -7,8 +7,8 @@
   <p>There should be nothing below. Bug 8994. </p>
   <p><canvas width="200" height="100">FAIL</canvas></p>
   <script>
-   if (window.layoutTestController)
-     layoutTestController.dumpAsText(true);
+   if (window.testRunner)
+     testRunner.dumpAsText(true);
 
    var canvas = document.getElementsByTagName('canvas')[0];
    var context = canvas.getContext('2d');
index b6142ad..627841c 100644 (file)
@@ -8,8 +8,8 @@ function print(message)
 }\r
 function test()\r
 {\r
-    if (window.layoutTestController)\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner)\r
+        testRunner.dumpAsText();\r
 \r
     var canvas = document.getElementById("bigCanvas");\r
     var width = canvas.width;\r
index 5a0a61a..7c3c985 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <canvas id="canvas" width=600 height=600 style="border:5px solid black">
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById('canvas').getContext('2d');
 var lingrad = ctx.createLinearGradient(0,0,600,600);
index bcd3375..a4f27de 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <canvas id="canvas" width=600 height=300 style="border:5px solid black">
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById('canvas').getContext('2d');
 
index f058dec..703600d 100644 (file)
@@ -6,6 +6,6 @@ var canvas = document.getElementById('foo');
 var url = canvas.toDataURL();
 var p = document.getElementById('console');
 p.innerHTML = "PASS";
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 </script>
index b278d8c..cd4c042 100644 (file)
@@ -6,6 +6,6 @@ canvas.toDataURL("image/jpeg") should not crash.<br>
 var test = document.getElementById('canvas').toDataURL('image/jpeg');
 // Test passes if we don't crash.
 document.getElementById('log').innerHTML = 'PASS';
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
index 260dccb..9c3d0db 100644 (file)
@@ -2,9 +2,9 @@
 <pre id="log"></pre>
 <img id="result">
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.dumpAsText(pixelTest = true);
-    window.layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    window.testRunner.dumpAsText(pixelTest = true);
+    window.testRunner.waitUntilDone();
 }
 
 function webpDataURLTest()
@@ -19,8 +19,8 @@ function webpDataURLTest()
     else
         document.getElementById('result').src = dataURL;
 
-    if (window.layoutTestController)
-        window.layoutTestController.notifyDone();
+    if (window.testRunner)
+        window.testRunner.notifyDone();
 }
 
 var image = new Image();
index 85d7ac4..2ff8aba 100644 (file)
@@ -5,8 +5,8 @@
 <title>Canvas test: 2d.transformation.transform.identity</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("canvas").getContext("2d");
 canvas.fillStyle = '#f00';
index 90e36ad..84ae4c0 100644 (file)
@@ -5,8 +5,8 @@
 <title>Canvas test: 2d.transformation.transform.infinity</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById("canvas").getContext("2d");
 ctx.fillStyle = '#f00';
index cd8ba62..9afedeb 100644 (file)
@@ -5,8 +5,8 @@
 <title>Canvas test: 2d.transformation.transform.multiply</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById("canvas").getContext("2d");
 ctx.fillStyle = '#f00';
index ce3e33f..f832a54 100644 (file)
@@ -5,8 +5,8 @@
 <title>Canvas test: 2d.transformation.transform.nan</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById("canvas").getContext("2d");
 ctx.fillStyle = '#f00';
index acf88af..92b6fbc 100644 (file)
@@ -7,8 +7,8 @@
 <title>Canvas test: 2d.transformation.transform.non-invertible</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById("canvas").getContext("2d");
 ctx.fillStyle = '#0f0';
index 1cfa1c2..d314dca 100644 (file)
@@ -5,8 +5,8 @@
 <title>Canvas test: 2d.transformation.transform.skewed</title>
 <canvas id="canvas" class="output" width="100" height="100"><p class="fallback">FAIL (fallback content)</p></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var ctx = document.getElementById("canvas").getContext("2d");
 // Create green with a red square ring inside it
index e5543e9..c3ad85e 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <head>
     <script type="text/javascript">
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText(true);
+      if (window.testRunner)
+        testRunner.dumpAsText(true);
 
       function main() {
         var g = document.getElementById("c").getContext("2d");
index a193645..e3185d6 100644 (file)
@@ -485,8 +485,8 @@ function runTest() {
         context.fillStyle = '#0f0';
         context.fillRect(0, 0, canvas.width, canvas.height);
     }
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 <title>Canvas test of doom</title>
index 6a36e4a..5c3af71 100644 (file)
@@ -1,8 +1,8 @@
 If this renders correctly you should see one big friendly green square.
 <canvas id="canvas" width="200" height="200" ></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("canvas");
 var context = canvas.getContext("2d");
index ef4c2be..04cae0c 100644 (file)
@@ -3,8 +3,8 @@
   <body>
        <a id="result"></a>
           <script>
-           if (window.layoutTestController)
-             layoutTestController.dumpAsText();
+           if (window.testRunner)
+             testRunner.dumpAsText();
 
                canvas = document.createElement("canvas");
                document.body.appendChild(canvas);
index 57970d8..9e24759 100644 (file)
@@ -1,8 +1,8 @@
 This test ensures that changing the context does not crash.
 <canvas id="canvas"></canvas><br />
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.getElementById("canvas");
 var ctx1 = canvas.getContext("2d");
index d7790fe..85b45cb 100644 (file)
@@ -9,8 +9,8 @@
 
 <script type="text/javascript">
 
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById( 'canvas' );
 var context = canvas.getContext( '2d' );
index 108e281..232e926 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         oContext2d = document.getCSSCanvasContext("2d","",0,0);
         oContext2d.font = "small-caps .0ex G";
index e2db81d..cbaf680 100644 (file)
@@ -4,8 +4,8 @@ This test case ensures we don't crash when using canvas.createPattern
 <script>
 window.onload = function ()
 {
-    if (window.layoutTestController)
-        window.layoutTestController.dumpAsText();
+    if (window.testRunner)
+        window.testRunner.dumpAsText();
     var canvas = document.getElementById('c');
     var ctx = canvas.getContext('2d');
     var p = ctx.createPattern(canvas, 'no-repeat');
index bf5d5dc..fbbab96 100644 (file)
@@ -4,8 +4,8 @@
 There should be a green square, followed by 6 squares of shades of green from white to full green.<br>
 <canvas id="canvas" width="700" height="100" ></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("canvas");
 var context = canvas.getContext("2d");
index 578f86f..0e8bcdf 100644 (file)
@@ -16,8 +16,8 @@
     }
 
     function draw() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         var ctx = document.getElementById('canvas').getContext('2d');
 
index e6bb156..aa902d4 100644 (file)
@@ -2,8 +2,8 @@ If this renders correctly you should see one big friendly green square.
 <canvas id="canvas" width="200" height="200" ></canvas>
 <canvas id="canvas2" width="200" height="200" style="display:none" ></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("canvas");
 var canvas2 = document.getElementById("canvas2");
index 2e01258..04512ef 100644 (file)
@@ -4,8 +4,8 @@
 
 function init()
 {
-       if (window.layoutTestController)
-               window.layoutTestController.dumpAsText();
+       if (window.testRunner)
+               window.testRunner.dumpAsText();
 
     var imgCanvas = document.getElementById("c1");
     var imgCanvas2 = document.getElementById("c2");
index 2960331..671e10d 100644 (file)
@@ -3,10 +3,10 @@
 <script>
 function testOne(operation, quirk)
 {
-    if (window.layoutTestController){
-               layoutTestController.dumpAsText(true);
-        if (layoutTestController.setUseDashboardCompatibilityMode)
-            layoutTestController.setUseDashboardCompatibilityMode(quirk);
+    if (window.testRunner){
+               testRunner.dumpAsText(true);
+        if (testRunner.setUseDashboardCompatibilityMode)
+            testRunner.setUseDashboardCompatibilityMode(quirk);
     }
 
     var canvas = document.getElementById(operation + "-" + (quirk ? "" : "no-") + "quirk");
index b4a46c8..d39e128 100644 (file)
@@ -3,8 +3,8 @@
 The canvas below should show a gradient with zero stops, which according to the specification is filled with transparant black, ie. not visible. This tests <a href="http://bugs.webkit.org/show_bug.cgi?id=13784">Bug 13784, REGRESSION (r13744-13750): Crash with empty gradient when drawing to canvas</a></p>
 <canvas id="c"></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 window.onload = function () {
   var ctx = document.getElementById('c').getContext('2d');
index 198ab6d..268d0a2 100644 (file)
@@ -7,8 +7,8 @@ Each square canvas should contain a colored gradient bordered by a narrow white
 The column on the left contains linear gradients, the column on the right radial gradients.<br>
 
 <script>
-    if (window.layoutTestController)
-      layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+      testRunner.dumpAsText(true);
 
     var counter = 1;
     function Test(description, gradient) {
index 51e0baf..5e8f003 100644 (file)
     ctx.fillText("B", 0, 100);
     ctx.fillStyle = "green";
     canvas.parentNode.removeChild(canvas);
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText(true);
+        testRunner.waitUntilDone();
        }
     setTimeout(function()
     {
         ctx.fillText("A", 0, 100);
         document.body.appendChild(canvas);
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }, 50);
 </script>
index 4d61ff9..94ac797 100644 (file)
@@ -6,8 +6,8 @@
 <br>
 Result: <a id="result"></a>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.getElementById("c");
 var ctx = canvas.getContext("2d");
index c1a5536..0ba0909 100644 (file)
@@ -1,8 +1,8 @@
 <body>
 <canvas id="c" width="600" height="100"></canvas>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 var canvas = document.getElementById("c");
 var ctx = canvas.getContext("2d");
index f99ac90..f5488bb 100644 (file)
@@ -35,15 +35,15 @@ function imageLoaded() {
     c4.translate(- i.width / 2, - i.height / 2);
     c4.fillRect(0, 0, i.width, i.height);
 
-    if (window.layoutTestController) { 
-        layoutTestController.notifyDone();
+    if (window.testRunner) { 
+        testRunner.notifyDone();
     }
 }
 
 function runTests() {
-    if (window.layoutTestController) {
-           layoutTestController.dumpAsText(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+           testRunner.dumpAsText(true);
+        testRunner.waitUntilDone();
     }
     
     i = new Image();
index 067de5d..60955b7 100644 (file)
@@ -27,15 +27,15 @@ function imageLoaded() {
         canvases.appendChild(div);
     }
 
-    if (window.layoutTestController) {
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
     }
 }
 
 function runTests() {
-    if (window.layoutTestController) {
-               layoutTestController.dumpAsText(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+               testRunner.dumpAsText(true);
+        testRunner.waitUntilDone();
     }
 
     img = new Image();
index 1e04bf7..5bfc970 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
     <script type="text/javascript">
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function init()
     {
index a0197ef..93b8a2a 100644 (file)
@@ -4,9 +4,9 @@
   <title>createPattern repeat test</title>
   <style> canvas { border:solid #000 } </style>
   <script>
-   if (window.layoutTestController) {
-     layoutTestController.dumpAsText(true);
-     layoutTestController.waitUntilDone();
+   if (window.testRunner) {
+     testRunner.dumpAsText(true);
+     testRunner.waitUntilDone();
    }
    window.onload = function(){
     var i = new Image();
@@ -40,8 +40,8 @@
        ctx.strokeRect(0, 0, 150, 150);
        ctx.fillRect(0, 0, 150, 150);
        
-       if (window.layoutTestController)
-           layoutTestController.notifyDone();
+       if (window.testRunner)
+           testRunner.notifyDone();
                }
    }
   </script>
index a8f6ef1..116d216 100644 (file)
@@ -7,8 +7,8 @@
        <head>
                <title>Context2D.quadraticCurveTo Test Case</title>
                <script>
-                   if (window.layoutTestController)
-                         layoutTestController.dumpAsText(true);
+                   if (window.testRunner)
+                         testRunner.dumpAsText(true);
 
                        var ctx;
                        var current_point;
index 8bbe2b1..0a8efbf 100644 (file)
@@ -5,8 +5,8 @@
 <body>\r
 <canvas id="mycanvas" width="512" height="512"></canvas>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText()\r
+if (window.testRunner)\r
+    testRunner.dumpAsText()\r
 var canvas = document.getElementById('mycanvas');\r
 var ctx = canvas.getContext('2d');\r
 ctx.fillStyle = "rgb(255,165,0)";\r
index 8c957c7..e5e3ae7 100644 (file)
@@ -1,6 +1,6 @@
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 // This test should show a table of canvas elements. Onto the background of each a blue
@@ -374,6 +374,6 @@ function runTest() {
       //rebaseline(context, i, j);
     }
   }
-  if (layoutTestController)
-      layoutTestController.notifyDone();
+  if (testRunner)
+      testRunner.notifyDone();
 }
index c9a8873..e4b713a 100644 (file)
@@ -1,8 +1,8 @@
 function runRepaintTest()
 {
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         document.body.offsetTop;
-        layoutTestController.display();
+        testRunner.display();
         repaintTest();
     } else {
         setTimeout(repaintTest, 100);
index a7da0c0..7ff7dd1 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 0277f83..c5094a2 100644 (file)
@@ -1,7 +1,7 @@
 description("Test that drawImage() does nothing with an incomplete image or video");
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var canvas = document.createElement("canvas");
 var ctx = canvas.getContext('2d');
index 19846c5..8ea4f5c 100644 (file)
@@ -6,9 +6,9 @@ shouldThrow("gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)')");
 var gradient = ctx.createRadialGradient(0, 0, 0, 100, 0, 0);
 shouldThrow("gradient.addColorStop(1, 'rgb(NaN%, NaN%, NaN%)')");
 
-if (this.layoutTestController) {
+if (this.testRunner) {
     debug("Switching to dashboard compatibility mode.  Invalid color strings should no longer cause an exception.");
-    layoutTestController.setUseDashboardCompatibilityMode(true);
+    testRunner.setUseDashboardCompatibilityMode(true);
 } else {
     debug("The following tests will fail in the browser as we can only enable dashboard compatibility mode in DRT.")
 }
index f8c0833..6576a1a 100644 (file)
@@ -41,7 +41,7 @@ var drawIterations = 2;
 function TestControllerPaint() {
     while (drawIterations > 0) {
         draw();
-        layoutTestController.display();
+        testRunner.display();
         drawIterations = drawIterations - 1;
     }
     draw();
@@ -61,7 +61,7 @@ function BrowserPaint(){
 
 function onLoadHandler()
 {
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         TestControllerPaint();
     } else {
         BrowserPaint();
index ec44e23..8fba175 100644 (file)
@@ -4,8 +4,8 @@
 <head>
 <script src="resources/repaint.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 function repaintTest()
 {
index 5bd9dd0..ff17646 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE HTML>
 <body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText()
+if (window.testRunner)
+    testRunner.dumpAsText()
 
 document.body.appendChild(document.createElement("p")).appendChild(document.createTextNode("This test passes if it does not cause a crash"));
 var canvas = document.body.appendChild(document.createElement("canvas"));
index 1e50980..f4289d1 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.shadowOffsetX = offsetX;
index ae69610..5291336 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, 0.5);
index 0b8f4fd..5d2bda6 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, "green");
index a301c50..2d6e6d0 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, "green", 0.9);
index b7b5b94..c60e3cd 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, 0, 0.5, 0, 0.9);
index b9f8c97..459ca90 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, 0.2, 0.9);
index b53e765..522aa7d 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script src="resources/shadow-offset.js"></script>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
 setter = function(ctx, offsetX, offsetY) {
     ctx.setShadow(offsetX, offsetY, 0, 1, 0, 1, 0, 0.9);
index ffbb5a6..1bd20c7 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <body>
 <script>
-  if (window.layoutTestController)
-      layoutTestController.dumpAsText();
+  if (window.testRunner)
+      testRunner.dumpAsText();
   try {
     document.createElement('canvas').getContext('2d').strokeText();
   } catch (err) {
index 4ce479a..46cd240 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 function log(message) {
@@ -30,8 +30,8 @@ function loaded() {
     log('Oh dear -- missing exception!');
   } catch (e) {
     log('Exception: ' + e.name);
-    if (window.layoutTestController)
-      layoutTestController.notifyDone();
+    if (window.testRunner)
+      testRunner.notifyDone();
   }
 }
 </script>
index 0d0f848..b3dd654 100644 (file)
@@ -3,8 +3,8 @@
 <head> 
 <title>canvas toDataURL alpha png bug</title> 
 <script type="text/javascript"> 
-if (window.layoutTestController)
-  layoutTestController.dumpAsText(true);
+if (window.testRunner)
+  testRunner.dumpAsText(true);
 
   function load() {
       var context = document.getElementById("c").getContext("2d");
index e74f741..5ea7bcb 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         function log(msg)
         {
index 99195fa..02475d8 100644 (file)
@@ -5,8 +5,8 @@
         pre { display: inline-block; margin: 5px; }
     </style>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         function draw()
         {
index 2993c88..0b5da79 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 13b8fe3..5dc3e18 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 55551fc..9c7ea46 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 1138ff8..586a920 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 701f726..411b034 100755 (executable)
@@ -9,9 +9,9 @@ description("Checks that copying canvas results to a WebGL texture functions wit
 
 var wtu = WebGLTestUtils;
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 var canvas;
@@ -34,8 +34,8 @@ function draw()
   wtu.drawQuad(gl);
   wtu.checkCanvasRect(gl, 0, 0, 1, 1, [0, 0, 200, 255], "Should have rendered blue.", 1);
 
-  if (window.layoutTestController)
-      layoutTestController.notifyDone();
+  if (window.testRunner)
+      testRunner.notifyDone();
 }
 
 window.onload = function()
index 5abe62d..0ef144c 100644 (file)
@@ -135,8 +135,8 @@ if (!gl) {
   canvas.style.height = "25px";
   var intervalId;
   intervalId = window.setInterval(function() {
-    if (window.layoutTestController)
-      layoutTestController.display();
+    if (window.testRunner)
+      testRunner.display();
     if (canvas.clientWidth == 100 &&
         canvas.clientHeight == 25) {
       window.clearInterval(intervalId);
index 7a616e7..002eb04 100644 (file)
@@ -4,9 +4,9 @@
 </head>
 <body>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function gc()
@@ -36,8 +36,8 @@ function finishTest()
     extension.loseContext();
     
     document.body.innerHTML = "PASS";
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 </body>
index 99d054f..11628a6 100644 (file)
@@ -94,9 +94,9 @@
                 gl.drawArrays(gl.TRIANGLES, 0, 3); 
             }
             
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.overridePreference("WebKitWebGLEnabled", "1");
             }
             
             initialize();
                 draw(0.7, 0, 0);
                 setTimeout(function() {
                     draw(0, 0.5, 0);
-                    if (window.layoutTestController)
-                        layoutTestController.notifyDone();
+                    if (window.testRunner)
+                        testRunner.notifyDone();
                 }, 100);
             }, 100);
         </script>
index d5a18a1..3b84057 100644 (file)
@@ -94,8 +94,8 @@
                 gl.drawArrays(gl.TRIANGLES, 0, 3); 
             }
             
-            if (window.layoutTestController)
-                layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
+            if (window.testRunner)
+                testRunner.overridePreference("WebKitWebGLEnabled", "1");
 
             initialize();
             draw(0, 0.5, 0);
index 7f98ed0..e8c16dd 100644 (file)
@@ -93,7 +93,7 @@ function runTests(imgs) {
     // When running in WebKit's test harness, we don't want to print the
     // pixel value when the test passes, because different machines might
     // have different results and we record the text output.
-    var inDumpRenderTree = window.layoutTestController;
+    var inDumpRenderTree = window.testRunner;
     for (var ii = 0; ii < 4; ++ii) {
       if (Math.abs(buf[off + ii] - color[ii]) > allowedRange) {
         testFailed(msg + subMsg);
index e29d5f1..f8acc05 100644 (file)
@@ -72,9 +72,9 @@ var gl;
 var canvas;
 var premultipledAlpha;
 
-if (window.layoutTestController) {
-      layoutTestController.waitUntilDone();
-      layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
+if (window.testRunner) {
+      testRunner.waitUntilDone();
+      testRunner.overridePreference("WebKitWebGLEnabled", "1");
 }
 
 description("Test the WebGL premultipledAlpha context creation flag.");
@@ -154,8 +154,8 @@ function doNextTest() {
         setTimeout(loadTexture, 0);
      }
    } else {
-      if (window.layoutTestController)
-         layoutTestController.notifyDone();
+      if (window.testRunner)
+         testRunner.notifyDone();
       finishTest();
    }
 }
index be257c1..01a6a04 100644 (file)
@@ -1,7 +1,7 @@
 //----------------------------------------------------------------------
 // Differences with respect to Khronos version of webgl-test.js
-if (window.layoutTestController)
-    layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
+if (window.testRunner)
+    testRunner.overridePreference("WebKitWebGLEnabled", "1");
 
 function assertMsg(assertion, msg) {
     if (assertion) {
@@ -12,18 +12,18 @@ function assertMsg(assertion, msg) {
 }
 
 function initNonKhronosFramework(waitUntilDone) {
-  if (window.layoutTestController) {
-    layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
-    layoutTestController.dumpAsText();
+  if (window.testRunner) {
+    testRunner.overridePreference("WebKitWebGLEnabled", "1");
+    testRunner.dumpAsText();
     if (waitUntilDone) {
-      layoutTestController.waitUntilDone();
+      testRunner.waitUntilDone();
     }
   }
 }
 
 function nonKhronosFrameworkNotifyDone() {
-  if (window.layoutTestController) {
-    layoutTestController.notifyDone();
+  if (window.testRunner) {
+    testRunner.notifyDone();
   }
 }
 
index 0c5bc2b..41ea405 100644 (file)
@@ -51,9 +51,9 @@
         
         function init()
         {
-            if (window.layoutTestController) {
-                layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.overridePreference("WebKitWebGLEnabled", "1");
+                testRunner.dumpAsText();
             }
             // Set up a canvas to get image data from
             var canvas2d = document.getElementById("texcanvas");
index f80f797..ed9e70b 100644 (file)
@@ -55,7 +55,7 @@ function runTests(imgs) {
     // When running in WebKit's test harness, we don't want to print the
     // pixel value when the test passes, because different machines might
     // have different results and we record the text output.
-    var inDumpRenderTree = window.layoutTestController;
+    var inDumpRenderTree = window.testRunner;
     for (var ii = 0; ii < 4; ++ii) {
       if (Math.abs(buf[off + ii] - color[ii]) > allowedRange) {
         testFailed(msg + subMsg);
index 468182e..ff37163 100644 (file)
@@ -47,9 +47,9 @@ void main() {
 
 var ctxs = []
 
-if (window.layoutTestController) {
-    layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
-    layoutTestController.dumpAsText(true);
+if (window.testRunner) {
+    testRunner.overridePreference("WebKitWebGLEnabled", "1");
+    testRunner.dumpAsText(true);
     document.getElementById("description").style.position = "absolute";
     document.getElementById("description").style.top = "-5000px";
 }
index 669d9c7..5cfb5f6 100644 (file)
@@ -45,9 +45,9 @@ void main() {
 
 var ctxs = []
 
-if (window.layoutTestController) {
-    layoutTestController.overridePreference("WebKitWebGLEnabled", "1");
-    layoutTestController.dumpAsText(true);
+if (window.testRunner) {
+    testRunner.overridePreference("WebKitWebGLEnabled", "1");
+    testRunner.dumpAsText(true);
     document.getElementById("description").style.position = "absolute";
     document.getElementById("description").style.top = "-5000px";
 }
index b71cd8d..f7c93fc 100755 (executable)
@@ -12,9 +12,9 @@ description("Checks that painting WebGL contents doesn't pollute the context sta
 
 var wtu = WebGLTestUtils;
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 var canvas;
@@ -27,8 +27,8 @@ function draw() {
   wtu.drawQuad(context);
 
   wtu.checkCanvasRect(context, 0, 0, 1, 1, [0, 0, 255, 255], "Should have rendered blue.", 1);
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
 window.onload = function()
index 1e68746..dbf3a80 100755 (executable)
@@ -12,9 +12,9 @@ description("Checks that painting WebGL contents doesn't pollute the context's v
 
 var wtu = WebGLTestUtils;
 
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 var canvas;
@@ -29,8 +29,8 @@ function draw() {
     testPassed("Viewport not corrupted.");
   }
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
 window.onload = function()
index 799b72c..3db9935 100644 (file)
@@ -13,15 +13,15 @@ function runTest()
     var worker = new Worker("resources/worker-data-view-test.js");
     worker.onmessage = function(event) {
         log(event.data);
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     };
     worker.postMessage("start");
 }
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 </script>
 </head>
index a0963b1..ae4cc62 100644 (file)
@@ -9,8 +9,8 @@
 <head>
 <script type="text/javascript">
 window.onload = function() {
-       if (window.layoutTestController)
-         layoutTestController.dumpAsText(true);
+       if (window.testRunner)
+         testRunner.dumpAsText(true);
        
     var canvas = document.getElementById("test");
     var context = canvas.getContext("2d");
index 29e20d3..9f05fe6 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title>Calling bindings constructors as function should not cause a crash</title>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         function runTest()
         {
index 28be368..d8d40ed 100644 (file)
@@ -13,8 +13,8 @@ position: absolute;
 }
 </style>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 6acc2d3..f11ce13 100755 (executable)
@@ -10,8 +10,8 @@
             function runTest() {
                 document.body.offsetTop;
                 document.body.style.color = "blue";
-                if (window.layoutTestController)
-                    layoutTestController.dumpAsText();
+                if (window.testRunner)
+                    testRunner.dumpAsText();
             }
             window.onload = runTest;
         </script>
index 15aea9b..20e7f65 100644 (file)
@@ -3,8 +3,8 @@
 </style>
 <span></span>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <p>
     Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=71085">https://bugs.webkit.org/show_bug.cgi?id=71085</a>
index 09992a1..d43b7fd 100644 (file)
@@ -33,8 +33,8 @@ function runTest() {
     document.body.offsetTop;
     firstDiv.setAttribute('class', 'c1');
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 window.onload = runTest;
 </script>
index a016f1b..8494f55 100644 (file)
@@ -12,8 +12,8 @@
     }
     </style>
     <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function test(){
         var first = document.getElementById("first");
index 5bf27c3..3bf6fc4 100644 (file)
@@ -12,8 +12,8 @@
     Drag the box above. The text should become blue and the browser should not crash.
 </p>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         eventSender.mouseMoveTo(50, 50);
         eventSender.mouseDown();
         eventSender.mouseMoveTo(250, 250);
index 8909041..f621c85 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <style>
     span::after {content: ''; }
index 57fd394..165551a 100755 (executable)
@@ -7,8 +7,8 @@
 .inline::first-letter { content: ''; }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function startTest() {
     document.body.offsetTop;
index 4478277..5c9f8c2 100644 (file)
@@ -31,8 +31,8 @@
         document.body.offsetTop;
         document.body.innerHTML = "PASS, if no crash or assert in debug build."
 
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     }
 </script>
 <body>
index 9b05ac2..b9b75de 100644 (file)
@@ -6,8 +6,8 @@
 <script>
 function recreateFirstLetterBlock() {
   document.getElementById("parent").setAttribute('class', 'inlineFL');
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 function removeDiv() {
   // This causes the parent to only have inline (and floating) children
@@ -21,9 +21,9 @@ function changeDivStyle() {
 }
 function startTest() {
   setTimeout("changeDivStyle();", 10);
-  if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+  if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
   }
 }
 window.onload = startTest;
index 2c665d7..882cd70 100644 (file)
@@ -14,6 +14,6 @@ tbodyElement.appendChild(headerElement);
 
 document.documentElement.appendChild(document.createTextNode('PASS if no crash or assert in debug'));
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
index eb8c71d..4dde038 100644 (file)
@@ -19,8 +19,8 @@
 
 </style>
 <script type="text/javascript" charset="utf-8">
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+  if (window.testRunner)
+    testRunner.dumpAsText();
 
   function runTest()
   {
index 68ab372..22aa078 100644 (file)
@@ -14,7 +14,7 @@
        <script type="text/javascript">
           function test()
           {
-              if (!window.layoutTestController)
+              if (!window.testRunner)
                   return;
               eventSender.mouseMoveTo(12, 12);    // hover
               eventSender.mouseDown();    // get noticed
index cb0c877..8918057 100755 (executable)
@@ -5,8 +5,8 @@ PASS, if the script does not cause a crash or ASSERT failure
 <script>\r
     function endTest(childSpan) {\r
         childSpan.appendChild(divToInsert);\r
-        if (window.layoutTestController)\r
-            layoutTestController.notifyDone();\r
+        if (window.testRunner)\r
+            testRunner.notifyDone();\r
     }\r
     function startTest() {\r
         quoteNode = document.createElement('q');\r
@@ -18,9 +18,9 @@ PASS, if the script does not cause a crash or ASSERT failure
         parentSpan.appendChild(childSpan);\r
         document.documentElement.appendChild(parentSpan);\r
         setTimeout('endTest(childSpan);', 50);\r
-        if (window.layoutTestController) {\r
-            layoutTestController.waitUntilDone();\r
-            layoutTestController.dumpAsText();\r
+        if (window.testRunner) {\r
+            testRunner.waitUntilDone();\r
+            testRunner.dumpAsText();\r
         }\r
     }\r
     window.onload = startTest;\r
index 83f1f2f..0aa341a 100644 (file)
@@ -5,9 +5,9 @@ An invalid URL in the "content" style property should not cause a crash when the
 
 FAIL - The browser should have navigated to resources/pass.html.
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 window.location.href = 'resources/pass.html';
 </script>
index 395014b..e72a6ea 100644 (file)
            }       
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
 
             function finishTest()
             {
                 eventSender.mouseUp();
                 getSelection().removeAllRanges();
-                layoutTestController.notifyDone();
+                testRunner.notifyDone();
             }
 
             function test()
             {
-                if (!window.layoutTestController)
+                if (!window.testRunner)
                     return;
-                layoutTestController.waitUntilDone();
+                testRunner.waitUntilDone();
                 eventSender.dragMode = false;
                 eventSender.mouseMoveTo(1, 1);
                 eventSender.mouseDown();
index 8301dd4..aeaeee2 100644 (file)
@@ -1,9 +1,9 @@
 <script>
 function runTest() {
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
+        testRunner.dumpChildFramesAsText();
     }
 }
 window.onload = runTest;
index 60d02a4..97bb953 100755 (executable)
@@ -14,8 +14,8 @@ function runTest()
     document.documentElement.appendChild(test2);
     test3 = document.createElement('div');
     document.documentElement.appendChild(test3);
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 window.onload = runTest;
 </script>
index 14ed364..8d04c16 100644 (file)
@@ -13,6 +13,6 @@ parentDiv.appendChild(childDiv);
 parentDiv.appendChild(document.createTextNode('PASS if no exception or crash'));
 document.documentElement.offsetHeight; // forces a layout
 parentDiv.removeChild(childDiv);
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
index 8c35525..3e9ba4c 100644 (file)
@@ -5,8 +5,8 @@
         dfn { content: "text"; content: initial; }
     </style>
     <script type="text/javascript">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index ea4e5c5..73022be 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 PASS
 <script>
-if (window.layoutTestController)
-    layoutTestController.notifyDone();
+if (window.testRunner)
+    testRunner.notifyDone();
 </script>
 </html>
index 0e6de68..9ec7b7f 100644 (file)
@@ -1,7 +1,7 @@
 <script>
 function finishTest() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 window.onload = finishTest;
 </script>
index 162fd67..56cc614 100644 (file)
     }
     </style>
     <script type="text/javascript">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         function test()
         {
-            if (!window.layoutTestController)
+            if (!window.testRunner)
                 return;
             eventSender.mouseMoveTo(30, 30);
             document.body.offsetTop;    // force layout
index a614935..4e0d80a 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <head>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
     <style>
       body :after {
index 34dbd75..687f70f 100644 (file)
@@ -5,7 +5,7 @@
 </style>
 <table><tr>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 document.body.innerHTML = "PASS, no crash";
 </script>
index 9220331..76abfdf 100644 (file)
@@ -7,8 +7,8 @@
             }\r
         </style>\r
         <script>\r
-            if (window.layoutTestController)\r
-                layoutTestController.dumpAsText();\r
+            if (window.testRunner)\r
+                testRunner.dumpAsText();\r
         </script>\r
     </head>\r
     <body>\r
index 1353133..3f994b8 100755 (executable)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.overridePreference("WebKitCSSGridLayoutEnabled", true);
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", true);
 </script>
 <style>
 .grid { display: -webkit-grid; }
index 1bc501b..f610735 100755 (executable)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.overridePreference("WebKitCSSGridLayoutEnabled", true);
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", true);
 </script>
 <style>
 .gridWithFixed {
index 5f109c7..618e36d 100755 (executable)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.overridePreference("WebKitCSSGridLayoutEnabled", true);
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", true);
 </script>
 <style>
 .grid {
index a8bb640..81fbb45 100755 (executable)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.overridePreference("WebKitCSSGridLayoutEnabled", true);
+if (window.testRunner)
+    testRunner.overridePreference("WebKitCSSGridLayoutEnabled", true);
 </script>
 <style>
 .gridItemWithPositiveInteger {
index 1222797..cc73cb1 100644 (file)
@@ -12,7 +12,7 @@
     if (window.eventSender) {
         eventSender.mouseMoveTo(200, 50);
         eventSender.mouseMoveTo(210, 50);
-        layoutTestController.dumpAsText();
+        testRunner.dumpAsText();
         document.getElementById("result").innerText = getComputedStyle(document.getElementById("target").firstElementChild).backgroundColor === "rgb(0, 128, 0)" ? "PASS" : "FAIL";
     }
 </script>
index 405a6a2..57bb660 100644 (file)
@@ -8,10 +8,10 @@
     }
     </style>
     <script>
-    if (window.layoutTestController) {
-        layoutTestController.display();
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.display();
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
     function log(message)
     {
@@ -27,7 +27,7 @@
             log('PASS');
         else
             log('FAIL');
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }
 
     function runTest()
index 678a07a..5d10073 100644 (file)
@@ -5,8 +5,8 @@
 <p id="result">FAIL: Test did not run</p>
 <div id="target" style="display: none; -webkit-appearance: caps-lock-indicator;"></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var appearance = document.getElementById("target").style.webkitAppearance;
     document.getElementById("result").innerText = appearance === "" ? "PASS" : "FAIL: parsed as " + appearance;
index 5ad750d..f45263c 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <style type="text/css">
     marquee { display: run-in; }
index 064c65c..f8975ee 100644 (file)
@@ -9,8 +9,8 @@ p.test { display: none }
 p.test { display: block }
 </style>
 <script type="text/javascript">
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 7a8efbd..6069e17 100644 (file)
@@ -45,8 +45,8 @@
 
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var rules = document.styleSheets[0].cssRules;
 var text = "";
index 7e40f8f..ca41eda 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = '0XYZ';
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 1fc8218..6ea94a0 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = "updated0value";
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 54149d5..fbfca72 100644 (file)
         function change() {
             var element = document.getElementsByTagName('test')[0];
             element.attributes.test.value = 0;
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
       
         window.onload = function () {
-            if (window.layoutTestController)
-                layoutTestController.waitUntilDone();
+            if (window.testRunner)
+                testRunner.waitUntilDone();
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
             setTimeout("change();", 0);
index ca5f429..29a70d7 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = "updated0";
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index e72d53a..dceb702 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = 0;
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 7f0f5f3..d59529f 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = "0-updated";
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 26e7eda..47efe16 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.attributes.test.value = "updated attributed value 0";
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 68840c7..ea0c779 100644 (file)
         function change() {
             var element = document.getElementsByTagName('div')[0];
             element.setAttribute("test", "0");
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             // Trigger an attribute change after all load processing is done. Doing the change
             // here immediately does not exhibit the problem.
index 1ba2c5a..010b4a9 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title></title>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body style="background:url(),url(); background-repeat:no-repeat;">
index ac597c1..aa442c4 100644 (file)
@@ -7,8 +7,8 @@
 <p id="result">
 </p>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var targetBackgroundPosition = getComputedStyle(document.getElementById("target")).backgroundPosition,cssText;
 
index 504862e..735c5a2 100644 (file)
@@ -38,8 +38,8 @@ function shouldBe(a, b)
         print("FAIL: " + a + " should be " + b + " but instead is " + evalA + ".", "red");
 }
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var t = document.getElementById('t');
 
index 0bbe36e..fa98d70 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title></title>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index 92410a5..aecdad6 100644 (file)
@@ -27,8 +27,8 @@ div {
 </style>\r
 </head>\r
 <script>\r
-if (window.layoutTestController)\r
-    window.layoutTestController.dumpAsText(true);\r
+if (window.testRunner)\r
+    window.testRunner.dumpAsText(true);\r
 </script>\r
 <body>\r
 <div id="reference1"></div>\r
index 71ec1f6..c13685c 100644 (file)
@@ -9,8 +9,8 @@
 <script src="../js/resources/js-test-pre.js"></script>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 description("Test for Bug: 80736 - CSSStyleDeclaration.getPropertyValue() for 'border-radius' returns null when value is set");
 
index 227f2c6..30bad85 100644 (file)
@@ -21,7 +21,7 @@
 .down { border-top: 61px solid purple; }
 </style>
 <script>
-if (window.layoutTestController) layoutTestController.dumpAsText(true);
+if (window.testRunner) testRunner.dumpAsText(true);
 </script>
 </head>
 <body>
index d6b9c3c..8c1fdfa 100644 (file)
@@ -4,8 +4,8 @@
 WebKit should not crash and we should get null.</p>
 <script type="text/javascript">
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var a = document.createElement("a");
 a.setAttribute("style", "-webkit-border-horizontal-spacing: 1px;");
index 4c49b38..03618c5 100644 (file)
@@ -6,8 +6,8 @@
 #button4 { height: 40px; background-color: yellow; }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = function()
 {
@@ -22,7 +22,7 @@ window.onload = function()
     else
         testFailed("document.getElementById('button5').offsetHeight is incorrect for this platform. Should be the same height as button 1 for the Mac ports and 40 otherwise.");
 
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         var testContainer = document.getElementById("test-container");
         if (testContainer)
             document.body.removeChild(testContainer);   
index 85e9ec9..dd829db 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <body>
 <link href="resources/small.css" rel="stylesheet">
index fc58652..3f297db 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<script>if (window.layoutTestController) layoutTestController.dumpAsText();</script>
+<script>if (window.testRunner) testRunner.dumpAsText();</script>
 </head>
 <body>
 <p>lower(A𐐀) = <span style="text-transform:lowercase">A𐐀</span> (should be a𐐨)</p>
index abf3c2a..3a8973c 100644 (file)
@@ -30,8 +30,8 @@ var totalChecked = 0;
 var expectedCount = 0;
 var idArray=new Array("option1","option2","option3","option4","radio1","radio2","checkbox1","checkbox2");
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.dumpAsText();
 }
 
 function isCheckedOrSelected(id) {
index 2cfe5f4..0f46248 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     result = "TEST FAILED";
     if (getComputedStyle(document.getElementById("cell1")).fontWeight == "normal")
         if (getComputedStyle(document.getElementById("cell2")).fontWeight == "bold")
index c55c921..d074b95 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = function() {
     var elmt = document.getElementById("probe");  
index a0c6730..9e57e1c 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = function() {
     var elmt = document.getElementById("probe");  
index 8b85b3c..0a2e512 100644 (file)
@@ -14,8 +14,8 @@
 <script type="text/javascript" charset="utf-8">
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.queueReload();
+    if (window.testRunner) {
+        testRunner.queueReload();
     }
 }
 </script>
index 31b7c65..bcc0090 100644 (file)
@@ -6,9 +6,9 @@
             #test:before { content: none; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();   
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();   
+                testRunner.waitUntilDone();
             }
 
             function run() {
@@ -18,8 +18,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 30132b3..21d5bc1 100644 (file)
@@ -6,9 +6,9 @@
             #test:before { content: normal; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();   
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();   
+                testRunner.waitUntilDone();
             }
 
             function run() {
@@ -18,8 +18,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index eb9a40d..e36dbe8 100644 (file)
@@ -4,9 +4,9 @@
             body { quotes: "WW" "WWWW"; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
@@ -16,8 +16,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index a1e7851..600f1f7 100644 (file)
@@ -6,13 +6,13 @@
             span:after { content: no-close-quote; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
-                if (window.layoutTestController)
+                if (window.testRunner)
                     document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
                 testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
                 referenceWidth = window.getComputedStyle(document.getElementById("reference"), null).getPropertyValue("width");
@@ -21,8 +21,8 @@
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
                document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 7c1f9bd..d46e853 100644 (file)
@@ -5,13 +5,13 @@
             b:before { content: no-open-quote; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
-                if (window.layoutTestController)
+                if (window.testRunner)
                     document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
                 testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
                 referenceWidth = window.getComputedStyle(document.getElementById("reference"), null).getPropertyValue("width");
@@ -19,8 +19,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 87029d7..0b2dbdd 100644 (file)
@@ -5,13 +5,13 @@
             b:before { content: no-open-quote; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
-                if (window.layoutTestController)
+                if (window.testRunner)
                     document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
                 el = document.getElementById("toRemove");
                 el.parentNode.removeChild(el);
@@ -21,8 +21,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 422be3c..6f9029d 100644 (file)
@@ -4,13 +4,13 @@
             .myQuotes { quotes: "WW" "WWWW" "WWW" "WWWWW"; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
-                if (window.layoutTestController)
+                if (window.testRunner)
                     document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
                 document.body.setAttribute("class", "myQuotes");
                 testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
@@ -19,8 +19,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 325a653..5437c28 100644 (file)
@@ -5,13 +5,13 @@
             .noQuotes { quotes: none; }
         </style>
         <script type="text/javascript">
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             function run() {
-                if (window.layoutTestController)
+                if (window.testRunner)
                     document.getElementById("onlyInBrowser").setAttribute("style", "display: none;");
                 testWidth = window.getComputedStyle(document.getElementById("testContainer"), null).getPropertyValue("width");
                 referenceWidth = window.getComputedStyle(document.getElementById("reference"), null).getPropertyValue("width");
@@ -19,8 +19,8 @@
                     document.getElementById("console").innerText = "PASSED";
                 else
                     document.getElementById("console").innerText = "FAILED: testWidth=" + testWidth +"; expected " + referenceWidth;
-               if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+               if (window.testRunner)
+                    testRunner.notifyDone();
            }
         </script>
     </head>
index 374806b..14d79f1 100644 (file)
@@ -2,8 +2,8 @@
     <script>\r
         window.onload = function()\r
         {\r
-            if (window.layoutTestController)\r
-                layoutTestController.dumpAsText();\r
+            if (window.testRunner)\r
+                testRunner.dumpAsText();\r
 \r
             document.getElementById('content').innerHTML = "PASS: rendered counter nodes without crashing.";