WebKit-https.git
11 years ago Build fix.
sfalken@apple.com [Wed, 13 May 2009 04:36:22 +0000 (04:36 +0000)]
    Build fix.

        * SunSpider.make:

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

11 years ago<rdar://problem/6881457> Crash occurs at JSC::Interpreter::execute() when loading...
oliver@apple.com [Wed, 13 May 2009 03:53:32 +0000 (03:53 +0000)]
<rdar://problem/6881457> Crash occurs at JSC::Interpreter::execute() when loading sears.com

Reviewed by Gavin Barraclough

We created the arguments objects before an op_push_scope but not
before op_push_new_scope, this meant a null arguments object could
be resolved inside catch blocks.

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

11 years ago2009-05-11 Erik Arvidsson <arv@chromium.org>
eric@webkit.org [Wed, 13 May 2009 03:38:18 +0000 (03:38 +0000)]
2009-05-11  Erik Arvidsson  <arv@chromium.org>

        Reviewed by Eric Seidel.

        Bug 21903: Adds DOM bindings for the placeholder property of the
        HTMLInputElement.
        https://bugs.webkit.org/show_bug.cgi?id=21903

        Test: fast/forms/placeholder-dom-property.html

        * dom/InputElement.cpp:
        (WebCore::InputElement::updatePlaceholderVisibility):
        * dom/InputElement.h:
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::placeholder):
        (WebCore::HTMLInputElement::setPlaceholder):
        * html/HTMLInputElement.h:
        * html/HTMLInputElement.idl:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::updateFromElement):
        * wml/WMLInputElement.h:
        (WebCore::WMLInputElement::placeholder):
        (WebCore::WMLInputElement::setPlaceholder):

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

11 years agoWebCore:
abarth@webkit.org [Wed, 13 May 2009 03:13:01 +0000 (03:13 +0000)]
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.
WebCore:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25706

        Change V8 bindings to match JSC bindings with respect to using
        the lexical or dynamic global object.

        Tests: http/tests/security/aboutBlank/security-context-grandchildren-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html
               http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html

        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):

LayoutTests:

2009-05-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Test that we use the lexical global object in document.open,
        document.write, and document.writeln.

        * http/tests/security/aboutBlank/security-context-grandchildren-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical-expected.txt: Added.
        * http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html: Added.

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

11 years ago<rdar://problem/6879881> Crash occurs at JSC::JSActivation::mark() when loading http...
oliver@apple.com [Wed, 13 May 2009 02:39:34 +0000 (02:39 +0000)]
<rdar://problem/6879881> Crash occurs at JSC::JSActivation::mark() when loading monster.com; http://www.cnet.com
<https://bugs.webkit.org/show_bug.cgi?id=25736> Crash loading www.google.dk/ig (and other igoogle's as well)

Reviewed by Gavin Barraclough.

Following on from the lazy arguments creation patch, it's now
possible for an activation to to have a null register in the callframe
so we can't just blindly mark the local registers in an activation,
and must null check first instead.

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

11 years ago Bug 21418: resolve-ChangeLogs should have a --continue option which does...
ddkilzer@apple.com [Wed, 13 May 2009 00:31:47 +0000 (00:31 +0000)]
    Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue

        <https://bugs.webkit.org/show_bug.cgi?id=21418>

        Reviewed by Darin Adler.

        * Scripts/resolve-ChangeLogs: Added -c|--continue switch that
        runs "git rebase --continue" before exiting the script.
        (hasGitUnmergedFiles): Added.  Returns true if there are
        unmerged files in the git repository.

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

11 years ago2009-05-12 Gavin Barraclough <barraclough@apple.com>
barraclough@apple.com [Wed, 13 May 2009 00:31:36 +0000 (00:31 +0000)]
2009-05-12  Gavin Barraclough  <barraclough@apple.com>

        Rubber stamped by Geoff Garen.

        WTF_USE_CTI_REPATCH_PIC is no longer used, remove.

        * jit/JIT.h:
        * jit/JITStubCall.h:

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

11 years ago2009-05-12 Gavin Barraclough <barraclough@apple.com>
barraclough@apple.com [Wed, 13 May 2009 00:27:24 +0000 (00:27 +0000)]
2009-05-12  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Maciej Stachowiak.

        We've run into some problems where changing the size of the class JIT leads to
        performance fluctuations.  Try forcing alignment in an attempt to stabalize this.

        * jit/JIT.h:

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

11 years ago2009-05-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 13 May 2009 00:06:28 +0000 (00:06 +0000)]
2009-05-12  Simon Fraser  <simon.fraser@apple.com>

        No review.

        media/video-size-intrinsic-scale.html fails on Tiger, so add it to the skipped
        list.

        * platform/mac-tiger/Skipped:

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

11 years ago2009-05-12 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Tue, 12 May 2009 23:28:31 +0000 (23:28 +0000)]
2009-05-12  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Fix <rdar://problem/6878105>.

        When instantiating the QT plug-in under Dashboard, force "kiosk mode".

        * Plugins/WebBaseNetscapePluginView.mm:
        (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):

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

11 years ago2009-05-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 12 May 2009 23:14:38 +0000 (23:14 +0000)]
2009-05-12  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein

        <rdar://problem/6497461> Many media layout tests failing on SnowLeopard.

        Turn media tests back on for SnowLeopard, and generate new pixel results. Put override
        results in platform/mac-leopard when necessary.

        media/video-size-intrinsic-scale.html fails and is still skipped: <rdar://problem/6877291>

        * platform/mac-leopard/media/audio-controls-rendering-expected.checksum: Added.
        * platform/mac-leopard/media/audio-controls-rendering-expected.png: Added.
        * platform/mac-leopard/media/video-aspect-ratio-expected.checksum: Added.
        * platform/mac-leopard/media/video-aspect-ratio-expected.png: Added.
        * platform/mac-leopard/media/video-controls-rendering-expected.checksum: Added.
        * platform/mac-leopard/media/video-controls-rendering-expected.png: Added.
        * platform/mac-leopard/media/video-display-toggle-expected.checksum: Added.
        * platform/mac-leopard/media/video-display-toggle-expected.png: Added.
        * platform/mac-leopard/media/video-empty-source-expected.checksum: Added.
        * platform/mac-leopard/media/video-empty-source-expected.png: Added.
        * platform/mac-leopard/media/video-layer-crash-expected.checksum: Added.
        * platform/mac-leopard/media/video-layer-crash-expected.png: Added.
        * platform/mac-leopard/media/video-transformed-expected.checksum: Added.
        * platform/mac-leopard/media/video-transformed-expected.png: Added.
        * platform/mac-leopard/media/video-zoom-controls-expected.checksum: Added.
        * platform/mac-leopard/media/video-zoom-controls-expected.png: Added.
        * platform/mac-leopard/media/video-zoom-expected.checksum: Added.
        * platform/mac-leopard/media/video-zoom-expected.png: Added.
        * platform/mac-snowleopard/Skipped:
        * platform/mac/Skipped:
        * platform/mac/media/audio-controls-rendering-expected.checksum:
        * platform/mac/media/audio-controls-rendering-expected.png:
        * platform/mac/media/video-aspect-ratio-expected.checksum:
        * platform/mac/media/video-aspect-ratio-expected.png:
        * platform/mac/media/video-controls-rendering-expected.checksum:
        * platform/mac/media/video-controls-rendering-expected.png:
        * platform/mac/media/video-controls-visible-audio-only-expected.checksum: Removed.
        * platform/mac/media/video-controls-visible-audio-only-expected.png: Removed.
        * platform/mac/media/video-display-toggle-expected.checksum:
        * platform/mac/media/video-display-toggle-expected.png:
        * platform/mac/media/video-empty-source-expected.checksum:
        * platform/mac/media/video-empty-source-expected.png:
        * platform/mac/media/video-layer-crash-expected.checksum:
        * platform/mac/media/video-layer-crash-expected.png:
        * platform/mac/media/video-transformed-expected.checksum:
        * platform/mac/media/video-transformed-expected.png:
        * platform/mac/media/video-zoom-controls-expected.checksum:
        * platform/mac/media/video-zoom-controls-expected.png:
        * platform/mac/media/video-zoom-expected.checksum:
        * platform/mac/media/video-zoom-expected.png:

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

11 years agowx build fix. Add ParserArena.cpp to the build.
kevino@webkit.org [Tue, 12 May 2009 23:02:00 +0000 (23:02 +0000)]
wx build fix. Add ParserArena.cpp to the build.

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

