diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 00:26:17 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-12 00:26:17 +0000 |
commit | 98bea6510a3c12ce40ddc2190dadb32d726414bf (patch) | |
tree | 35a0b9b48ed66b4b8dbedfb15ea5478e62914818 /webkit/data | |
parent | e59db073e62fd86c00bc504e6c432be239b1c8b1 (diff) | |
download | chromium_src-98bea6510a3c12ce40ddc2190dadb32d726414bf.zip chromium_src-98bea6510a3c12ce40ddc2190dadb32d726414bf.tar.gz chromium_src-98bea6510a3c12ce40ddc2190dadb32d726414bf.tar.bz2 |
Fix up baseline oopses made by rebaselining tool.
TBR=japhet
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/861005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
9 files changed, 91 insertions, 126 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt deleted file mode 100644 index debd252..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt +++ /dev/null @@ -1,26 +0,0 @@ -Test setting the hostname attribute of the URL in HTMLAnchorElement. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -Basic test -PASS a.href is 'https://www.otherdomain.com:8080/path/' -Extra slashes before hostname -PASS a.href is 'https://www.otherdomain.com:8080/path/' -Set hostname to URL with foo: protocol -PASS a.href is 'foo://www.otherdomain.com/path/' -Set hostname to null -PASS a.href is 'https://www.mydomain.com:8080/path/' -Set hostname to empty string -PASS a.href is 'https://www.mydomain.com:8080/path/' -Set hostname to URL with 2 colons -PASS a.href is 'really:bad:url' -Set a hostname that contains space in it -FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20domain.com/path/. -Set hostname on a local file -PASS a.href is 'c:/path/testurl.html' -Set hostname to undefined -PASS a.href is 'https://undefined:8080/path/' -PASS successfullyParsed is true - -TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt new file mode 100644 index 0000000..ae0bfa9 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt @@ -0,0 +1,86 @@ +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + +CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. + + + +----- tests for calling methods of another frame using Function.call ----- + +PASS: window.setTimeout.call(targetWindow, 'void(0);', 0) should be 'undefined' and is. +PASS: window.setInterval.call(targetWindow, 'void(0);', 0) should be 'undefined' and is. +PASS: window.getSelection.call(targetWindow) should be 'undefined' and is. +PASS: window.find.call(targetWindow, 'string', false, false, false, false, false, false) should be 'undefined' and is. +PASS: window.confirm.call(targetWindow, 'message') should be 'undefined' and is. +PASS: window.prompt.call(targetWindow, 'message', 'defaultValue') should be 'undefined' and is. +PASS: window.getComputedStyle.call(targetWindow, document.body, '') should be 'undefined' and is. +PASS: window.getMatchedCSSRules.call(targetWindow, document.body, '', false) should be 'undefined' and is. +PASS: window.openDatabase.call(targetWindow, 'name') should be 'undefined' and is. +PASS: window.atob.call(targetWindow, 'string') should be 'undefined' and is. +PASS: window.btoa.call(targetWindow, 'string') should be 'undefined' and is. +PASS: window.open.call(targetWindow, '') should be 'undefined' and is. +PASS: window.addEventListener.call(targetWindow, 'load', null, false); should be 'undefined' and is. +PASS: window.removeEventListener.call(targetWindow, 'load', null, false); should be 'undefined' and is. +PASS: window.clearTimeout.call(targetWindow, 0); should be 'undefined' and is. +PASS: window.clearInterval.call(targetWindow, 0); should be 'undefined' and is. +PASS: window.print.call(targetWindow); should be 'undefined' and is. +PASS: window.stop.call(targetWindow); should be 'undefined' and is. +PASS: window.alert.call(targetWindow, 'message'); should be 'undefined' and is. +PASS: window.scrollBy.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.scrollTo.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.scroll.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.moveBy.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.moveTo.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is. +PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is. +*** FAIL: window.showModalDialog.call(targetWindow); should be 'TypeError: Result of expression 'window.showModalDialog' [undefined] is not an object.' but instead is undefined. *** +PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is. diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt deleted file mode 100644 index debd252..0000000 --- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt +++ /dev/null @@ -1,26 +0,0 @@ -Test setting the hostname attribute of the URL in HTMLAnchorElement. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -Basic test -PASS a.href is 'https://www.otherdomain.com:8080/path/' -Extra slashes before hostname -PASS a.href is 'https://www.otherdomain.com:8080/path/' -Set hostname to URL with foo: protocol -PASS a.href is 'foo://www.otherdomain.com/path/' -Set hostname to null -PASS a.href is 'https://www.mydomain.com:8080/path/' -Set hostname to empty string -PASS a.href is 'https://www.mydomain.com:8080/path/' -Set hostname to URL with 2 colons -PASS a.href is 'really:bad:url' -Set a hostname that contains space in it -FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20domain.com/path/. -Set hostname on a local file -PASS a.href is 'c:/path/testurl.html' -Set hostname to undefined -PASS a.href is 'https://undefined:8080/path/' -PASS successfullyParsed is true - -TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt deleted file mode 100644 index 5c03d7b..0000000 --- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt +++ /dev/null @@ -1,24 +0,0 @@ -Test setting the port attribute of the URL in HTMLAnchorElement. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -Default port as number -PASS a.href is 'https://www.mydomain.com/path/testurl.html?key=value' -Default port as string -PASS a.href is 'https://www.mydomain.com/path/testurl.html?key=value' -Set port to 0 -FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. -Set port to non-number -PASS a.href is 'https://www.mydomain.com:4/path/testurl.html?key=value' -Set port to null -FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. -Set port to empty string -FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. -Set port to undefined -FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. -Set port to URL with foo: protocol -PASS a.href is 'foo://bar:50/' -PASS successfullyParsed is true - -TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt deleted file mode 100644 index e0b101d..0000000 --- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt +++ /dev/null @@ -1,38 +0,0 @@ -The following table shows how URLs are parsed and canonicalized. The base URI for this document is file:///BASE/. - -URL href host pathname -file:///BASE/ /BASE/ -test file:///BASE/test /BASE/test -/ file:/// / -/test file:///test /test -// file:/// / -//test file://test/ test / -/// file:/// / -///test file:///test /test -file: file:///BASE/ /BASE/ -file:test file:///BASE/test /BASE/test -file:/ file:/// / -file:/test file:///test /test -file:// file:/// / -file://test file://test/ test / -file:/// file:/// / -file:///test file:///test /test -file://localhost file://localhost/ localhost / -file://localhost/ file://localhost/ localhost / -file://localhost/test file://localhost/test localhost /test -http: http: -http:/ http: -http:// http: -http:/// http: -http://// http: -http://localhost http://localhost/ localhost / -http://localhost/ http://localhost/ localhost / -http://localhost/test http://localhost/test localhost /test -x-webkit: x-webkit: -x-webkit:test x-webkit:test test -x-webkit:/ x-webkit:/ / -x-webkit:/test x-webkit:/test /test -x-webkit:// x-webkit: -x-webkit://test x-webkit://test/ test / -x-webkit:/// x-webkit: -x-webkit:///test x-webkit://test/ test / diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt index 48ade0f..ae0bfa9 100644 --- a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt @@ -52,8 +52,6 @@ CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. -CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. - ----- tests for calling methods of another frame using Function.call ----- @@ -86,4 +84,3 @@ PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is. PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is. *** FAIL: window.showModalDialog.call(targetWindow); should be 'TypeError: Result of expression 'window.showModalDialog' [undefined] is not an object.' but instead is undefined. *** PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is. - diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/editing/deleting/delete-3857753-fix-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/editing/deleting/delete-3857753-fix-expected.txt index abbedc3..dc4b27b 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/editing/deleting/delete-3857753-fix-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/editing/deleting/delete-3857753-fix-expected.txt @@ -18,13 +18,12 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 [border: (2px solid #FF0000)] RenderBlock {DIV} at (14,14) size 756x28 - RenderInline {B} at (0,0) size 37x26 + RenderInline {B} at (0,0) size 25x26 RenderText {#text} at (0,0) size 25x26 text run at (0,0) width 25: "on" - RenderInline {SPAN} at (0,0) size 12x27 - RenderInline {I} at (0,0) size 12x27 - RenderText {#text} at (25,0) size 12x27 - text run at (25,0) width 12: "o" + RenderInline {I} at (0,0) size 12x27 + RenderText {#text} at (25,0) size 12x27 + text run at (25,0) width 12: "o" RenderBlock {DIV} at (14,42) size 756x28 RenderInline {B} at (0,0) size 54x26 RenderText {#text} at (0,0) size 54x26 diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt index b3cdd43..f4d9001 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt @@ -18,7 +18,7 @@ PASS a.href is 'really:bad:url' Set a hostname that contains space in it FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20domain.com/path/. Set hostname on a local file -PASS a.href is 'c:/path/testurl.html' +FAIL a.href should be c:/path/testurl.html. Was file:///C:/path/testurl.html. Set hostname to undefined PASS a.href is 'https://undefined:8080/path/' PASS successfullyParsed is true diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt index 48ade0f..ae0bfa9 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/security/cross-frame-access-call-expected.txt @@ -52,8 +52,6 @@ CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. -CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. - ----- tests for calling methods of another frame using Function.call ----- @@ -86,4 +84,3 @@ PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is. PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is. *** FAIL: window.showModalDialog.call(targetWindow); should be 'TypeError: Result of expression 'window.showModalDialog' [undefined] is not an object.' but instead is undefined. *** PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is. - |