mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 899991 - Fix TypeError in browser_profiler_console_api_content.js. r=me
This commit is contained in:
parent
d2f06e2461
commit
08455ef762
@ -50,6 +50,6 @@ function runTests() {
|
||||
assertSampleAndFinish();
|
||||
});
|
||||
|
||||
let profile = gPanel.profiles.get(2);
|
||||
let profile = gPanel.profiles.get(1);
|
||||
gPanel.sidebar.selectedItem = gPanel.sidebar.getItemByProfile(profile);
|
||||
}
|
@ -60,7 +60,7 @@ function test() {
|
||||
let file = FileUtils.getFile("TmpD", ["tmpprofile.json"]);
|
||||
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, parseInt("666", 8));
|
||||
|
||||
gPanel.saveProfile(file, gData).then(() => {dump("\n\nsup\n\n");}, () => {dump("\n\n:(((\n\n")})
|
||||
gPanel.saveProfile(file, gData)
|
||||
.then(gPanel.loadProfile.bind(gPanel, file))
|
||||
.then(checkData);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user