11 years ago<rdar://problem/6702386> Incorrect bound check in SVGList::insertItemBefore
oliver@apple.com [Tue, 12 May 2009 22:23:36 +0000 (22:23 +0000)]
<rdar://problem/6702386> Incorrect bound check in SVGList::insertItemBefore

Reviewed by Darin Adler.

SVGList::insertItemBefore would not perform a bounds check on the
index it was provided, potentially leading to a buffer overflow.

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

11 years ago2009-05-12 Paul Godavari <paul@chromium.org>
dglazkov@chromium.org [Tue, 12 May 2009 21:54:15 +0000 (21:54 +0000)]
2009-05-12  Paul Godavari  <paul@chromium.org>

        Reviewed by Dimitri Glazkov.

        Bug 25708: Cannot choose menu items in popups with many entries in Chromium
        https://bugs.webkit.org/show_bug.cgi?id=25708

        This change sets the window size for popups on Mac to include all items
        in the menu. This is required for hit testing on Mac, where we use native
        controls to manage the popups and don't want to artificially limit the
        valid hit testing region to a limited scroll window.

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::layout):

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

11 years ago2009-05-12 Stephen White <senorblanco@chromium.org>
dglazkov@chromium.org [Tue, 12 May 2009 20:36:30 +0000 (20:36 +0000)]
2009-05-12  Stephen White  <senorblanco@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fixes to build with latest skia:  SkTypeface::Create() is now
        SkTypeface::CreateFromName(); computeBounds() has been reworked
        as getBounds().  The changes are placed behind an #ifdef for now,
        so that we can roll back the skia version in Chromium if necessary
        without having to roll back this change.

        https://bugs.webkit.org/show_bug.cgi?id=25705

        * platform/graphics/chromium/FontCacheLinux.cpp:
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/skia/PathSkia.cpp:
        (WebCore::Path::boundingRect):
        (WebCore::boundingBoxForCurrentStroke):
        * platform/graphics/skia/SkiaUtils.cpp:
        (WebCore::SkPathContainsPoint):

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

11 years agoUnsigned underflow on 64bit cannot be treated as a negative number
oliver@apple.com [Tue, 12 May 2009 20:27:28 +0000 (20:27 +0000)]
Unsigned underflow on 64bit cannot be treated as a negative number

Reviewed by Geoff Garen

This code included some placeswhere we deliberately create negative offsets
from unsigned values, on 32bit this is "safe", but in 64bit builds much
badness occurs. Solution is to use signed types as nature intended.

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

11 years ago Reviewed by Darin Adler.
mitz@apple.com [Tue, 12 May 2009 20:16:21 +0000 (20:16 +0000)]
    Reviewed by Darin Adler.

        - declare a forgotten method

        * DOM/WebDOMOperationsPrivate.h: Declare -[DOMNode markupString] in the
        WebDOMNodeOperationsPendingPublic category.

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

11 years ago2009-05-12 Nate Chapin <japhet@google.com>
dglazkov@chromium.org [Tue, 12 May 2009 18:44:45 +0000 (18:44 +0000)]
2009-05-12  Nate Chapin  <japhet@google.com>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25732
        Update V8ElementCustom.cpp to match the current API of V8Proxy.

        (WebCore::ACCESSOR_SETTER): Change retrieveActiveFrame() to retrieveFrameForEnteredContext().

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

11 years ago2009-05-12 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
ariya@webkit.org [Tue, 12 May 2009 18:13:23 +0000 (18:13 +0000)]
2009-05-12  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>

    Reviewed by Ariya Hidayat.

    Many methods were not considering the case of the element not having
    siblings or children when inserting nodes, and thus broke in some
    situations. This patch fixes that.

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

11 years ago2009-05-08 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
ariya@webkit.org [Tue, 12 May 2009 18:02:32 +0000 (18:02 +0000)]
2009-05-08  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>

    Reviewed by Ariya Hidayat.

    Make is possible to mark a style property as important while setting
    it. Also support the normal CSS property syntax "!important", while
    accepting spaces between the ! and the important keyword.

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

11 years ago2009-05-08 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
ariya@webkit.org [Tue, 12 May 2009 17:56:00 +0000 (17:56 +0000)]
2009-05-08  Kenneth Rohde Christiansen  <kenneth.christiansen@openbossa.org>

    Reviewed by Ariya Hidayat.

    Working with Antonio Gomes.

    Add support for finding the style property actually applied to the element.

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

11 years ago Build fix for Windows nightlies.
sfalken@apple.com [Tue, 12 May 2009 17:16:31 +0000 (17:16 +0000)]
    Build fix for Windows nightlies.
        Change link order to work around CFNetwork bug.

        * WebKit.vcproj/WebKit.vcproj:

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

11 years ago Reviewed by Darin Adler.
ap@webkit.org [Tue, 12 May 2009 16:21:56 +0000 (16:21 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=25694
        HTMLParser::createHead() ASSERT: Creating an element, calling  document.open() and writing
        to the document NULL ptr

        Test: fast/parser/implicit-head-in-fragment-crash.html

        * html/HTMLParser.cpp: (WebCore::HTMLParser::bodyCreateErrorCheck): Do not try to implicitly
        create <head> when parsing a fragment.

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

11 years ago2009-05-12 Ariya Hidayat <ariya.hidayat@nokia.com>
ariya@webkit.org [Tue, 12 May 2009 15:58:56 +0000 (15:58 +0000)]
2009-05-12  Ariya Hidayat  <ariya.hidayat@nokia.com>

        Reviewed by Dimitri Glazkov.

        Added Qt-specific expected result for toDataURL test, since Qt
        does not support saving pixmaps to GIF.

        * platform/qt/fast/canvas/toDataURL-supportedTypes-expected.txt: Added.

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

11 years ago2009-05-12 Soren Gjesse <sgjesse@chromium.org>
dglazkov@chromium.org [Tue, 12 May 2009 15:54:28 +0000 (15:54 +0000)]
2009-05-12  Soren Gjesse  <sgjesse@chromium.org>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25687
        Missing check for valid function in V8 bindings for toString function for event listeners.

        * bindings/v8/V8LazyEventListener.cpp:
        (WebCore::V8LazyEventListener::getWrappedListenerFunction): Added empty handle checks.

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

11 years ago2009-05-12 Ariya Hidayat <ariya.hidayat@nokia.com>
ariya@webkit.org [Tue, 12 May 2009 12:42:05 +0000 (12:42 +0000)]
2009-05-12  Ariya Hidayat  <ariya.hidayat@nokia.com>

        Rubber-stamped by Simon Hausmann.

        Added Qt-specific expected result for Canvas getImageData's test.

        https://bugs.webkit.org/show_bug.cgi?id=22150

        Since Qt is internally using premultiplied ARGB32 for doing
        alpha-blending painting, reading the color back will not
        necessarily give the same exact color.

        * platform/qt/Skipped: Excluded canvas-getImageData.
        * platform/qt/fast/canvas/canvas-getImageData-expected.txt: Added.

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

11 years ago2009-05-12 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Tue, 12 May 2009 12:06:18 +0000 (12:06 +0000)]
2009-05-12  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Holger Freyther.

        [Gtk] Various autotools build refactoring and fixes
        https://bugs.webkit.org/show_bug.cgi?id=25286

        Add glib-2.0 to the list of required package.

        * webkit.pc.in:

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

11 years ago2009-05-12 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Tue, 12 May 2009 12:06:05 +0000 (12:06 +0000)]
2009-05-12  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Holger Freyther.

        [Gtk] Various autotools build refactoring and fixes
        https://bugs.webkit.org/show_bug.cgi?id=25286

        Refactor use of CFLAGS, CXXFLAGS, LIBADD and LDFLAGS.

        * GNUmakefile.am:

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

11 years ago2009-05-12 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Tue, 12 May 2009 12:05:50 +0000 (12:05 +0000)]
2009-05-12  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by Holger Freyther.

        [Gtk] Various autotools build refactoring and fixes
        https://bugs.webkit.org/show_bug.cgi?id=25286

        Define WTF_USE_JSC for the Gtk port.

        * wtf/Platform.h:

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

11 years ago2009-05-12 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Tue, 12 May 2009 10:35:48 +0000 (10:35 +0000)]
2009-05-12  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Oliver Hunt.

        - allow all of strictEqual to be inlined into cti_op_stricteq once again

        We had this optimization once but accidentally lost it at some point.

        * runtime/Operations.h:
        (JSC::JSValue::strictEqualSlowCaseInline):
        (JSC::JSValue::strictEqual):

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

