1. 28 Oct, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Methods on window.internals shouldn't pass a document. · 3e466981
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=107301
      
      Patch by Afonso R. Costa Jr. <afonso.costa@samsung.com> on 2013-10-28
      Reviewed by Alexey Proskuryakov.
      
      Each 'Internals' instance is associated with a 'Document'. So, it
      is not necessary to pass a document as argument. Only nodesFromRect and
      layerTreeAsText methods were kept because, in some Layout Tests, the
      'Document' object is not the same used by Internals::contextDocument.
      
      Source/WebCore:
      
      * testing/Internals.cpp: Removed 'document' parameter.
      (WebCore::Internals::animationsAreSuspended):
      (WebCore::Internals::suspendAnimations):
      (WebCore::Internals::resumeAnimations):
      (WebCore::Internals::inspectorHighlightRects):
      (WebCore::Internals::inspectorHighlightObject):
      (WebCore::Internals::setScrollViewPosition):
      (WebCore::Internals::setPagination):
      (WebCore::Internals::configurationForViewport):
      (WebCore::Internals::paintControlTints):
      (WebCore::Internals::setDelegatesScrolling):
      (WebCore::Internals::touchPositionAdjustedToBestClickableNode):
      (WebCore::Internals::touchNodeAdjustedToBestClickableNode):
      (WebCore::Internals::touchPositionAdjustedToBestContextMenuNode):
      (WebCore::Internals::touchNodeAdjustedToBestContextMenuNode):
      (WebCore::Internals::bestZoomableAreaForTouchPoint):
      (WebCore::Internals::lastSpellCheckRequestSequence):
      (WebCore::Internals::lastSpellCheckProcessedSequence):
      (WebCore::Internals::wheelEventHandlerCount):
      (WebCore::Internals::touchEventHandlerCount):
      (WebCore::Internals::setBatteryStatus):
      (WebCore::Internals::setNetworkInformation):
      (WebCore::Internals::setDeviceProximity):
      (WebCore::Internals::hasSpellingMarker):
      (WebCore::Internals::hasAutocorrectedMarker):
      (WebCore::Internals::isOverwriteModeEnabled):
      (WebCore::Internals::toggleOverwriteModeEnabled):
      (WebCore::Internals::consoleMessageArgumentCounts):
      (WebCore::Internals::hasGrammarMarker):
      (WebCore::Internals::numberOfScrollableAreas):
      (WebCore::Internals::isPageBoxVisible):
      (WebCore::Internals::repaintRectsAsText):
      (WebCore::Internals::scrollingStateTreeAsText):
      (WebCore::Internals::mainThreadScrollingReasons):
      (WebCore::Internals::nonFastScrollableRects):
      (WebCore::Internals::garbageCollectDocumentResources):
      (WebCore::Internals::insertAuthorCSS):
      (WebCore::Internals::insertUserCSS):
      (WebCore::Internals::shortcutIconURLs):
      (WebCore::Internals::allIconURLs):
      (WebCore::Internals::setHeaderHeight):
      (WebCore::Internals::setFooterHeight):
      (WebCore::Internals::webkitWillEnterFullScreenForElement):
      (WebCore::Internals::webkitDidEnterFullScreenForElement):
      (WebCore::Internals::webkitWillExitFullScreenForElement):
      (WebCore::Internals::webkitDidExitFullScreenForElement):
      (WebCore::Internals::startTrackingRepaints):
      (WebCore::Internals::stopTrackingRepaints):
      (WebCore::Internals::getCurrentCursorInfo):
      * testing/Internals.h:
      (WebCore::Internals::setPagination):
      * testing/Internals.idl:
      
      LayoutTests:
      
      * animations/added-while-suspended.html: Removed 'document' parameter.
      * animations/play-state-suspend.html:
      * animations/stop-animation-on-suspend.html:
      * animations/suspend-resume-animation-events.html:
      * animations/suspend-resume-animation.html:
      * animations/suspend-transform-animation.html:
      * batterystatus/resources/event-after-navigation-new.html:
      * batterystatus/script-tests/add-listener-from-callback.js:
      (firstListener):
      * batterystatus/script-tests/basic-all-types-of-events.js:
      * batterystatus/script-tests/basic-operation.js:
      * batterystatus/script-tests/multiple-frames.js:
      * batterystatus/script-tests/updates.js:
      (setBatteryStatus):
      * compositing/columns/ancestor-clipped-in-paginated.html:
      * compositing/columns/clipped-in-paginated.html:
      * compositing/columns/composited-columns-vertical-rl.html:
      * compositing/columns/composited-in-paginated-rl.html:
      * compositing/columns/composited-in-paginated-writing-mode-rl.html:
      * compositing/columns/composited-in-paginated.html:
      * compositing/columns/composited-lr-paginated-repaint.html:
      * compositing/columns/composited-rl-paginated-repaint.html:
      * compositing/columns/geometry-map-paginated-assert.html:
      * compositing/columns/hittest-composited-in-paginated.html:
      * compositing/columns/rotated-in-paginated.html:
      * compositing/columns/untransformed-composited-in-paginated.html:
      * compositing/iframes/iframe-composited-scrolling.html:
      * compositing/layer-creation/fixed-position-in-view-dynamic.html:
      * compositing/layer-creation/fixed-position-no-content-scroll-reason.html:
      * compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
      * compositing/layer-creation/fixed-position-out-of-view-scroll-reason.html:
      * compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
      * compositing/overflow/dynamic-composited-scrolling-status.html:
      * compositing/overflow/scrolling-without-painting.html:
      * compositing/overflow/updating-scrolling-content.html:
      * compositing/repaint/absolute-painted-into-composited-ancestor.html:
      * compositing/repaint/fixed-background-scroll.html:
      * compositing/repaint/invalidations-on-composited-layers.html:
      * compositing/repaint/positioned-movement.html:
      * compositing/repaint/repaint-on-layer-grouping-change.html:
      * compositing/repaint/resize-repaint.html:
      * compositing/repaint/scroll-fixed-layer-no-content.html:
      * compositing/repaint/scroll-fixed-layer-out-of-view.html:
      * editing/caret/selection-with-caret-type-progress.html:
      * editing/execCommand/overtype.html:
      * editing/selection/block-cursor-overtype-mode.html:
      * editing/spelling/design-mode-spellcheck-off.html:
      * editing/spelling/grammar-edit-word-expected.txt:
      * editing/spelling/grammar-edit-word.html:
      * editing/spelling/grammar-markers-hidpi.html:
      * editing/spelling/grammar-markers.html:
      * editing/spelling/grammar.html:
      * editing/spelling/script-tests/spellcheck-paste.js:
      (verifyMarker):
      * editing/spelling/script-tests/spelling-attribute-at-child.js:
      (childHasSpellingMarker):
      * editing/spelling/script-tests/spelling-attribute-change.js:
      (testSpellCheckingEnabled):
      * editing/spelling/script-tests/spelling-backspace-between-lines.js:
      (testWithDelete):
      (testWithForwardDelete):
      * editing/spelling/script-tests/spelling-hasspellingmarker.js:
      (hasMarked):
      * editing/spelling/spellcheck-async-mutation.html:
      * editing/spelling/spellcheck-attribute-expected.txt:
      * editing/spelling/spellcheck-attribute.html:
      * editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
      * editing/spelling/spellcheck-paste-continuous-disabled.html:
      * editing/spelling/spellcheck-paste-disabled-expected.txt:
      * editing/spelling/spellcheck-paste-disabled.html:
      * editing/spelling/spellcheck-sequencenum.html:
      * editing/spelling/spelling-attribute-change-expected.txt:
      * editing/spelling/spelling-backspace-between-lines-expected.txt:
      * editing/spelling/spelling-linebreak.html:
      * fast/box-shadow/shadow-repaint.html:
      * fast/css/webkit-mask-crash-fieldset-legend.html:
      * fast/css/webkit-mask-crash-figure.html:
      * fast/css/webkit-mask-crash-table.html:
      * fast/css/webkit-mask-crash-td-2.html:
      * fast/css/webkit-mask-crash-td.html:
      * fast/dom/icon-url-change.html:
      * fast/dom/icon-url-list-apple-touch.html:
      * fast/dom/icon-url-list.html:
      * fast/dom/icon-url-property.html:
      * fast/events/mouse-cursor-change.html:
      * fast/events/mouse-cursor-image-set.html:
      * fast/events/mouse-cursor-multiframecur.html:
      * fast/events/mouse-cursor-no-mousemove.html:
      * fast/events/mouse-cursor.html:
      * fast/events/touch/touch-handler-count-expected.txt:
      * fast/events/touch/touch-handler-count.html:
      * fast/events/touch/touch-input-element-change-documents-expected.txt:
      * fast/events/touch/touch-input-element-change-documents.html:
      * fast/multicol/hit-test-gap-between-pages-flipped.html:
      * fast/multicol/hit-test-gap-between-pages.html:
      * fast/multicol/pagination-h-horizontal-bt.html:
      * fast/multicol/pagination-h-horizontal-tb.html:
      * fast/multicol/pagination-h-vertical-lr.html:
      * fast/multicol/pagination-h-vertical-rl.html:
      * fast/multicol/pagination-v-horizontal-bt.html:
      * fast/multicol/pagination-v-horizontal-tb.html:
      * fast/multicol/pagination-v-vertical-lr.html:
      * fast/multicol/pagination-v-vertical-rl.html:
      * fast/multicol/pagination/BottomToTop-bt.html:
      * fast/multicol/pagination/BottomToTop-lr.html:
      * fast/multicol/pagination/BottomToTop-rl.html:
      * fast/multicol/pagination/BottomToTop-tb.html:
      * fast/multicol/pagination/LeftToRight-bt.html:
      * fast/multicol/pagination/LeftToRight-lr.html:
      * fast/multicol/pagination/LeftToRight-rl.html:
      * fast/multicol/pagination/LeftToRight-tb.html:
      * fast/multicol/pagination/RightToLeft-bt.html:
      * fast/multicol/pagination/RightToLeft-lr.html:
      * fast/multicol/pagination/RightToLeft-rl.html:
      * fast/multicol/pagination/RightToLeft-tb.html:
      * fast/multicol/pagination/TopToBottom-bt.html:
      * fast/multicol/pagination/TopToBottom-lr.html:
      * fast/multicol/pagination/TopToBottom-rl.html:
      * fast/multicol/pagination/TopToBottom-tb.html:
      * fast/multicol/shrink-to-column-height-for-pagination.html:
      * fast/repaint/background-shorthand-with-gradient-and-height-changes.html:
      * fast/repaint/obscured-background-no-repaint.html:
      * fast/repaint/resources/text-based-repaint.js:
      (runRepaintTest):
      * fast/scrolling/resources/scrollable-area.js:
      (end):
      * fast/viewport/scroll-delegates-switch-on-page-with-no-composition-mode-asserts.html:
      * fast/viewport/viewport-1.html:
      * fast/viewport/viewport-10.html:
      * fast/viewport/viewport-100.html:
      * fast/viewport/viewport-101.html:
      * fast/viewport/viewport-102.html:
      * fast/viewport/viewport-103.html:
      * fast/viewport/viewport-104.html:
      * fast/viewport/viewport-105.html:
      * fast/viewport/viewport-106.html:
      * fast/viewport/viewport-107.html:
      * fast/viewport/viewport-108.html:
      * fast/viewport/viewport-109.html:
      * fast/viewport/viewport-11.html:
      * fast/viewport/viewport-110.html:
      * fast/viewport/viewport-111.html:
      * fast/viewport/viewport-112.html:
      * fast/viewport/viewport-113.html:
      * fast/viewport/viewport-114.html:
      * fast/viewport/viewport-115.html:
      * fast/viewport/viewport-116.html:
      * fast/viewport/viewport-117.html:
      * fast/viewport/viewport-118.html:
      * fast/viewport/viewport-119.html:
      * fast/viewport/viewport-12.html:
      * fast/viewport/viewport-120.html:
      * fast/viewport/viewport-121.html:
      * fast/viewport/viewport-122.html:
      * fast/viewport/viewport-123.html:
      * fast/viewport/viewport-124.html:
      * fast/viewport/viewport-125.html:
      * fast/viewport/viewport-126.html:
      * fast/viewport/viewport-127.html:
      * fast/viewport/viewport-128.html:
      * fast/viewport/viewport-129.html:
      * fast/viewport/viewport-13.html:
      * fast/viewport/viewport-130.html:
      * fast/viewport/viewport-131.html:
      * fast/viewport/viewport-132.html:
      * fast/viewport/viewport-133.html:
      * fast/viewport/viewport-134.html:
      * fast/viewport/viewport-14.html:
      * fast/viewport/viewport-15.html:
      * fast/viewport/viewport-16.html:
      * fast/viewport/viewport-17.html:
      * fast/viewport/viewport-18.html:
      * fast/viewport/viewport-19.html:
      * fast/viewport/viewport-2.html:
      * fast/viewport/viewport-20.html:
      * fast/viewport/viewport-21.html:
      * fast/viewport/viewport-22.html:
      * fast/viewport/viewport-23.html:
      * fast/viewport/viewport-24.html:
      * fast/viewport/viewport-25.html:
      * fast/viewport/viewport-26.html:
      * fast/viewport/viewport-27.html:
      * fast/viewport/viewport-28.html:
      * fast/viewport/viewport-29.html:
      * fast/viewport/viewport-3.html:
      * fast/viewport/viewport-30.html:
      * fast/viewport/viewport-31.html:
      * fast/viewport/viewport-32.html:
      * fast/viewport/viewport-33.html:
      * fast/viewport/viewport-34.html:
      * fast/viewport/viewport-35.html:
      * fast/viewport/viewport-36.html:
      * fast/viewport/viewport-37.html:
      * fast/viewport/viewport-38.html:
      * fast/viewport/viewport-39.html:
      * fast/viewport/viewport-4.html:
      * fast/viewport/viewport-40.html:
      * fast/viewport/viewport-41.html:
      * fast/viewport/viewport-42.html:
      * fast/viewport/viewport-43.html:
      * fast/viewport/viewport-44.html:
      * fast/viewport/viewport-45.html:
      * fast/viewport/viewport-46.html:
      * fast/viewport/viewport-47.html:
      * fast/viewport/viewport-48.html:
      * fast/viewport/viewport-49.html:
      * fast/viewport/viewport-5.html:
      * fast/viewport/viewport-50.html:
      * fast/viewport/viewport-51.html:
      * fast/viewport/viewport-52.html:
      * fast/viewport/viewport-53.html:
      * fast/viewport/viewport-54.html:
      * fast/viewport/viewport-55.html:
      * fast/viewport/viewport-56.html:
      * fast/viewport/viewport-57.html:
      * fast/viewport/viewport-58.html:
      * fast/viewport/viewport-59.html:
      * fast/viewport/viewport-6.html:
      * fast/viewport/viewport-60.html:
      * fast/viewport/viewport-61.html:
      * fast/viewport/viewport-62.html:
      * fast/viewport/viewport-63.html:
      * fast/viewport/viewport-64.html:
      * fast/viewport/viewport-65.html:
      * fast/viewport/viewport-66.html:
      * fast/viewport/viewport-67.html:
      * fast/viewport/viewport-68.html:
      * fast/viewport/viewport-69.html:
      * fast/viewport/viewport-7.html:
      * fast/viewport/viewport-70.html:
      * fast/viewport/viewport-71.html:
      * fast/viewport/viewport-72.html:
      * fast/viewport/viewport-73.html:
      * fast/viewport/viewport-74.html:
      * fast/viewport/viewport-75.html:
      * fast/viewport/viewport-76.html:
      * fast/viewport/viewport-77.html:
      * fast/viewport/viewport-78.html:
      * fast/viewport/viewport-79.html:
      * fast/viewport/viewport-8.html:
      * fast/viewport/viewport-80.html:
      * fast/viewport/viewport-81.html:
      * fast/viewport/viewport-82.html:
      * fast/viewport/viewport-83.html:
      * fast/viewport/viewport-84.html:
      * fast/viewport/viewport-85.html:
      * fast/viewport/viewport-86.html:
      * fast/viewport/viewport-87.html:
      * fast/viewport/viewport-88.html:
      * fast/viewport/viewport-9.html:
      * fast/viewport/viewport-90.html:
      * fast/viewport/viewport-91.html:
      * fast/viewport/viewport-legacy-handheldfriendly.html:
      * fast/viewport/viewport-legacy-mobileoptimized-2.html:
      * fast/viewport/viewport-legacy-mobileoptimized-3.html:
      * fast/viewport/viewport-legacy-mobileoptimized.html:
      * fast/viewport/viewport-legacy-ordering-1.html:
      * fast/viewport/viewport-legacy-ordering-2.html:
      * fast/viewport/viewport-legacy-ordering-3.html:
      * fast/viewport/viewport-legacy-ordering-4.html:
      * fast/viewport/viewport-legacy-ordering-5.html:
      * fast/viewport/viewport-legacy-ordering-6.html:
      * fast/viewport/viewport-legacy-ordering-7.html:
      * fast/viewport/viewport-legacy-ordering-8.html:
      * fast/viewport/viewport-legacy-ordering-9.html:
      * fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html:
      * fast/viewport/viewport-legacy-xhtmlmp-ordering.html:
      * fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html:
      * fast/viewport/viewport-legacy-xhtmlmp.html:
      * fast/viewport/viewport-limits-adjusted-for-no-user-scale-control.html:
      * fast/viewport/viewport-limits-adjusted-for-no-user-scale.html:
      * fast/viewport/viewport-warnings-1.html:
      * fast/viewport/viewport-warnings-2.html:
      * fast/viewport/viewport-warnings-3.html:
      * fast/viewport/viewport-warnings-4.html:
      * fast/viewport/viewport-warnings-5.html:
      * fast/viewport/viewport-warnings-6.html:
      * fullscreen/video-cursor-auto-hide-expected.txt:
      * fullscreen/video-cursor-auto-hide.html:
      * http/tests/inspector-enabled/resources/console-clear-arguments-test.js:
      (dumpConsoleMessageArgumentCounts):
      * http/tests/inspector/elements-test.js:
      * networkinformation/resources/event-after-navigation-new.html:
      * networkinformation/script-tests/add-listener-from-callback.js:
      (firstListener):
      * networkinformation/script-tests/basic-all-types-of-events.js:
      * networkinformation/script-tests/basic-operation.js:
      * networkinformation/script-tests/multiple-frames.js:
      * networkinformation/script-tests/updates.js:
      (setNetworkInformation):
      * platform/efl-wk2/editing/spelling/spellcheck-paste-continuous-disabled-expected.txt:
      * platform/mac-wk2/tiled-drawing/clamp-out-of-bounds-scrolls.html:
      * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-fixed.html:
      * platform/mac-wk2/tiled-drawing/fixed/absolute-inside-out-of-view-fixed.html:
      * platform/mac-wk2/tiled-drawing/fixed/fixed-in-overflow.html:
      * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view-negative-zindex.html:
      * platform/mac-wk2/tiled-drawing/fixed/fixed-position-out-of-view.html:
      * platform/mac-wk2/tiled-drawing/fixed/four-bars-with-header-and-footer.html:
      * platform/mac-wk2/tiled-drawing/fixed/four-bars-zoomed.html:
      * platform/mac-wk2/tiled-drawing/fixed/four-bars.html:
      * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset-in-view.html:
      * platform/mac-wk2/tiled-drawing/fixed/negative-scroll-offset.html:
      * platform/mac-wk2/tiled-drawing/fixed/nested-fixed.html:
      * platform/mac-wk2/tiled-drawing/fixed/percentage-inside-fixed.html:
      * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-in-frame.html:
      * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing-with-page-scale.html:
      * platform/mac-wk2/tiled-drawing/header-and-footer-hit-testing.html:
      * platform/mac-wk2/tiled-drawing/scrolling-tree-after-scroll.html:
      * platform/mac-wk2/tiled-drawing/scrolling-tree-slow-scrolling.html:
      * platform/mac-wk2/tiled-drawing/slow-scrolling-background-toggle.html:
      * platform/mac-wk2/tiled-drawing/slow-scrolling-hidden-background-toggle.html:
      * platform/mac-wk2/tiled-drawing/slow-scrolling.html:
      * platform/mac-wk2/tiled-drawing/sticky/negative-scroll-offset.html:
      * platform/mac-wk2/tiled-drawing/sticky/sticky-horizontal.html:
      * platform/mac-wk2/tiled-drawing/sticky/sticky-vertical.html:
      * platform/mac/editing/spelling/autocorrection-blockquote-crash-expected.txt:
      * platform/mac/editing/spelling/autocorrection-blockquote-crash.html:
      * platform/mac/editing/spelling/delete-into-misspelled-word.html:
      * platform/mac/editing/spelling/editing-multiple-words-with-markers.html:
      * platform/mac/editing/spelling/editing-word-with-marker-1.html:
      * platform/mac/editing/spelling/editing-word-with-marker-2.html:
      * platform/mac/editing/spelling/move-cursor-around-misspelled-word.html:
      * platform/win/editing/spelling/spelling-backspace-between-lines-expected.txt:
      * printing/page-format-data-expected.txt:
      * printing/page-format-data.html:
      * proximity/add-listener-from-callback.html:
      * proximity/basic-operation.html:
      * proximity/multiple-frames.html:
      * proximity/resources/event-after-navigation-new.html:
      * proximity/updates.html:
      * scrollingcoordinator/resources/non-fast-scrollable-region-testing.js:
      (runNonFastScrollableRegionTest):
      * touchadjustment/big-div.html:
      * touchadjustment/event-triggered-widgets.html:
      * touchadjustment/iframe.html:
      * touchadjustment/nested-shadow-node.html:
      * touchadjustment/resources/touchadjustment.js:
      (testTouchPoint):
      (testTouchPointContextMenu):
      (adjustTouchPoint):
      (adjustTouchPointContextMenu):
      * touchadjustment/scroll-delegation/iframe-with-mainframe-scroll-offset.html:
      * touchadjustment/scroll-offset.html:
      * touchadjustment/search-cancel.html:
      * touchadjustment/zoom-basic.html:
      * touchadjustment/zoom-fatfinger.html:
      * transitions/created-while-suspended.html:
      * transitions/started-while-suspended.html:
      * transitions/suspend-transform-transition.html:
      * userscripts/insert-stylesheets.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e466981
  2. 08 Sep, 2013 1 commit
    • mark.lam@apple.com's avatar
      Change LayoutTests' u*-w* files to use pre and post js files in LayoutTests/resources. · 16a5a24c
      mark.lam@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120899.
      
      Rubber stamped by Filip Pizlo.
      
      * userscripts/insert-stylesheets.html:
      * vibration/cancelVibration-after-pagevisibility-changed-to-hidden.html:
      * vibration/cancelVibration-during-pattern-vibrating.html:
      * vibration/navigator-vibration.html:
      * webaudio/analyser-exception.html:
      * webaudio/audiobuffer-neuter.html:
      * webaudio/audiobuffer.html:
      * webaudio/audiobuffersource-channels.html:
      * webaudio/audiobuffersource-ended.html:
      * webaudio/audiobuffersource-exception.html:
      * webaudio/audiobuffersource-loop-comprehensive.html:
      * webaudio/audiobuffersource-playbackState.html:
      * webaudio/audiobuffersource-start.html:
      * webaudio/audiochannelmerger-basic.html:
      * webaudio/audiochannelmerger-stereo.html:
      * webaudio/audiochannelsplitter.html:
      * webaudio/audionode-channel-rules.html:
      * webaudio/audionode-connect-order.html:
      * webaudio/audionode.html:
      * webaudio/audioparam-connect-audioratesignal.html:
      * webaudio/audioparam-exponentialRampToValueAtTime.html:
      * webaudio/audioparam-linearRampToValueAtTime.html:
      * webaudio/audioparam-setTargetAtTime.html:
      * webaudio/audioparam-setValueAtTime.html:
      * webaudio/audioparam-setValueCurveAtTime.html:
      * webaudio/audioparam-summingjunction.html:
      * webaudio/automatic-pull-node.html:
      * webaudio/biquad-allpass.html:
      * webaudio/biquad-bandpass.html:
      * webaudio/biquad-getFrequencyResponse.html:
      * webaudio/biquad-highpass.html:
      * webaudio/biquad-highshelf.html:
      * webaudio/biquad-lowpass.html:
      * webaudio/biquad-lowshelf.html:
      * webaudio/biquad-notch.html:
      * webaudio/biquad-peaking.html:
      * webaudio/biquadfilternode-basic.html:
      * webaudio/convolution-mono-mono.html:
      * webaudio/convolver-setBuffer-null.html:
      * webaudio/decode-audio-data-basic.html:
      * webaudio/delaynode-max-default-delay.html:
      * webaudio/delaynode-max-nondefault-delay.html:
      * webaudio/delaynode-maxdelay.html:
      * webaudio/delaynode-maxdelaylimit.html:
      * webaudio/delaynode-scheduling.html:
      * webaudio/delaynode.html:
      * webaudio/distance-exponential.html:
      * webaudio/distance-inverse.html:
      * webaudio/distance-linear.html:
      * webaudio/dynamicscompressor-basic.html:
      * webaudio/gain-basic.html:
      * webaudio/javascriptaudionode-downmix8-2channel-input.html:
      * webaudio/javascriptaudionode-upmix2-8channel-input.html:
      * webaudio/javascriptaudionode-zero-input-channels.html:
      * webaudio/javascriptaudionode.html:
      * webaudio/mediaelementaudiosourcenode-gc.html:
      * webaudio/mediaelementaudiosourcenode.html:
      * webaudio/mediastreamaudiodestinationnode.html:
      * webaudio/mediastreamaudiosourcenode.html:
      * webaudio/note-grain-on-play.html:
      * webaudio/note-grain-on-timing.html:
      * webaudio/oscillator-basic.html:
      * webaudio/oscillator-ended.html:
      * webaudio/panner-equalpower-stereo.html:
      * webaudio/panner-equalpower.html:
      * webaudio/pannernode-basic.html:
      * webaudio/realtimeanalyser-fft-sizing.html:
      * webaudio/sample-accurate-scheduling.html:
      * webaudio/stereo2mono-down-mixing.html:
      * webaudio/test-basic.html:
      * webaudio/waveshaper-oversample-2x.html:
      * webaudio/waveshaper-oversample-4x.html:
      * webaudio/waveshaper.html:
      * webgl/conformance/attribs/gl-disabled-vertex-attrib.html:
      * webgl/conformance/attribs/gl-enable-vertex-attrib.html:
      * webgl/conformance/attribs/gl-vertex-attrib-render.html:
      * webgl/conformance/attribs/gl-vertex-attrib-zero-issues.html:
      * webgl/conformance/attribs/gl-vertex-attrib.html:
      * webgl/conformance/attribs/gl-vertexattribpointer-offsets.html:
      * webgl/conformance/attribs/gl-vertexattribpointer.html:
      * webgl/conformance/buffers/buffer-bind-test.html:
      * webgl/conformance/buffers/buffer-data-array-buffer.html:
      * webgl/conformance/buffers/element-array-buffer-delete-recreate.html:
      * webgl/conformance/buffers/index-validation-copies-indices.html:
      * webgl/conformance/buffers/index-validation-crash-with-buffer-sub-data.html:
      * webgl/conformance/buffers/index-validation-large-buffer.html:
      * webgl/conformance/buffers/index-validation-verifies-too-many-indices.html:
      * webgl/conformance/buffers/index-validation-with-resized-buffer.html:
      * webgl/conformance/buffers/index-validation.html:
      * webgl/conformance/canvas/buffer-offscreen-test.html:
      * webgl/conformance/canvas/buffer-preserve-test.html:
      * webgl/conformance/canvas/canvas-test.html:
      * webgl/conformance/canvas/canvas-zero-size.html:
      * webgl/conformance/canvas/drawingbuffer-hd-dpi-test.html:
      * webgl/conformance/canvas/drawingbuffer-static-canvas-test.html:
      * webgl/conformance/canvas/drawingbuffer-test.html:
      * webgl/conformance/canvas/framebuffer-bindings-unaffected-on-resize.html:
      * webgl/conformance/canvas/texture-bindings-unaffected-on-resize.html:
      * webgl/conformance/canvas/to-data-url-test.html:
      * webgl/conformance/canvas/viewport-unchanged-upon-resize.html:
      * webgl/conformance/context/constants.html:
      * webgl/conformance/context/context-attribute-preserve-drawing-buffer.html:
      * webgl/conformance/context/context-attributes-alpha-depth-stencil-antialias.html:
      * webgl/conformance/context/context-creation-and-destruction.html:
      * webgl/conformance/context/context-lost-restored.html:
      * webgl/conformance/context/context-lost.html:
      * webgl/conformance/context/context-release-upon-reload.html:
      * webgl/conformance/context/context-release-with-workers.html:
      * webgl/conformance/context/context-type-test.html:
      * webgl/conformance/context/incorrect-context-object-behaviour.html:
      * webgl/conformance/context/methods.html:
      * webgl/conformance/context/premultiplyalpha-test.html:
      * webgl/conformance/context/resource-sharing-test.html:
      * webgl/conformance/extensions/ext-texture-filter-anisotropic.html:
      * webgl/conformance/extensions/get-extension.html:
      * webgl/conformance/extensions/oes-element-index-uint.html:
      * webgl/conformance/extensions/oes-standard-derivatives.html:
      * webgl/conformance/extensions/oes-texture-float-with-canvas.html:
      * webgl/conformance/extensions/oes-texture-float-with-image-data.html:
      * webgl/conformance/extensions/oes-texture-float-with-image.html:
      * webgl/conformance/extensions/oes-texture-float-with-video.html:
      * webgl/conformance/extensions/oes-texture-float.html:
      * webgl/conformance/extensions/oes-vertex-array-object.html:
      * webgl/conformance/extensions/webgl-compressed-texture-atc.html:
      * webgl/conformance/extensions/webgl-compressed-texture-pvrtc.html:
      * webgl/conformance/extensions/webgl-compressed-texture-s3tc.html:
      * webgl/conformance/extensions/webgl-debug-renderer-info.html:
      * webgl/conformance/extensions/webgl-debug-shaders.html:
      * webgl/conformance/extensions/webgl-depth-texture.html:
      * webgl/conformance/glsl/functions/glsl-function-abs.html:
      * webgl/conformance/glsl/functions/glsl-function-acos.html:
      * webgl/conformance/glsl/functions/glsl-function-asin.html:
      * webgl/conformance/glsl/functions/glsl-function-atan-xy.html:
      * webgl/conformance/glsl/functions/glsl-function-atan.html:
      * webgl/conformance/glsl/functions/glsl-function-ceil.html:
      * webgl/conformance/glsl/functions/glsl-function-clamp-float.html:
      * webgl/conformance/glsl/functions/glsl-function-clamp-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-cos.html:
      * webgl/conformance/glsl/functions/glsl-function-cross.html:
      * webgl/conformance/glsl/functions/glsl-function-distance.html:
      * webgl/conformance/glsl/functions/glsl-function-dot.html:
      * webgl/conformance/glsl/functions/glsl-function-faceforward.html:
      * webgl/conformance/glsl/functions/glsl-function-floor.html:
      * webgl/conformance/glsl/functions/glsl-function-fract.html:
      * webgl/conformance/glsl/functions/glsl-function-length.html:
      * webgl/conformance/glsl/functions/glsl-function-max-float.html:
      * webgl/conformance/glsl/functions/glsl-function-max-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-min-float.html:
      * webgl/conformance/glsl/functions/glsl-function-min-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-mix-float.html:
      * webgl/conformance/glsl/functions/glsl-function-mix-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-mod-float.html:
      * webgl/conformance/glsl/functions/glsl-function-mod-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-normalize.html:
      * webgl/conformance/glsl/functions/glsl-function-reflect.html:
      * webgl/conformance/glsl/functions/glsl-function-sign.html:
      * webgl/conformance/glsl/functions/glsl-function-sin.html:
      * webgl/conformance/glsl/functions/glsl-function-smoothstep-float.html:
      * webgl/conformance/glsl/functions/glsl-function-smoothstep-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function-step-float.html:
      * webgl/conformance/glsl/functions/glsl-function-step-gentype.html:
      * webgl/conformance/glsl/functions/glsl-function.html:
      * webgl/conformance/glsl/implicit/add_int_float.vert.html:
      * webgl/conformance/glsl/implicit/add_int_mat2.vert.html:
      * webgl/conformance/glsl/implicit/add_int_mat3.vert.html:
      * webgl/conformance/glsl/implicit/add_int_mat4.vert.html:
      * webgl/conformance/glsl/implicit/add_int_vec2.vert.html:
      * webgl/conformance/glsl/implicit/add_int_vec3.vert.html:
      * webgl/conformance/glsl/implicit/add_int_vec4.vert.html:
      * webgl/conformance/glsl/implicit/add_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/add_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/add_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/assign_int_to_float.vert.html:
      * webgl/conformance/glsl/implicit/assign_ivec2_to_vec2.vert.html:
      * webgl/conformance/glsl/implicit/assign_ivec3_to_vec3.vert.html:
      * webgl/conformance/glsl/implicit/assign_ivec4_to_vec4.vert.html:
      * webgl/conformance/glsl/implicit/construct_struct.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_float.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_mat2.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_mat3.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_mat4.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_vec2.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_vec3.vert.html:
      * webgl/conformance/glsl/implicit/divide_int_vec4.vert.html:
      * webgl/conformance/glsl/implicit/divide_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/divide_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/divide_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/equal_int_float.vert.html:
      * webgl/conformance/glsl/implicit/equal_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/equal_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/equal_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/function_int_float.vert.html:
      * webgl/conformance/glsl/implicit/function_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/function_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/function_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/greater_than.vert.html:
      * webgl/conformance/glsl/implicit/greater_than_equal.vert.html:
      * webgl/conformance/glsl/implicit/less_than.vert.html:
      * webgl/conformance/glsl/implicit/less_than_equal.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_float.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_mat2.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_mat3.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_mat4.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_vec2.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_vec3.vert.html:
      * webgl/conformance/glsl/implicit/multiply_int_vec4.vert.html:
      * webgl/conformance/glsl/implicit/multiply_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/multiply_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/multiply_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/not_equal_int_float.vert.html:
      * webgl/conformance/glsl/implicit/not_equal_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/not_equal_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/not_equal_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_float.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_mat2.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_mat3.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_mat4.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_vec2.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_vec3.vert.html:
      * webgl/conformance/glsl/implicit/subtract_int_vec4.vert.html:
      * webgl/conformance/glsl/implicit/subtract_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/subtract_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/subtract_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/implicit/ternary_int_float.vert.html:
      * webgl/conformance/glsl/implicit/ternary_ivec2_vec2.vert.html:
      * webgl/conformance/glsl/implicit/ternary_ivec3_vec3.vert.html:
      * webgl/conformance/glsl/implicit/ternary_ivec4_vec4.vert.html:
      * webgl/conformance/glsl/literals/float_literal.vert.html:
      * webgl/conformance/glsl/matrices/glsl-mat4-to-mat3.html:
      * webgl/conformance/glsl/misc/attrib-location-length-limits.html:
      * webgl/conformance/glsl/misc/embedded-struct-definitions-forbidden.html:
      * webgl/conformance/glsl/misc/glsl-function-nodes.html:
      * webgl/conformance/glsl/misc/glsl-long-variable-names.html:
      * webgl/conformance/glsl/misc/glsl-vertex-branch.html:
      * webgl/conformance/glsl/misc/large-loop-compile.html:
      * webgl/conformance/glsl/misc/non-ascii-comments.vert.html:
      * webgl/conformance/glsl/misc/non-ascii.vert.html:
      * webgl/conformance/glsl/misc/re-compile-re-link.html:
      * webgl/conformance/glsl/misc/shader-uniform-packing-restrictions.html:
      * webgl/conformance/glsl/misc/shader-varying-packing-restrictions.html:
      * webgl/conformance/glsl/misc/shader-with-256-character-define.html:
      * webgl/conformance/glsl/misc/shader-with-256-character-identifier.frag.html:
      * webgl/conformance/glsl/misc/shader-with-257-character-define.html:
      * webgl/conformance/glsl/misc/shader-with-257-character-identifier.frag.html:
      * webgl/conformance/glsl/misc/shader-with-_webgl-identifier.vert.html:
      * webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.frag.html:
      * webgl/conformance/glsl/misc/shader-with-arbitrary-indexing.vert.html:
      * webgl/conformance/glsl/misc/shader-with-array-of-structs-containing-arrays.html:
      * webgl/conformance/glsl/misc/shader-with-array-of-structs-uniform.html:
      * webgl/conformance/glsl/misc/shader-with-attrib-array.vert.html:
      * webgl/conformance/glsl/misc/shader-with-attrib-struct.vert.html:
      * webgl/conformance/glsl/misc/shader-with-clipvertex.vert.html:
      * webgl/conformance/glsl/misc/shader-with-comma-assignment.html:
      * webgl/conformance/glsl/misc/shader-with-comma-conditional-assignment.html:
      * webgl/conformance/glsl/misc/shader-with-conditional-scoping-negative.html:
      * webgl/conformance/glsl/misc/shader-with-conditional-scoping.html:
      * webgl/conformance/glsl/misc/shader-with-default-precision.frag.html:
      * webgl/conformance/glsl/misc/shader-with-default-precision.vert.html:
      * webgl/conformance/glsl/misc/shader-with-define-line-continuation.frag.html:
      * webgl/conformance/glsl/misc/shader-with-dfdx-no-ext.frag.html:
      * webgl/conformance/glsl/misc/shader-with-dfdx.frag.html:
      * webgl/conformance/glsl/misc/shader-with-do-loop.html:
      * webgl/conformance/glsl/misc/shader-with-error-directive.html:
      * webgl/conformance/glsl/misc/shader-with-explicit-int-cast.vert.html:
      * webgl/conformance/glsl/misc/shader-with-float-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-for-loop.html:
      * webgl/conformance/glsl/misc/shader-with-for-scoping.html:
      * webgl/conformance/glsl/misc/shader-with-frag-depth.frag.html:
      * webgl/conformance/glsl/misc/shader-with-function-recursion.frag.html:
      * webgl/conformance/glsl/misc/shader-with-function-scoped-struct.html:
      * webgl/conformance/glsl/misc/shader-with-functional-scoping.html:
      * webgl/conformance/glsl/misc/shader-with-glcolor.vert.html:
      * webgl/conformance/glsl/misc/shader-with-gles-1.frag.html:
      * webgl/conformance/glsl/misc/shader-with-gles-symbol.frag.html:
      * webgl/conformance/glsl/misc/shader-with-global-variable-precision-mismatch.html:
      * webgl/conformance/glsl/misc/shader-with-glprojectionmatrix.vert.html:
      * webgl/conformance/glsl/misc/shader-with-hex-int-constant-macro.html:
      * webgl/conformance/glsl/misc/shader-with-implicit-vec3-to-vec4-cast.vert.html:
      * webgl/conformance/glsl/misc/shader-with-include.vert.html:
      * webgl/conformance/glsl/misc/shader-with-int-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-invalid-identifier.frag.html:
      * webgl/conformance/glsl/misc/shader-with-ivec2-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-ivec3-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-ivec4-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-limited-indexing.frag.html:
      * webgl/conformance/glsl/misc/shader-with-long-line.html:
      * webgl/conformance/glsl/misc/shader-with-non-ascii-error.frag.html:
      * webgl/conformance/glsl/misc/shader-with-non-reserved-words.html:
      * webgl/conformance/glsl/misc/shader-with-precision.frag.html:
      * webgl/conformance/glsl/misc/shader-with-quoted-error.frag.html:
      * webgl/conformance/glsl/misc/shader-with-reserved-words.html:
      * webgl/conformance/glsl/misc/shader-with-short-circuiting-operators.html:
      * webgl/conformance/glsl/misc/shader-with-similar-uniform-array-names.html:
      * webgl/conformance/glsl/misc/shader-with-too-many-uniforms.html:
      * webgl/conformance/glsl/misc/shader-with-undefined-preprocessor-symbol.frag.html:
      * webgl/conformance/glsl/misc/shader-with-uniform-in-loop-condition.vert.html:
      * webgl/conformance/glsl/misc/shader-with-vec2-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-vec3-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-vec4-return-value.frag.html:
      * webgl/conformance/glsl/misc/shader-with-vec4-vec3-vec4-conditional.html:
      * webgl/conformance/glsl/misc/shader-with-version-100.frag.html:
      * webgl/conformance/glsl/misc/shader-with-version-100.vert.html:
      * webgl/conformance/glsl/misc/shader-with-version-120.vert.html:
      * webgl/conformance/glsl/misc/shader-with-version-130.vert.html:
      * webgl/conformance/glsl/misc/shader-with-webgl-identifier.vert.html:
      * webgl/conformance/glsl/misc/shader-with-while-loop.html:
      * webgl/conformance/glsl/misc/shader-without-precision.frag.html:
      * webgl/conformance/glsl/misc/shaders-with-mis-matching-uniforms.html:
      * webgl/conformance/glsl/misc/shaders-with-mis-matching-varyings.html:
      * webgl/conformance/glsl/misc/shaders-with-missing-varyings.html:
      * webgl/conformance/glsl/misc/shaders-with-varyings.html:
      * webgl/conformance/glsl/misc/shared.html:
      * webgl/conformance/glsl/misc/struct-nesting-exceeds-maximum.html:
      * webgl/conformance/glsl/misc/struct-nesting-under-maximum.html:
      * webgl/conformance/glsl/misc/uniform-location-length-limits.html:
      * webgl/conformance/glsl/reserved/_webgl_field.vert.html:
      * webgl/conformance/glsl/reserved/_webgl_function.vert.html:
      * webgl/conformance/glsl/reserved/_webgl_struct.vert.html:
      * webgl/conformance/glsl/reserved/_webgl_variable.vert.html:
      * webgl/conformance/glsl/reserved/webgl_field.vert.html:
      * webgl/conformance/glsl/reserved/webgl_function.vert.html:
      * webgl/conformance/glsl/reserved/webgl_preprocessor_reserved.html:
      * webgl/conformance/glsl/reserved/webgl_struct.vert.html:
      * webgl/conformance/glsl/reserved/webgl_variable.vert.html:
      * webgl/conformance/glsl/samplers/glsl-function-texture2d-bias.html:
      * webgl/conformance/glsl/samplers/glsl-function-texture2dlod.html:
      * webgl/conformance/glsl/samplers/glsl-function-texture2dproj.html:
      * webgl/conformance/glsl/variables/gl-fragcoord.html:
      * webgl/conformance/glsl/variables/gl-frontfacing.html:
      * webgl/conformance/glsl/variables/gl-pointcoord.html:
      * webgl/conformance/limits/gl-max-texture-dimensions.html:
      * webgl/conformance/limits/gl-min-attribs.html:
      * webgl/conformance/limits/gl-min-textures.html:
      * webgl/conformance/limits/gl-min-uniforms.html:
      * webgl/conformance/misc/bad-arguments-test.html:
      * webgl/conformance/misc/boolean-argument-conversion.html:
      * webgl/conformance/misc/delayed-drawing.html:
      * webgl/conformance/misc/error-reporting.html:
      * webgl/conformance/misc/functions-returning-strings.html:
      * webgl/conformance/misc/instanceof-test.html:
      * webgl/conformance/misc/invalid-passed-params.html:
      * webgl/conformance/misc/is-object.html:
      * webgl/conformance/misc/null-object-behaviour.html:
      * webgl/conformance/misc/object-deletion-behaviour.html:
      * webgl/conformance/misc/shader-precision-format.html:
      * webgl/conformance/misc/type-conversion-test.html:
      * webgl/conformance/misc/uninitialized-test.html:
      * webgl/conformance/misc/webgl-specific.html:
      * webgl/conformance/more/conformance/constants.html:
      * webgl/conformance/more/conformance/getContext.html:
      * webgl/conformance/more/conformance/methods.html:
      * webgl/conformance/more/conformance/quickCheckAPI-A.html:
      * webgl/conformance/more/conformance/quickCheckAPI-B1.html:
      * webgl/conformance/more/conformance/quickCheckAPI-B2.html:
      * webgl/conformance/more/conformance/quickCheckAPI-B3.html:
      * webgl/conformance/more/conformance/quickCheckAPI-B4.html:
      * webgl/conformance/more/conformance/quickCheckAPI-C.html:
      * webgl/conformance/more/conformance/quickCheckAPI-D_G.html:
      * webgl/conformance/more/conformance/quickCheckAPI-G_I.html:
      * webgl/conformance/more/conformance/quickCheckAPI-L_S.html:
      * webgl/conformance/more/conformance/quickCheckAPI-S_V.html:
      * webgl/conformance/more/conformance/webGLArrays.html:
      * webgl/conformance/more/functions/bindBuffer.html:
      * webgl/conformance/more/functions/bindBufferBadArgs.html:
      * webgl/conformance/more/functions/bindFramebufferLeaveNonZero.html:
      * webgl/conformance/more/functions/bufferData.html:
      * webgl/conformance/more/functions/bufferDataBadArgs.html:
      * webgl/conformance/more/functions/bufferSubData.html:
      * webgl/conformance/more/functions/bufferSubDataBadArgs.html:
      * webgl/conformance/more/functions/copyTexImage2D.html:
      * webgl/conformance/more/functions/copyTexImage2DBadArgs.html:
      * webgl/conformance/more/functions/copyTexSubImage2D.html:
      * webgl/conformance/more/functions/copyTexSubImage2DBadArgs.html:
      * webgl/conformance/more/functions/deleteBufferBadArgs.html:
      * webgl/conformance/more/functions/drawArrays.html:
      * webgl/conformance/more/functions/drawArraysOutOfBounds.html:
      * webgl/conformance/more/functions/drawElements.html:
      * webgl/conformance/more/functions/drawElementsBadArgs.html:
      * webgl/conformance/more/functions/isTests.html:
      * webgl/conformance/more/functions/isTestsBadArgs.html:
      * webgl/conformance/more/functions/readPixels.html:
      * webgl/conformance/more/functions/readPixelsBadArgs.html:
      * webgl/conformance/more/functions/texImage2D.html:
      * webgl/conformance/more/functions/texImage2DBadArgs.html:
      * webgl/conformance/more/functions/texImage2DHTML.html:
      * webgl/conformance/more/functions/texImage2DHTMLBadArgs.html:
      * webgl/conformance/more/functions/texSubImage2D.html:
      * webgl/conformance/more/functions/texSubImage2DBadArgs.html:
      * webgl/conformance/more/functions/texSubImage2DHTML.html:
      * webgl/conformance/more/functions/texSubImage2DHTMLBadArgs.html:
      * webgl/conformance/more/functions/uniformMatrix.html:
      * webgl/conformance/more/functions/uniformMatrixBadArgs.html:
      * webgl/conformance/more/functions/uniformf.html:
      * webgl/conformance/more/functions/uniformfArrayLen1.html:
      * webgl/conformance/more/functions/uniformfBadArgs.html:
      * webgl/conformance/more/functions/uniformi.html:
      * webgl/conformance/more/functions/uniformiBadArgs.html:
      * webgl/conformance/more/functions/vertexAttrib.html:
      * webgl/conformance/more/functions/vertexAttribBadArgs.html:
      * webgl/conformance/more/functions/vertexAttribPointer.html:
      * webgl/conformance/more/functions/vertexAttribPointerBadArgs.html:
      * webgl/conformance/more/glsl/arrayOutOfBounds.html:
      * webgl/conformance/more/glsl/uniformOutOfBounds.html:
      * webgl/conformance/ogles/GL/abs/abs_001_to_006.html:
      * webgl/conformance/ogles/GL/acos/acos_001_to_006.html:
      * webgl/conformance/ogles/GL/all/all_001_to_004.html:
      * webgl/conformance/ogles/GL/any/any_001_to_004.html:
      * webgl/conformance/ogles/GL/array/array_001_to_006.html:
      * webgl/conformance/ogles/GL/asin/asin_001_to_006.html:
      * webgl/conformance/ogles/GL/atan/atan_001_to_008.html:
      * webgl/conformance/ogles/GL/atan/atan_009_to_012.html:
      * webgl/conformance/ogles/GL/biConstants/biConstants_001_to_008.html:
      * webgl/conformance/ogles/GL/biConstants/biConstants_009_to_016.html:
      * webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html:
      * webgl/conformance/ogles/GL/built_in_varying_array_out_of_bounds/built_in_varying_array_out_of_bounds_001_to_001.html:
      * webgl/conformance/ogles/GL/ceil/ceil_001_to_006.html:
      * webgl/conformance/ogles/GL/clamp/clamp_001_to_006.html:
      * webgl/conformance/ogles/GL/control_flow/control_flow_001_to_008.html:
      * webgl/conformance/ogles/GL/control_flow/control_flow_009_to_010.html:
      * webgl/conformance/ogles/GL/cos/cos_001_to_006.html:
      * webgl/conformance/ogles/GL/cross/cross_001_to_002.html:
      * webgl/conformance/ogles/GL/default/default_001_to_001.html:
      * webgl/conformance/ogles/GL/degrees/degrees_001_to_006.html:
      * webgl/conformance/ogles/GL/discard/discard_001_to_002.html:
      * webgl/conformance/ogles/GL/distance/distance_001_to_006.html:
      * webgl/conformance/ogles/GL/dot/dot_001_to_006.html:
      * webgl/conformance/ogles/GL/equal/equal_001_to_008.html:
      * webgl/conformance/ogles/GL/equal/equal_009_to_012.html:
      * webgl/conformance/ogles/GL/exp/exp_001_to_008.html:
      * webgl/conformance/ogles/GL/exp/exp_009_to_012.html:
      * webgl/conformance/ogles/GL/exp2/exp2_001_to_008.html:
      * webgl/conformance/ogles/GL/exp2/exp2_009_to_012.html:
      * webgl/conformance/ogles/GL/faceforward/faceforward_001_to_006.html:
      * webgl/conformance/ogles/GL/floor/floor_001_to_006.html:
      * webgl/conformance/ogles/GL/fract/fract_001_to_006.html:
      * webgl/conformance/ogles/GL/functions/functions_001_to_008.html:
      * webgl/conformance/ogles/GL/functions/functions_009_to_016.html:
      * webgl/conformance/ogles/GL/functions/functions_017_to_024.html:
      * webgl/conformance/ogles/GL/functions/functions_025_to_032.html:
      * webgl/conformance/ogles/GL/functions/functions_033_to_040.html:
      * webgl/conformance/ogles/GL/functions/functions_041_to_048.html:
      * webgl/conformance/ogles/GL/functions/functions_049_to_056.html:
      * webgl/conformance/ogles/GL/functions/functions_057_to_064.html:
      * webgl/conformance/ogles/GL/functions/functions_065_to_072.html:
      * webgl/conformance/ogles/GL/functions/functions_073_to_080.html:
      * webgl/conformance/ogles/GL/functions/functions_081_to_088.html:
      * webgl/conformance/ogles/GL/functions/functions_089_to_096.html:
      * webgl/conformance/ogles/GL/functions/functions_097_to_104.html:
      * webgl/conformance/ogles/GL/functions/functions_105_to_112.html:
      * webgl/conformance/ogles/GL/functions/functions_113_to_120.html:
      * webgl/conformance/ogles/GL/functions/functions_121_to_126.html:
      * webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html:
      * webgl/conformance/ogles/GL/gl_FrontFacing/gl_FrontFacing_001_to_001.html:
      * webgl/conformance/ogles/GL/greaterThan/greaterThan_001_to_008.html:
      * webgl/conformance/ogles/GL/greaterThanEqual/greaterThanEqual_001_to_008.html:
      * webgl/conformance/ogles/GL/inversesqrt/inversesqrt_001_to_006.html:
      * webgl/conformance/ogles/GL/length/length_001_to_006.html:
      * webgl/conformance/ogles/GL/lessThan/lessThan_001_to_008.html:
      * webgl/conformance/ogles/GL/lessThanEqual/lessThanEqual_001_to_008.html:
      * webgl/conformance/ogles/GL/log/log_001_to_008.html:
      * webgl/conformance/ogles/GL/log/log_009_to_012.html:
      * webgl/conformance/ogles/GL/log2/log2_001_to_008.html:
      * webgl/conformance/ogles/GL/log2/log2_009_to_012.html:
      * webgl/conformance/ogles/GL/mat/mat_001_to_008.html:
      * webgl/conformance/ogles/GL/mat/mat_009_to_016.html:
      * webgl/conformance/ogles/GL/mat/mat_017_to_024.html:
      * webgl/conformance/ogles/GL/mat/mat_025_to_032.html:
      * webgl/conformance/ogles/GL/mat/mat_033_to_040.html:
      * webgl/conformance/ogles/GL/mat/mat_041_to_046.html:
      * webgl/conformance/ogles/GL/mat3/mat3_001_to_006.html:
      * webgl/conformance/ogles/GL/matrixCompMult/matrixCompMult_001_to_004.html:
      * webgl/conformance/ogles/GL/max/max_001_to_006.html:
      * webgl/conformance/ogles/GL/min/min_001_to_006.html:
      * webgl/conformance/ogles/GL/mix/mix_001_to_006.html:
      * webgl/conformance/ogles/GL/mod/mod_001_to_008.html:
      * webgl/conformance/ogles/GL/normalize/normalize_001_to_006.html:
      * webgl/conformance/ogles/GL/not/not_001_to_004.html:
      * webgl/conformance/ogles/GL/notEqual/notEqual_001_to_008.html:
      * webgl/conformance/ogles/GL/notEqual/notEqual_009_to_012.html:
      * webgl/conformance/ogles/GL/operators/operators_001_to_008.html:
      * webgl/conformance/ogles/GL/operators/operators_009_to_016.html:
      * webgl/conformance/ogles/GL/operators/operators_017_to_024.html:
      * webgl/conformance/ogles/GL/operators/operators_025_to_026.html:
      * webgl/conformance/ogles/GL/pow/pow_001_to_008.html:
      * webgl/conformance/ogles/GL/pow/pow_009_to_016.html:
      * webgl/conformance/ogles/GL/pow/pow_017_to_024.html:
      * webgl/conformance/ogles/GL/radians/radians_001_to_006.html:
      * webgl/conformance/ogles/GL/reflect/reflect_001_to_006.html:
      * webgl/conformance/ogles/GL/refract/refract_001_to_006.html:
      * webgl/conformance/ogles/GL/sign/sign_001_to_006.html:
      * webgl/conformance/ogles/GL/sin/sin_001_to_006.html:
      * webgl/conformance/ogles/GL/smoothstep/smoothstep_001_to_006.html:
      * webgl/conformance/ogles/GL/sqrt/sqrt_001_to_006.html:
      * webgl/conformance/ogles/GL/step/step_001_to_006.html:
      * webgl/conformance/ogles/GL/struct/struct_001_to_008.html:
      * webgl/conformance/ogles/GL/struct/struct_009_to_016.html:
      * webgl/conformance/ogles/GL/struct/struct_017_to_024.html:
      * webgl/conformance/ogles/GL/struct/struct_025_to_032.html:
      * webgl/conformance/ogles/GL/struct/struct_033_to_040.html:
      * webgl/conformance/ogles/GL/struct/struct_041_to_048.html:
      * webgl/conformance/ogles/GL/struct/struct_049_to_056.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_001_to_008.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_009_to_016.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_017_to_024.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_025_to_032.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_033_to_040.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_041_to_048.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_049_to_056.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_057_to_064.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_065_to_072.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_073_to_080.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_081_to_088.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_089_to_096.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_097_to_104.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_105_to_112.html:
      * webgl/conformance/ogles/GL/swizzlers/swizzlers_113_to_120.html:
      * webgl/conformance/ogles/GL/tan/tan_001_to_006.html:
      * webgl/conformance/ogles/GL/vec/vec_001_to_008.html:
      * webgl/conformance/ogles/GL/vec/vec_009_to_016.html:
      * webgl/conformance/ogles/GL/vec/vec_017_to_018.html:
      * webgl/conformance/ogles/GL/vec3/vec3_001_to_008.html:
      * webgl/conformance/programs/get-active-test.html:
      * webgl/conformance/programs/gl-bind-attrib-location-long-names-test.html:
      * webgl/conformance/programs/gl-bind-attrib-location-test.html:
      * webgl/conformance/programs/gl-get-active-attribute.html:
      * webgl/conformance/programs/gl-get-active-uniform.html:
      * webgl/conformance/programs/gl-getshadersource.html:
      * webgl/conformance/programs/gl-shader-test.html:
      * webgl/conformance/programs/invalid-UTF-16.html:
      * webgl/conformance/programs/program-test.html:
      * webgl/conformance/programs/use-program-crash-with-discard-in-fragment-shader.html:
      * webgl/conformance/reading/read-pixels-pack-alignment.html:
      * webgl/conformance/reading/read-pixels-test.html:
      * webgl/conformance/renderbuffers/framebuffer-object-attachment.html:
      * webgl/conformance/renderbuffers/framebuffer-state-restoration.html:
      * webgl/conformance/renderbuffers/framebuffer-test.html:
      * webgl/conformance/renderbuffers/renderbuffer-initialization.html:
      * webgl/conformance/rendering/culling.html:
      * webgl/conformance/rendering/draw-arrays-out-of-bounds.html:
      * webgl/conformance/rendering/draw-elements-out-of-bounds.html:
      * webgl/conformance/rendering/gl-clear.html:
      * webgl/conformance/rendering/gl-drawelements.html:
      * webgl/conformance/rendering/gl-scissor-fbo-test.html:
      * webgl/conformance/rendering/gl-scissor-test.html:
      * webgl/conformance/rendering/line-loop-tri-fan.html:
      * webgl/conformance/rendering/more-than-65536-indices.html:
      * webgl/conformance/rendering/multisample-corruption.html:
      * webgl/conformance/rendering/point-size.html:
      * webgl/conformance/rendering/simple.html:
      * webgl/conformance/rendering/triangle.html:
      * webgl/conformance/state/gl-enable-enum-test.html:
      * webgl/conformance/state/gl-enum-tests.html:
      * webgl/conformance/state/gl-get-calls.html:
      * webgl/conformance/state/gl-geterror.html:
      * webgl/conformance/state/gl-getstring.html:
      * webgl/conformance/state/gl-object-get-calls.html:
      * webgl/conformance/textures/compressed-tex-image.html:
      * webgl/conformance/textures/copy-tex-image-2d-formats.html:
      * webgl/conformance/textures/copy-tex-image-and-sub-image-2d.html:
      * webgl/conformance/textures/gl-get-tex-parameter.html:
      * webgl/conformance/textures/gl-pixelstorei.html:
      * webgl/conformance/textures/gl-teximage.html:
      * webgl/conformance/textures/mipmap-fbo.html:
      * webgl/conformance/textures/origin-clean-conformance.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-array-buffer-view.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgb565.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba4444.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas-rgba5551.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-canvas.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgb565.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba4444.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data-rgba5551.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-data.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgb565.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba4444.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image-rgba5551.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-image.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgb565.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba4444.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video-rgba5551.html:
      * webgl/conformance/textures/tex-image-and-sub-image-2d-with-video.html:
      * webgl/conformance/textures/tex-image-and-uniform-binding-bugs.html:
      * webgl/conformance/textures/tex-image-webgl.html:
      * webgl/conformance/textures/tex-image-with-format-and-type.html:
      * webgl/conformance/textures/tex-image-with-invalid-data.html:
      * webgl/conformance/textures/tex-input-validation.html:
      * webgl/conformance/textures/tex-sub-image-2d-bad-args.html:
      * webgl/conformance/textures/tex-sub-image-2d.html:
      * webgl/conformance/textures/texparameter-test.html:
      * webgl/conformance/textures/texture-active-bind-2.html:
      * webgl/conformance/textures/texture-active-bind.html:
      * webgl/conformance/textures/texture-attachment-formats.html:
      * webgl/conformance/textures/texture-clear.html:
      * webgl/conformance/textures/texture-complete.html:
      * webgl/conformance/textures/texture-formats-test.html:
      * webgl/conformance/textures/texture-hd-dpi.html:
      * webgl/conformance/textures/texture-mips.html:
      * webgl/conformance/textures/texture-npot-video.html:
      * webgl/conformance/textures/texture-npot.html:
      * webgl/conformance/textures/texture-size-cube-maps.html:
      * webgl/conformance/textures/texture-size-limit.html:
      * webgl/conformance/textures/texture-size.html:
      * webgl/conformance/textures/texture-sub-image-cube-maps.html:
      * webgl/conformance/textures/texture-transparent-pixels-initialized.html:
      * webgl/conformance/textures/texture-upload-cube-maps.html:
      * webgl/conformance/typedarrays/array-buffer-crash.html:
      * webgl/conformance/typedarrays/array-buffer-view-crash.html:
      * webgl/conformance/typedarrays/array-unit-tests.html:
      * webgl/conformance/typedarrays/data-view-crash.html:
      * webgl/conformance/typedarrays/data-view-test.html:
      * webgl/conformance/typedarrays/typed-arrays-in-workers.html:
      * webgl/conformance/uniforms/gl-uniform-arrays.html:
      * webgl/conformance/uniforms/gl-uniform-bool.html:
      * webgl/conformance/uniforms/gl-uniformmatrix4fv.html:
      * webgl/conformance/uniforms/gl-unknown-uniform.html:
      * webgl/conformance/uniforms/null-uniform-location.html:
      * webgl/conformance/uniforms/uniform-default-values.html:
      * webgl/conformance/uniforms/uniform-location.html:
      * webgl/conformance/uniforms/uniform-samplers-test.html:
      * webgl/resources/webgl-wrapper-template.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16a5a24c
  3. 07 Sep, 2013 1 commit
    • antti@apple.com's avatar
      Remove unnecessary sibling text renderers after attach · eb42f534
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=120953
      
      Source/WebCore: 
      
      Reviewed by the Swedish Review Team: Anders Carlsson and Andreas Kling.
      
      The current createTextRenderersForSiblingsAfterAttachIfNeeded code only adds text renderers, never removes them. 
      Style changes can go either way.
              
      The patch causes no visible changes in rendered output. The whitespace nodes that it affects are leftovers that
      have no rendering effect. However it does change results of many dumpAsText and render tree dump based layout
      tests as unnecessary text nodes disappear.
              
      The main goal is to make results of dynamic attach and parsing time attach produce more similar results. As
      an added bonus we get slightly simpler rendering trees.
              
      Rendering tree dumps show us still leaving behind empty anonymous blocks when removing whitespace text nodes.
      Those should collapse away too.
      
      * style/StyleResolveTree.cpp:
      (WebCore::Style::reattachTextRenderersForWhitespaceOnlySiblingsAfterAttachIfNeeded):
              
          Allow the code both create and remove text renderers.
          Tighten to bail out faster if case is not the exact one that matters.
          Use NodeRenderingTraversal to mirror textRendererIsNeeded.
          Renamed for clarity.
      
      (WebCore::Style::updateTextRendererAfterContentChange):
      (WebCore::Style::resolveLocal):
      (WebCore::Style::updateTextStyle):
      (WebCore::Style::attachRenderTree):
      
      LayoutTests: 
      
      Reviewed by Anders Carlsson and Andreas Kling.
      
      A bunch of spaces and empty lines disappear from dumpAsText test results.
      Empty RenderTexts disapper from render tree dumps.
      
      * css3/flexbox/flex-flow-auto-margins-expected.txt:
      * css3/flexbox/flex-flow-auto-margins-no-available-space-expected.txt:
      * css3/flexbox/flex-flow-border-expected.txt:
      * css3/flexbox/flex-flow-margins-auto-size-expected.txt:
      * css3/flexbox/flex-flow-margins-expected.txt:
      * css3/flexbox/flex-flow-orientations-expected.txt:
      * css3/flexbox/flex-flow-overflow-expected.txt:
      * css3/flexbox/flex-flow-padding-expected.txt:
      * css3/flexbox/flexbox-ignore-firstLetter-expected.txt:
      * css3/flexbox/inline-flexbox-ignore-firstLine-expected.txt:
      * css3/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt:
      * editing/selection/focus-crash-expected.txt:
              
          A few frame based tests also gain an extra space from alrgorithm fixes in creation direction.
      
      * editing/style/toggle-style-bold-italic-expected.txt:
      * editing/style/toggle-style-bold-italic-mixed-editability-expected.txt:
      * fast/block/float/intruding-float-not-removed-writing-mode-expected.txt:
      * fast/css/getComputedStyle/getComputedStyle-resolved-values-expected.txt:
      * fast/css/import-style-update-expected.txt:
      * fast/css/positioned-overflow-scroll-expected.txt:
      * fast/dom/HTMLLinkElement/resolve-url-on-insertion-expected.txt:
      * fast/dom/search-shadow-host-crash-expected.txt:
      * fast/dynamic/inline-to-block-crash-expected.txt:
      * fast/events/input-element-display-none-in-dragleave-crash-expected.txt:
      * fast/flexbox/intrinsic-min-width-applies-with-fixed-width-expected.txt:
      * fast/forms/select-listbox-focus-displaynone-expected.txt:
      * fast/frames/repaint-display-none-crash-expected.txt:
      * fast/inline/inline-with-empty-inline-children-expected.txt:
      * fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline-expected.txt:
      * fast/repaint/text-in-relative-positioned-inline-expected.txt:
      * fast/replaced/computed-image-width-with-percent-height-and-fixed-ancestor-expected.txt:
      * fast/replaced/computed-image-width-with-percent-height-and-fixed-ancestor-vertical-lr-expected.txt:
      * fast/replaced/preferred-widths-expected.txt:
      * fast/spatial-navigation/snav-tiny-table-traversal-expected.txt:
      * fast/table/min-max-width-preferred-size-expected.txt:
      * fast/xsl/import-non-document-node-expected.txt:
      * fullscreen/full-screen-fixed-pos-parent-expected.txt:
      * http/tests/appcache/auth-expected.txt:
      * http/tests/cache/subresource-expiration-1-expected.txt:
      * http/tests/cache/subresource-expiration-2-expected.txt:
      * http/tests/xmlhttprequest/send-array-buffer-expected.txt:
      * http/tests/xmlhttprequest/send-data-view-expected.txt:
      * http/tests/xmlhttprequest/send-undefined-and-null-expected.txt:
      * platform/mac/editing/input/firstrectforcharacterrange-plain-expected.txt:
      * platform/mac/editing/input/firstrectforcharacterrange-styled-expected.txt:
      * platform/mac/editing/pasteboard/4989774-expected.txt:
      * platform/mac/editing/pasteboard/paste-match-style-001-expected.txt:
      * platform/mac/editing/selection/caret-ltr-2-expected.txt:
      * platform/mac/editing/selection/caret-ltr-2-left-expected.txt:
      * platform/mac/editing/selection/caret-ltr-expected.txt:
      * platform/mac/editing/selection/caret-ltr-right-expected.txt:
      * platform/mac/editing/selection/caret-rtl-2-expected.txt:
      * platform/mac/editing/selection/caret-rtl-2-left-expected.txt:
      * platform/mac/editing/selection/caret-rtl-expected.txt:
      * platform/mac/editing/selection/caret-rtl-right-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-backward-wrap-expected.txt:
      * platform/mac/editing/selection/vertical-rl-ltr-extend-line-forward-wrap-expected.txt:
      * platform/mac/editing/spelling/autocorrection-in-textarea-expected.txt:
      * platform/mac/editing/style/style-boundary-005-expected.txt:
      * platform/mac/fast/AppleScript/001-expected.txt:
      * platform/mac/fast/AppleScript/date-expected.txt:
      * platform/mac/fast/forms/formmove3-expected.txt:
      * platform/mac/fast/forms/input-align-image-expected.txt:
      * platform/mac/fast/forms/preserveFormDuringResidualStyle-expected.txt:
      * platform/mac/fast/invalid/003-expected.txt:
      * platform/mac/fast/text/attributed-substring-from-range-002-expected.txt:
      * platform/mac/tables/mozilla/bugs/bug647-expected.txt:
      * userscripts/user-script-all-frames-expected.txt:
      * userscripts/user-script-top-frame-only-expected.txt:
              
          Here too.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb42f534
  4. 06 Dec, 2012 1 commit
    • tony@chromium.org's avatar
      REGRESSION(r135082): Restore the ability to insert author level style sheets from script · 9769f72f
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104042
      
      Reviewed by Antti Koivisto.
      
      .:
      
      Update exports for Internals.cpp.
      
      * Source/autotools/symbols.filter:
      
      Source/WebCore:
      
      Add DocumentStyleSheetCollection::addAuthorSheet so embedders can allow scripts
      to insert author level styles. Expose the method to window.interals for testing.
      
      Test: userscripts/insert-stylesheets.html
      
      * WebCore.exp.in: Update exports for Internals.cpp.
      * WebCore.order: Update exports for Internals.cpp.
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::~DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::addAuthorSheet): Add the stylesheet and force a style recalc.
      (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets): Include author level styles.
      (WebCore::DocumentStyleSheetCollection::reportMemoryUsage): Include author styles.
      * dom/DocumentStyleSheetCollection.h:
      (WebCore::DocumentStyleSheetCollection::documentAuthorStyleSheets): Accessor.
      (DocumentStyleSheetCollection): Keep track of author styles added by script.
      * testing/Internals.cpp:
      (WebCore::Internals::insertAuthorCSS): Testing addAuthorSheet.
      (WebCore::Internals::insertUserCSS): Testing addUserSheet.
      * testing/Internals.h:
      * testing/Internals.idl: Add addAuthorSheet and addUserSheet.
      
      Source/WebKit/chromium:
      
      * src/WebDocument.cpp:
      (WebKit::WebDocument::insertUserStyleSheet): Use addAuthorSheet if an author level script is requested.
      
      Source/WebKit2:
      
      Update exports for Internals.cpp.
      
      * win/WebKit2.def.in:
      
      LayoutTests:
      
      Add a test that makes sure that an author level style is set.
      
      * userscripts/insert-stylesheets-expected.txt: Added.
      * userscripts/insert-stylesheets.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9769f72f
  5. 18 Nov, 2012 1 commit
    • antti@apple.com's avatar
      REGRESSION(r129644): User StyleSheet not applying · e119aee7
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=102110
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      Injected stylesheets added as UserStyleAuthorLevel fail to apply. r129644 implicitly assumed that
      such things don't exists but on Chromium addUserStyleSheet() confusingly uses them.
      
      The patch adds injected author stylesheets to DocumentStyleSheetCollection::activeStyleSheets().
      It also generally cleans up the code around injected and user stylesheets.
      
      Tests: userscripts/user-script-and-stylesheet.html
             userscripts/user-stylesheet-invalidate.html
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::StyleResolver):
      (WebCore::StyleResolver::collectRulesFromUserStyleSheets):
      (WebCore::collectCSSOMWrappers):
      * css/StyleResolver.h:
      (StyleResolver):
      * dom/Document.cpp:
      (WebCore::Document::setCompatibilityMode):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::~DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::injectedUserStyleSheets):
      (WebCore):
      (WebCore::DocumentStyleSheetCollection::injectedAuthorStyleSheets):
      (WebCore::DocumentStyleSheetCollection::updateInjectedStyleSheetCache):
      (WebCore::DocumentStyleSheetCollection::invalidateInjectedStyleSheetCache):
      (WebCore::DocumentStyleSheetCollection::addUserSheet):
      (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
      (WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
      * dom/DocumentStyleSheetCollection.h:
      (WebCore::DocumentStyleSheetCollection::documentUserStyleSheets):
      (DocumentStyleSheetCollection):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
      (WebCore::PageGroup::removeAllUserContent):
      (WebCore::PageGroup::invalidatedInjectedStyleSheetCacheInAllFrames):
      * page/PageGroup.h:
      (PageGroup):
      
      LayoutTests:
      
      * inspector/timeline/timeline-script-tag-1-expected.txt:
      
          Update the test result. The style invalidation log is slightly different.
      
      * userscripts/user-stylesheet-invalidate-expected.txt: Added.
      * userscripts/user-stylesheet-invalidate.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e119aee7
  6. 16 Nov, 2012 2 commits
    • dglazkov@chromium.org's avatar
      Unreviewed, rolling out r134986. · ce0a0535
      dglazkov@chromium.org authored
      http://trac.webkit.org/changeset/134986
      https://bugs.webkit.org/show_bug.cgi?id=102110
      
      Triggered ASSERT in fast/frames/seamless/seamless-inherited-
      origin.html.
      
      Source/WebCore:
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::StyleResolver):
      (WebCore::StyleResolver::addAuthorRulesAndCollectUserRulesFromSheets):
      (WebCore::collectCSSOMWrappers):
      * css/StyleResolver.h:
      (StyleResolver):
      * dom/Document.cpp:
      (WebCore::Document::setCompatibilityMode):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::~DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::pageGroupUserSheets):
      (WebCore):
      (WebCore::DocumentStyleSheetCollection::clearPageGroupUserSheets):
      (WebCore::DocumentStyleSheetCollection::updatePageGroupUserSheets):
      (WebCore::DocumentStyleSheetCollection::addUserSheet):
      (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
      (WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
      * dom/DocumentStyleSheetCollection.h:
      (DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::documentUserSheets):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
      (WebCore::PageGroup::removeAllUserContent):
      (WebCore::PageGroup::resetUserStyleCacheInAllFrames):
      * page/PageGroup.h:
      (PageGroup):
      
      LayoutTests:
      
      * userscripts/user-stylesheet-invalidate-expected.txt: Removed.
      * userscripts/user-stylesheet-invalidate.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce0a0535
    • antti@apple.com's avatar
      REGRESSION(r129644): User StyleSheet not applying · d7f1f18e
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=102110
      
      Reviewed by Andreas Kling.
      
      Source/WebCore: 
      
      Injected stylesheets added as UserStyleAuthorLevel fail to apply. r129644 implicitly assumed that
      such things don't exists but on Chromium addUserStyleSheet() confusingly uses them.
              
      The patch adds injected author stylesheets to DocumentStyleSheetCollection::activeStyleSheets().
      It also generally cleans up the code around injected and user stylesheets.
      
      Tests: userscripts/user-script-and-stylesheet.html
             userscripts/user-stylesheet-invalidate.html
      
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::StyleResolver):
      (WebCore::StyleResolver::collectRulesFromUserStyleSheets):
      (WebCore::collectCSSOMWrappers):
      * css/StyleResolver.h:
      (StyleResolver):
      * dom/Document.cpp:
      (WebCore::Document::setCompatibilityMode):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::~DocumentStyleSheetCollection):
      (WebCore::DocumentStyleSheetCollection::injectedUserStyleSheets):
      (WebCore):
      (WebCore::DocumentStyleSheetCollection::injectedAuthorStyleSheets):
      (WebCore::DocumentStyleSheetCollection::updateInjectedStyleSheetCache):
      (WebCore::DocumentStyleSheetCollection::invalidateInjectedStyleSheetCache):
      (WebCore::DocumentStyleSheetCollection::addUserSheet):
      (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
      (WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
      * dom/DocumentStyleSheetCollection.h:
      (WebCore::DocumentStyleSheetCollection::documentUserStyleSheets):
      (DocumentStyleSheetCollection):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetsFromWorld):
      (WebCore::PageGroup::removeAllUserContent):
      (WebCore::PageGroup::invalidatedInjectedStyleSheetCacheInAllFrames):
      * page/PageGroup.h:
      (PageGroup):
      
      LayoutTests: 
      
      * userscripts/user-stylesheet-invalidate-expected.txt: Added.
      * userscripts/user-stylesheet-invalidate.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134986 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d7f1f18e
  7. 15 Jun, 2012 1 commit
  8. 18 Jan, 2012 1 commit
    • abarth@webkit.org's avatar
      REGRESSION (r104000): AdBlock extension fails to load/function · 81d6a0e5
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75554
      
      Reviewed by Andy Estes.
      
      Source/WebCore:
      
      Previously, we would claim the documentElement was available before
      we'd actually attached it to the DOM (which we now do via the
      attachment queue).  This issue was noted in the code with a FIXME
      comment, but there was no test coverage for the issue.  This patch
      resolves the FIXME and adds a test.
      
      Test: userscripts/document-element-available-at-start.html
      
      * html/parser/HTMLConstructionSite.cpp:
      (WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML):
      
      LayoutTests:
      
      This test checks that the documentElement is available when user
      scripts are run at document start.
      
      * userscripts/document-element-available-at-start-expected.txt: Added.
      * userscripts/document-element-available-at-start.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81d6a0e5
  9. 30 Aug, 2011 2 commits
  10. 21 Jan, 2011 1 commit
    • yurys@chromium.org's avatar
      2011-01-21 Yury Semikhatsky <yurys@chromium.org> · 1b7f5418
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Make userscripts/window-onerror-for-isolated-world-*.html give consistent output
              https://bugs.webkit.org/show_bug.cgi?id=52870
      
              Call setTimeout from "load" event listener to make sure exception in the setTimeout
              callback happens after the one in the listener.
      
              * platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt:
              * platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt:
              * userscripts/window-onerror-for-isolated-world-1-expected.txt:
              * userscripts/window-onerror-for-isolated-world-1.html:
              * userscripts/window-onerror-for-isolated-world-2-expected.txt:
              * userscripts/window-onerror-for-isolated-world-2.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b7f5418
  11. 20 Jan, 2011 1 commit
    • yurys@chromium.org's avatar
      2010-12-27 yury semikhatsky <yurys@chromium.org> · c8a06eb9
      yurys@chromium.org authored
              reviewed by pavel feldman.
      
              webcore doesn't fire window.onerror event when uncaught javascript exceptions are thrown
              https://bugs.webkit.org/show_bug.cgi?id=8519
      
              uncaught exceptions are propagated to window.onerror hander if one is present.
              the handler is expected to be a function accepting three arguments: error message,
              resource url and line number where the exception occured.
      
              it was decided to dispatch errorevent to all listeners/handlers no matter if they
              were created in the same isolated world where the exception occured or not.
      
              tests: fast/events/window-onerror1.html
                     fast/events/window-onerror10.html
                     fast/events/window-onerror11.html
                     fast/events/window-onerror12.html
                     fast/events/window-onerror2.html
                     fast/events/window-onerror3.html
                     fast/events/window-onerror4.html
                     fast/events/window-onerror5.html
                     fast/events/window-onerror6.html
                     fast/events/window-onerror7.html
                     fast/events/window-onerror8.html
                     fast/events/window-onerror9.html
                     http/tests/security/window-onerror-exception-in-iframe.html
                     userscripts/window-onerror-for-isolated-world-1.html
                     userscripts/window-onerror-for-isolated-world-2.html
      
              * android.jscbindings.mk:
              * cmakelists.txt:
              * gnumakefile.am:
              * webcore.gypi:
              * webcore.order:
              * webcore.pro:
              * webcore.vcproj/webcore.vcproj:
              * webcore.xcodeproj/project.pbxproj:
              * bindings/js/jsbindingsallinone.cpp:
              * bindings/js/jsdombinding.cpp:
              (webcore::reportexception):
              * bindings/js/jserrorhandler.cpp: renamed from webcore/bindings/js/jsworkercontexterrorhandler.cpp.
              (webcore::jserrorhandler::jserrorhandler):
              (webcore::jserrorhandler::~jserrorhandler):
              (webcore::jserrorhandler::handleevent):
              * bindings/js/jserrorhandler.h: copied from webcore/bindings/js/jsworkercontexterrorhandler.h.
              (webcore::jserrorhandler::create):
              (webcore::createjserrorhandler):
              * bindings/js/jseventlistener.h:
              * bindings/scripts/codegeneratorjs.pm:
              * bindings/scripts/codegeneratorv8.pm:
              * bindings/v8/v8consolemessage.cpp:
              (webcore::v8consolemessage::dispatchnow):
              (webcore::v8consolemessage::handler): the method was changed to use generic webcore exception
              reporting mechanism which is also used by jsc bindings.
              * bindings/v8/v8consolemessage.h:
              * bindings/v8/v8eventlistener.h:
              * bindings/v8/v8windowerrorhandler.cpp: renamed from webcore/bindings/js/jsworkercontexterrorhandler.h.
              (webcore::v8windowerrorhandler::v8windowerrorhandler):
              (webcore::v8windowerrorhandler::calllistenerfunction):
              * bindings/v8/v8windowerrorhandler.h: copied from webcore/dom/errorevent.cpp.
              (webcore::v8windowerrorhandler::create):
              * bindings/v8/workercontextexecutionproxy.cpp:
              (webcore::v8messagehandler):
              * bindings/v8/workerscriptcontroller.cpp:
              (webcore::workerscriptcontroller::evaluate):
              * dom/document.cpp:
              (webcore::document::erroreventtarget):
              (webcore::document::logexceptiontoconsole):
              (webcore::document::addmessage):
              * dom/document.h:
              * dom/errorevent.cpp:
              * dom/errorevent.h:
              * dom/event.cpp:
              (webcore::event::iserrorevent):
              * dom/event.h:
              * dom/scriptexecutioncontext.cpp:
              (webcore::scriptexecutioncontext::pendingexception::pendingexception):
              (webcore::scriptexecutioncontext::scriptexecutioncontext):
              (webcore::scriptexecutioncontext::reportexception): this method is not virtual anymore to
              ensure that error event dispatching algorithm is the same in workercontext and in document.
              (webcore::scriptexecutioncontext::dispatcherrorevent):
              * dom/scriptexecutioncontext.h:
              * websockets/websocket.cpp:
              (webcore::websocket::connect):
              * websockets/websocketchannel.cpp:
              (webcore::websocketchannel::didopen):
              (webcore::websocketchannel::didfail):
              (webcore::websocketchannel::appendtobuffer):
              * websockets/websockethandshake.cpp:
              (webcore::websockethandshake::readserverhandshake):
              (webcore::websockethandshake::readstatusline):
              (webcore::websockethandshake::readhttpheaders):
              (webcore::websockethandshake::checkresponseheaders):
              * workers/defaultsharedworkerrepository.cpp:
              (webcore::postexceptiontask):
              (webcore::postconsolemessagetask):
              * workers/workercontext.cpp:
              (webcore::workercontext::workercontext):
              (webcore::workercontext::erroreventtarget):
              (webcore::workercontext::logexceptiontoconsole):
              (webcore::workercontext::addmessage):
              * workers/workercontext.h:
              * workers/workermessagingproxy.cpp:
              (webcore::workerexceptiontask::performtask):
              (webcore::postconsolemessagetask):
              * xml/xmlhttprequest.cpp:
              (webcore::reportunsafeusage):
      
      2010-12-27  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
              https://bugs.webkit.org/show_bug.cgi?id=8519
      
              Uncaught exceptions are propagated to window.onerror hander if one is present.
              The handler is expected to be a function accepting three arguments: error message,
              resource url and line number where the exception occured.
      
              * fast/events/resources/window-onerror.js: Added.
              (throwException):
              * fast/events/window-onerror1-expected.txt: Added.
              * fast/events/window-onerror1.html: Added.
              * fast/events/window-onerror10-expected.txt: Added.
              * fast/events/window-onerror10.html: Added.
              * fast/events/window-onerror11-expected.txt: Added.
              * fast/events/window-onerror11.html: Added.
              * fast/events/window-onerror12-expected.txt: Added.
              * fast/events/window-onerror12.html: Added.
              * fast/events/window-onerror2-expected.txt: Added.
              * fast/events/window-onerror2.html: Added.
              * fast/events/window-onerror3-expected.txt: Added.
              * fast/events/window-onerror3.html: Added.
              * fast/events/window-onerror4-expected.txt: Added.
              * fast/events/window-onerror4.html: Added.
              * fast/events/window-onerror5-expected.txt: Added.
              * fast/events/window-onerror5.html: Added.
              * fast/events/window-onerror6-expected.txt: Added.
              * fast/events/window-onerror6.html: Added.
              * fast/events/window-onerror7-expected.txt: Added.
              * fast/events/window-onerror7.html: Added.
              * fast/events/window-onerror8-expected.txt: Added.
              * fast/events/window-onerror8.html: Added.
              * fast/events/window-onerror9-expected.txt: Added.
              * fast/events/window-onerror9.html: Added.
              * fast/workers/worker-script-error-expected.txt:
              * http/tests/security/resources/onerror-iframe.html: Added.
              * http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
              * http/tests/security/window-onerror-exception-in-iframe.html: Added.
              * platform/chromium-win/fast/workers/worker-script-error-expected.txt:
              * platform/chromium/fast/events/window-onerror1-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror10-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror11-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror2-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror3-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror4-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror5-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror6-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror7-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror8-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror9-expected.txt: Added.
              * platform/chromium/http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
              * platform/gtk/Skipped:
              * userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
              * userscripts/window-onerror-for-isolated-world-1.html: Added.
              * userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
              * userscripts/window-onerror-for-isolated-world-2.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8a06eb9
  12. 13 Dec, 2010 2 commits
    • yurys@chromium.org's avatar
      2010-12-13 Yury Semikhatsky <yurys@chromium.org> · e42c177c
      yurys@chromium.org authored
              Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
      
              REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
              https://bugs.webkit.org/show_bug.cgi?id=50950
      
              * fast/events/resources/window-onerror.js: Removed.
              * fast/events/window-onerror1-expected.txt: Removed.
              * fast/events/window-onerror1.html: Removed.
              * fast/events/window-onerror10-expected.txt: Removed.
              * fast/events/window-onerror10.html: Removed.
              * fast/events/window-onerror11-expected.txt: Removed.
              * fast/events/window-onerror11.html: Removed.
              * fast/events/window-onerror2-expected.txt: Removed.
              * fast/events/window-onerror2.html: Removed.
              * fast/events/window-onerror3-expected.txt: Removed.
              * fast/events/window-onerror3.html: Removed.
              * fast/events/window-onerror4-expected.txt: Removed.
              * fast/events/window-onerror4.html: Removed.
              * fast/events/window-onerror5-expected.txt: Removed.
              * fast/events/window-onerror5.html: Removed.
              * fast/events/window-onerror6-expected.txt: Removed.
              * fast/events/window-onerror6.html: Removed.
              * fast/events/window-onerror7-expected.txt: Removed.
              * fast/events/window-onerror7.html: Removed.
              * fast/events/window-onerror8-expected.txt: Removed.
              * fast/events/window-onerror8.html: Removed.
              * fast/events/window-onerror9-expected.txt: Removed.
              * fast/events/window-onerror9.html: Removed.
              * fast/workers/worker-script-error-expected.txt:
              * http/tests/security/resources/onerror-iframe.html: Removed.
              * http/tests/security/window-onerror-exception-in-iframe-expected.txt: Removed.
              * http/tests/security/window-onerror-exception-in-iframe.html: Removed.
              * platform/chromium-win/fast/workers/worker-script-error-expected.txt:
              * platform/chromium/fast/events/window-onerror1-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror10-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror11-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror2-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror3-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror4-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror5-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror6-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror7-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror8-expected.txt: Removed.
              * platform/chromium/fast/events/window-onerror9-expected.txt: Removed.
              * platform/chromium/http/tests/security/window-onerror-exception-in-iframe-expected.txt: Removed.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt: Removed.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt: Removed.
              * platform/gtk/Skipped:
              * userscripts/window-onerror-for-isolated-world-1-expected.txt: Removed.
              * userscripts/window-onerror-for-isolated-world-1.html: Removed.
              * userscripts/window-onerror-for-isolated-world-2-expected.txt: Removed.
              * userscripts/window-onerror-for-isolated-world-2.html: Removed.
      2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
      
              Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
      
              REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
              https://bugs.webkit.org/show_bug.cgi?id=50950
      
              * Android.jscbindings.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.order:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::reportException):
              * bindings/js/JSWorkerContextErrorHandler.cpp: Renamed from WebCore/bindings/js/JSErrorHandler.cpp.
              (WebCore::JSWorkerContextErrorHandler::JSWorkerContextErrorHandler):
              (WebCore::JSWorkerContextErrorHandler::~JSWorkerContextErrorHandler):
              (WebCore::JSWorkerContextErrorHandler::handleEvent):
              * bindings/js/JSWorkerContextErrorHandler.h: Renamed from WebCore/bindings/js/JSErrorHandler.h.
              (WebCore::JSWorkerContextErrorHandler::create):
              (WebCore::createJSWorkerContextErrorHandler):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8ConsoleMessage.cpp:
              (WebCore::V8ConsoleMessage::dispatchNow):
              (WebCore::V8ConsoleMessage::handler):
              * bindings/v8/V8ConsoleMessage.h:
              * bindings/v8/V8WindowErrorHandler.cpp: Removed.
              * bindings/v8/V8WindowErrorHandler.h: Removed.
              * bindings/v8/WorkerContextExecutionProxy.cpp:
              (WebCore::v8MessageHandler):
              * bindings/v8/WorkerScriptController.cpp:
              (WebCore::WorkerScriptController::evaluate):
              * dom/Document.cpp:
              (WebCore::Document::reportException):
              (WebCore::Document::addMessage):
              * dom/Document.h:
              * dom/ErrorEvent.cpp:
              * dom/ErrorEvent.h:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ScriptExecutionContext::ScriptExecutionContext):
              * dom/ScriptExecutionContext.h:
              * websockets/WebSocket.cpp:
              (WebCore::WebSocket::connect):
              * websockets/WebSocketChannel.cpp:
              (WebCore::WebSocketChannel::didOpen):
              (WebCore::WebSocketChannel::appendToBuffer):
              * websockets/WebSocketHandshake.cpp:
              (WebCore::WebSocketHandshake::readServerHandshake):
              (WebCore::WebSocketHandshake::readStatusLine):
              (WebCore::WebSocketHandshake::readHTTPHeaders):
              (WebCore::WebSocketHandshake::checkResponseHeaders):
              * workers/DefaultSharedWorkerRepository.cpp:
              (WebCore::postExceptionTask):
              (WebCore::postConsoleMessageTask):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::WorkerContext):
              (WebCore::WorkerContext::reportException):
              (WebCore::WorkerContext::addMessage):
              * workers/WorkerContext.h:
              * workers/WorkerMessagingProxy.cpp:
              (WebCore::WorkerExceptionTask::performTask):
              (WebCore::postConsoleMessageTask):
              * xml/XMLHttpRequest.cpp:
              (WebCore::reportUnsafeUsage):
      2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
      
              Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.
      
              REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
              https://bugs.webkit.org/show_bug.cgi?id=50950
      
              * src/WebWorkerClientImpl.cpp:
              (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
              (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject):
              (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
              (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73939 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e42c177c
    • yurys@chromium.org's avatar
      2010-12-13 Yury Semikhatsky <yurys@chromium.org> · 68b2822e
      yurys@chromium.org authored
              Reviewed by Adam Barth.
      
              WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
              https://bugs.webkit.org/show_bug.cgi?id=8519
      
              Uncaught exceptions are propagated to window.onerror hander if one is present.
              The handler is expected to be a function accepting three arguments: error message,
              resource url and line number where the exception occured.
      
              * fast/events/resources/window-onerror.js: Added.
              (throwException):
              * fast/events/window-onerror1-expected.txt: Added.
              * fast/events/window-onerror1.html: Added.
              * fast/events/window-onerror10-expected.txt: Added.
              * fast/events/window-onerror10.html: Added.
              * fast/events/window-onerror11-expected.txt: Added.
              * fast/events/window-onerror11.html: Added.
              * fast/events/window-onerror2-expected.txt: Added.
              * fast/events/window-onerror2.html: Added.
              * fast/events/window-onerror3-expected.txt: Added.
              * fast/events/window-onerror3.html: Added.
              * fast/events/window-onerror4-expected.txt: Added.
              * fast/events/window-onerror4.html: Added.
              * fast/events/window-onerror5-expected.txt: Added.
              * fast/events/window-onerror5.html: Added.
              * fast/events/window-onerror6-expected.txt: Added.
              * fast/events/window-onerror6.html: Added.
              * fast/events/window-onerror7-expected.txt: Added.
              * fast/events/window-onerror7.html: Added.
              * fast/events/window-onerror8-expected.txt: Added.
              * fast/events/window-onerror8.html: Added.
              * fast/events/window-onerror9-expected.txt: Added.
              * fast/events/window-onerror9.html: Added.
              * fast/workers/worker-script-error-expected.txt:
              * http/tests/security/resources/onerror-iframe.html: Added.
              * http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
              * http/tests/security/window-onerror-exception-in-iframe.html: Added.
              * platform/chromium-win/fast/workers/worker-script-error-expected.txt:
              * platform/chromium/fast/events/window-onerror1-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror10-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror11-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror2-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror3-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror4-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror5-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror6-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror7-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror8-expected.txt: Added.
              * platform/chromium/fast/events/window-onerror9-expected.txt: Added.
              * platform/chromium/http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
              * platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
              * userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
              * userscripts/window-onerror-for-isolated-world-1.html: Added.
              * userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
              * userscripts/window-onerror-for-isolated-world-2.html: Added.
      2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Adam Barth.
      
              WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
              https://bugs.webkit.org/show_bug.cgi?id=8519
      
              Uncaught exceptions are propagated to window.onerror hander if one is present.
              The handler is expected to be a function accepting three arguments: error message,
              resource url and line number where the exception occured.
      
              It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
              were created in the same isolated world where the exception occured or not.
      
              Tests: fast/events/window-onerror1.html
                     fast/events/window-onerror10.html
                     fast/events/window-onerror11.html
                     fast/events/window-onerror2.html
                     fast/events/window-onerror3.html
                     fast/events/window-onerror4.html
                     fast/events/window-onerror5.html
                     fast/events/window-onerror6.html
                     fast/events/window-onerror7.html
                     fast/events/window-onerror8.html
                     fast/events/window-onerror9.html
                     http/tests/security/window-onerror-exception-in-iframe.html
                     userscripts/window-onerror-for-isolated-world-1.html
                     userscripts/window-onerror-for-isolated-world-2.html
      
              * Android.jscbindings.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.order:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::reportException):
              * bindings/js/JSErrorHandler.cpp: Renamed from WebCore/bindings/js/JSWorkerContextErrorHandler.cpp.
              (WebCore::JSErrorHandler::JSErrorHandler):
              (WebCore::JSErrorHandler::~JSErrorHandler):
              (WebCore::JSErrorHandler::handleEvent):
              * bindings/js/JSErrorHandler.h: Copied from WebCore/bindings/js/JSWorkerContextErrorHandler.h.
              (WebCore::JSErrorHandler::create):
              (WebCore::createJSErrorHandler):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/V8ConsoleMessage.cpp:
              (WebCore::V8ConsoleMessage::dispatchNow):
              (WebCore::V8ConsoleMessage::handler): the method was changed to use generic WebCore exception
              reporting mechanism which is also used by JSC bindings.
              * bindings/v8/V8ConsoleMessage.h:
              * bindings/v8/V8WindowErrorHandler.cpp: Copied from WebCore/bindings/js/JSWorkerContextErrorHandler.h.
              (WebCore::V8WindowErrorHandler::V8WindowErrorHandler):
              (WebCore::V8WindowErrorHandler::callListenerFunction):
              * bindings/v8/V8WindowErrorHandler.h: Renamed from WebCore/bindings/js/JSWorkerContextErrorHandler.h.
              (WebCore::V8WindowErrorHandler::create):
              * bindings/v8/WorkerContextExecutionProxy.cpp:
              (WebCore::v8MessageHandler):
              * bindings/v8/WorkerScriptController.cpp:
              (WebCore::WorkerScriptController::evaluate):
              * dom/Document.cpp:
              (WebCore::Document::errorEventTarget):
              (WebCore::Document::logExceptionToConsole):
              * dom/Document.h:
              * dom/ScriptExecutionContext.cpp:
              (WebCore::ScriptExecutionContext::PendingException::PendingException):
              (WebCore::ScriptExecutionContext::ScriptExecutionContext):
              (WebCore::ScriptExecutionContext::reportException): this method is not virtual anymore to
              ensure that error event dispatching algorithm is the same in WorkerContext and in Document.
              (WebCore::ScriptExecutionContext::dispatchErrorEvent):
              * dom/ScriptExecutionContext.h:
              * workers/DefaultSharedWorkerRepository.cpp:
              (WebCore::postExceptionTask):
              * workers/WorkerContext.cpp:
              (WebCore::WorkerContext::WorkerContext):
              (WebCore::WorkerContext::errorEventTarget):
              (WebCore::WorkerContext::logExceptionToConsole):
              * workers/WorkerContext.h:
              * workers/WorkerMessagingProxy.cpp:
              (WebCore::WorkerExceptionTask::performTask):
      2010-12-13  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Adam Barth.
      
              WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
              https://bugs.webkit.org/show_bug.cgi?id=8519
      
              Uncaught exceptions are propagated to window.onerror hander if one is present.
              The handler is expected to be a function accepting three arguments: error message,
              resource url and line number where the exception occured.
      
              * src/WebWorkerClientImpl.cpp:
              (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject):
              (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68b2822e
  13. 05 Nov, 2010 1 commit
  14. 04 Nov, 2010 1 commit
    • bweinstein@apple.com's avatar
      User scripts shouldn't be injected in a frame's empty initial document. · 09308a22
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=48970
      <rdar://problem/8618164>
      <rdar://problem/8082122>
              
      Reviewed by Brady Eidson.
      
      WebCore: 
      
      When a frame loads, it first creates an empty initial document, then navigates to the correct URL. Our
      current policy with user scripts is to inject them into both the initial empty document, and then inject
      them again.
              
      This causes developers to think their scripts have been injected twice into all iframes, and there is a timing
      issue between WebKit1 and WebKit2 that causes start scripts to be injected into the initial empty document
      of the main frame when a new tab or window is created.
              
      The fix for this is to not inject user scripts when the frame is creating its initial empty document before loading
      the correct source.
      
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      
      LayoutTests: 
      
      Update userscripts tests to reflect the fact that start scripts are not injected
      in the initial load of about:blank in an iframe anymore.
              
      This patch also makes the tests more verbose, and the results clearer to understand
      by printing out the URLs of the documents that ran the content scripts.
      
      * userscripts/script-not-run-for-fragments-expected.txt:
      * userscripts/script-not-run-for-fragments.html:
      * userscripts/script-run-at-start-expected.txt:
      * userscripts/user-script-audio-document-expected.txt:
      * userscripts/user-script-audio-document.html:
      * userscripts/user-script-image-document-expected.txt:
      * userscripts/user-script-image-document.html:
      * userscripts/user-script-plugin-document-expected.txt:
      * userscripts/user-script-plugin-document.html:
      * userscripts/user-script-video-document-expected.txt:
      * userscripts/user-script-video-document.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09308a22
  15. 26 Aug, 2010 1 commit
    • bweinstein@apple.com's avatar
      Userscripts on special documents should be tested · 7a8f9999
      bweinstein@apple.com authored
      <https://bugs.webkit.org/show_bug.cgi?id=44725>
              
      Reviewed by Dave Hyatt.
      
      Add tests of user script injection in audio, image, plugin, and video documents.
              
      * userscripts/user-script-audio-document.html: Added. Test injection of user scripts
          in an audio document.
      * userscripts/user-script-audio-document-expected.txt: Added.
      * userscripts/user-script-image-document.html: Added. Test injection of user scripts
          in an image document.
      * userscripts/user-script-image-document-expected.txt: Added.
      * userscripts/user-script-plugin-document.html: Added. Test injection of user scripts
          in a plugin document.
      * userscripts/user-script-plugin-document-expected.txt: Added.
      * userscripts/user-script-video-document.html: Added. Test injection of user scripts
          in a video document.
      * userscripts/user-script-video-document-expected.txt: Added.
              
      * userscripts/resources/abe.png: Copied from media/content/abe.png.
      * userscripts/resources/counting.mp4: Copied from media/content/counting.mp4.
      * userscripts/resources/test.wav: Copied from media/content/test.wav.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a8f9999
  16. 08 Jul, 2010 1 commit
    • aa@chromium.org's avatar
      2010-07-08 Aaron Boodman <aa@chromium.org> · 509c1c3d
      aa@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * platform/win/Skipped: Skipped test because WebKit API needs updating.
              * userscripts/mixed-case-stylesheet.html: Added new allFrames param.
              * userscripts/resources/frame1.html: Added.
              * userscripts/resources/frame2.html: Added.
              * userscripts/script-not-run-for-fragments.html: Added new allFrames param.
              * userscripts/script-run-at-end.html: Ditto.
              * userscripts/script-run-at-start.html: Ditto.
              * userscripts/simple-stylesheet.html: Ditto.
              * userscripts/user-script-all-frames-expected.txt: Added.
              * userscripts/user-script-all-frames.html: Added.
              * userscripts/user-script-top-frame-only-expected.txt: Added.
              * userscripts/user-script-top-frame-only.html: Added.
              * userscripts/user-style-all-frames-expected.txt: Added.
              * userscripts/user-style-all-frames.html: Added.
              * userscripts/user-style-top-frame-only-expected.txt: Added.
              * userscripts/user-style-top-frame-only.html: Added.
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              Tests: userscripts/user-script-all-frames.html
                     userscripts/user-script-top-frame-only.html
                     userscripts/user-style-all-frames.html
                     userscripts/user-style-top-frame-only.html
      
              * WebCore.base.exp: Update PageGroup method signatures.
              * dom/Document.cpp:
              (WebCore::Document::pageGroupUserSheets): Check allFrames before injecting.
              * page/Frame.cpp:
              (WebCore::Frame::injectUserScriptsForWorld): Ditto.
              * page/PageGroup.cpp:
              (WebCore::PageGroup::addUserScriptToWorld):
              (WebCore::PageGroup::addUserStyleSheetToWorld):
              * page/PageGroup.h:
              * page/UserScript.h:
              (WebCore::UserScript::UserScript):
              (WebCore::UserScript::injectedFrames):
              * page/UserScriptTypes.h:
              (WebCore::):
              * page/UserStyleSheet.h:
              (WebCore::UserStyleSheet::UserStyleSheet):
              (WebCore::UserStyleSheet::injectedFrames):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * public/WebView.h:
              (WebKit::WebView::):
              (WebKit::WebView::addUserScript):
              (WebKit::WebView::addUserStyleSheet):
              * src/AssertMatchingEnums.cpp:
              * src/WebViewImpl.cpp:
              (WebKit::WebView::addUserScript):
              (WebKit::WebView::addUserStyleSheet):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * WebView/WebView.mm:
              (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:]):
              (+[WebView _addUserScriptToGroup:world:source:url:whitelist:blacklist:injectionTime:injectedFrames:]):
              (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:]):
              (+[WebView _addUserStyleSheetToGroup:world:source:url:whitelist:blacklist:injectedFrames:]):
              * WebView/WebViewPrivate.h:
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * WebView.cpp:
              (WebView::addUserScriptToGroup):
              (WebView::addUserStyleSheetToGroup):
      2010-07-08  Aaron Boodman  <aa@chromium.org>
      
              Reviewed by Timothy Hatcher.
      
              Add the ability for user scripts and user styles to affect just the top frame.
      
              https://bugs.webkit.org/show_bug.cgi?id=41529
      
              * DumpRenderTree/LayoutTestController.h: Added new allFrames param.
              * DumpRenderTree/LayoutTestController.cpp: Ditto.
              (addUserScriptCallback):
              (addUserStyleSheetCallback):
              * DumpRenderTree/chromium/LayoutTestController.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp: Ditto.
              (LayoutTestController::addUserScript):
              (LayoutTestController::addUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      509c1c3d
  17. 01 Feb, 2010 1 commit
    • benm@google.com's avatar
      ScriptCallFrame's do not get line numbers/source id's if the caller is unkown. · b705a057
      benm@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34335
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      * bindings/js/ScriptCallStack.cpp:
      (WebCore::ScriptCallStack::ScriptCallStack): If the caller is unknown, the line number and source information is still availble so pass it to the ScriptCallFrame being constructed.
      
      LayoutTests: 
      
      Update layout tests that did not have source and line number information for their console messages, as this information is now available to the ScriptCallFrame and thus can be passed to the inspector, for example.
      
      * fast/js/console-non-string-values-expected.txt: Add console line number/source.
      * userscripts/script-not-run-for-fragments-expected.txt: ditto.
      * userscripts/script-run-at-start-expected.txt: ditto.
      * platform/gtk/inspector/console-log-before-inspector-open-expected.txt: Removed as platform workarounds no longer necessary.
      * platform/mac/inspector/console-log-before-inspector-open-expected.txt: ditto.
      * platform/win/inspector/console-log-before-inspector-open-expected.txt: ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b705a057
  18. 28 Jan, 2010 1 commit
    • hyatt@apple.com's avatar
      Fix for user stylesheet bugs where they get parsed using the wrong... · 0880de1d
      hyatt@apple.com authored
      Fix for user stylesheet bugs where they get parsed using the wrong compatibility mode.  This was a regression
      caused from Safari 3 -> 4 by the Acid3 fixes to create a real DOCTYPE in the DOM.
      
      Reviewed by Darin Adler.
      
      This patch makes style selector creation lazy, so that the selector isn't built unless someone asks for it.
      
      In order to avoid creating the style selector before the compatibility mode has been determined, document
      style is now created without having a dependence on an instantiated style selector.  The creation of the style
      is now done as a static method on CSSStyleSelector called styleForDocument, and a couple of font-related
      functions have been made static as well so that they can be used by this method.
      
      m_styleSelector on Document is now an OwnPtr.
      
      Added userscripts/mixed-case-stylesheet.html
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::styleForDocument):
      (WebCore::CSSStyleSelector::applyProperty):
      (WebCore::CSSStyleSelector::checkForGenericFamilyChange):
      (WebCore::CSSStyleSelector::setFontSize):
      (WebCore::CSSStyleSelector::getComputedSizeFromSpecifiedSize):
      (WebCore::CSSStyleSelector::fontSizeForKeyword):
      * css/CSSStyleSelector.h:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::~Document):
      (WebCore::Document::recalcStyle):
      (WebCore::Document::createStyleSelector):
      (WebCore::Document::attach):
      (WebCore::Document::setVisuallyOrdered):
      (WebCore::Document::recalcStyleSelector):
      * dom/Document.h:
      (WebCore::Document::styleSelector):
      (WebCore::Document::visuallyOrdered):
      * html/HTMLDocument.cpp:
      (WebCore::HTMLDocument::determineParseMode):
      * loader/PlaceholderDocument.cpp:
      (WebCore::PlaceholderDocument::attach):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@54005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0880de1d
  19. 27 Jan, 2010 1 commit
    • eric@webkit.org's avatar
      2010-01-27 Matt Perry <mpcomplete@chromium.org> · 47d962de
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              * userscripts/resources: Added.
              * userscripts/resources/blank.xhtml: Added.
              * userscripts/script-not-run-for-fragments-expected.txt: Added.
              * userscripts/script-not-run-for-fragments.html: Added.
              * userscripts/script-run-at-start-expected.txt: Added.
              * userscripts/script-run-at-start.html: Added.
      2010-01-27  Matt Perry  <mpcomplete@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents.
              https://bugs.webkit.org/show_bug.cgi?id=33920
      
              Tests: userscripts/script-not-run-for-fragments.html
                     userscripts/script-run-at-start.html
      
              * dom/XMLTokenizerLibxml2.cpp:
              (WebCore::XMLTokenizer::startElementNs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47d962de
  20. 09 Sep, 2009 1 commit
    • hyatt@apple.com's avatar
      WebCore: https://bugs.webkit.org/show_bug.cgi?id=29102, add support for user... · 63e0ac2f
      hyatt@apple.com authored
      WebCore: https://bugs.webkit.org/show_bug.cgi?id=29102, add support for user stylesheet injection.  This is similar
      to user script injection but allows for user stylesheets to be added.  The stylesheets are applied immediately
      to all Frames in the PageGroup.
      
      Reviewed by Adam Roben.
      
      Added userscripts/simple-stylesheet.html test case.
      
      * WebCore.base.exp:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::CSSStyleSelector):
      * css/CSSStyleSelector.h:
      * dom/Document.cpp:
      (WebCore::Document::Document):
      (WebCore::Document::attach):
      (WebCore::Document::pageGroupUserSheets):
      (WebCore::Document::clearPageGroupUserSheets):
      (WebCore::Document::recalcStyleSelector):
      * dom/Document.h:
      * loader/PlaceholderDocument.cpp:
      (WebCore::PlaceholderDocument::attach):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::addUserStyleSheet):
      (WebCore::PageGroup::removeUserContentForWorld):
      (WebCore::PageGroup::removeAllUserContent):
      * page/PageGroup.h:
      (WebCore::PageGroup::userStyleSheets):
      * page/UserStyleSheet.h: Added.
      (WebCore::UserStyleSheet::UserStyleSheet):
      (WebCore::UserStyleSheet::source):
      (WebCore::UserStyleSheet::url):
      (WebCore::UserStyleSheet::patterns):
      (WebCore::UserStyleSheet::worldID):
      * page/UserStyleSheetTypes.h: Added.
      
      WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=29102, add support for user stylesheet injection.  This is similar
      to user script injection but allows for user stylesheets to be added.  The stylesheets are applied immediately
      to all Frames in the PageGroup.
      
      Reviewed by Adam Roben.
      
      Added userscripts/simple-stylesheet.html test case.
      
      * WebView/WebView.mm:
      (+[WebView _addUserStyleSheetToGroup:source:url:worldID:patterns:]):
      * WebView/WebViewPrivate.h:
      
      LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=29102, add support for user stylesheet injection.  This is similar
      to user script injection but allows for user stylesheets to be added.  The stylesheets are applied immediately
      to all Frames in the PageGroup.
      
      Reviewed by Adam Roben.
      
      Added userscripts/simple-stylesheet.html test case.
      
      * platform/mac/userscripts/simple-stylesheet-expected.checksum: Added.
      * platform/mac/userscripts/simple-stylesheet-expected.png: Added.
      * platform/mac/userscripts/simple-stylesheet-expected.txt: Added.
      * userscripts/simple-stylesheet.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63e0ac2f
  21. 04 Sep, 2009 1 commit
    • hyatt@apple.com's avatar
      WebCore: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work. · 71960d78
      hyatt@apple.com authored
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * WebCore.base.exp:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      * bindings/js/ScriptController.h:
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      * bindings/v8/ScriptController.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::finishedParsing):
      (WebCore::FrameLoader::dispatchDocumentElementAvailable):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      (WebCore::Frame::injectUserScriptsForWorld):
      * page/Frame.h:
      * page/PageGroup.cpp:
      (WebCore::PageGroup::~PageGroup):
      (WebCore::PageGroup::addUserScript):
      (WebCore::PageGroup::removeUserContentForWorld):
      (WebCore::PageGroup::removeAllUserContent):
      * page/PageGroup.h:
      (WebCore::PageGroup::userScripts):
      * page/UserScript.h: Added.
      (WebCore::UserScript::UserScript):
      (WebCore::UserScript::source):
      (WebCore::UserScript::url):
      (WebCore::UserScript::patterns):
      (WebCore::UserScript::worldID):
      (WebCore::UserScript::injectionTime):
      * page/UserScriptTypes.h: Added.
      (WebCore::):
      
      WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work.
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * WebView/WebView.mm:
      (+[WebView _addUserScriptToGroup:source:url:worldID:patterns:injectionTime:]):
      (+[WebView _removeUserContentFromGroup:worldID:]):
      (+[WebView _removeAllUserContentFromGroup:]):
      * WebView/WebViewPrivate.h:
      
      LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=28890, make simple user script injection work.
              
      Reviewed by Adam Roben.
      
      This patch adds new API for adding and removing user scripts from page groups.  User scripts
      are bundled together in isolated worlds (you can have multiple scripts together in the same
      world).
      
      Added userscripts/ directory for holding new tests (along with a simple test of script injection).
      
      * platform/mac/userscripts: Added.
      * platform/mac/userscripts/script-run-at-end-expected.txt: Added.
      * userscripts: Added.
      * userscripts/script-run-at-end.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71960d78