Test preview tabs should not be restored

pull/85/head
Ruben Daniels 2015-04-21 01:30:27 +00:00
rodzic 2a7d0887bb
commit fab18bea2c
1 zmienionych plików z 1 dodań i 4 usunięć

Wyświetl plik

@ -69,10 +69,6 @@ define(function(require, exports, module) {
} }
} }
// browser.on("navigate", function(e){
// if (!e.session.doc.meta.plugName)
// debugger;
// });
browser.on("reload", function(e){ browser.on("reload", function(e){
loadPreview(e.session.path, e.session); loadPreview(e.session.path, e.session);
}); });
@ -108,6 +104,7 @@ define(function(require, exports, module) {
handle(new Error()); handle(new Error());
} }
tab.document.meta.ignoreState = true;
tab.document.meta.pluginName = pluginName; tab.document.meta.pluginName = pluginName;
} }