11 years agoJavaScriptCore:
barraclough@apple.com [Tue, 12 May 2009 09:18:44 +0000 (09:18 +0000)]
JavaScriptCore:

2009-05-12  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Oliver Hunt.

        instanceof should throw if the constructor being tested does not implement
        'HasInstance" (i.e. is a function).  Instead we were returning false.

        * interpreter/Interpreter.cpp:
        (JSC::isInvalidParamForIn):
        (JSC::isInvalidParamForInstanceOf):
        (JSC::Interpreter::privateExecute):
        * jit/JITStubs.cpp:
        (JSC::JITStubs::cti_op_instanceof):
        * tests/mozilla/ecma_2/instanceof/instanceof-003.js:
            Fix broken test case.
        * tests/mozilla/ecma_2/instanceof/regress-7635.js:
            Remove broken test case (was an exact duplicate of a test in instanceof-003.js).

LayoutTests:

2009-05-12  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Oliver Hunt.

        Test was checked in with one test case disabled since it exposed an existing bug;
        enable it now.

        * fast/js/instance-of-immediates-expected.txt:
        * fast/js/resources/instance-of-immediates.js:

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

11 years agoImprove function call forwarding performance
oliver@apple.com [Tue, 12 May 2009 08:58:56 +0000 (08:58 +0000)]
Improve function call forwarding performance

Reviewed by Gavin Barraclough

Make creation of the Arguments object occur lazily, so it
is not necessarily created for every function that references
it.  Then add logic to Function.apply to allow it to avoid
allocating the Arguments object at all.  Helps a lot with
the function forwarding/binding logic in jQuery, Prototype,
and numerous other JS libraries.

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

11 years agoUpdate my ChangeLog entry to make Mark Rowe happy. Mark Rowe - who is supposed to...
beidson@apple.com [Tue, 12 May 2009 06:35:41 +0000 (06:35 +0000)]
Update my ChangeLog entry to make Mark Rowe happy.  Mark Rowe - who is supposed to be on vacation.  Mark Rowe - who probably didn't even get to watch House tonight.  Oh, I see - that's why he's grumpy.

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

11 years ago2009-05-11 Gavin Barraclough <barraclough@apple.com>
barraclough@apple.com [Tue, 12 May 2009 06:21:56 +0000 (06:21 +0000)]
2009-05-11  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Oliver Hunt.

        Enable use of SamplingFlags directly from JIT code.

        * bytecode/SamplingTool.h:
        * jit/JIT.h:
        (JSC::JIT::sampleCodeBlock):
        (JSC::JIT::sampleInstruction):
        * jit/JITInlineMethods.h:
        (JSC::JIT::setSamplingFlag):
        (JSC::JIT::clearSamplingFlag):

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Tue, 12 May 2009 05:49:35 +0000 (05:49 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Add a third copy of this test to make Tiger bots happy.

        * platform/mac-tiger/fast/images: Added.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.checksum: Copied from platform/mac/fast/images/favicon-as-image-expected.checksum.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.png: Copied from platform/mac/fast/images/favicon-as-image-expected.png.
        * platform/mac-tiger/fast/images/favicon-as-image-expected.txt: Copied from platform/mac/fast/images/favicon-as-image-expected.txt.

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

11 years agoJavaScriptCore:
barraclough@apple.com [Tue, 12 May 2009 05:31:02 +0000 (05:31 +0000)]
JavaScriptCore:

2009-05-11  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Cameron Zwarich.

        Implement JIT generation for instanceof for non-objects (always returns false).
        Also fixes the sequencing of the prototype and value isObject checks, to no match the spec.

        0.5% progression on v8 tests overall, due to 3.5% on early-boyer.

        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        (JSC::JIT::privateCompileSlowCases):
        * runtime/JSObject.cpp:
        (JSC::JSObject::hasInstance):
        * runtime/TypeInfo.h:
        (JSC::TypeInfo::TypeInfo):

LayoutTests:

2009-05-11  Gavin Barraclough  <barraclough@apple.com>

        Reviewed by Oliver Hunt.

        Add a layout test for instanceof.

        * fast/js/instance-of-immediates-expected.txt: Added.
        * fast/js/instance-of-immediates.html: Added.
        * fast/js/resources/instance-of-immediates.js: Added.
        (testInstanceOf):
        ():
        (testSet):

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

11 years ago2009-05-11 Yael Aharon <yael.aharon@nokia.com>
zecke@webkit.org [Tue, 12 May 2009 05:07:45 +0000 (05:07 +0000)]
2009-05-11  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Holger Freyther.

        Change Qt port to match the mac and windows ports, and unregister plugins when plugins are stopped.
        Not doing that can cause assersion failure.
        https://bugs.webkit.org/show_bug.cgi?id=25702

        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::stop):

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

11 years ago2009-05-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
zecke@webkit.org [Tue, 12 May 2009 05:02:36 +0000 (05:02 +0000)]
2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Holger Freyther.

        Bug 25714: [Qt] Decouple HTML5 Database support from the
        SQLite/generic database support in the Qt port

        <https://bugs.webkit.org/show_bug.cgi?id=25714>

        * WebCore.pro:

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

11 years agoUpdated the svn:mime-type property of recently-updated PNG files to image/png
mitz@apple.com [Tue, 12 May 2009 04:28:34 +0000 (04:28 +0000)]
Updated the svn:mime-type property of recently-updated PNG files to image/png

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

11 years ago2009-05-11 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 12 May 2009 04:20:29 +0000 (04:20 +0000)]
2009-05-11  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        A little more JIT refactoring.

        Rearranged code to more clearly indicate what's conditionally compiled
        and why. Now, all shared code is at the top of our JIT files, and all
        #if'd code is at the bottom. #if'd code is delineated by large comments.

        Moved functions that relate to the JIT but don't explicitly do codegen
        into JIT.cpp. Refactored SSE2 check to store its result as a data member
        in the JIT.

        * jit/JIT.cpp:
        (JSC::isSSE2Present):
        (JSC::JIT::JIT):
        (JSC::JIT::unlinkCall):
        (JSC::JIT::linkCall):
        * jit/JIT.h:
        (JSC::JIT::isSSE2Present):
        * jit/JITArithmetic.cpp:
        (JSC::JIT::emit_op_mod):
        (JSC::JIT::emitSlow_op_mod):
        * jit/JITCall.cpp:
        (JSC::JIT::compileOpCallVarargs):
        (JSC::JIT::compileOpCallVarargsSlowCase):

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Tue, 12 May 2009 04:18:50 +0000 (04:18 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Reviewed by David Kilzer.

        <rdar://problem/6876226> - Cleanup the fast/images/favicon situation a bit.

        First off, copy fast/images/favicon-as-image.html over to http/tests/misc so it covers the original test case on all Mac platforms.
        Second, add Leopard-specific results for the original test.
        Then, remove it from the Leopard skipped list.
        Finally, add it to the SnowLeopard skipped list (<rdar://problem/6877633> covers re-enabling it when we're no longer blocked).

        * http/tests/misc/favicon-as-image.html: Copied from fast/images/favicon-as-image.html.
        * http/tests/misc/resources/favicon.ico: Copied from fast/images/resources/favicon.ico.

        * platform/mac/http/tests/misc/favicon-as-image-expected.checksum: Added.
        * platform/mac/http/tests/misc/favicon-as-image-expected.png: Added.
        * platform/mac/http/tests/misc/favicon-as-image-expected.txt: Added.

        * platform/mac-leopard/fast/images: Added.
        * platform/mac-leopard/fast/images/favicon-as-image-expected.checksum: Copied from platform/mac/fast/images/favicon-as-image-expected.checksum.
        * platform/mac-leopard/fast/images/favicon-as-image-expected.png: Copied from platform/mac/fast/images/favicon-as-image-expected.png.
        * platform/mac-leopard/fast/images/favicon-as-image-expected.txt: Copied from platform/mac/fast/images/favicon-as-image-expected.txt.

        * platform/mac-leopard/Skipped:
        * platform/mac-snowleopard/Skipped:

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

11 years ago[Qt] Build fix. Build JITOpcodes.cpp to resolve linking errors
zecke@webkit.org [Tue, 12 May 2009 03:25:56 +0000 (03:25 +0000)]
[Qt] Build fix. Build JITOpcodes.cpp to resolve linking errors

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

11 years ago[GTK] Disable layouttest that requires an AccessibilityController
zecke@webkit.org [Tue, 12 May 2009 02:31:19 +0000 (02:31 +0000)]
[GTK] Disable layouttest that requires an AccessibilityController

DRT/GTK+ lacks an AccessibilityController do not run the
accessibility/onclick-handlers.thtml test.

* platform/gtk/Skipped:

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

11 years ago2009-05-11 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 12 May 2009 01:52:51 +0000 (01:52 +0000)]
2009-05-11  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        More re-factoring of JIT code generation.  Use a macro to
        forward the main switch-statement cases to the helper functions.

        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        (JSC::JIT::privateCompileSlowCases):

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

11 years agoBug 25713: AX: Control Elements not identified in HTML content
cfleizach@apple.com [Tue, 12 May 2009 01:50:10 +0000 (01:50 +0000)]
Bug 25713: AX: Control Elements not identified in HTML content
https://bugs.webkit.org/show_bug.cgi?id=25713

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

11 years ago2009-05-11 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 12 May 2009 01:40:00 +0000 (01:40 +0000)]
2009-05-11  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        More re-factoring of JIT code generation to move opcode generation
        to helper functions outside the main switch-statement and gave those
        helper functions standardized names. This patch covers the remaining
        slow cases.

        * jit/JIT.cpp:
        * jit/JIT.h:
        * jit/JITOpcodes.cpp:

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

