[chromium] Adapt test expectations to V8 __proto__ changes.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2013 13:49:31 +0000 (13:49 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Feb 2013 13:49:31 +0000 (13:49 +0000)
commite26e95ff3e3abff67d96033e604f8b5db3583a01
tree1ac45e723c2ede70f738b58284b7fb722f02e210
parent85c3c49520bfbe07270f574c1c09286bcc2c6366
[chromium] Adapt test expectations to V8 __proto__ changes.
https://bugs.webkit.org/show_bug.cgi?id=110887

Patch by Michael Starzinger <mstarzinger@chromium.org> on 2013-02-27
Reviewed by Stephen Chenney.

ad window-custom-prototype) This is expected bahavior, consistent with
SpiderMonkey. The test expectation is broken. Assigning 'null' to
'__proto__' makes the accessor installed on Object.prototype disappear.

ad JSON-parse) The result of JSON.parse() doesn't match the result we
get when evaluating the same string through eval() as V8 still has
special handling of the __proto__ property for object literals.

ad cyclic-prototypes) Test fully matches the WebKit expectation now and
no longer fails. However the exception message has a slightly different
format and hence causes a text diff.

* platform/chromium/TestExpectations: Temporary mark tests failing.
* platform/chromium/fast/dom/Window/window-custom-prototype-expected.txt:
* platform/chromium/fast/js/JSON-parse-expected.txt:
* platform/chromium/fast/js/cyclic-prototypes-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/chromium/fast/dom/Window/window-custom-prototype-expected.txt
LayoutTests/platform/chromium/fast/js/JSON-parse-expected.txt
LayoutTests/platform/chromium/fast/js/cyclic-prototypes-expected.txt