LayoutTests: fast/js/resources/js-test-pre.js - shouldBeEqualToString fails on "
authorjsbell@chromium.org <jsbell@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 May 2012 19:20:14 +0000 (19:20 +0000)
committerjsbell@chromium.org <jsbell@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 May 2012 19:20:14 +0000 (19:20 +0000)
commit8e23971b1fee736e3e89da753e2c674fec077663
tree61d39541fdd89073242ac9b803b0f0372d36dd1f
parent4002e48a479ec4cc79546ca3cf95dd62e27ea833
LayoutTests: fast/js/resources/js-test-pre.js - shouldBeEqualToString fails on "
https://bugs.webkit.org/show_bug.cgi?id=86931

Implementations of shouldBeEqualToString() function were not correctly escaping
double quote ('"') characters. Switch to using JSON.stringify() which does
correct escaping, and updated one test that couldn't previously use the function.

Reviewed by Ojan Vafai.

* fast/js/resources/js-test-pre.js:
(shouldBeEqualToString):
* fast/js/resources/standalone-pre.js:
(shouldBeEqualToString):
* storage/indexeddb/cursor-advance-expected.txt:
* storage/indexeddb/resources/cursor-advance.js:
(runTest):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLElement/class-list-expected.txt
LayoutTests/fast/dom/HTMLElement/class-list-quirks-expected.txt
LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list-expected.txt
LayoutTests/fast/js/resources/js-test-pre.js
LayoutTests/fast/js/resources/standalone-pre.js
LayoutTests/storage/domstorage/complex-values-expected.txt
LayoutTests/storage/indexeddb/cursor-advance-expected.txt
LayoutTests/storage/indexeddb/resources/cursor-advance.js