11 years ago2009-05-11 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 12 May 2009 01:33:32 +0000 (01:33 +0000)]
2009-05-11  Geoffrey Garen  <ggaren@apple.com>

        Build fix.

        * GNUmakefile.am: Added JITOpcodes.cpp and JITStubCall.h to the project.

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

11 years ago2009-05-11 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 12 May 2009 01:30:46 +0000 (01:30 +0000)]
2009-05-11  Geoffrey Garen  <ggaren@apple.com>

        Build fix.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Added
        JITOpcodes.cpp and JITStubCall.h to the project.

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

11 years ago2009-05-11 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 12 May 2009 01:26:52 +0000 (01:26 +0000)]
2009-05-11  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Some JIT refactoring.

        Moved JITStubCall* into its own header.

        Modified JITStubCall to ASSERT that its return value is handled correctly.
        Also, replaced function template with explicit instantiations to resolve
        some confusion.

        Replaced all uses of emit{Get,Put}CTIArgument with explicit peeks, pokes,
        and calls to killLastResultRegister().

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        (JSC::JIT::privateCompile):
        * jit/JIT.h:
        * jit/JITArithmetic.cpp:
        * jit/JITCall.cpp:
        * jit/JITInlineMethods.h:
        (JSC::JIT::restoreArgumentReference):
        * jit/JITPropertyAccess.cpp:
        * jit/JITStubCall.h: Copied from jit/JIT.h.
        (JSC::JITStubCall::JITStubCall):
        (JSC::JITStubCall::addArgument):
        (JSC::JITStubCall::call):
        (JSC::JITStubCall::):

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

11 years agoWebCore:
darin@apple.com [Tue, 12 May 2009 01:25:11 +0000 (01:25 +0000)]
WebCore:

2009-05-11  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/6276843> REGRESSION: TextIterator generates
        an extra newline for ranges that start outside of body

        * editing/TextIterator.cpp:
        (WebCore::TextIterator::shouldRepresentNodeOffsetZero):
        Check startPos for null, not just currPos.

LayoutTests:

2009-05-11  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        <rdar://problem/6276843> REGRESSION: TextIterator generates
        an extra newline for ranges that start outside of body

        * editing/text-iterator/basic-iteration-expected.txt:
        Expect success, not failure.

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

11 years agoBug 25700: Regression:WebKit:cmd-left and cmd-right use to go to the beginning and...
cfleizach@apple.com [Tue, 12 May 2009 01:09:50 +0000 (01:09 +0000)]
Bug 25700: Regression:WebKit:cmd-left and cmd-right use to go to the beginning and end of a line in Mail
https://bugs.webkit.org/show_bug.cgi?id=25700

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

11 years ago2009-05-11 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 12 May 2009 01:06:58 +0000 (01:06 +0000)]
2009-05-11  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Start re-factoring JIT code generation to move op_code generation
        to helper functions outside the main switch-statement and gave those
        helper functions standardized names.  This patch only covers the main
        pass and all the arithmetic opcodes in the slow path.

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * jit/JIT.cpp:
        (JSC::JIT::privateCompileMainPass):
        (JSC::JIT::privateCompileSlowCases):
        * jit/JIT.h:
        * jit/JITArithmetic.cpp:
        * jit/JITOpcodes.cpp: Copied from jit/JIT.cpp.
        * jit/JITPropertyAccess.cpp:

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

11 years ago2009-05-11 Christian Dywan <christian@twotoasts.de>
christian@webkit.org [Tue, 12 May 2009 00:48:38 +0000 (00:48 +0000)]
2009-05-11  Christian Dywan  <christian@twotoasts.de>

        Reviewed by Gustavo Noronha.

        https://bugs.webkit.org/show_bug.cgi?id=25697
        [GTK] Warnings building WebKit/gtk/tests/testwebframe.c

        * tests/testwebframe.c:
        (test_webkit_web_frame_create_destroy): Declare webView as a GtkWidget*
        to fix pointer type incompatibility warnings.

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

11 years ago2009-05-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Tue, 12 May 2009 00:28:17 +0000 (00:28 +0000)]
2009-05-11  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Enable the new passing test, and skip two new failing tests.

        * platform/gtk/Skipped:
        * platform/gtk/fast/css/compare-content-style-expected.txt: Added.

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

11 years ago Bug 25087: Test for ENABLE_FOO macros consistently in IDL files
ddkilzer@apple.com [Tue, 12 May 2009 00:14:03 +0000 (00:14 +0000)]
    Bug 25087: Test for ENABLE_FOO macros consistently in IDL files

        <https://bugs.webkit.org/show_bug.cgi?id=25087>

        Reviewed by Timothy Hatcher.

        Change tests for ENABLE macros to check for both existence and
        value:

        - Negative:  #if !defined(ENABLE_FOO) || !ENABLE_FOO
        - Positive:  #if defined(ENABLE_FOO) && ENABLE_FOO

        * css/CSSCharsetRule.idl:
        * css/CSSPrimitiveValue.idl:
        * css/RGBColor.idl:
        * dom/Attr.idl:
        * dom/DOMCoreException.idl:
        * dom/DOMImplementation.idl:
        * dom/Document.idl:
        * dom/Element.idl:
        * dom/Event.idl:
        * dom/EventException.idl:
        * dom/KeyboardEvent.idl:
        * dom/MessagePort.idl:
        * dom/MouseEvent.idl:
        * dom/Node.idl:
        * dom/ProcessingInstruction.idl:
        * dom/Range.idl:
        * dom/RangeException.idl:
        * dom/WheelEvent.idl:
        * html/CanvasPixelArray.idl:
        * html/HTMLAnchorElement.idl:
        * html/HTMLAppletElement.idl:
        * html/HTMLAreaElement.idl:
        * html/HTMLBaseFontElement.idl:
        * html/HTMLCanvasElement.idl:
        * html/HTMLDocument.idl:
        * html/HTMLElement.idl:
        * html/HTMLEmbedElement.idl:
        * html/HTMLFrameElement.idl:
        * html/HTMLIFrameElement.idl:
        * html/HTMLImageElement.idl:
        * html/HTMLInputElement.idl:
        * html/HTMLLinkElement.idl:
        * html/HTMLObjectElement.idl:
        * html/HTMLOptionElement.idl:
        * html/HTMLOptionsCollection.idl:
        * html/HTMLSelectElement.idl:
        * html/HTMLStyleElement.idl:
        * html/ImageData.idl:
        * inspector/InspectorController.idl:
        * loader/appcache/DOMApplicationCache.idl:
        * page/Console.idl:
        * page/Coordinates.idl:
        * page/DOMSelection.idl:
        * page/DOMWindow.idl:
        * page/Geoposition.idl:
        * page/History.idl:
        * page/Location.idl:
        * page/Navigator.idl:
        * svg/SVGElementInstance.idl:
        * svg/SVGException.idl:
        * workers/WorkerContext.idl:
        * xml/XMLHttpRequestException.idl:
        * xml/XPathException.idl:

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

11 years agoAdded missing bug titles and URLs.
darin@apple.com [Tue, 12 May 2009 00:03:35 +0000 (00:03 +0000)]
Added missing bug titles and URLs.

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

11 years agoWebCore:
darin@apple.com [Tue, 12 May 2009 00:01:18 +0000 (00:01 +0000)]
WebCore:

