Skip to content
Snippets Groups Projects
Commit edd64ac1 authored by jorlow@chromium.org's avatar jorlow@chromium.org
Browse files

Add some more new baselines since we don't yet support the URL in storage events.

TEST=none
BUG=none

Review URL: http://codereview.chromium.org/347007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30947 0039d316-1c4b-4281-b951-d872f2087c98
parent e011c17e
No related merge requests found
This is the main frame of a 2-frame document. Each frame is in the same security origin and therefore shares the same localStorage object. As a result, each frame should receive a StorageEvent when either frame changes the localStorage object.
Main frame about to run setItem on localStorage...
Main Frame received StorageEvent:
Key - Main Frame
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Main Frame
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main Frame received StorageEvent:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Main frame about to run removeItem on localStorage...
Main Frame received StorageEvent:
Key - Main Frame
New Value - null
Old Value - SET
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Main Frame
New Value - null
Old Value - SET
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main frame about to clear localStorage...
Main Frame received StorageEvent:
Key -
New Value - null
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key -
New Value - null
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main Frame received StorageEvent:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
This is a test to make sure localStorage mutations fire StorageEvents
Storage event fired:
Key - FOO
New Value - BAR
Old Value - null
Storage event fired:
Key - FU
New Value - BAR
Old Value - null
Storage event fired:
Key - FOO
New Value - null
Old Value - BAR
Storage event fired:
Key - FU
New Value - null
Old Value - BAR
This is the main frame of a 2-frame document. Each frame is in the same security origin and therefore shares the same localStorage object. As a result, each frame should receive a StorageEvent when either frame changes the localStorage object.
Main frame about to run setItem on localStorage...
Main Frame received StorageEvent:
Key - Main Frame
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Main Frame
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main Frame received StorageEvent:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Main frame about to run removeItem on localStorage...
Main Frame received StorageEvent:
Key - Main Frame
New Value - null
Old Value - SET
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Main Frame
New Value - null
Old Value - SET
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main frame about to clear localStorage...
Main Frame received StorageEvent:
Key -
New Value - null
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key -
New Value - null
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe about to change localStorage...
Main Frame received StorageEvent:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
Subframe received storage event:
Key - Subframe
New Value - SET
Old Value - null
URI -
Storage Area - This window's window.localStorage
......@@ -721,12 +721,6 @@ BUG4360 : LayoutTests/http/tests/loading/deleted-host-in-resource-load-delegate-
//BUG_JORLOW : LayoutTests/storage/domstorage/quota.html = CRASH PASS
//BUG_JORLOW DEBUG : LayoutTests/storage/domstorage/localstorage/onstorage-attribute-setwindow.html = PASS CRASH
// Depends on URL support in storage events.
BUG_JORLOW : LayoutTests/storage/domstorage/localstorage/iframe-events.html = FAIL
// TODO(jorlow): Triage.
BUG_JORLOW MAC : LayoutTests/storage/domstorage/localstorage/simple-events.html = FAIL
// TODO(jorlow): Is this really still slow? If so, why?
BUG_JORLOW SLOW DEBUG : LayoutTests/storage/domstorage/localstorage/index-get-and-set.html = PASS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment