From f37684e32e0a8dfa979ca9d101fd45e1b4a92ef1 Mon Sep 17 00:00:00 2001 From: "eae@chromium.org" Date: Tue, 24 Jan 2012 02:00:48 +0000 Subject: [PATCH] Unreviewed test expectations fixes for a couple of window/frame tests. * http/tests/security/cross-frame-access-put-expected.txt: Updated expectations to reflect that window.frameElement now has the type HTMLIFrameElement. The test itself has already been updated. * platform/mac/fast/dom/Window/window-properties-expected.txt: Added window.applicationCache.abort method. * platform/mac/fast/dom/prototype-inheritance-2-expected.txt: Added DOMURL class. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105672 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 14 ++++++++++++++ .../tests/security/cross-frame-access-put-expected.txt | 6 +----- .../mac/fast/dom/Window/window-properties-expected.txt | 3 ++- .../mac/fast/dom/prototype-inheritance-2-expected.txt | 1 + 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 160098c..51c8ea4 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,17 @@ +2012-01-23 Emil A Eklund + + Unreviewed test expectations fixes for a couple of window/frame tests. + + * http/tests/security/cross-frame-access-put-expected.txt: + Updated expectations to reflect that window.frameElement now has the type + HTMLIFrameElement. The test itself has already been updated. + + * platform/mac/fast/dom/Window/window-properties-expected.txt: + Added window.applicationCache.abort method. + + * platform/mac/fast/dom/prototype-inheritance-2-expected.txt: + Added DOMURL class. + 2012-01-23 Hayato Ito Fix crash when a focused node is removed while in processing focusin event. diff --git a/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt index 026ba23..4f442cc 100644 --- a/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt +++ b/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt @@ -1,5 +1,3 @@ -CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match. - CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match. CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match. @@ -477,9 +475,7 @@ ALERT: PASS: window.devicePixelRatio should be '1' and is. ALERT: PASS: window.document should be '[object HTMLDocument]' and is. ALERT: PASS: window.embeds should be 'undefined' and is. ALERT: PASS: window.event should be 'undefined' and is. -CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match. - -ALERT: PASS: window.frameElement should be 'undefined' and is. +ALERT: PASS: window.frameElement should be '[object HTMLIFrameElement]' and is. ALERT: PASS: window.frames should be '[object DOMWindow]' and is. ALERT: PASS: window.history should be '[object History]' and is. ALERT: PASS: window.images should be 'undefined' and is. diff --git a/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt b/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt index 86200fe..b4e796a 100644 --- a/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt +++ b/LayoutTests/platform/mac/fast/dom/Window/window-properties-expected.txt @@ -2366,6 +2366,7 @@ window.applicationCache.IDLE [number] window.applicationCache.OBSOLETE [number] window.applicationCache.UNCACHED [number] window.applicationCache.UPDATEREADY [number] +window.applicationCache.abort [function] window.applicationCache.addEventListener [function] window.applicationCache.dispatchEvent [function] window.applicationCache.oncached [null] @@ -2492,7 +2493,7 @@ window.event [undefined] window.find [function] window.flushLog [function] window.focus [function] -window.frameElement [undefined] +window.frameElement [null] window.frames [printed above as window] window.getComputedStyle [function] window.getMatchedCSSRules [function] diff --git a/LayoutTests/platform/mac/fast/dom/prototype-inheritance-2-expected.txt b/LayoutTests/platform/mac/fast/dom/prototype-inheritance-2-expected.txt index 92a4069..ba2d873 100644 --- a/LayoutTests/platform/mac/fast/dom/prototype-inheritance-2-expected.txt +++ b/LayoutTests/platform/mac/fast/dom/prototype-inheritance-2-expected.txt @@ -245,6 +245,7 @@ Never found Clipboard Never found DOMParser Never found DOMSettableTokenList Never found DOMStringList +Never found DOMURL Never found Document Never found DocumentFragment Never found DocumentType -- 2.7.4