2009-05-11  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Darin Adler.

        class/struct mix-up in forward declarations

        * inspector/InspectorResource.h:
        * loader/CachedFont.h:
        * loader/appcache/ApplicationCache.h:
        * rendering/RenderBlock.h:
        * rendering/RootInlineBox.h:
        * rendering/SVGInlineTextBox.h:
        * svg/SVGGlyphElement.h:
        * svg/SVGHKernElement.h:

WebKit/qt:

2009-05-11  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Darin Adler.

        class/struct mix-up in forward declarations

        * Api/qwebpage.h:

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

11 years ago2009-05-11 Norbert Leser <norbert.leser@nokia.com>
darin@apple.com [Mon, 11 May 2009 23:54:27 +0000 (23:54 +0000)]
2009-05-11  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Darin Adler.

        The Symbian tools can't compile and link this without this include.
        It's not clear why this is different from other toolsets or why it affects
        only this header file, but adding the include for now.

        * editing/RemoveCSSPropertyCommand.h: Added include of CSSMutableStyleDeclaration.h.

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

11 years agoWebCore:
alice.liu@apple.com [Mon, 11 May 2009 23:35:07 +0000 (23:35 +0000)]
WebCore:

2009-05-11  Alice Liu  <alice.liu@apple.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=25701
        REGRESSION(r38788 & r42020): styled searchfields look wrong on Windows, affects Facebook

        Test: fast/forms/search-styled.html

        * css/themeWin.css:
        Remove the overriding of -webkit-appearance for searchfields. This will cause background
        images to not be honored when styling searchfields

        * rendering/RenderThemeWin.cpp:
        (WebCore::RenderThemeWin::adjustSearchFieldStyle):
        * rendering/RenderThemeWin.h:
        Re-instate final adjustments to searchfield styling that were removed in r42020

LayoutTests:

2009-05-11  Alice Liu  <alice.liu@apple.com>

        Reviewed by Dan Bernstein.

        https://bugs.webkit.org/show_bug.cgi?id=25701
        REGRESSION(r38788 & r42020): styled searchfields look wrong on Windows, affects Facebook

        * fast/forms/search-styled.html: Added.
        * platform/mac/fast/forms/search-styled-expected.txt: Added.
        * platform/win/fast/forms/search-styled-expected.txt: Added.

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

11 years ago Re-add experimental PGO configs.
sfalken@apple.com [Mon, 11 May 2009 23:02:32 +0000 (23:02 +0000)]
    Re-add experimental PGO configs.

        Reviewed by Adam Roben.

        * JavaScriptCore.vcproj/JavaScriptCore.make:
        * JavaScriptCore.vcproj/JavaScriptCore.sln:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.vcproj/JavaScriptCoreSubmit.sln:
        * JavaScriptCore.vcproj/jsc/jsc.vcproj:

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

11 years ago Include SunSpider tests in production builds.
sfalken@apple.com [Mon, 11 May 2009 22:54:46 +0000 (22:54 +0000)]
    Include SunSpider tests in production builds.

        Reviewed by Adam Roben.

        * SunSpider.make: Added.
        * xcopy.excludes: Added.

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 11 May 2009 22:00:46 +0000 (22:00 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Fix Windows build

        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::createCFURLResponseWithDefaultMIMEType):

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

11 years ago2009-05-11 Nate Chapin <japhet@google.com>
dglazkov@chromium.org [Mon, 11 May 2009 22:00:06 +0000 (22:00 +0000)]
2009-05-11  Nate Chapin  <japhet@google.com>

        Reviewed by Dimitri Glazkov.

        https://bugs.webkit.org/show_bug.cgi?id=25626
        Update V8ElementCustom.cpp to match the current API of Node.

        * bindings/v8/custom/V8ElementCustom.cpp:
        (WebCore::ACCESSOR_SETTER): Changed a couple of method names to match current names.
        (WebCore::ACCESSOR_GETTER): Changed a method name to match current name.

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

11 years ago2009-05-11 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 11 May 2009 21:49:43 +0000 (21:49 +0000)]
2009-05-11  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey "1" Garen.

        Rip out the !USE(CTI_REPATCH_PIC) code.  It was untested and unused.

        * jit/JIT.h:
        (JSC::JIT::compileGetByIdChainList):
        (JSC::JIT::compileGetByIdChain):
        (JSC::JIT::compileCTIMachineTrampolines):
        * jit/JITPropertyAccess.cpp:
        (JSC::JIT::privateCompileGetByIdProto):
        (JSC::JIT::privateCompileGetByIdChainList):
        (JSC::JIT::privateCompileGetByIdChain):
        * jit/JITStubs.cpp:
        (JSC::JITStubs::tryCachePutByID):
        (JSC::JITStubs::tryCacheGetByID):

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 11 May 2009 21:49:14 +0000 (21:49 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Fix Windows build

        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::createCFURLResponseWithDefaultMIMEType):
        (WebCore::WebCoreSynchronousLoader::load):

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 11 May 2009 21:36:03 +0000 (21:36 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Fix Windows build

        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::createCFURLResponseWithDefaultMIMEType):

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

11 years ago2009-05-11 Nate Chapin <japhet@google.com>
dglazkov@chromium.org [Mon, 11 May 2009 21:35:35 +0000 (21:35 +0000)]
2009-05-11  Nate Chapin  <japhet@google.com>

        Reviewed by Dimitri Glazkov.

        V8CustomBinding.cpp is missing a header file

        https://bugs.webkit.org/show_bug.cgi?id=25644

        * bindings/v8/custom/V8CustomBinding.cpp: Added #include "V8Proxy.h".

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

11 years ago2009-05-11 Aaron Boodman <aa@chromium.org>
dglazkov@chromium.org [Mon, 11 May 2009 21:30:26 +0000 (21:30 +0000)]
2009-05-11  Aaron Boodman  <aa@chromium.org>

        Reviewed by Darin Fisher.

        https://bugs.webkit.org/show_bug.cgi?id=25634
        Change V8Proxy::retrieveActiveFrame() call sites to V8Proxy::retrieveFrameForEnteredContext().

        Also, change instances of ScriptController::retrieveActiveFrame() to
        V8::retrieveFrameForEnteredContext() for consistency.

        See http://codereview.chromium.org/113085 for the corresponding Chromium change.

        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        (WebCore::V8Custom::WindowSetLocation):
        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        (WebCore::CALLBACK_FUNC_DECL):
        * bindings/v8/custom/V8LocationCustom.cpp:
        (WebCore::navigateIfAllowed):
        (WebCore::ACCESSOR_SETTER):
        (WebCore::CALLBACK_FUNC_DECL):

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

11 years agoWebCore:
beidson@apple.com [Mon, 11 May 2009 21:06:30 +0000 (21:06 +0000)]
WebCore:

2009-05-11  Brady Eidson  <beidson@apple.com>

        Reviewed by Darin Adler.

        <rdar://problem/5972751> Local image files (BMP, ico) can be misidentified as HTML.

        First part of the fix - Disable content sniffing for file resources which never should've been happening anyways.
        Second part of the fix - If the networking layer doesn't give us back a MIME type default to "application/octet-stream".

        * platform/MIMETypeRegistry.cpp:
        (WebCore::defaultMIMEType): "application/octet-stream"
        * platform/MIMETypeRegistry.h:

        * platform/network/ResourceHandle.cpp:
        (WebCore::ResourceHandle::create): If content sniffing is true, double check with "shouldContentSniffRequest()" which
          might override it to false.
        (WebCore::ResourceHandle::shouldContentSniffURL): Return false for file:// urls, true for everything else.
        * platform/network/ResourceHandle.h:

        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::createCFURLResponseWithDefaultMIMEType): Create a copy of the CFURLRequest with the default MIME type instead
          of null.
        (WebCore::didReceiveResponse): If the MIME type for the response is null, create a copy with the default MIME type.
        (WebCore::WebCoreSynchronousLoader::load): Use shouldContentSniffRequest() to make synchronous loads have the same
          sniffing policy as asynchronous loads.  Also, correct a null MIME type by creating a copy with the default type.

        * platform/network/mac/ResourceHandleMac.mm:
        (WebCore::ResourceHandle::loadResourceSynchronously): Use shouldContentSniffRequest() to make synchronous loads have the
          same sniffing policy as asynchronous loads.
        (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]): Set up the [NSURLResponse MIMEType] swizzling if
          it hasn't been set up yet.
        (_web_NSURLResponse_MIMEType): Either return the actual MIME type of the response, or the default MIME type if it's nil.

        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::loadRequestAsynchronously): Remove the workaround added in r29370 as it will now be covered by
          the new mechanism.

