Changeset 61564 in webkit


Ignore:
Timestamp:
Jun 21, 2010 12:11:59 PM (14 years ago)
Author:
atwilson@chromium.org
Message:

WebKitTools: Unreviewed.

Rolling back 61551 and 61555 due to test failures.

  • DumpRenderTree/LayoutTestController.cpp:

(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/mac/LayoutTestControllerMac.mm:

(LayoutTestController::setEditingBehavior):

  • DumpRenderTree/mac/UIDelegate.mm:

LayoutTests: Unreviewed rollback.

Rolling back 61551 and 61555 due to test failures on Linux/Win.

  • fast/dom/Window/window-function-frame-getter-precedence-expected.txt:
  • fast/dom/Window/window-function-frame-getter-precedence.html:
  • fast/dom/Window/window-function-name-getter-precedence-expected.txt:
  • fast/dom/Window/window-function-name-getter-precedence.html:
  • fast/dom/Window/window-lookup-precedence-expected.txt:
  • fast/dom/Window/window-lookup-precedence.html:
  • fast/dom/Window/window-properties-expected.txt:
  • fast/dom/Window/window-properties.html:
  • fast/dom/script-tests/prototype-inheritance.js:
  • fast/events/resources/modal-dialog.html: Removed.
  • fast/events/show-modal-dialog-onblur-onfocus-expected.txt: Removed.
  • fast/events/show-modal-dialog-onblur-onfocus.html: Removed.
  • fast/harness/resources/modal-dialog.html: Removed.
  • fast/harness/show-modal-dialog-expected.txt: Removed.
  • fast/harness/show-modal-dialog.html: Removed.
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt:
  • fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt:
  • http/tests/security/cross-frame-access-call-expected.txt:
  • http/tests/security/cross-frame-access-call.html:
  • http/tests/security/cross-frame-access-get-expected.txt:
  • http/tests/security/cross-frame-access-get.html:
  • http/tests/security/cross-frame-access-put-expected.txt:
  • http/tests/security/resources/cross-frame-iframe-for-put-test.html:
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:
Location:
trunk
Files:
6 deleted
47 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r61557 r61564  
     12010-06-21  Drew Wilson  <atwilson@chromium.org>
     2
     3        Unreviewed rollback.
     4
     5        Rolling back 61551 and 61555 due to test failures on Linux/Win.
     6
     7        * fast/dom/Window/window-function-frame-getter-precedence-expected.txt:
     8        * fast/dom/Window/window-function-frame-getter-precedence.html:
     9        * fast/dom/Window/window-function-name-getter-precedence-expected.txt:
     10        * fast/dom/Window/window-function-name-getter-precedence.html:
     11        * fast/dom/Window/window-lookup-precedence-expected.txt:
     12        * fast/dom/Window/window-lookup-precedence.html:
     13        * fast/dom/Window/window-properties-expected.txt:
     14        * fast/dom/Window/window-properties.html:
     15        * fast/dom/script-tests/prototype-inheritance.js:
     16        * fast/events/resources/modal-dialog.html: Removed.
     17        * fast/events/show-modal-dialog-onblur-onfocus-expected.txt: Removed.
     18        * fast/events/show-modal-dialog-onblur-onfocus.html: Removed.
     19        * fast/harness/resources/modal-dialog.html: Removed.
     20        * fast/harness/show-modal-dialog-expected.txt: Removed.
     21        * fast/harness/show-modal-dialog.html: Removed.
     22        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt:
     23        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt:
     24        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt:
     25        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt:
     26        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt:
     27        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt:
     28        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt:
     29        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt:
     30        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt:
     31        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt:
     32        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt:
     33        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt:
     34        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt:
     35        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt:
     36        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt:
     37        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt:
     38        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt:
     39        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt:
     40        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt:
     41        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt:
     42        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt:
     43        * fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt:
     44        * http/tests/security/cross-frame-access-call-expected.txt:
     45        * http/tests/security/cross-frame-access-call.html:
     46        * http/tests/security/cross-frame-access-get-expected.txt:
     47        * http/tests/security/cross-frame-access-get.html:
     48        * http/tests/security/cross-frame-access-put-expected.txt:
     49        * http/tests/security/resources/cross-frame-iframe-for-put-test.html:
     50        * platform/chromium/test_expectations.txt:
     51        * platform/gtk/Skipped:
     52        * platform/qt/Skipped:
     53        * platform/win/Skipped:
     54
    1552010-06-21  Dimitri Glazkov  <dglazkov@chromium.org>
    256
  • trunk/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt

    r61551 r61564  
    3131PASS: typeof window.addEventListener should be object and is.
    3232PASS: typeof window.removeEventListener should be object and is.
     33FAIL: typeof window.showModalDialog should be object but instead is undefined
    3334PASS: typeof window.captureEvents should be object and is.
    3435PASS: typeof window.releaseEvents should be object and is.
  • trunk/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence.html

    r61551 r61564  
    1717        }
    1818
    19         function shouldBe(a, b, printOnlyOnFailure)
     19        function shouldBe(a, b)
    2020        {
    2121            var evalA;
     
    2525                evalA = e;
    2626            }
    27             if (evalA == b) {
    28                 if (!printOnlyOnFailure)
    29                     log("PASS: " + a + " should be " + b + " and is.", "green");
    30             }
     27            if (evalA == b)
     28                log("PASS: " + a + " should be " + b + " and is.", "green");
    3129            else
    3230                log("FAIL: " + a + " should be " + b + " but instead is " + evalA, "red");
     
    4038            document.body.appendChild(iframe);
    4139
    42             // showModalDialog only works on mac in the DRT.  So run this test only if its defined and print output only on failure.
    43             // This'll keep the output consistent on all platforms.
    44             if (functionName == "showModalDialog" && window.showModalDialog != undefined)
    45                 shouldBe("typeof window." + functionName, "object", true);
    46             else
    47                 shouldBe("typeof window." + functionName, "object");
     40            shouldBe("typeof window." + functionName, "object");
    4841
    4942            document.body.removeChild(iframe);
  • trunk/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt

    r61551 r61564  
    3131PASS: typeof window.addEventListener should be function and is.
    3232PASS: typeof window.removeEventListener should be function and is.
     33FAIL: typeof window.showModalDialog should be function but instead is undefined
    3334PASS: typeof window.captureEvents should be function and is.
    3435PASS: typeof window.releaseEvents should be function and is.
  • trunk/LayoutTests/fast/dom/Window/window-function-name-getter-precedence.html

    r61551 r61564  
    1717        }
    1818
    19         function shouldBe(a, b, printOnlyOnFailure)
     19        function shouldBe(a, b)
    2020        {
    2121            var evalA;
     
    2525                evalA = e;
    2626            }
    27             if (evalA == b) {
    28                 if (!printOnlyOnFailure)
    29                     log("PASS: " + a + " should be " + b + " and is.", "green");
    30             }
     27            if (evalA == b)
     28                log("PASS: " + a + " should be " + b + " and is.", "green");
    3129            else
    3230                log("FAIL: " + a + " should be " + b + " but instead is " + evalA, "red");
     
    3937            document.body.appendChild(element);
    4038
    41             // showModalDialog only works on mac in the DRT.  So run this test only if its defined and print output only on failure.
    42             // This'll keep the output consistent on all platforms.
    43             if (functionName == "showModalDialog" && window.showModalDialog != undefined)
    44                 shouldBe("typeof window." + functionName, "function", true);
    45             else
    46                 shouldBe("typeof window." + functionName, "function");
     39            shouldBe("typeof window." + functionName, "function");
    4740
    4841            document.body.removeChild(element);
  • trunk/LayoutTests/fast/dom/Window/window-lookup-precedence-expected.txt

    r61551 r61564  
    6161PASS 'function setTimeout() {    [native code]}' is 'function setTimeout() {    [native code]}'
    6262PASS 'function setTimeout() {    [native code]}' is 'function setTimeout() {    [native code]}'
     63FAIL win['showModalDialog'] should be null (of type object). Was undefined (of type undefined).
     64FAIL win['showModalDialog'] should be null (of type object). Was undefined (of type undefined).
    6365PASS 'function stop() {    [native code]}' is 'function stop() {    [native code]}'
    6466PASS 'function stop() {    [native code]}' is 'function stop() {    [native code]}'
  • trunk/LayoutTests/fast/dom/Window/window-lookup-precedence.html

    r61551 r61564  
    3939    var name = prop[0];
    4040    var original = win[name];
    41     // showModalDialog is not currently implemented in DumpRenderTree for all platforms.
    42     if (name == "showModalDialog")
    43       return;
    4441    // Check subframe precedence.
    4542    try {
  • trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt

    r61551 r61564  
    22642264window.setInterval [function]
    22652265window.setTimeout [function]
     2266window.showModalDialog [undefined]
    22662267window.status [string]
    22672268window.statusbar [object BarInfo]
  • trunk/LayoutTests/fast/dom/Window/window-properties.html

    r61551 r61564  
    8484    "window.FileError" : 1,
    8585    "window.FileReader" : 1,
    86     "window.ondeviceorientation" : 1,
    87 
    88     // showModalDialog is not implemented on all platforms in DumpRenderTree.
    89     "window.showModalDialog" : 1
     86    "window.ondeviceorientation" : 1
    9087};
    9188
  • trunk/LayoutTests/fast/dom/script-tests/prototype-inheritance.js

    r61551 r61564  
    2020    "Int8Array", "Uint8Array", "Int16Array", "Uint16Array", "Int32Array", "Uint32Array", "Float32Array",
    2121    "FileError", "FileReader",
    22     "indexedDB", "showModalDialog"
     22    "indexedDB"
    2323];
    2424
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T1
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T10
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T11
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T2
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T3
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T4
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T5
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T6
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T7
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T8
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9-expected.txt

    r61551 r61564  
    11S10.2.2_A1.1_T9
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T1
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T10
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T11
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T2
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T3
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T4
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T5
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T6
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T7
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T8
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9-expected.txt

    r61551 r61564  
    11S10.2.2_A1.2_T9
    22
    3 PASS
     3FAIL SputnikError: #1: scope chain must contain same objects in the same order as the calling context
    44
    55TEST COMPLETE
  • trunk/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt

    r61551 r61564  
    8383PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is.
    8484PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is.
     85PASS: window.showModalDialog.call(targetWindow); should be 'TypeError: Result of expression 'window.showModalDialog' [undefined] is not an object.' and is.
    8586PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is.
    8687
  • trunk/LayoutTests/http/tests/security/cross-frame-access-call.html

    r61551 r61564  
    5656    shouldBe("window.resizeTo.call(targetWindow, 0, 0);", "undefined");
    5757
    58     // FIXME:  showModalDialog now works on DRT and thus breaks this test.  Will uncomment after adding a separate test for Mac for showModalDialog - Bug #39897
    5958    // Throws a TypeError and logs to the error console
    60     // shouldBe("window.showModalDialog.call(targetWindow);", '"TypeError: Result of expression \'window.showModalDialog\' [undefined] is not an object."');
     59    shouldBe("window.showModalDialog.call(targetWindow);", '"TypeError: Result of expression \'window.showModalDialog\' [undefined] is not an object."');
    6160
    6261    // - Tests for the Location object -
  • trunk/LayoutTests/http/tests/security/cross-frame-access-get-expected.txt

    r61551 r61564  
    534534PASS: canGet('targetWindow.setInterval') should be 'false' and is.
    535535PASS: canGet('targetWindow.setTimeout') should be 'false' and is.
     536PASS: canGet('targetWindow.showModalDialog') should be 'false' and is.
    536537PASS: canGet('targetWindow.stop') should be 'false' and is.
    537538
  • trunk/LayoutTests/http/tests/security/cross-frame-access-get.html

    r61551 r61564  
    133133            "setInterval",
    134134            "setTimeout",
    135             // FIXME: This function is now implemented on mac and hence the expected output changes.  Uncomment after adding a
    136             // mac specific test for showModalDialog.  Bug# 39897
    137             // "showModalDialog",
     135            "showModalDialog",
    138136            "stop"
    139137        ];
  • trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt

    r61551 r61564  
    563563ALERT: PASS: window.setInterval should be 'function setInterval() {    [native code]}' and is.
    564564ALERT: PASS: window.setTimeout should be 'function setTimeout() {    [native code]}' and is.
    565 ALERT: PASS: window.showModalDialog matched the expected value.
     565ALERT: PASS: window.showModalDialog should be 'undefined' and is.
    566566ALERT: PASS: window.stop should be 'function stop() {    [native code]}' and is.
    567567This test checks cross-frame access security of window attribute setters (rdar://problem/5326791).
  • trunk/LayoutTests/http/tests/security/resources/cross-frame-iframe-for-put-test.html

    r61551 r61564  
    460460            shouldBe("window.setInterval", "setIntervalOld");
    461461            shouldBe("window.setTimeout", "setTimeoutOld");
    462 
    463             // showModalDialog is not implemented on all platforms for DumpRenderTree.  So don't display the values.
    464             shouldBe("window.showModalDialog", "showModalDialogOld", true);
     462            shouldBe("window.showModalDialog", "showModalDialogOld");
    465463            shouldBe("window.stop", "stopOld");
    466464        }, 0);
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r61557 r61564  
    28712871BUG47035 WIN DEBUG : fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html = PASS TEXT
    28722872BUG47036 WIN SLOW : html5lib/runner.html = PASS
    2873 
    2874 // Related to https://bugs.webkit.org/show_bug.cgi?id=35350
    2875 BUG45048 : fast/events/show-modal-dialog-onblur-onfocus.html = FAIL
    2876 BUG45048 : fast/harness/resources/modal-dialog.html = FAIL
    2877 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html = FAIL
    2878 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html = FAIL
    2879 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html = FAIL
    2880 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html = FAIL
    2881 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html = FAIL
    2882 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html = FAIL
    2883 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html = FAIL
    2884 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html = FAIL
    2885 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html = FAIL
    2886 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html = FAIL
    2887 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html = FAIL
    2888 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html = FAIL
    2889 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html = FAIL
    2890 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html = FAIL
    2891 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html = FAIL
    2892 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html = FAIL
    2893 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html = FAIL
    2894 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html = FAIL
    2895 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html = FAIL
    2896 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html = FAIL
    2897 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html = FAIL
    2898 BUG45048 : fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html = FAIL
  • trunk/LayoutTests/platform/gtk/Skipped

    r61551 r61564  
    59005900# https://bugs.webkit.org/show_bug.cgi?id=40859
    59015901media/video-controls-rendering.html
    5902 
    5903 # https://bugs.webkit.org/show_bug.cgi?id=35350
    5904 fast/events/show-modal-dialog-onblur-onfocus.html
    5905 fast/harness/resources/modal-dialog.html
    5906 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html
    5907 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html
    5908 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html
    5909 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html
    5910 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html
    5911 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html
    5912 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html
    5913 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html
    5914 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html
    5915 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html
    5916 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html
    5917 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html
    5918 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html
    5919 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html
    5920 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html
    5921 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html
    5922 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html
    5923 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html
    5924 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html
    5925 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html
    5926 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html
    5927 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html
  • trunk/LayoutTests/platform/qt/Skipped

    r61551 r61564  
    54215421# preloader tests.
    54225422fast/preloader
    5423 
    5424 # https://bugs.webkit.org/show_bug.cgi?id=35350
    5425 fast/events/show-modal-dialog-onblur-onfocus.html
    5426 fast/harness/resources/modal-dialog.html
    5427 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html
    5428 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html
    5429 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html
    5430 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html
    5431 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html
    5432 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html
    5433 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html
    5434 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html
    5435 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html
    5436 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html
    5437 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html
    5438 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html
    5439 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html
    5440 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html
    5441 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html
    5442 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html
    5443 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html
    5444 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html
    5445 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html
    5446 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html
    5447 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html
    5448 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html
  • trunk/LayoutTests/platform/win/Skipped

    r61551 r61564  
    903903fast/text/hyphenate-character.html
    904904fast/text/hyphens.html
    905 
    906 # https://bugs.webkit.org/show_bug.cgi?id=35350
    907 fast/events/show-modal-dialog-onblur-onfocus.html
    908 fast/harness/resources/modal-dialog.html
    909 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T10.html
    910 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T11.html
    911 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T2.html
    912 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T2.html
    913 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T4.html
    914 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T4.html
    915 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T6.html
    916 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T6.html
    917 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T8.html
    918 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T8.html
    919 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T10.html
    920 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T11.html
    921 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T1.html
    922 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T1.html
    923 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T3.html
    924 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T3.html
    925 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T5.html
    926 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T5.html
    927 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T7.html
    928 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T7.html
    929 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.1_T9.html
    930 fast/js/sputnik/Conformance/10_Execution_Contexts/10.2_Entering_An_Execution_Context/10.2.2_Eval_Code/S10.2.2_A1.2_T9.html
  • trunk/WebKitTools/ChangeLog

    r61563 r61564  
     12010-06-21  Drew Wilson  <atwilson@chromium.org>
     2
     3        Unreviewed.
     4
     5        Rolling back 61551 and 61555 due to test failures.
     6
     7        * DumpRenderTree/LayoutTestController.cpp:
     8        (LayoutTestController::staticFunctions):
     9        * DumpRenderTree/LayoutTestController.h:
     10        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
     11        (LayoutTestController::setEditingBehavior):
     12        * DumpRenderTree/mac/UIDelegate.mm:
     13
    1142010-06-21  Anders Carlsson  <andersca@apple.com>
    215
     
    1225        (LayoutTestController::elementDoesAutoCompleteForElementWithId):
    1326        (LayoutTestController::isCommandEnabled):
    14 
    15 2010-06-21  Prasad Tammana  <prasadt@chromium.org>
    16 
    17         Reviewed by Darin Adler.
    18 
    19         DumpRenderTree should allow tests with modal dialogs
    20         https://bugs.webkit.org/show_bug.cgi?id=35350
    21 
    22         * DumpRenderTree/LayoutTestController.cpp:
    23         (abortModalCallback):
    24         (LayoutTestController::staticFunctions):
    25         * DumpRenderTree/LayoutTestController.h:
    26         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
    27         (LayoutTestController::abortModal):
    28         Add abortModal method to LayoutTestController and make it available from script.
    29 
    30         * DumpRenderTree/mac/UIDelegate.mm: Add support for showModalDialog.
    31         (-[UIDelegate modalWindowWillClose:]): Observer for NSWindowWillCloseNotifications to call
    32         abortModal from when modal window closes.
    33         (-[UIDelegate webViewRunModal:]): Delegate method for showModalDialog to run the modal loop.
    3427
    35282010-06-21  Satish Sampath  <satish@chromium.org>
  • trunk/WebKitTools/DumpRenderTree/LayoutTestController.cpp

    r61551 r61564  
    14741474}
    14751475
    1476 
    1477 #if PLATFORM(MAC)
    1478 static JSValueRef abortModalCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    1479 {
    1480     LayoutTestController* controller = static_cast<LayoutTestController*>(JSObjectGetPrivate(thisObject));
    1481     controller->abortModal();
    1482     return JSValueMakeUndefined(context);
    1483 }
    1484 #endif
    1485 
    14861476static JSValueRef markerTextForListItemCallback(JSContextRef context, JSObjectRef, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
    14871477{
     
    16101600{
    16111601    static JSStaticFunction staticFunctions[] = {
    1612 #if PLATFORM(MAC)
    1613         { "abortModal", abortModalCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    1614 #endif
    16151602        { "addDisallowedURL", addDisallowedURLCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
    16161603        { "addUserScript", addUserScriptCallback, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
  • trunk/WebKitTools/DumpRenderTree/LayoutTestController.h

    r61551 r61564  
    258258    void setWebViewEditable(bool);
    259259
    260 
    261 #if PLATFORM(MAC)
    262     void abortModal();
    263 #endif
    264 
    265260    // The following API test functions should probably be moved to platform-specific
    266261    // unit tests outside of DRT once they exist.
  • trunk/WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm

    r61563 r61564  
    867867    [editingBehaviorNS release];
    868868}
    869 
    870 void LayoutTestController::abortModal()
    871 {
    872     [NSApp abortModal];
    873 }
  • trunk/WebKitTools/DumpRenderTree/mac/UIDelegate.mm

    r61551 r61564  
    6666
    6767    printf ("CONSOLE MESSAGE: line %d: %s\n", [lineNumber intValue], [message UTF8String]);
    68 }
    69 
    70 - (void)modalWindowWillClose:(NSNotification *)notification
    71 {
    72     [[NSNotificationCenter defaultCenter] removeObserver:self name:NSWindowWillCloseNotification object:nil];
    73     [NSApp abortModal];
    74 }
    75 
    76 - (void)webViewRunModal:(WebView *)sender
    77 {
    78     gLayoutTestController->setWindowIsKey(false);
    79     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(modalWindowWillClose:) name:NSWindowWillCloseNotification object:nil];
    80     [NSApp runModalForWindow:[sender window]];
    81     gLayoutTestController->setWindowIsKey(true);
    8268}
    8369
Note: See TracChangeset for help on using the changeset viewer.