Add ability for JSArray::unshiftCount to unshift in middle of an array
https://bugs.webkit.org/show_bug.cgi?id=97691

Reviewed by Filip Pizlo.

Changed JSArray::unshiftCount and unshiftCountSlowCase to handle unshifting from the middle of an
array.  Depending on where the unshift point is, either the front part of the array will be moved
"left" or the back part will be moved right.  Given that unshiftCount only works on contiguous
arrays it is safe to use memmove for the moves.

This change is worth 25% performance improvement on pdfjs.  It doesn't seem to have any impact on
any other benchmarks.

* runtime/ArrayPrototype.cpp:
(JSC::unshift):
* runtime/JSArray.cpp:
(JSC::JSArray::unshiftCountSlowCase):
(JSC::JSArray::unshiftCount):
* runtime/JSArray.h:
(JSArray):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r129521.
http://trac.webkit.org/changeset/129521
https://bugs.webkit.org/show_bug.cgi?id=97710

Broke autocomplete on enter_bug.cgi (Requested by abarth on
#webkit).

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

* committers-autocomplete.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Rebase a few of Mozilla's tests in tables/ for Android.

Unreviewed rebaselining.

This rebaselines a few tests in Mozilla's suite for tables/. All of these
had differences because of Android's different scrollbar. For more context
on Android's baselining, see bug 96398.

* platform/wk2/tables/mozilla/: 33 new results.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revert "[Chromium] Rebase a few of Mozilla's tests in tables/ for Android."
Unreviewed revert.

The rebaseline server hasn't been updated to rebaseline for the chromium-android/
target, and was left on the default of wk2/. Sorry for the noise! :-(.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Reintroducing failure expectation for http/tests/security/xss-eval.html as
the fixing commit was rolled out. Also adding a flaky expectation for
mathml/presentation/msubsup-base-changed.html.

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DelayNode must take sample-accurate delay times into account
https://bugs.webkit.org/show_bug.cgi?id=97609

Reviewed by Kenneth Russell.

Currently DelayNode simply uses a coarse-grained k-rate smoothing of .delayTime
It should also be capable of supporting audio-rate control of .delayTime

* Modules/webaudio/DelayDSPKernel.cpp:
(WebCore::DelayDSPKernel::DelayDSPKernel):
(WebCore::DelayDSPKernel::process):
* Modules/webaudio/DelayDSPKernel.h:
(DelayDSPKernel):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4.95MB below RenderBlock::insertIntoTrackedRendererMaps() on Membuster3.
<http://webkit.org/b/97687>

Reviewed by Anders Carlsson.

Give the TrackedRendererListHashSet typedef an inline capacity of 16 (the default is 256.)
Browsing around the web, I saw almost no cases with more than 20 entries in these lists,
and this simple change saves us ~4.68MB on the Membuster3 benchmark.

* rendering/RenderBlock.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
run-perf-tests must expand environment variables in user provided paths
https://bugs.webkit.org/show_bug.cgi?id=97686

Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-09-26
Reviewed by Ryosuke Niwa.

The run-perf-tests command line options that receive paths from the
user now expand any possible environment variables, because Python's
file handling methods do not handle those.

Examples:
run-perf-tests --platform=qt --release --output-json-path=~/perf-results
run-perf-tests --platform=qt --release --output-json-path=$HOME/perf-results

Also removed unused imports.

* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._parse_args._expand_path): expand environment variables in a path passed via command line
(PerfTestsRunner._parse_args):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rollout messages should be clickable in bugzilla
https://bugs.webkit.org/show_bug.cgi?id=97711

Reviewed by Simon Fraser.

If we say Bug NNNN instead of just NNNN, bugzilla will autolink to the
actual bug.

* Scripts/webkitpy/tool/commands/download_unittest.py:
* Scripts/webkitpy/tool/steps/createbug.py:
(CreateBug.run):


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