LayoutTests:

2009-05-11  Brady Eidson  <beidson@apple.com>

        Reviewed by Darin Adler.

        * platform/mac-leopard/Skipped: Skip fast/images/favicon-as-image.html until we can come up
          with a better solution to its new failure.

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

11 years ago2009-05-11 Dmitry Titov <dimich@chromium.org>
dimich@chromium.org [Mon, 11 May 2009 20:37:49 +0000 (20:37 +0000)]
2009-05-11  Dmitry Titov  <dimich@chromium.org>

        GTK build fix - the deprecated waitForThreadCompletion is not needed on GTK.

        * wtf/ThreadingPthreads.cpp: added #ifdef PLATFORM(DARWIN) around waitForThreadCompletion().

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

11 years ago Fix typo "APPLICATION_CAHE_DYNAMIC_ENTRIES" to "APPLICATION_CACHE_DYNAMIC_ENT...
ddkilzer@apple.com [Mon, 11 May 2009 20:34:52 +0000 (20:34 +0000)]
    Fix typo "APPLICATION_CAHE_DYNAMIC_ENTRIES" to "APPLICATION_CACHE_DYNAMIC_ENTRIES"

        This was added in r39816 to disable dynamic entries.  They are
        still disabled after fixing the typo since this feature define
        is never set anywhere.

        * bindings/js/JSDOMApplicationCacheCustom.cpp:
        * loader/appcache/DOMApplicationCache.idl:

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

11 years ago Build fix for newer versions of GCC
aroben@apple.com [Mon, 11 May 2009 20:28:40 +0000 (20:28 +0000)]
    Build fix for newer versions of GCC

        * wtf/ThreadingPthreads.cpp: Added a declaration of
        waitForThreadCompletion before its definition to silence a warning.

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

11 years agoJavaScriptCore:
dimich@chromium.org [Mon, 11 May 2009 19:49:04 +0000 (19:49 +0000)]
JavaScriptCore:

2009-05-11  Dmitry Titov  <dimich@chromium.org>

        Reviewed by Alexey Proskuryakov and Adam Roben.

        https://bugs.webkit.org/show_bug.cgi?id=25348
        Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.

        * wtf/Threading.h:
        (WTF::ThreadIdentifier::ThreadIdentifier):
        (WTF::ThreadIdentifier::isValid):
        (WTF::ThreadIdentifier::invalidate):
        (WTF::ThreadIdentifier::platformId):
        ThreadIdentifier is now a class, containing a PlatformThreadIdentifier and
        methods that are used across the code on thread ids: construction, comparisons,
        check for 'valid' state etc. '0' is used as invalid id, which happens to just work
        with all platform-specific thread id implementations.

        All the following files repeatedly reflect the new ThreadIdentifier for each platform.
        We remove ThreadMap and threadMapMutex from all of them, remove the functions that
        populated/searched/cleared the map and add platform-specific comparison operators
        for ThreadIdentifier.

        There are specific temporary workarounds for Safari 4 beta on OSX and Win32 since the
        public build uses WTF threading functions with old type of ThreadingIdentifier.
        The next time Safari 4 is rebuilt, it will 'automatically' pick up the new type and new
        functions so the deprecated ones can be removed.

        * wtf/gtk/ThreadingGtk.cpp:
        (WTF::ThreadIdentifier::operator==):
        (WTF::ThreadIdentifier::operator!=):
        (WTF::initializeThreading):
        (WTF::createThreadInternal):
        (WTF::waitForThreadCompletion):
        (WTF::currentThread):

        * wtf/ThreadingNone.cpp:
        (WTF::ThreadIdentifier::operator==):
        (WTF::ThreadIdentifier::operator!=):

        * wtf/ThreadingPthreads.cpp:
        (WTF::ThreadIdentifier::operator==):
        (WTF::ThreadIdentifier::operator!=):
        (WTF::initializeThreading):
        (WTF::createThreadInternal):
        (WTF::waitForThreadCompletion):
        (WTF::detachThread):
        (WTF::currentThread):
        (WTF::waitForThreadCompletion): This is a workaround for Safari 4 beta on Mac.
        Safari 4 is linked against old definition of ThreadIdentifier so it treats it as uint32_t.
        This 'old' variant of waitForThreadCompletion takes uint32_t and has the old decorated name, so Safari can
        load it from JavaScriptCore library. The other functions (CurrentThread() etc) happen to match their previous
        decorated names and, while they return pthread_t now, it is a pointer which round-trips through a uint32_t.
        This function will be removed as soon as Safari 4 will release next public build.

        * wtf/qt/ThreadingQt.cpp:
        (WTF::ThreadIdentifier::operator==):
        (WTF::ThreadIdentifier::operator!=):
        (WTF::initializeThreading):
        (WTF::createThreadInternal):
        (WTF::waitForThreadCompletion):
        (WTF::currentThread):

        * wtf/ThreadingWin.cpp:
        (WTF::ThreadIdentifier::operator==):
        (WTF::ThreadIdentifier::operator!=):
        (WTF::initializeThreading):
        (WTF::createThreadInternal): All the platforms (except Windows) used a sequential
        counter as a thread ID and mapped it into platform ID. Windows was using native thread
        id and mapped it into thread handle. Since we can always obtain a thread handle
        by thread id, createThread now closes the handle.
        (WTF::waitForThreadCompletion): obtains another one using OpenThread(id) API. If can not obtain a handle,
        it means the thread already exited.
        (WTF::detachThread):
        (WTF::currentThread):
        (WTF::detachThreadDeprecated): old function, renamed (for Win Safari 4 beta which uses it for now).
        (WTF::waitForThreadCompletionDeprecated): same.
        (WTF::currentThreadDeprecated): same.
        (WTF::createThreadDeprecated): same.

        * bytecode/SamplingTool.h:
        * bytecode/SamplingTool.cpp: Use DEFINE_STATIC_LOCAL for a static ThreadIdentifier variable, to avoid static constructor.

        * JavaScriptCore.exp: export lists - updated decorated names of the WTF threading functions
        since they now take a different type as a parameter.
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: ditto for Windows, plus added "deprecated" functions
        that take old parameter type - turns out public beta of Safari 4 uses those, so they need to be kept along for a while.
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def: ditto.

WebCore:

2009-05-11  Dmitry Titov  <dimich@chromium.org>

        Reviewed by Alexey Proskuryakov and Adam Roben.

        https://bugs.webkit.org/show_bug.cgi?id=25348
        Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.

        Most of the change is in WTF.
        Unless noted, all the following files changed to use the new ThreadIdentifier::isValid()
        method instead of just doing 'if(m_threadID)' kind of checks, since ThreadIdentifier
        is now a class rather then an integer.
        Also, there is no need to initialize threadID in constructors to 0 now.

        * dom/XMLTokenizerLibxml2.cpp:
        (WebCore::libxmlLoaderThread): use DEFINE_STATIC_LOCAL and accessor function for static thread id,
        since now ThreadIdentifier needs construction and we avoid having global initializers.
        (WebCore::matchFunc): use the new accessor function.
        (WebCore::openFunc): ditto.
        (WebCore::createStringParser): ditto.
        (WebCore::createMemoryParser): ditto.
        * loader/icon/IconDatabase.cpp:
        (WebCore::IconDatabase::open):
        * platform/sql/SQLiteDatabase.cpp:
        (WebCore::SQLiteDatabase::SQLiteDatabase):
        (WebCore::SQLiteDatabase::close):
        * storage/DatabaseThread.cpp:
        (WebCore::DatabaseThread::start):
        (WebCore::DatabaseThread::databaseThread): remove m_threadID from debug output.
        * storage/LocalStorageThread.cpp:
        (WebCore::LocalStorageThread::start):
        (WebCore::LocalStorageThread::scheduleImport):
        (WebCore::LocalStorageThread::scheduleSync):
        (WebCore::LocalStorageThread::terminate):
        * workers/WorkerThread.cpp:
        (WebCore::WorkerThread::start):
        (WebCore::WorkerThread::WorkerThread):
        (WebCore::WorkerThread::start):

WebKit/win:

2009-05-11  Dmitry Titov  <dimich@chromium.org>

        Reviewed by Alexey Proskuryakov and Adam Roben.

        https://bugs.webkit.org/show_bug.cgi?id=25348
        Change WTF::ThreadIdentifier to be an actual (but wrapped) thread id, remove ThreadMap.

        Most of the change is in WTF and WebCore.

        * WebKit.vcproj/WebKit.def: replaced decorated names of WTF threading functions with new ones.
        Also, aliased the old implementations so the public Safari 4 beta can load the old WTF functions
        which it uses. Next time Safari 4 builds, it will pick up new functions and the deprecated ones
        can be removed.
        * WebKit.vcproj/WebKit_debug.def: same.

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

