run-jsc-stress-tests should be smart enough to call JSRegress "regress/script-tests" rather than "script-tests"
https://bugs.webkit.org/show_bug.cgi?id=120994

Reviewed by Geoffrey Garen.
        
run-jsc-stress-tests accepts a list of directories containing tests.  It needs to
come up with names for all of them.  Currently it uses the basename of the test
directory.  But that means that JSRegress gets called "script-tests", which is
unfortunate since any directory in LayoutTests containing .js files will be
called "script-tests".  So, this changes run-jsc-stress-tests to use more than
just the basename if the basename has the word "tests" in it.  This causes
JSRegress to be called "regress/script-tests".

* Scripts/run-jsc-stress-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r155069 and r155138.
http://trac.webkit.org/changeset/155069
http://trac.webkit.org/changeset/155138
https://bugs.webkit.org/show_bug.cgi?id=121008

Seems to have broken many tests (bug 120963) (Requested by ap
on #webkit).

Source/WebCore:

* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/cg/PDFDocumentImage.cpp:
(WebCore::PDFDocumentImage::PDFDocumentImage):
(WebCore::PDFDocumentImage::~PDFDocumentImage):
(WebCore::PDFDocumentImage::size):
(WebCore::PDFDocumentImage::dataChanged):
(WebCore::PDFDocumentImage::adjustCTM):
(WebCore::PDFDocumentImage::setCurrentPage):
(WebCore::PDFDocumentImage::pageCount):
(WebCore::PDFDocumentImage::draw):
* platform/graphics/cg/PDFDocumentImage.h:
(WebCore::PDFDocumentImage::create):
(WebCore::PDFDocumentImage::hasSingleSecurityOrigin):
(WebCore::PDFDocumentImage::destroyDecodedData):
(WebCore::PDFDocumentImage::decodedSize):
* platform/graphics/mac/PDFDocumentImageMac.mm: Removed.
* platform/mac/SoftLinking.h:

LayoutTests:

* fast/images/pdf-as-image-with-annotations-expected.html: Removed.
* fast/images/pdf-as-image-with-annotations.html: Removed.
* fast/images/resources/annotation.pdf: Removed.
* platform/mac/fast/images/pdf-as-image-landscape-expected.png:
* platform/mac/fast/images/pdf-as-image-landscape-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
run-jsc-stress-tests should run tests in parallel if possible
https://bugs.webkit.org/show_bug.cgi?id=120996

Reviewed by Oliver Hunt.
        
Run tests in parallel by using Makefile hacks. This lets make take care of all load
balancing. It's a really awesome speed-up for these tests.
        
This reduces the FTL debug build stress test run time from 8m18s to 2m11s. The 
no-FTL debug build stress test time goes from 1m11s to 16s. This patch is pretty
much awesome.

* Scripts/run-jsc-stress-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move WTF::notFound to Vector.h and delete NotFound.h
https://bugs.webkit.org/show_bug.cgi?id=120990

Reviewed by Sam Weinig.

Source/WebCore:

* html/HTMLImageElement.cpp:
* loader/archive/mhtml/MHTMLParser.cpp:
* platform/graphics/cairo/GraphicsContext3DCairo.cpp:
* platform/graphics/win/GraphicsContext3DWin.cpp:
* platform/network/soup/SocketStreamHandleSoup.cpp:

Source/WebKit/blackberry:

* Api/BackingStore.cpp:

Source/WebKit2:

* Shared/EditorState.h:

Source/WTF:

* GNUmakefile.list.am:
* WTF.pro:
* WTF.vcxproj/WTF.vcxproj:
* WTF.vcxproj/WTF.vcxproj.filters:
* WTF.xcodeproj/project.pbxproj:
* wtf/CMakeLists.txt:
* wtf/NotFound.h: Removed.
* wtf/Vector.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fast/js/dfg-* tests should wait for the concurrent JIT
https://bugs.webkit.org/show_bug.cgi?id=120723

Rubber stamped by Oliver Hunt.
        
Convert more tests.

* fast/js/dfg-cross-global-object-inline-new-array-expected.txt:
* fast/js/dfg-cross-global-object-inline-new-array-with-elements-expected.txt:
* fast/js/dfg-cross-global-object-inline-new-array-with-size-expected.txt:
* fast/js/script-tests/dfg-cross-global-object-inline-new-array-literal-with-variables.js:
(doit):
* fast/js/script-tests/dfg-cross-global-object-inline-new-array-literal.js:
(doit):
* fast/js/script-tests/dfg-cross-global-object-inline-new-array-with-elements.js:
(done):
(doit):
* fast/js/script-tests/dfg-cross-global-object-inline-new-array-with-size.js:
(done):
(doit):
* fast/js/script-tests/dfg-cross-global-object-inline-new-array.js:
(done):
(doit):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, never pass Pathname to shellescape() as old versions of Ruby don't
like that. Pass a string instead.

* Scripts/run-jsc-stress-tests:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fast/js/dfg-* tests should wait for the concurrent JIT
https://bugs.webkit.org/show_bug.cgi?id=120723

Rubber stamped by Oliver Hunt.
        
Convert more tests.

* fast/js/dfg-cse-cfa-discrepancy-expected.txt:
* fast/js/dfg-cse-dead-get-scoped-var-expected.txt:
* fast/js/dfg-custom-getter-expected.txt:
* fast/js/dfg-custom-getter-throw-inlined-expected.txt:
* fast/js/dfg-dead-min-one-arg-expected.txt:
* fast/js/dfg-dead-min-two-args-expected.txt:
* fast/js/dfg-dead-redundant-get-array-length-expected.txt:
* fast/js/dfg-dead-speculation-expected.txt:
* fast/js/dfg-dead-unreachable-code-with-chain-of-dead-unchecked-nodes-expected.txt:
* fast/js/script-tests/dfg-cse-cfa-discrepancy.js:
* fast/js/script-tests/dfg-cse-dead-get-scoped-var.js:
* fast/js/script-tests/dfg-custom-getter-throw-inlined.js:
* fast/js/script-tests/dfg-custom-getter.js:
* fast/js/script-tests/dfg-dead-min-one-arg.js:
* fast/js/script-tests/dfg-dead-min-two-args.js:
* fast/js/script-tests/dfg-dead-redundant-get-array-length.js:
* fast/js/script-tests/dfg-dead-speculation.js:
* fast/js/script-tests/dfg-dead-unreachable-code-with-chain-of-dead-unchecked-nodes.js:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
http/tests/security/shape-inside-image-origin.html started to fail with
http://trac.webkit.org/changeset/155279

* http/tests/security/shape-inside-image-origin-expected.txt: Updated expected
result, which shows that the test now successfully loads js-test-post.js.



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