DevTools: Ensure unhandled exception doesn't prevent clearing of indexeddb data
In the event there are multiple targets on page, clearing the storage via the applications tab can result in: console.assert(this._databaseNamesBySecurityOrigin[securityOrigin]); firing in Resources.IndexedDBModel.clearForOrigin because only the top level security origin is passed to each target, and the security origins might not match. Repro steps: 1) Load http://nparashuram.com/trialtool/#example=/IndexedDB/trialtool/index.html&selected=#saveData 2) Run the following examples: "Pre Requisities", "Open Database", "Create Object Store", "Add Data" 3) Load the devtools, and clear all site data from the application tab Change-Id: Iccad7f70c61eb6593058280f971849f139f473a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1716445 Commit-Queue: Mike Jackson <mjackson@microsoft.com> Reviewed-by:Erik Luo <luoe@chromium.org> Reviewed-by:
Jeff Fisher <jeffish@microsoft.com> Cr-Commit-Position: refs/heads/master@{#690782}
Showing
Please register or sign in to comment