11 years agoJavaScriptCore:
darin@apple.com [Mon, 11 May 2009 18:54:49 +0000 (18:54 +0000)]
JavaScriptCore:

2009-05-11  Darin Adler  <darin@apple.com>

        Reviewed by Oliver Hunt.

        Bug 25560: REGRESSION (r34821): "string value".__proto__ gets the wrong object.
        https://bugs.webkit.org/show_bug.cgi?id=25560
        rdar://problem/6861069

        I missed this case back a year ago when I sped up handling
        of JavaScript wrappers. Easy to fix.

        * runtime/JSObject.h:
        (JSC::JSValue::get): Return the prototype itself if the property name
        is __proto__.
        * runtime/JSString.cpp:
        (JSC::JSString::getOwnPropertySlot): Ditto.

LayoutTests:

2009-05-11  Darin Adler  <darin@apple.com>

        Reviewed by Oliver Hunt.

        Bug 25560: REGRESSION (r34821): "string value".__proto__ gets the wrong object.
        https://bugs.webkit.org/show_bug.cgi?id=25560
        rdar://problem/6861069

        * fast/js/prototypes-expected.txt: Added.
        * fast/js/prototypes.html: Added.
        * fast/js/resources/prototypes.js: Added.

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

11 years agoRename emitGetFromCallFrameHeader to emitGetFromCallFrameHeaderPtr
oliver@apple.com [Mon, 11 May 2009 18:05:45 +0000 (18:05 +0000)]
Rename emitGetFromCallFrameHeader to emitGetFromCallFrameHeaderPtr

Reviewed by Maciej Stachowiak

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

11 years ago2009-05-11 Brady Eidson <beidson@apple.com>
beidson@apple.com [Mon, 11 May 2009 17:28:42 +0000 (17:28 +0000)]
2009-05-11  Brady Eidson  <beidson@apple.com>

        Reviewed by Darin Adler.

        Remove unused header that declared one function which was never defined anywhere.

        * WebCore.vcproj/WebCore.vcproj:
        * platform/network/cf/ResourceResponseCFNet.cpp: Change to include ResourceResponse.h (which really means
          platform/network/cf/ResourceResponse.h)
        * platform/network/cf/ResourceResponseCFNet.h: Removed.

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

11 years ago Added webarchive/test-link-rel-icon.html to gtk Skipped list
ddkilzer@apple.com [Mon, 11 May 2009 17:06:08 +0000 (17:06 +0000)]
    Added webarchive/test-link-rel-icon.html to gtk Skipped list

        * platform/gtk/Skipped: Added webarchive/test-link-rel-icon.html.

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

11 years ago2009-05-11 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Mon, 11 May 2009 17:00:30 +0000 (17:00 +0000)]
2009-05-11  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Timothy Hatcher.

        https://bugs.webkit.org/show_bug.cgi?id=25213
        Fix assert during Inspector destruction.

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::inspectedPageDestroyed): Moved closing
            inspector above removing InspectorController object to fix JS errors,
            added clearing inspector page ptr.

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

11 years ago Bug 23331: LayoutTests/webarchive/test-link-rel-icon.html fails in different...
ddkilzer@apple.com [Mon, 11 May 2009 16:44:56 +0000 (16:44 +0000)]
    Bug 23331: LayoutTests/webarchive/test-link-rel-icon.html fails in different ways on buildbots

        <https://bugs.webkit.org/show_bug.cgi?id=23331>

        Reviewed by Brady Eidson.

        * webarchive/test-link-rel-icon-expected.webarchive: Updated
        results after removing workaround in the test.
        * webarchive/test-link-rel-icon.html: Copied from webarchive/test-link-rel-icon.html-disabled.
        Removed workaround for Bug 21026 / <rdar://problem/6240826>.
        * webarchive/test-link-rel-icon.html-disabled: Removed.

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

11 years ago[Qt] Build fix, build ParserArena.cpp
zecke@webkit.org [Mon, 11 May 2009 16:22:58 +0000 (16:22 +0000)]
[Qt] Build fix, build ParserArena.cpp

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

11 years agoWebCore
zecke@webkit.org [Mon, 11 May 2009 16:22:42 +0000 (16:22 +0000)]
WebCore
2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Holger Freyther.

        [Qt] Make sure that public APIs are properly exported on all Qt platforms
        https://bugs.webkit.org/show_bug.cgi?id=25601

        * WebCore.pro: Define QT_MAKEDLL for all non-static builds, not just for win

WebKitTools
2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Holger Freyther.

        [Qt] Make sure that public APIs are properly exported on all Qt platforms
        https://bugs.webkit.org/show_bug.cgi?id=25601

        * Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead

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

11 years ago2009-05-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
zecke@webkit.org [Mon, 11 May 2009 16:22:16 +0000 (16:22 +0000)]
2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Holger Freyther.

        Fix Qt build when ENABLE_DATABASE is turned off

        https://bugs.webkit.org/show_bug.cgi?id=25587

        * Api/qwebdatabase.cpp:
        (QWebDatabase::displayName):
        (QWebDatabase::expectedSize):
        (QWebDatabase::size):
        (QWebDatabase::fileName):
        (QWebDatabase::removeDatabase):
        * Api/qwebdatabase_p.h:
        * Api/qwebsecurityorigin.cpp:
        (QWebSecurityOrigin::allOrigins):
        (QWebSecurityOrigin::databases):

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

11 years ago2009-05-11 Norbert Leser <norbert.leser@nokia.com>
zecke@webkit.org [Mon, 11 May 2009 16:22:00 +0000 (16:22 +0000)]
2009-05-11  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=24536

        Symbian compilers cannot resolve WTF::PassRefPtr<JSC::Profile>
        unless Profile.h is included.

        * profiler/ProfileGenerator.h:

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

11 years agoJavaScriptCore
zecke@webkit.org [Mon, 11 May 2009 16:21:45 +0000 (16:21 +0000)]
JavaScriptCore
2009-05-11  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=24284

        * JavaScriptCore.pri: coding style modified
        * jsc.pro: duplicated values removed from INCLUDEPATH, DEFINES

WebCore
2009-05-11  Csaba Osztrogonac  <oszi@inf.u-szeged.hu>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=24284

        * WebCore.pro: duplicated values removed from INCLUDEPATH

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

11 years ago2009-05-11 Laszlo Gombos <laszlo.1.gombos@nokia.com>
zecke@webkit.org [Mon, 11 May 2009 16:21:18 +0000 (16:21 +0000)]
2009-05-11  Laszlo Gombos  <laszlo.1.gombos@nokia.com>

        Reviewed by Eric Seidel.

        Build fix Symbian; clean Up WebKit/Qt if ENABLE_NETSCAPE_PLUGIN_API=0
        https://bugs.webkit.org/show_bug.cgi?id=24688

        * WebCore.pro: Use platform independent plugin stubs if ENABLE_NETSCAPE_PLUGIN_API=0
        * platform/qt/TemporaryLinkStubs.cpp: Remove stub functions for plugins

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

11 years ago2009-05-11 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 11 May 2009 16:10:05 +0000 (16:10 +0000)]
2009-05-11  Darin Adler  <darin@apple.com>

        Reviewed by Dan Bernstein.

        Fix failure seen on most of the buildbots.

        * fast/forms/text-control-intrinsic-widths-expected.txt: Rolled back to the
        version before Hyatt's recent intrinsic margin check-in. According to Dan,
        that should not have had any effect on this test, so these results reflect
        some other sort of difference on Hyatt's computer.

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

11 years ago2009-05-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 11 May 2009 15:17:11 +0000 (15:17 +0000)]
2009-05-11  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by NOBODY (build fix).

        Also add ParserArena, in addition to AllInOne, for release builds,
        since adding it to AllInOne breaks Mac.

        * GNUmakefile.am:

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

11 years ago2009-05-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Mon, 11 May 2009 14:55:58 +0000 (14:55 +0000)]
2009-05-11  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Unreviewed build fix. Adding ParserArena to the autotools build.

        * GNUmakefile.am:

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

11 years ago More Windows build fixes after r43479
aroben@apple.com [Mon, 11 May 2009 14:50:21 +0000 (14:50 +0000)]
    More Windows build fixes after r43479

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:
        Export ParserArena::reset.

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

