| Index: chrome/browser/in_process_webkit/dom_storage_uitest.cc
|
| diff --git a/chrome/browser/in_process_webkit/dom_storage_uitest.cc b/chrome/browser/in_process_webkit/dom_storage_uitest.cc
|
| index d372883b60107b9f0fae7ac6dc88edb18cd8bb73..874e094aa8b76d360a33345c62df54d4787e5eba 100644
|
| --- a/chrome/browser/in_process_webkit/dom_storage_uitest.cc
|
| +++ b/chrome/browser/in_process_webkit/dom_storage_uitest.cc
|
| @@ -8,9 +8,9 @@
|
|
|
| // TODO(jorlow): Enable these tests when we remove them from the
|
| // test_exceptions.txt file.
|
| -//static const char* kTopLevelFiles[] = {
|
| - //"window-attributes-exist.html"
|
| -//};
|
| +// static const char* kTopLevelFiles[] = {
|
| +// "window-attributes-exist.html"
|
| +// };
|
|
|
| // TODO(jorlow): Enable these tests when we remove them from the
|
| // test_exceptions.txt file.
|
| @@ -19,15 +19,15 @@ static const char* kSubDirFiles[] = {
|
| "delete-removal.html",
|
| "enumerate-storage.html",
|
| "enumerate-with-length-and-key.html",
|
| - //"iframe-events.html",
|
| - //"index-get-and-set.html",
|
| - //"onstorage-attribute-markup.html",
|
| - //"onstorage-attribute-setattribute.html",
|
| - //"localstorage/onstorage-attribute-setwindow.html",
|
| - //"simple-events.html",
|
| + // "iframe-events.html",
|
| + // "index-get-and-set.html",
|
| + // "onstorage-attribute-markup.html",
|
| + // "onstorage-attribute-setattribute.html",
|
| + // "localstorage/onstorage-attribute-setwindow.html",
|
| + // "simple-events.html",
|
| "simple-usage.html",
|
| - //"string-conversion.html",
|
| - //"window-open.html"
|
| + // "string-conversion.html",
|
| + // "window-open.html"
|
| };
|
|
|
| class DOMStorageTest : public UILayoutTest {
|
| @@ -35,8 +35,7 @@ class DOMStorageTest : public UILayoutTest {
|
| DOMStorageTest()
|
| : UILayoutTest(),
|
| test_dir_(FilePath().AppendASCII("LayoutTests").
|
| - AppendASCII("storage").AppendASCII("domstorage"))
|
| - {
|
| + AppendASCII("storage").AppendASCII("domstorage")) {
|
| }
|
|
|
| virtual ~DOMStorageTest() { }
|
| @@ -70,13 +69,13 @@ TEST_F(DOMStorageTest, DOMStorageLayoutTests) {
|
| TEST_F(DOMStorageTest, MAYBE_LocalStorageLayoutTests) {
|
| InitializeForLayoutTest(test_dir_, FilePath().AppendASCII("localstorage"),
|
| false);
|
| - for (size_t i=0; i<arraysize(kSubDirFiles); ++i)
|
| + for (size_t i = 0; i < arraysize(kSubDirFiles); ++i)
|
| RunLayoutTest(kSubDirFiles[i], false);
|
| }
|
|
|
| TEST_F(DOMStorageTest, SessionStorageLayoutTests) {
|
| InitializeForLayoutTest(test_dir_, FilePath().AppendASCII("sessionstorage"),
|
| false);
|
| - for (size_t i=0; i<arraysize(kSubDirFiles); ++i)
|
| + for (size_t i = 0; i < arraysize(kSubDirFiles); ++i)
|
| RunLayoutTest(kSubDirFiles[i], false);
|
| }
|
|
|