Bug 1093153 - enabled and re-factored browser_aboutHome.js to work correctly in e10s mode. r=mak, a=ritu

This commit is contained in:
Mike de Boer 2016-03-15 11:09:34 +01:00
parent b6b5962e27
commit 12d5089ebd
3 changed files with 528 additions and 508 deletions

View File

@ -152,8 +152,16 @@ function ensureSnippetsMapThen(aCallback)
} }
let cache = new Map(); let cache = new Map();
let cursorRequest = db.transaction(SNIPPETS_OBJECTSTORE_NAME) let cursorRequest;
.objectStore(SNIPPETS_OBJECTSTORE_NAME).openCursor(); try {
cursorRequest = db.transaction(SNIPPETS_OBJECTSTORE_NAME)
.objectStore(SNIPPETS_OBJECTSTORE_NAME).openCursor();
} catch(ex) {
console.error(ex);
invokeCallbacks();
return;
}
cursorRequest.onerror = function (event) { cursorRequest.onerror = function (event) {
invokeCallbacks(); invokeCallbacks();
} }

View File

@ -132,7 +132,6 @@ support-files =
[browser_aboutHealthReport.js] [browser_aboutHealthReport.js]
skip-if = os == "linux" # Bug 924307 skip-if = os == "linux" # Bug 924307
[browser_aboutHome.js] [browser_aboutHome.js]
skip-if = e10s # Bug 1093153 - no about:home support yet
[browser_aboutHome_wrapsCorrectly.js] [browser_aboutHome_wrapsCorrectly.js]
[browser_action_keyword.js] [browser_action_keyword.js]
[browser_action_keyword_override.js] [browser_action_keyword_override.js]

File diff suppressed because it is too large Load Diff