11 years ago Windows build fixes after r43479
aroben@apple.com [Mon, 11 May 2009 14:36:20 +0000 (14:36 +0000)]
    Windows build fixes after r43479

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Added
        ParserArena to the project.

        * parser/NodeConstructors.h: Added a missing include.
        (JSC::ParserArenaDeletable::operator new): Marked these as inline.

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

11 years ago2009-05-11 Anton Shestakov <engored@ya.ru>
kov@webkit.org [Mon, 11 May 2009 13:57:35 +0000 (13:57 +0000)]
2009-05-11  Anton Shestakov  <engored@ya.ru>

        Rubber-stamped by Gustavo Noronha.

        New Russian translation.

        * ru.po: Added.

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

11 years agoRevert "2009-05-11 Jan Michael Alonzo <jmalonzo@webkit.org>"
jmalonzo@webkit.org [Mon, 11 May 2009 10:55:25 +0000 (10:55 +0000)]
Revert "2009-05-11  Jan Michael Alonzo  <jmalonzo@webkit.org>"

This reverts commit r43485 as it fails the mac bots.

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

11 years ago2009-05-11 Jan Michael Alonzo <jmalonzo@webkit.org>
jmalonzo@webkit.org [Mon, 11 May 2009 10:34:16 +0000 (10:34 +0000)]
2009-05-11  Jan Michael Alonzo  <jmalonzo@webkit.org>

        Reviewed by NOBODY (BuildFix).

        Add ParserArena to AllInOneFile as well as gtk, qt and wx build
        scripts.

        * AllInOneFile.cpp:
        * GNUmakefile.am:
        * JavaScriptCore.pri:
        * JavaScriptCoreSources.bkl:

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

11 years ago2009-05-10 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 11 May 2009 06:06:30 +0000 (06:06 +0000)]
2009-05-10  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Geoff Garen.

        - fixed REGRESSION(r43432): Many JavaScriptCore tests crash in 64-bit
        https://bugs.webkit.org/show_bug.cgi?id=25680

        Accound for the 64-bit instruction prefix when rewriting mov to lea on 64-bit.

        * jit/JIT.h:
        * jit/JITPropertyAccess.cpp:
        (JSC::JIT::patchGetByIdSelf):
        (JSC::JIT::patchPutByIdReplace):

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

11 years ago2009-05-10 Darin Adler <darin@apple.com>
darin@apple.com [Mon, 11 May 2009 04:30:14 +0000 (04:30 +0000)]
2009-05-10  Darin Adler  <darin@apple.com>

        Reviewed by Cameron Zwarich.

        Bug 25674: syntax tree nodes should use arena allocation
        https://bugs.webkit.org/show_bug.cgi?id=25674

        Part two: Remove reference counting from most nodes.

        * JavaScriptCore.exp: Updated.

        * JavaScriptCore.xcodeproj/project.pbxproj: Added ParserArena.h and .cpp.

        * parser/Grammar.y: Replaced uses of ParserRefCountedData with uses of
        ParserArenaData. Took out now-nonfunctional code that tries to manually
        release declaration list. Changed the new calls that create FuncDeclNode
        and FuncExprNode so that they use the proper version of operator new for
        the reference-counted idiom, not the deletion idiom.

        * parser/NodeConstructors.h:
        (JSC::ParserArenaDeletable::operator new): Added.
        (JSC::ParserArenaRefCounted::ParserArenaRefCounted): Added.
        (JSC::Node::Node): Removed ParserRefCounted initializer.
        (JSC::ElementNode::ElementNode): Ditto.
        (JSC::PropertyNode::PropertyNode): Ditto.
        (JSC::ArgumentsNode::ArgumentsNode): Ditto.
        (JSC::SourceElements::SourceElements): Ditto.
        (JSC::ParameterNode::ParameterNode): Ditto.
        (JSC::FuncExprNode::FuncExprNode): Added ParserArenaRefCounted initializer.
        (JSC::FuncDeclNode::FuncDeclNode): Ditto.
        (JSC::CaseClauseNode::CaseClauseNode): Removed ParserRefCounted initializer.
        (JSC::ClauseListNode::ClauseListNode): Ditto.
        (JSC::CaseBlockNode::CaseBlockNode): Ditto.

        * parser/NodeInfo.h: Replaced uses of ParserRefCountedData with uses of
        ParserArenaData.

        * parser/Nodes.cpp:
        (JSC::ScopeNode::ScopeNode): Added ParserArenaRefCounted initializer.
        (JSC::ProgramNode::create): Use the proper version of operator new for
        the reference-counted idiom, not the deletion idiom. Use the arena
        contains function instead of the vecctor find function.
        (JSC::EvalNode::create): Use the proper version of operator new for
        the reference-counted idiom, not the deletion idiom. Use the arena
        reset function instead of the vector shrink function.
        (JSC::FunctionBodyNode::createNativeThunk): Use the proper version
        of operator new for the reference-counted idiom, not the deletion idiom.
        (JSC::FunctionBodyNode::create): More of the same.

        * parser/Nodes.h: Added ParserArenaDeletable and ParserArenaRefCounted
        to replace ParserRefCounted. Fixed inheritance so only the classes that
        need reference counting inherit from ParserArenaRefCounted.

        * parser/Parser.cpp:
        (JSC::Parser::parse): Set m_sourceElements to 0 since it now starts
        uninitialized. Just set it to 0 again in the failure case, since it's
        now just a raw pointer, not an owning one.
        (JSC::Parser::reparseInPlace): Removed now-unneeded get() function.
        (JSC::Parser::didFinishParsing): Replaced uses of ParserRefCountedData
        with uses of ParserArenaData.

        * parser/Parser.h: Less RefPtr, more arena.

        * parser/ParserArena.cpp: Added.
        * parser/ParserArena.h: Added.

        * runtime/JSGlobalData.cpp:
        (JSC::JSGlobalData::~JSGlobalData): Removed arena-related code, since it's
        now in the Parser.
        (JSC::JSGlobalData::createLeaked): Removed unneeded #ifndef.
        (JSC::JSGlobalData::createNativeThunk): Tweaked #if a bit.

        * runtime/JSGlobalData.h: Removed parserArena, which is now in Parser.

        * wtf/RefCounted.h: Added deletionHasBegun function, for use in
        assertions to catch deletion not done by the deref function.

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

11 years ago Part 2: Try to fix the Windows build by adding a symbol which is really just...
ddkilzer@apple.com [Mon, 11 May 2009 00:48:31 +0000 (00:48 +0000)]
    Part 2: Try to fix the Windows build by adding a symbol which is really just a re-mangling of a changed method signature

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:

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

11 years agoWebCore:
mitz@apple.com [Mon, 11 May 2009 00:43:05 +0000 (00:43 +0000)]
WebCore:

        Reviewed by Darin Adler.

        - fix a crash when deactivating a document that had adopted a <form>
          element

        Test: fast/dom/HTMLFormElement/document-deactivation-callback-crash.html

        * html/HTMLFormElement.cpp:
        (WebCore::HTMLFormElement::didMoveToNewOwnerDocument): Corrected the
        logic here: <form> elements should be registered for document activation
        callbacks if and only if autocomplete is off.

LayoutTests:

        Reviewed by Darin Adler.

        - test for a crash when deactivating a document that had adopted a
          <form> element

        * fast/dom/HTMLFormElement/document-deactivation-callback-crash-expected.txt: Added.
        * fast/dom/HTMLFormElement/document-deactivation-callback-crash.html: Added.

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

11 years ago Try to fix the Windows build by removing an unknown symbol
ddkilzer@apple.com [Mon, 11 May 2009 00:36:15 +0000 (00:36 +0000)]
    Try to fix the Windows build by removing an unknown symbol

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore_debug.def:

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

11 years ago Touch Nodes.cpp to try to fix Windows build
ddkilzer@apple.com [Mon, 11 May 2009 00:27:40 +0000 (00:27 +0000)]
    Touch Nodes.cpp to try to fix Windows build

        * parser/Nodes.cpp: Removed whitespace.

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

11 years ago Test for Bug 23741: StyleRareNonInheritedData::operator==() should not compar...
ddkilzer@apple.com [Mon, 11 May 2009 00:03:04 +0000 (00:03 +0000)]
    Test for Bug 23741: StyleRareNonInheritedData::operator==() should not compare ContentData objects by pointer

        Rubber-stamped by Geoff Garen.

        Original test by Simon Fraser.

        * fast/css/compare-content-style.html: Added.
        * platform/mac/fast/css/compare-content-style-expected.txt: Added.

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