[perf-test] Add 7 micro benchmarks for DOM bindings
https://bugs.webkit.org/show_bug.cgi?id=86816

Reviewed by Ryosuke Niwa.

We should remove Bindings/dom-attributes.html and instead add more
reasonable micro benchmarks by classifying DOM binding call paths.
This patch adds seven micro benchmarks for DOM bindings.

id-getter.html covers 'element.property' in Dromaeo/dom-attr.html,
'innerHTML' in Dromaeo/dom-modify.html, and other DOM attributes that
return a String.

id-setter.html covers 'element.property = value' in Dromaeo/dom-attr.html,
and other DOM attributes that sets a String.

undefined-id-getter.html covers undefined DOM attributes that return an empty String.

append-child.html covers 'appendChild' and 'removeChild' in Dromaeo/dom-modify.html.

insert-before.html covers 'insertBefore' in Dromaeo/dom-modify.html and replaceChild().

create-element.html covers 'createElement', 'createTextNode' and 'cloneNode'
in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.

node-list-access.html covers 'childNodes' in Dromaeo/dom-traverse.html,
and other DOM attributes that access NodeList.

Test results in my Linux desktop:

[id-getter]
RESULT Bindings: id-getter= 550.517821097 runs/s
median= 550.688360451 runs/s, stdev= 0.970723739106 runs/s, min= 548.628428928 runs/s, max= 552.070263488 runs/s

RESULT Bindings: id-getter= 550.655839847 runs/s
median= 550.688360451 runs/s, stdev= 1.03312821884 runs/s, min= 549.313358302 runs/s, max= 552.070263488 runs/s

RESULT Bindings: id-getter= 550.277753355 runs/s
median= 550.344180225 runs/s, stdev= 1.19960683464 runs/s, min= 547.945205479 runs/s, max= 552.070263488 runs/s

RESULT Bindings: id-getter= 550.072271009 runs/s
median= 550.344180225 runs/s, stdev= 1.38925152131 runs/s, min= 547.263681592 runs/s, max= 552.070263488 runs/s

RESULT Bindings: id-getter= 548.802050235 runs/s
median= 548.628428928 runs/s, stdev= 1.18244513683 runs/s, min= 545.905707196 runs/s, max= 550.688360451 runs/s

[id-setter]
RESULT Bindings: id-setter= 211.370591663 runs/s
median= 210.803689065 runs/s, stdev= 1.4555795889 runs/s, min= 209.973753281 runs/s, max= 214.285714286 runs/s

RESULT Bindings: id-setter= 215.439081352 runs/s
median= 214.797136038 runs/s, stdev= 1.50920388121 runs/s, min= 213.049267643 runs/s, max= 218.446601942 runs/s

RESULT Bindings: id-setter= 216.721698466 runs/s
median= 215.956886352 runs/s, stdev= 1.54090749644 runs/s, min= 214.285714286 runs/s, max= 219.78021978 runs/s

RESULT Bindings: id-setter= 216.343019087 runs/s
median= 215.827338129 runs/s, stdev= 1.46619894553 runs/s, min= 215.053763441 runs/s, max= 218.97810219 runs/s

RESULT Bindings: id-setter= 216.799288017 runs/s
median= 215.956886352 runs/s, stdev= 1.49100776978 runs/s, min= 215.311004785 runs/s, max= 219.78021978 runs/s

[undefined-id-getter]
RESULT Bindings: undefined-id-getter= 494.104255241 runs/s
median= 494.132368875 runs/s, stdev= 1.13092821109 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s

RESULT Bindings: undefined-id-getter= 493.921802916 runs/s
median= 493.827160494 runs/s, stdev= 1.25097443119 runs/s, min= 490.196078431 runs/s, max= 495.662949195 runs/s

RESULT Bindings: undefined-id-getter= 491.976485667 runs/s
median= 492.004920049 runs/s, stdev= 0.947090576896 runs/s, min= 490.196078431 runs/s, max= 493.827160494 runs/s

RESULT Bindings: undefined-id-getter= 491.987710185 runs/s
median= 494.132368875 runs/s, stdev= 8.66602543327 runs/s, min= 454.545454545 runs/s, max= 495.662949195 runs/s

RESULT Bindings: undefined-id-getter= 494.195515847 runs/s
median= 494.437577256 runs/s, stdev= 1.06135681702 runs/s, min= 490.797546012 runs/s, max= 495.662949195 runs/s

[append-child]
RESULT Bindings: append-child= 260.628237026 runs/s
median= 260.926399352 runs/s, stdev= 2.55231060598 runs/s, min= 256.739409499 runs/s, max= 265.604249668 runs/s

RESULT Bindings: append-child= 280.796193436 runs/s
median= 280.791435348 runs/s, stdev= 2.53961321867 runs/s, min= 277.427490542 runs/s, max= 286.085825748 runs/s

RESULT Bindings: append-child= 279.856209714 runs/s
median= 280.25477707 runs/s, stdev= 2.85447647301 runs/s, min= 275.344180225 runs/s, max= 284.237726098 runs/s

RESULT Bindings: append-child= 280.834502714 runs/s
median= 280.25477707 runs/s, stdev= 2.67738046429 runs/s, min= 277.427490542 runs/s, max= 287.206266319 runs/s

RESULT Bindings: append-child= 274.723872106 runs/s
median= 273.291925466 runs/s, stdev= 3.03671746706 runs/s, min= 272.614622057 runs/s, max= 282.413350449 runs/s

[insert-before]
RESULT Bindings: insert-before= 180.986913006 runs/s
median= 180.878552972 runs/s, stdev= 0.758038687299 runs/s, min= 180.18018018 runs/s, max= 183.968462549 runs/s

