Bug 1243992 - e10s fixes for browser_webconsole_bug_585991_autocomplete_keys.js;r=linclark

This commit is contained in:
Brian Grinstead 2016-02-04 09:08:30 -08:00
parent 7fa09413d9
commit abec3d536b
2 changed files with 4 additions and 3 deletions

View File

@ -214,7 +214,6 @@ tags = mcb
[browser_webconsole_bug_585237_line_limit.js]
[browser_webconsole_bug_585956_console_trace.js]
[browser_webconsole_bug_585991_autocomplete_keys.js]
skip-if = e10s # Bug 1042253 - webconsole tests disabled with e10s
[browser_webconsole_bug_585991_autocomplete_popup.js]
[browser_webconsole_bug_586388_select_all.js]
[browser_webconsole_bug_587617_output_copy.js]

View File

@ -260,11 +260,13 @@ function testReturnKey() {
return deferred.promise;
}
function dontShowArrayNumbers() {
function* dontShowArrayNumbers() {
let deferred = promise.defer();
info("dontShowArrayNumbers");
content.wrappedJSObject.foobarBug585991 = ["Sherlock Holmes"];
yield ContentTask.spawn(gBrowser.selectedBrowser, {}, function*() {
content.wrappedJSObject.foobarBug585991 = ["Sherlock Holmes"];
});
jsterm = HUD.jsterm;
popup = jsterm.autocompletePopup;