Changeset 106405 in webkit
- Timestamp:
- Jan 31, 2012 3:17:25 PM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106403 r106405 1 2012-01-31 Joshua Bell <jsbell@chromium.org> 2 3 IndexedDB: Re-enable structured-clone test 4 https://bugs.webkit.org/show_bug.cgi?id=77239 5 6 This test was landed disabled, since it was failing. Turns out Date serialization 7 differs ("PST" vs. "Pacific Standard Time") across machines, so debug statements 8 in the test were removed. 9 10 Reviewed by Tony Chang. 11 12 * platform/chromium/test_expectations.txt: 13 * storage/indexeddb/structured-clone-expected.txt: 14 * storage/indexeddb/structured-clone.html: 15 1 16 2012-01-31 Balazs Kelemen <kbalazs@webkit.org> 2 17 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r106400 r106405 4038 4038 BUGWK77324 WIN MAC DEBUG SLOW : fast/js/dfg-int32array.html = PASS 4039 4039 4040 BUGWK77239 : storage/indexeddb/structured-clone.html = PASS TEXT4041 4042 4040 BUGWK77397 : plugins/crash-restoring-plugin-page-from-page-cache.html = TIMEOUT TEXT 4043 4041 BUGWK77412 LEOPARD : media/media-blocked-by-beforeload.html = TEXT -
trunk/LayoutTests/storage/indexeddb/structured-clone-expected.txt
r106279 r106405 23 23 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 24 24 store = transaction.objectStore('storeName') 25 value is: undefined (type: undefined)26 25 store.put(value, 'key') 27 26 store.get('key') … … 32 31 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 33 32 store = transaction.objectStore('storeName') 34 value is: null (type: object)35 33 store.put(value, 'key') 36 34 store.get('key') … … 43 41 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 44 42 store = transaction.objectStore('storeName') 45 value is: true (type: boolean)46 43 store.put(value, 'key') 47 44 store.get('key') … … 51 48 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 52 49 store = transaction.objectStore('storeName') 53 value is: false (type: boolean)54 50 store.put(value, 'key') 55 51 store.get('key') … … 62 58 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 63 59 store = transaction.objectStore('storeName') 64 value is: NaN (type: number)65 60 store.put(value, 'key') 66 61 store.get('key') … … 70 65 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 71 66 store = transaction.objectStore('storeName') 72 value is: -Infinity (type: number)73 67 store.put(value, 'key') 74 68 store.get('key') … … 78 72 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 79 73 store = transaction.objectStore('storeName') 80 value is: -1.7976931348623157e+308 (type: number)81 74 store.put(value, 'key') 82 75 store.get('key') … … 86 79 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 87 80 store = transaction.objectStore('storeName') 88 value is: -5e-324 (type: number)89 81 store.put(value, 'key') 90 82 store.get('key') … … 94 86 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 95 87 store = transaction.objectStore('storeName') 96 value is: 0 (type: number)97 88 store.put(value, 'key') 98 89 store.get('key') … … 102 93 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 103 94 store = transaction.objectStore('storeName') 104 value is: 0 (type: number)105 95 store.put(value, 'key') 106 96 store.get('key') … … 110 100 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 111 101 store = transaction.objectStore('storeName') 112 value is: 5e-324 (type: number)113 102 store.put(value, 'key') 114 103 store.get('key') … … 118 107 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 119 108 store = transaction.objectStore('storeName') 120 value is: 1.7976931348623157e+308 (type: number)121 109 store.put(value, 'key') 122 110 store.get('key') … … 126 114 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 127 115 store = transaction.objectStore('storeName') 128 value is: Infinity (type: number)129 116 store.put(value, 'key') 130 117 store.get('key') … … 137 124 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 138 125 store = transaction.objectStore('storeName') 139 value is: (type: string)140 126 store.put(value, 'key') 141 127 store.get('key') … … 145 131 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 146 132 store = transaction.objectStore('storeName') 147 value is: this is a sample string (type: string)148 133 store.put(value, 'key') 149 134 store.get('key') … … 153 138 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 154 139 store = transaction.objectStore('storeName') 155 value is: null() (type: string)156 140 store.put(value, 'key') 157 141 store.get('key') … … 164 148 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 165 149 store = transaction.objectStore('storeName') 166 value is: true (type: object) 167 store.put(value, 'key') 168 store.get('key') 169 String(result): true 150 store.put(value, 'key') 151 store.get('key') 170 152 PASS typeof result is "object" 171 153 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 177 159 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 178 160 store = transaction.objectStore('storeName') 179 value is: false (type: object) 180 store.put(value, 'key') 181 store.get('key') 182 String(result): false 161 store.put(value, 'key') 162 store.get('key') 183 163 PASS typeof result is "object" 184 164 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 193 173 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 194 174 store = transaction.objectStore('storeName') 195 value is: NaN (type: object) 196 store.put(value, 'key') 197 store.get('key') 198 String(result): NaN 175 store.put(value, 'key') 176 store.get('key') 199 177 PASS typeof result is "object" 200 178 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 206 184 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 207 185 store = transaction.objectStore('storeName') 208 value is: -Infinity (type: object) 209 store.put(value, 'key') 210 store.get('key') 211 String(result): -Infinity 186 store.put(value, 'key') 187 store.get('key') 212 188 PASS typeof result is "object" 213 189 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 219 195 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 220 196 store = transaction.objectStore('storeName') 221 value is: -1.7976931348623157e+308 (type: object) 222 store.put(value, 'key') 223 store.get('key') 224 String(result): -1.7976931348623157e+308 197 store.put(value, 'key') 198 store.get('key') 225 199 PASS typeof result is "object" 226 200 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 232 206 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 233 207 store = transaction.objectStore('storeName') 234 value is: -5e-324 (type: object) 235 store.put(value, 'key') 236 store.get('key') 237 String(result): -5e-324 208 store.put(value, 'key') 209 store.get('key') 238 210 PASS typeof result is "object" 239 211 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 245 217 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 246 218 store = transaction.objectStore('storeName') 247 value is: 0 (type: object) 248 store.put(value, 'key') 249 store.get('key') 250 String(result): 0 219 store.put(value, 'key') 220 store.get('key') 251 221 PASS typeof result is "object" 252 222 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 258 228 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 259 229 store = transaction.objectStore('storeName') 260 value is: 0 (type: object) 261 store.put(value, 'key') 262 store.get('key') 263 String(result): 0 230 store.put(value, 'key') 231 store.get('key') 264 232 PASS typeof result is "object" 265 233 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 271 239 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 272 240 store = transaction.objectStore('storeName') 273 value is: 5e-324 (type: object) 274 store.put(value, 'key') 275 store.get('key') 276 String(result): 5e-324 241 store.put(value, 'key') 242 store.get('key') 277 243 PASS typeof result is "object" 278 244 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 284 250 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 285 251 store = transaction.objectStore('storeName') 286 value is: 1.7976931348623157e+308 (type: object) 287 store.put(value, 'key') 288 store.get('key') 289 String(result): 1.7976931348623157e+308 252 store.put(value, 'key') 253 store.get('key') 290 254 PASS typeof result is "object" 291 255 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 297 261 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 298 262 store = transaction.objectStore('storeName') 299 value is: Infinity (type: object) 300 store.put(value, 'key') 301 store.get('key') 302 String(result): Infinity 263 store.put(value, 'key') 264 store.get('key') 303 265 PASS typeof result is "object" 304 266 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 313 275 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 314 276 store = transaction.objectStore('storeName') 315 value is: (type: object) 316 store.put(value, 'key') 317 store.get('key') 318 String(result): 277 store.put(value, 'key') 278 store.get('key') 319 279 PASS typeof result is "object" 320 280 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 326 286 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 327 287 store = transaction.objectStore('storeName') 328 value is: this is a sample string (type: object) 329 store.put(value, 'key') 330 store.get('key') 331 String(result): this is a sample string 288 store.put(value, 'key') 289 store.get('key') 332 290 PASS typeof result is "object" 333 291 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 339 297 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 340 298 store = transaction.objectStore('storeName') 341 value is: null() (type: object) 342 store.put(value, 'key') 343 store.get('key') 344 String(result): null() 299 store.put(value, 'key') 300 store.get('key') 345 301 PASS typeof result is "object" 346 302 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 355 311 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 356 312 store = transaction.objectStore('storeName') 357 value is: Sun Feb 09 1653 22:13:20 GMT-0800 (PST) (type: object) 358 store.put(value, 'key') 359 store.get('key') 360 String(result): Sun Feb 09 1653 22:13:20 GMT-0800 (PST) 313 store.put(value, 'key') 314 store.get('key') 361 315 PASS typeof result is "object" 362 316 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 368 322 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 369 323 store = transaction.objectStore('storeName') 370 value is: Sun Apr 24 1938 15:13:20 GMT-0700 (PDT) (type: object) 371 store.put(value, 'key') 372 store.get('key') 373 String(result): Sun Apr 24 1938 15:13:20 GMT-0700 (PDT) 324 store.put(value, 'key') 325 store.get('key') 374 326 PASS typeof result is "object" 375 327 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 381 333 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 382 334 store = transaction.objectStore('storeName') 383 value is: Sat Dec 20 1969 02:13:20 GMT-0800 (PST) (type: object) 384 store.put(value, 'key') 385 store.get('key') 386 String(result): Sat Dec 20 1969 02:13:20 GMT-0800 (PST) 335 store.put(value, 'key') 336 store.get('key') 387 337 PASS typeof result is "object" 388 338 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 394 344 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 395 345 store = transaction.objectStore('storeName') 396 value is: Wed Dec 31 1969 15:43:20 GMT-0800 (PST) (type: object) 397 store.put(value, 'key') 398 store.get('key') 399 String(result): Wed Dec 31 1969 15:43:20 GMT-0800 (PST) 346 store.put(value, 'key') 347 store.get('key') 400 348 PASS typeof result is "object" 401 349 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 407 355 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 408 356 store = transaction.objectStore('storeName') 409 value is: Wed Dec 31 1969 15:59:59 GMT-0800 (PST) (type: object) 410 store.put(value, 'key') 411 store.get('key') 412 String(result): Wed Dec 31 1969 15:59:59 GMT-0800 (PST) 357 store.put(value, 'key') 358 store.get('key') 413 359 PASS typeof result is "object" 414 360 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 420 366 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 421 367 store = transaction.objectStore('storeName') 422 value is: Wed Dec 31 1969 16:00:00 GMT-0800 (PST) (type: object) 423 store.put(value, 'key') 424 store.get('key') 425 String(result): Wed Dec 31 1969 16:00:00 GMT-0800 (PST) 368 store.put(value, 'key') 369 store.get('key') 426 370 PASS typeof result is "object" 427 371 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 433 377 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 434 378 store = transaction.objectStore('storeName') 435 value is: Wed Dec 31 1969 16:00:01 GMT-0800 (PST) (type: object) 436 store.put(value, 'key') 437 store.get('key') 438 String(result): Wed Dec 31 1969 16:00:01 GMT-0800 (PST) 379 store.put(value, 'key') 380 store.get('key') 439 381 PASS typeof result is "object" 440 382 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 446 388 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 447 389 store = transaction.objectStore('storeName') 448 value is: Wed Dec 31 1969 16:16:40 GMT-0800 (PST) (type: object) 449 store.put(value, 'key') 450 store.get('key') 451 String(result): Wed Dec 31 1969 16:16:40 GMT-0800 (PST) 390 store.put(value, 'key') 391 store.get('key') 452 392 PASS typeof result is "object" 453 393 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 459 399 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 460 400 store = transaction.objectStore('storeName') 461 value is: Mon Jan 12 1970 05:46:40 GMT-0800 (PST) (type: object) 462 store.put(value, 'key') 463 store.get('key') 464 String(result): Mon Jan 12 1970 05:46:40 GMT-0800 (PST) 401 store.put(value, 'key') 402 store.get('key') 465 403 PASS typeof result is "object" 466 404 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 472 410 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 473 411 store = transaction.objectStore('storeName') 474 value is: Sat Sep 08 2001 18:46:40 GMT-0700 (PDT) (type: object) 475 store.put(value, 'key') 476 store.get('key') 477 String(result): Sat Sep 08 2001 18:46:40 GMT-0700 (PDT) 412 store.put(value, 'key') 413 store.get('key') 478 414 PASS typeof result is "object" 479 415 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 485 421 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 486 422 store = transaction.objectStore('storeName') 487 value is: Sat Nov 20 2286 09:46:40 GMT-0800 (PST) (type: object) 488 store.put(value, 'key') 489 store.get('key') 490 String(result): Sat Nov 20 2286 09:46:40 GMT-0800 (PST) 423 store.put(value, 'key') 424 store.get('key') 491 425 PASS typeof result is "object" 492 426 PASS Object.prototype.toString.call(result) is Object.prototype.toString.call(test_data) … … 501 435 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 502 436 store = transaction.objectStore('storeName') 503 value is: /(?:)/ (type: object)504 437 store.put(value, 'key') 505 438 store.get('key') … … 511 444 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 512 445 store = transaction.objectStore('storeName') 513 value is: /abc/ (type: object)514 446 store.put(value, 'key') 515 447 store.get('key') … … 521 453 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 522 454 store = transaction.objectStore('storeName') 523 value is: /abc/g (type: object)524 455 store.put(value, 'key') 525 456 store.get('key') … … 531 462 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 532 463 store = transaction.objectStore('storeName') 533 value is: /abc/i (type: object)534 464 store.put(value, 'key') 535 465 store.get('key') … … 541 471 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 542 472 store = transaction.objectStore('storeName') 543 value is: /abc/gi (type: object)544 473 store.put(value, 'key') 545 474 store.get('key') … … 551 480 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 552 481 store = transaction.objectStore('storeName') 553 value is: /abc/m (type: object)554 482 store.put(value, 'key') 555 483 store.get('key') … … 561 489 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 562 490 store = transaction.objectStore('storeName') 563 value is: /abc/gm (type: object)564 491 store.put(value, 'key') 565 492 store.get('key') … … 571 498 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 572 499 store = transaction.objectStore('storeName') 573 value is: /abc/im (type: object)574 500 store.put(value, 'key') 575 501 store.get('key') … … 581 507 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 582 508 store = transaction.objectStore('storeName') 583 value is: /abc/gim (type: object)584 509 store.put(value, 'key') 585 510 store.get('key') … … 596 521 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 597 522 store = transaction.objectStore('storeName') 598 value is: [object ImageData] (type: object)599 523 store.put(value, 'key') 600 524 store.get('key') … … 626 550 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 627 551 store = transaction.objectStore('storeName') 628 value is: foo,bar,,,,,,,,,true,false,,,,,,,,,123,456,,,,,,,,, (type: object)629 552 store.put(value, 'key') 630 553 store.get('key') … … 650 573 transaction = db.transaction('storeName', IDBTransaction.READ_WRITE) 651 574 store = transaction.objectStore('storeName') 652 value is: foo,bar (type: object)653 575 store.put(value, 'key') 654 576 store.get('key') -
trunk/LayoutTests/storage/indexeddb/structured-clone.html
r106279 r106405 115 115 evalAndLog("store = transaction.objectStore('storeName')"); 116 116 117 debug("value is: " + String(value) + " (type: " + typeof value + ")");118 117 window.value = value; 119 118 request = evalAndLog("store.put(value, 'key')"); … … 123 122 request.onerror = unexpectedErrorCallback; 124 123 request.onsuccess = function(e) { 125 //debug("got back: " + String(request.result) + " (type: " + typeof request.result + ")");126 124 callback(request.result); 127 125 }; … … 169 167 testValue(test_data, function(result) { 170 168 window.result = result; 171 debug("String(result): " + String(result));172 169 shouldBeEqualToString("typeof result", "object"); 173 170 shouldBe("Object.prototype.toString.call(result)", "Object.prototype.toString.call(test_data)");
Note: See TracChangeset
for help on using the changeset viewer.