RESULT Bindings: insert-before= 186.339916144 runs/s
median= 186.170212766 runs/s, stdev= 0.869022097127 runs/s, min= 185.676392573 runs/s, max= 189.798339265 runs/s

RESULT Bindings: insert-before= 189.45344838 runs/s
median= 189.349112426 runs/s, stdev= 0.811854866567 runs/s, min= 187.79342723 runs/s, max= 192.539109507 runs/s

RESULT Bindings: insert-before= 189.363295991 runs/s
median= 189.349112426 runs/s, stdev= 0.75387713097 runs/s, min= 188.014101058 runs/s, max= 192.076830732 runs/s

RESULT Bindings: insert-before= 189.252041642 runs/s
median= 189.349112426 runs/s, stdev= 0.840447225363 runs/s, min= 187.573270809 runs/s, max= 192.076830732 runs/s

[create-element]
RESULT Bindings: create-element= 280.675830077 runs/s
median= 280.701824914 runs/s, stdev= 0.788606343054 runs/s, min= 279.441117764 runs/s, max= 282.542885974 runs/s

RESULT Bindings: create-element= 276.427631436 runs/s
median= 277.227722772 runs/s, stdev= 3.39874667549 runs/s, min= 262.417994377 runs/s, max= 279.162512463 runs/s

RESULT Bindings: create-element= 277.156894411 runs/s
median= 277.227722772 runs/s, stdev= 1.13255119226 runs/s, min= 274.914089347 runs/s, max= 278.884462151 runs/s

RESULT Bindings: create-element= 278.066825356 runs/s
median= 278.191822254 runs/s, stdev= 0.686497782792 runs/s, min= 276.953511375 runs/s, max= 279.162512463 runs/s

RESULT Bindings: create-element= 276.431538109 runs/s
median= 276.406712734 runs/s, stdev= 0.759593662298 runs/s, min= 275.229357798 runs/s, max= 278.053624628 runs/s

[node-list-access]
RESULT Bindings: node-list-access= 222.747504073 runs/s
median= 222.772277228 runs/s, stdev= 0.789027527555 runs/s, min= 221.674876847 runs/s, max= 224.159402242 runs/s

RESULT Bindings: node-list-access= 220.722448287 runs/s
median= 221.266217576 runs/s, stdev= 1.65463497875 runs/s, min= 217.391304348 runs/s, max= 222.222222222 runs/s

RESULT Bindings: node-list-access= 222.195870443 runs/s
median= 222.222222222 runs/s, stdev= 0.489709262091 runs/s, min= 221.13022113 runs/s, max= 223.048327138 runs/s

RESULT Bindings: node-list-access= 221.431121677 runs/s
median= 221.538545435 runs/s, stdev= 0.608292116087 runs/s, min= 220.048899756 runs/s, max= 222.772277228 runs/s

RESULT Bindings: node-list-access= 219.001367135 runs/s
median= 221.538545435 runs/s, stdev= 4.65773933007 runs/s, min= 209.973753281 runs/s, max= 222.496909765 runs/s

* Bindings/append-child.html: Added.
* Bindings/create-element.html: Added.
* Bindings/id-getter.html: Added.
* Bindings/id-setter.html: Added.
* Bindings/insert-before.html: Added.
* Bindings/node-list-access.html: Added.
* Bindings/undefined-id-getter.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: remove File abstraction from the AdvancedSearchController, migrate it to UISourceCode.
https://bugs.webkit.org/show_bug.cgi?id=86809

Reviewed by Yury Semikhatsky.

This change migrates AdvancedSearchController from "Object" to "UISourceCode".
I don't see why we need this abstraction and as a side effect, it makes search
across scripts work for styles.

* English.lproj/localizedStrings.js:
* inspector/front-end/AdvancedSearchController.js:
(WebInspector.SearchResult):
(WebInspector.FileBasedSearchResultsPane.prototype._createAnchor):
(WebInspector.FileBasedSearchResultsPane.prototype.addSearchResult):
(WebInspector.FileBasedSearchResultsPane.prototype._appendSearchMatches):
(WebInspector.FileBasedSearchResultsPane.prototype._regexMatchRanges):
(WebInspector.FileBasedSearchResultsPane.SearchResult):
* inspector/front-end/ScriptsSearchScope.js:
(WebInspector.ScriptsSearchScope.prototype.createSearchResultsPane):
* inspector/front-end/inspector.js:
(WebInspector._registerShortcuts):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r117556.
http://trac.webkit.org/changeset/117556
https://bugs.webkit.org/show_bug.cgi?id=86825

Wrong fix. IE still adds 1px padding. We're missing that in
textarea (Requested by rniwa on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-18

Source/WebCore:

* css/html.css:
(input::-webkit-input-placeholder, isindex::-webkit-input-placeholder):
* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::createInnerTextStyle):

LayoutTests:

* fast/forms/input-textarea-padding-match-expected.html: Removed.
* fast/forms/input-textarea-padding-match.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r117557.
http://trac.webkit.org/changeset/117557
https://bugs.webkit.org/show_bug.cgi?id=86826

