| Index: LayoutTests/virtual/serviceworker/http/tests/serviceworker/indexeddb-expected.txt
|
| diff --git a/LayoutTests/virtual/serviceworker/http/tests/serviceworker/indexeddb-expected.txt b/LayoutTests/virtual/serviceworker/http/tests/serviceworker/indexeddb-expected.txt
|
| index 75184bc5b353d41d799035782c3e55d8c2567031..4fc4caf31db7ae7e5f0b99fa59a3aa10179a6c43 100644
|
| --- a/LayoutTests/virtual/serviceworker/http/tests/serviceworker/indexeddb-expected.txt
|
| +++ b/LayoutTests/virtual/serviceworker/http/tests/serviceworker/indexeddb-expected.txt
|
| @@ -1,30 +1,3 @@
|
| -Verify that IndexedDB is functional in a ServiceWorker
|
|
|
| -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| -
|
| -
|
| -messageChannel = new MessageChannel()
|
| -messageChannel.port1.onmessage = onMessageHandler
|
| -
|
| -navigator.serviceWorker.register('indexeddb-worker.js')
|
| -serviceWorker.postMessage({port: messageChannel.port2}, [messageChannel.port2])
|
| -[ServiceWorker] Preparing the database in the service worker
|
| -[ServiceWorker] indexedDB.deleteDatabase('db')
|
| -[ServiceWorker] indexedDB.open('db')
|
| -[ServiceWorker] db.createObjectStore('store')
|
| -[ServiceWorker] tx = db.transaction('store', 'readwrite')
|
| -[ServiceWorker] store = tx.objectStore('store')
|
| -[ServiceWorker] store.put('value', 'key')
|
| -
|
| -Verifying the database from the page
|
| -
|
| -request = indexedDB.open('db')
|
| -db = request.result
|
| -tx = db.transaction('store')
|
| -store = tx.objectStore('store')
|
| -request = store.get('key')
|
| -PASS request.result is 'value'
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| +PASS Verify Indexed DB operation in a Service Worker
|
|
|
|
|