Wrong rebaseline per rolling out 117556 (Requested by rniwa on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-18

* platform/mac/css3/selectors3/html/css3-modsel-23-expected.txt:
* platform/mac/css3/selectors3/html/css3-modsel-69-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-23-expected.txt:
* platform/mac/css3/selectors3/xhtml/css3-modsel-69-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-23-expected.txt:
* platform/mac/css3/selectors3/xml/css3-modsel-69-expected.txt:
* platform/mac/editing/input/caret-at-the-edge-of-input-expected.txt:
* platform/mac/editing/inserting/before-after-input-element-expected.txt:
* platform/mac/editing/pasteboard/4806874-expected.txt:
* platform/mac/editing/pasteboard/drop-text-without-selection-expected.png:
* platform/mac/editing/pasteboard/drop-text-without-selection-expected.txt:
* platform/mac/editing/pasteboard/input-field-1-expected.txt:
* platform/mac/editing/selection/3690703-2-expected.png:
* platform/mac/editing/selection/3690703-2-expected.txt:
* platform/mac/editing/selection/3690703-expected.txt:
* platform/mac/editing/selection/3690719-expected.txt:
* platform/mac/editing/selection/4895428-3-expected.txt:
* platform/mac/editing/selection/4975120-expected.txt:
* platform/mac/editing/selection/drag-select-1-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-1-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-2-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-3-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-4-expected.txt:
* platform/mac/editing/selection/select-across-readonly-input-5-expected.txt:
* platform/mac/editing/selection/select-from-textfield-outwards-expected.png:
* platform/mac/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/mac/fast/css/input-search-padding-expected.txt:
* platform/mac/fast/css/line-height-expected.txt:
* platform/mac/fast/css/text-input-with-webkit-border-radius-expected.txt:
* platform/mac/fast/css/text-overflow-input-expected.txt:
* platform/mac/fast/dom/isindex-001-expected.txt:
* platform/mac/fast/dom/isindex-002-expected.txt:
* platform/mac/fast/events/autoscroll-expected.png:
* platform/mac/fast/events/autoscroll-expected.txt:
* platform/mac/fast/events/context-no-deselect-expected.txt:
* platform/mac/fast/forms/basic-inputs-expected.txt:
* platform/mac/fast/forms/control-restrict-line-height-expected.txt:
* platform/mac/fast/forms/encoding-test-expected.txt:
* platform/mac/fast/forms/fieldset-align-expected.txt:
* platform/mac/fast/forms/floating-textfield-relayout-expected.txt:
* platform/mac/fast/forms/form-element-geometry-expected.txt:
* platform/mac/fast/forms/input-align-expected.png:
* platform/mac/fast/forms/input-align-expected.txt:
* platform/mac/fast/forms/input-appearance-bkcolor-expected.txt:
* platform/mac/fast/forms/input-appearance-default-bkcolor-expected.txt:
* platform/mac/fast/forms/input-appearance-disabled-expected.png:
* platform/mac/fast/forms/input-appearance-disabled-expected.txt:
* platform/mac/fast/forms/input-appearance-focus-expected.png:
* platform/mac/fast/forms/input-appearance-focus-expected.txt:
* platform/mac/fast/forms/input-appearance-height-expected.txt:
* platform/mac/fast/forms/input-appearance-preventDefault-expected.txt:
* platform/mac/fast/forms/input-appearance-readonly-expected.txt:
* platform/mac/fast/forms/input-appearance-selection-expected.txt:
* platform/mac/fast/forms/input-appearance-visibility-expected.txt:
* platform/mac/fast/forms/input-appearance-width-expected.png:
* platform/mac/fast/forms/input-appearance-width-expected.txt:
* platform/mac/fast/forms/input-baseline-expected.png:
* platform/mac/fast/forms/input-baseline-expected.txt:
* platform/mac/fast/forms/input-disabled-color-expected.png:
* platform/mac/fast/forms/input-disabled-color-expected.txt:
* platform/mac/fast/forms/input-double-click-selection-gap-bug-expected.png:
* platform/mac/fast/forms/input-double-click-selection-gap-bug-expected.txt:
* platform/mac/fast/forms/input-field-text-truncated-expected.txt:
* platform/mac/fast/forms/input-placeholder-visibility-1-expected.txt:
* platform/mac/fast/forms/input-placeholder-visibility-3-expected.txt:
* platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
* platform/mac/fast/forms/input-readonly-dimmed-expected.txt:
* platform/mac/fast/forms/input-readonly-empty-expected.txt:
* platform/mac/fast/forms/input-spaces-expected.txt:
* platform/mac/fast/forms/input-table-expected.txt:
* platform/mac/fast/forms/input-text-click-inside-expected.txt:
* platform/mac/fast/forms/input-text-click-outside-expected.txt:
* platform/mac/fast/forms/input-text-double-click-expected.txt:
* platform/mac/fast/forms/input-text-drag-down-expected.txt:
* platform/mac/fast/forms/input-text-option-delete-expected.txt:
* platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
* platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
* platform/mac/fast/forms/input-text-word-wrap-expected.txt:
* platform/mac/fast/forms/input-type-text-min-width-expected.txt:
* platform/mac/fast/forms/input-value-expected.txt:
* platform/mac/fast/forms/input-width-expected.txt:
* platform/mac/fast/forms/minWidthPercent-expected.txt:
* platform/mac/fast/forms/number/input-appearance-number-rtl-expected.png:
* platform/mac/fast/forms/number/input-appearance-number-rtl-expected.txt:
* platform/mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
* platform/mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt:
* platform/mac/fast/forms/number/input-appearance-spinbutton-layer-expected.txt:
* platform/mac/fast/forms/placeholder-position-expected.txt:
* platform/mac/fast/forms/placeholder-pseudo-style-expected.png:
* platform/mac/fast/forms/placeholder-pseudo-style-expected.txt:
* platform/mac/fast/forms/plaintext-mode-2-expected.txt:
* platform/mac/fast/forms/search-cancel-button-style-sharing-expected.txt:
* platform/mac/fast/forms/search-display-none-cancel-button-expected.txt:
* platform/mac/fast/forms/search-rtl-expected.png:
* platform/mac/fast/forms/search-rtl-expected.txt:
* platform/mac/fast/forms/search-styled-expected.txt:
* platform/mac/fast/forms/search-vertical-alignment-expected.txt:
* platform/mac/fast/forms/searchfield-heights-expected.txt:
* platform/mac/fast/forms/select-empty-option-height-expected.txt:
* platform/mac/fast/forms/tabbing-input-iframe-expected.png:
* platform/mac/fast/forms/tabbing-input-iframe-expected.txt:
* platform/mac/fast/forms/text-control-intrinsic-widths-expected.txt:
* platform/mac/fast/forms/text-style-color-expected.png:
* platform/mac/fast/forms/text-style-color-expected.txt:
* platform/mac/fast/forms/textfield-focus-ring-expected.txt:
* platform/mac/fast/forms/textfield-outline-expected.txt:
* platform/mac/fast/forms/textfield-overflow-expected.txt:
* platform/mac/fast/forms/validation-message-appearance-expected.png:
* platform/mac/fast/forms/validation-message-appearance-expected.txt:
* platform/mac/fast/forms/visual-hebrew-text-field-expected.txt:
* platform/mac/fast/frames/take-focus-from-iframe-expected.txt:
* platform/mac/fast/html/details-no-summary4-expected.txt:
* platform/mac/fast/html/details-open-javascript-expected.txt:
* platform/mac/fast/html/details-open2-expected.txt:
* platform/mac/fast/html/details-open4-expected.txt:
* platform/mac/fast/lists/dynamic-marker-crash-expected.txt:
* platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.txt:
* platform/mac/fast/replaced/replaced-breaking-expected.txt:
* platform/mac/fast/replaced/replaced-breaking-mixture-expected.txt:
* platform/mac/fast/replaced/width100percent-textfield-expected.txt:
* platform/mac/fast/speech/speech-bidi-rendering-expected.txt:
* platform/mac/fast/table/003-expected.txt:
* platform/mac/fast/table/colspanMinWidth-expected.txt:
* platform/mac/fast/table/spanOverlapRepaint-expected.txt:
* platform/mac/fast/table/text-field-baseline-expected.txt:
* platform/mac/fast/text/textIteratorNilRenderer-expected.txt:
* platform/mac/fast/transforms/transformed-focused-text-input-expected.txt:
* platform/mac/http/tests/navigation/javascriptlink-frames-expected.txt:
* platform/mac/plugins/mouse-click-plugin-clears-selection-expected.txt:
* platform/mac/svg/custom/inline-svg-in-xhtml-expected.txt:
* platform/mac/svg/hixie/mixed/003-expected.txt:
* platform/mac/tables/mozilla/bugs/bug1188-expected.txt:
* platform/mac/tables/mozilla/bugs/bug12384-expected.txt:
* platform/mac/tables/mozilla/bugs/bug18359-expected.txt:
* platform/mac/tables/mozilla/bugs/bug24200-expected.txt:
* platform/mac/tables/mozilla/bugs/bug2479-3-expected.txt:
* platform/mac/tables/mozilla/bugs/bug2479-4-expected.txt:
* platform/mac/tables/mozilla/bugs/bug28928-expected.txt:
* platform/mac/tables/mozilla/bugs/bug4382-expected.txt:
* platform/mac/tables/mozilla/bugs/bug4527-expected.txt:
* platform/mac/tables/mozilla/bugs/bug46368-1-expected.txt:
* platform/mac/tables/mozilla/bugs/bug46368-2-expected.txt:
* platform/mac/tables/mozilla/bugs/bug51037-expected.txt:
* platform/mac/tables/mozilla/bugs/bug55545-expected.txt:
* platform/mac/tables/mozilla/bugs/bug59354-expected.txt:
* platform/mac/tables/mozilla/bugs/bug7342-expected.txt:
* platform/mac/tables/mozilla/bugs/bug96334-expected.txt:
* platform/mac/tables/mozilla/bugs/bug99948-expected.txt:
* platform/mac/tables/mozilla/dom/tableDom-expected.txt:
* platform/mac/tables/mozilla/other/move_row-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug92647-1-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r117558.
http://trac.webkit.org/changeset/117558
https://bugs.webkit.org/show_bug.cgi?id=86827

Wrong rebaseline per rolling out 117556 (Requested by rniwa on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-05-18

* platform/mac-snowleopard/fast/forms/basic-inputs-expected.png:
* platform/mac-snowleopard/fast/forms/form-element-geometry-expected.png:
* platform/mac-snowleopard/fast/forms/input-appearance-height-expected.png:
* platform/mac-snowleopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
* platform/mac-snowleopard/fast/forms/input-value-expected.png:
* platform/mac-snowleopard/fast/forms/placeholder-position-expected.png:
* platform/mac-snowleopard/fast/forms/plaintext-mode-2-expected.png:
* platform/mac-snowleopard/fast/forms/search-vertical-alignment-expected.png:
* svg/custom/svg-fonts-in-text-controls-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[perf-test] Add a binding benchmark for getElementsByTagName()
https://bugs.webkit.org/show_bug.cgi?id=86810

Reviewed by Ryosuke Niwa.

We should remove Bindings/dom-attributes.html and instead add more
reasonable micro benchmarks by classifying DOM binding call paths.

This patch adds a benchmark for document.getElementsByTagName().
This benchmark covers 'getElementsByTagName (not in document)',
'getElementsByTagName', 'getElementsByName (not in document)'
and 'getElementsByName' in Dromaeo/dom-query.html, and other DOM
methods that return a NodeList.

Test results in my Linux desktop:

RESULT Bindings: get-elements-by-tag-name= 364.542328875 runs/s
median= 366.972477064 runs/s, stdev= 5.25387955333 runs/s, min= 351.317440402 runs/s, max= 368.421052632 runs/s

RESULT Bindings: get-elements-by-tag-name= 364.341569369 runs/s
median= 366.492146597 runs/s, stdev= 4.867374197 runs/s, min= 352.644836272 runs/s, max= 367.936925099 runs/s

RESULT Bindings: get-elements-by-tag-name= 363.924242967 runs/s
median= 366.013071895 runs/s, stdev= 5.16768212289 runs/s, min= 351.317440402 runs/s, max= 367.936925099 runs/s

RESULT Bindings: get-elements-by-tag-name= 365.332594438 runs/s
median= 367.454068241 runs/s, stdev= 6.17046918572 runs/s, min= 350.0 runs/s, max= 370.37037037 runs/s

RESULT Bindings: get-elements-by-tag-name= 363.999514324 runs/s
median= 366.492146597 runs/s, stdev= 5.31235674905 runs/s, min= 350.877192982 runs/s, max= 368.421052632 runs/s

* Bindings/get-elements-by-tag-name.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[perf-test] Add a binding benchmark for getElementById() for an undefined id
https://bugs.webkit.org/show_bug.cgi?id=86812

Reviewed by Ryosuke Niwa.

We should remove Bindings/dom-attributes.html and instead add more
reasonable micro benchmarks by classifying DOM binding call paths.

This patch adds a benchmark for document.getElementById() for an undefined id.
This benchmark covers 'getElementById (not in document)' in Dromaeo/dom-query.html,
and other Node-query methods that return a null.'

(Note: This benchmark is slower than document.getElementById() for a defined id.
We will fix the performance issue soon.)

Test results in my Linux desktop:

RESULT Bindings: undefined-get-element-by-id= 271.945751345 runs/s
median= 273.122389532 runs/s, stdev= 6.78219237299 runs/s, min= 257.4002574 runs/s, max= 281.690140845 runs/s

RESULT Bindings: undefined-get-element-by-id= 269.105872408 runs/s
median= 268.948655257 runs/s, stdev= 5.73707323755 runs/s, min= 257.4002574 runs/s, max= 278.128950695 runs/s

RESULT Bindings: undefined-get-element-by-id= 269.987513372 runs/s
median= 272.952853598 runs/s, stdev= 5.30252336078 runs/s, min= 255.754475703 runs/s, max= 273.97260274 runs/s

RESULT Bindings: undefined-get-element-by-id= 270.169625901 runs/s
median= 271.604938272 runs/s, stdev= 5.29502391906 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s

RESULT Bindings: undefined-get-element-by-id= 269.054631422 runs/s
median= 267.966292802 runs/s, stdev= 6.27197240579 runs/s, min= 258.064516129 runs/s, max= 278.481012658 runs/s

* Bindings/undefined-get-element-by-id.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r117559.
http://trac.webkit.org/changeset/117559

Wrong rebaseline per rolling out 117556

* platform/chromium-mac-snowleopard/editing/input/caret-at-the-edge-of-input-expected.png:
* platform/chromium-mac-snowleopard/editing/inserting/before-after-input-element-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/4806874-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/drop-text-without-selection-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/input-field-1-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/3690703-2-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/3690703-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/3690719-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/4895428-3-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/4975120-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/drag-select-1-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-1-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-2-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-3-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-4-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-5-expected.png:
* platform/chromium-mac-snowleopard/editing/selection/select-from-textfield-outwards-expected.png:
* platform/chromium-mac-snowleopard/fast/css/input-search-padding-expected.png:
* platform/chromium-mac-snowleopard/fast/css/line-height-expected.png:
* platform/chromium-mac-snowleopard/fast/css/text-input-with-webkit-border-radius-expected.png: Modified property svn:mime-type.
* platform/chromium-mac-snowleopard/fast/css/text-overflow-input-expected.png: Modified property svn:mime-type.
* platform/chromium-mac-snowleopard/fast/dom/isindex-001-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/isindex-002-expected.png:
* platform/chromium-mac-snowleopard/fast/events/autoscroll-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/HTMLOptionElement_label06-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/HTMLOptionElement_label07-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/basic-inputs-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/box-shadow-override-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/button-submit-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/control-restrict-line-height-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/encoding-test-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/fieldset-align-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/floating-textfield-relayout-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/form-in-malformed-markup-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-align-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-bkcolor-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-default-bkcolor-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-disabled-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-focus-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-height-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-preventDefault-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-readonly-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-selection-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-visibility-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-appearance-width-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-baseline-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-disabled-color-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-field-text-truncated-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-1-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-3-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-dimmed-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-readonly-empty-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-spaces-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-table-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-click-inside-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-click-outside-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-double-click-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-drag-down-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-option-delete-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-self-emptying-click-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-text-word-wrap-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-type-text-min-width-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-value-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-width-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/minWidthPercent-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-number-rtl-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/placeholder-pseudo-style-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/plaintext-mode-2-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/range/input-appearance-range-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/range/range-thumb-height-percentage-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/search-cancel-button-style-sharing-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/search-display-none-cancel-button-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/search-rtl-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/search-styled-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/search-vertical-alignment-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/searchfield-heights-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/tabbing-input-iframe-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/text-style-color-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textfield-focus-ring-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textfield-outline-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/validation-message-appearance-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/visual-hebrew-text-field-expected.png:
* platform/chromium-mac-snowleopard/fast/frames/take-focus-from-iframe-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-no-summary4-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open-javascript-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open2-expected.png:
* platform/chromium-mac-snowleopard/fast/html/details-open4-expected.png:
* platform/chromium-mac-snowleopard/fast/lists/dynamic-marker-crash-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/replaced-breaking-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/replaced-breaking-mixture-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/width100percent-textfield-expected.png:
* platform/chromium-mac-snowleopard/fast/speech/input-appearance-numberandspeech-expected.png:
* platform/chromium-mac-snowleopard/fast/speech/input-appearance-searchandspeech-expected.png:
* platform/chromium-mac-snowleopard/fast/speech/input-appearance-searchandspeech-expected.txt:
* platform/chromium-mac-snowleopard/fast/speech/input-appearance-speechbutton-expected.png:
* platform/chromium-mac-snowleopard/fast/speech/speech-bidi-rendering-expected.png:
* platform/chromium-mac-snowleopard/fast/table/003-expected.png:
* platform/chromium-mac-snowleopard/fast/table/colspanMinWidth-expected.png:
* platform/chromium-mac-snowleopard/fast/table/text-field-baseline-expected.png:
* platform/chromium-mac-snowleopard/fast/text/textIteratorNilRenderer-expected.png:
* platform/chromium-mac-snowleopard/http/tests/navigation/javascriptlink-frames-expected.png:
* platform/chromium-mac-snowleopard/svg/custom/inline-svg-in-xhtml-expected.png:
* platform/chromium-mac-snowleopard/svg/hixie/mixed/003-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug1188-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug12384-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug24200-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2479-2-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2479-3-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug28928-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4382-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4527-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-1-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-2-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug51037-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug55545-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug59354-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug96334-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug99948-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/dom/tableDom-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/other/move_row-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-23-expected.png:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-24-expected.png:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-24-expected.txt:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-68-expected.png:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-68-expected.txt:
* platform/chromium-mac/css3/selectors3/html/css3-modsel-69-expected.png:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-23-expected.png:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-24-expected.png:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-24-expected.txt:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-68-expected.png:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-68-expected.txt:
* platform/chromium-mac/css3/selectors3/xhtml/css3-modsel-69-expected.png:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-23-expected.png:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-24-expected.png:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-24-expected.txt:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-68-expected.png:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-68-expected.txt:
* platform/chromium-mac/css3/selectors3/xml/css3-modsel-69-expected.png:
* platform/chromium-mac/editing/selection/select-from-textfield-outwards-expected.txt:
* platform/chromium-mac/fast/events/context-no-deselect-expected.png:
* platform/chromium-mac/fast/forms/basic-inputs-expected.txt:
* platform/chromium-mac/fast/forms/box-shadow-override-expected.txt:
* platform/chromium-mac/fast/forms/date/date-appearance-expected.png:
* platform/chromium-mac/fast/forms/date/date-appearance-expected.txt:
* platform/chromium-mac/fast/forms/form-element-geometry-expected.txt:
* platform/chromium-mac/fast/forms/input-appearance-disabled-expected.txt:
* platform/chromium-mac/fast/forms/input-appearance-height-expected.txt:
* platform/chromium-mac/fast/forms/input-disabled-color-expected.txt:
* platform/chromium-mac/fast/forms/input-value-expected.txt:
* platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.txt:
* platform/chromium-mac/fast/forms/placeholder-pseudo-style-expected.txt:
* platform/chromium-mac/fast/forms/textfield-overflow-expected.png:
* platform/chromium-mac/fast/forms/validation-message-appearance-expected.txt:
* platform/chromium-mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png: Modified property svn:mime-type.
* platform/chromium-mac/fast/speech/input-appearance-numberandspeech-expected.txt:
* platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt:
* platform/chromium-mac/fast/table/spanOverlapRepaint-expected.png:
* platform/chromium-mac/fast/transforms/transformed-focused-text-input-expected.png:
* platform/chromium-mac/plugins/mouse-click-plugin-clears-selection-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug2479-2-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: add ContentProvider::contentType and use it when rendering navigator tree.
https://bugs.webkit.org/show_bug.cgi?id=86833

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Added ContentProvider::contentType, regactored NavigatorView to use the icon defined by the content type.

* inspector/front-end/CompilerScriptMapping.js:
* inspector/front-end/ContentProvider.js:
(WebInspector.ContentProvider.prototype.contentType):
* inspector/front-end/ContentProviders.js:
(WebInspector.ConcatenatedScriptsContentProvider.prototype.contentType):
(WebInspector.CompilerSourceMappingContentProvider):
(WebInspector.CompilerSourceMappingContentProvider.prototype.contentType):
(WebInspector.CompilerSourceMappingContentProvider.prototype.requestContent):
(WebInspector.StaticContentProvider):
(WebInspector.StaticContentProvider.prototype.contentType):
(WebInspector.StaticContentProvider.prototype.requestContent):
* inspector/front-end/NavigatorView.js:
(WebInspector.NavigatorTreeOutline.prototype.scriptTreeElements):
(WebInspector.NavigatorSourceTreeElement):
* inspector/front-end/NetworkRequest.js:
(WebInspector.NetworkRequest.prototype.contentType):
* inspector/front-end/Resource.js:
(WebInspector.Resource.prototype.contentType):
(WebInspector.Resource.prototype.canonicalMimeType):
(WebInspector.ResourceRevision.prototype.contentType):
* inspector/front-end/ResourceType.js:
(WebInspector.ResourceType.prototype.toString):
(WebInspector.ResourceType.prototype.canonicalMimeType):
* inspector/front-end/Script.js:
(WebInspector.Script.prototype.contentType):
* inspector/front-end/ScriptSnippetModel.js:
(WebInspector.SnippetContentProvider):
* inspector/front-end/StylesPanel.js:
* inspector/front-end/UISourceCode.js:
(WebInspector.UISourceCode.prototype.contentType):
* inspector/front-end/navigatorView.css:
(.navigator-stylesheet-tree-item .icon):
(.navigator-document-tree-item .icon):

LayoutTests:

* http/tests/inspector/search/search-in-static.html:
* inspector/debugger/scripts-file-selector.html:
* inspector/debugger/scripts-panel.html:
* inspector/debugger/scripts-sorting.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=85515
Stale frame in WebCore::SpellChecker::didCheckSucceeded

Source/WebCore:

Reviewed by Ryosuke Niwa.

Added EditorClient::frameWillDetachPage() notification to give a
change to invalidate pending spellcheck requests on the client.

Test: editing/spelling/spellcheck-async-remove-frame.html

* editing/Editor.cpp:
(WebCore::Editor::Editor):
* editing/Editor.h:
(Editor):
* loader/EmptyClients.h:
(WebCore::EmptyEditorClient::frameWillDetachPage):
* page/EditorClient.h:
(EditorClient):

Source/WebKit/blackberry:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/EditorClientBlackBerry.h:
(WebCore::EditorClientBlackBerry::frameWillDetachPage):

Source/WebKit/chromium:

Added WebTextCheckingCompletionImpl::invalidate() to mark
pending spellcheck request as invalid, and added frameWillDetachPage()
to fire it.

Reviewed by Ryosuke Niwa.

* src/EditorClientImpl.cpp:
(WebKit::EditorClientImpl::frameWillDetachPage):
(WebKit):
(WebKit::EditorClientImpl::requestCheckingOfString):
(WebKit::EditorClientImpl::didCheckString):
* src/EditorClientImpl.h:
(WebKit):
(EditorClientImpl):
* src/WebTextCheckingCompletionImpl.cpp:
(WebKit::WebTextCheckingCompletionImpl::didFinishCheckingText):
(WebKit::WebTextCheckingCompletionImpl::didCancelCheckingText):
(WebKit::WebTextCheckingCompletionImpl::invalidate):
(WebKit):
* src/WebTextCheckingCompletionImpl.h:
(WebKit):
(WebKit::WebTextCheckingCompletionImpl::WebTextCheckingCompletionImpl):
(WebTextCheckingCompletionImpl):
(WebKit::WebTextCheckingCompletionImpl::spellChecker):

Source/WebKit/efl:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/EditorClientEfl.h:
(WebCore::EditorClientEfl::frameWillDetachPage):

Source/WebKit/gtk:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/EditorClientGtk.h:
(WebKit::EditorClient::frameWillDetachPage):

Source/WebKit/mac:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/WebEditorClient.h:

Source/WebKit/qt:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/EditorClientQt.h:
(WebCore::EditorClientQt::frameWillDetachPage):

Source/WebKit/win:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/WebEditorClient.h:
(WebEditorClient::frameWillDetachPage):

Source/WebKit/wince:

Reviewed by Ryosuke Niwa.

* WebCoreSupport/EditorClientWinCE.h:
(WebKit::EditorClientWinCE::frameWillDetachPage):

Source/WebKit/wx:

Reviewed by Ryosuke Niwa.

* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::frameWillDetachPage):

LayoutTests:

Reviewed by Ryosuke Niwa.

* editing/spelling/spellcheck-async-remove-frame-expected.txt: Added.
* editing/spelling/spellcheck-async-remove-frame.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [DRT] Add baselines for new tests added in r117477 and r117339
https://bugs.webkit.org/show_bug.cgi?id=86834

Unreviewed, add EFL baselines for new tests added in r117477 and
r117339.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-18

* platform/efl/css2.1/20110323/inline-table-001-expected.png: Added.
* platform/efl/css2.1/20110323/inline-table-001-expected.txt: Added.
* platform/efl/css2.1/20110323/inline-table-002a-expected.png: Added.
* platform/efl/css2.1/20110323/inline-table-002a-expected.txt: Added.
* platform/efl/css2.1/20110323/inline-table-003-expected.png: Added.
* platform/efl/css2.1/20110323/inline-table-003-expected.txt: Added.
* platform/efl/css2.1/20110323/table-height-algorithm-023-expected.png: Added.
* platform/efl/css2.1/20110323/table-height-algorithm-023-expected.txt: Added.
* platform/efl/css2.1/20110323/table-height-algorithm-024-expected.png: Added.
* platform/efl/css2.1/20110323/table-height-algorithm-024-expected.txt: Added.
* platform/efl/fast/table/mozilla-bug10296-vertical-align-1-expected.png: Added.
* platform/efl/fast/table/mozilla-bug10296-vertical-align-1-expected.txt: Added.
* platform/efl/fast/table/mozilla-bug10296-vertical-align-2-expected.png: Added.
* platform/efl/fast/table/mozilla-bug10296-vertical-align-2-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed attempt to fix build breakage on r117572

* editing/Editor.cpp:
(WebCore::Editor::willDetachPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Another unreviewed attempt to fix build breakage on r117572.

Source/WebKit/gtk:

* WebCoreSupport/EditorClientGtk.h:
(WebKit::EditorClient::frameWillDetachPage):

Source/WebKit/mac:

* WebCoreSupport/WebEditorClient.h:

Source/WebKit/win:

* WebCoreSupport/WebEditorClient.h:
(WebEditorClient::frameWillDetachPage):

Source/WebKit/wince:

* WebCoreSupport/EditorClientWinCE.h:
(WebKit::EditorClientWinCE::frameWillDetachPage):

Source/WebKit/wx:

* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::frameWillDetachPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html crashes regularly
https://bugs.webkit.org/show_bug.cgi?id=79656

Unreviewed gardening. Unskip tests, maybe they aren't flakey now.

* platform/qt-5.0-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] [DRT] media/media-document-audio-repaint.html needs rebaselining after r117326
https://bugs.webkit.org/show_bug.cgi?id=86839

Unreviewed gardening, EFL rebaseline after r117326.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-18

* platform/efl/media/media-document-audio-repaint-expected.png:
* platform/efl/media/media-document-audio-repaint-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Yet another unreviewed build fix on r117572, this time for wk2...

* WebProcess/WebCoreSupport/WebEditorClient.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8][Refactoring] Remove V8Proxy::throwError(const char*, ErrorType, v8::Isolate*=0)
https://bugs.webkit.org/show_bug.cgi?id=86802

Reviewed by Adam Barth.

As commented here (https://bugs.webkit.org/show_bug.cgi?id=84074#c5),
I am refactoring a series of confusing throwError()s. This would be
the final patch for the refactoring.

This patch removes V8Proxy::throwError(const char*, ErrorType, v8::Isolate*=0).
Also this patch refactors up a couple of throwError()s that I've forgot to
refactor in the previous patches.

No tests. No change in behavior.

* bindings/v8/V8NodeFilterCondition.cpp:
(WebCore::V8NodeFilterCondition::acceptNode):
* bindings/v8/V8Proxy.h:
* bindings/v8/custom/V8ArrayBufferCustom.cpp:
(WebCore::V8ArrayBuffer::constructorCallback):
* bindings/v8/custom/V8ArrayBufferViewCustom.h:
(WebCore::constructWebGLArray):
* bindings/v8/custom/V8SQLResultSetRowListCustom.cpp:
(WebCore::V8SQLResultSetRowList::itemCallback):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Cleaning skip list. Unskip passing tests.

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-05-18
Reviewed by Csaba Osztrogonác.

* platform/qt-5.0-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: remove unnecessary indirection from profile types
https://bugs.webkit.org/show_bug.cgi?id=86845

Reviewed by Pavel Feldman.

Source/WebCore:

Introduced CSSProfileHeader and CPUProfileHeader, moved view creation from
the type to corresponding profile headers. Removed some inderection and
private fields assigned in random places. Added type annotations.

* inspector/front-end/CPUProfileView.js:
(WebInspector.CPUProfileType.prototype.createTemporaryProfile):
(WebInspector.CPUProfileType.prototype.createProfile):
(WebInspector.CPUProfileHeader):
(WebInspector.CPUProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.CPUProfileHeader.prototype.createView):
* inspector/front-end/CSSSelectorProfileView.js:
(WebInspector.CSSSelectorProfileType.prototype.stopRecordingProfile):
(WebInspector.CSSSelectorProfileType.prototype.createTemporaryProfile):
(WebInspector.CSSSelectorProfileType.prototype.createProfile):
(WebInspector.CSSProfileHeader):
(WebInspector.CSSProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.CSSProfileHeader.prototype.createView):
* inspector/front-end/HeapSnapshotView.js:
(WebInspector.HeapSnapshotProfileType.prototype.createTemporaryProfile):
(WebInspector.HeapSnapshotProfileType.prototype.createProfile):
(WebInspector.HeapProfileHeader):
(WebInspector.HeapProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.HeapProfileHeader.prototype.createView):
(WebInspector.HeapProfileHeader.prototype.load):
(WebInspector.HeapProfileHeader.prototype.saveToFile):
* inspector/front-end/ProfileLauncherView.js:
(WebInspector.ProfileLauncherView):
(WebInspector.ProfileLauncherView.prototype.addProfileType):
(WebInspector.ProfileLauncherView.prototype._profileTypeChanged):
* inspector/front-end/ProfilesPanel.js:
(WebInspector.ProfileType):
(WebInspector.ProfileHeader):
(WebInspector.ProfileHeader.prototype.profileType):
(WebInspector.ProfileHeader.prototype.createSidebarTreeElement):
(WebInspector.ProfileHeader.prototype.existingView):
(WebInspector.ProfileHeader.prototype.view):
(WebInspector.ProfileHeader.prototype.createView):
(WebInspector.ProfilesPanel.prototype._reset):
(WebInspector.ProfilesPanel.prototype.addProfileHeader):
(WebInspector.ProfilesPanel.prototype._removeProfileHeader):
(WebInspector.ProfilesPanel.prototype.showProfile):
(WebInspector.ProfilesPanel.prototype.getProfiles):
(WebInspector.ProfilesPanel.prototype.findTemporaryProfile):
(WebInspector.ProfilesPanel.prototype._searchableViews):
* inspector/front-end/View.js:
(WebInspector.View._assert):

LayoutTests:

* inspector/profiler/heap-snapshot-test.js:
(initialize_HeapSnapshotTest):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: exception in console when pressing % button in CPU profile view
https://bugs.webkit.org/show_bug.cgi?id=86849

Reviewed by Pavel Feldman.

Use root node to get children, not DataGrid object.

* inspector/front-end/CPUProfileView.js:
(WebInspector.CPUProfileView.prototype.refreshVisibleData):

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