this.handleIpcMessages();
this.addonManager = null;
this.isLaunched = false;
- this.debug_mode = false;
- this.need_inspector = false;
+ this.debugMode = false;
+ this.needInspector = false;
this.webContents = null;
this.allowQuit = false;
_this.addonManager.isAddonAvailable();
options.launchMode = appControl.getData('http://samsung.com/appcontrol/data/launch_mode');
_this.webApplication = new WebApplication(options);
- if (!_this.debug_mode && wrt.needUseInspector()) {
+ if (!_this.debugMode && wrt.needUseInspector()) {
_this.webApplication.defaultSrc = src;
src = "about:blank";
}
wrt.setCookiePath();
// AUL public key/Vconf - To support inspector
- if (!_this.debug_mode && _this.checkInspectorCondition(appControl)) {
- _this.debug_mode = true;
+ if (!_this.debugMode && _this.checkInspectorCondition(appControl)) {
+ _this.debugMode = true;
_this.launchInspector(appControl);
}
});
checkInspectorCondition(appControl) {
var _this = this;
let bundle_debug = (appControl.getData('__AUL_DEBUG__') === "1");
- _this.need_inspector = wrt.needUseInspector();
- return (bundle_debug || _this.need_inspector);
+ _this.needInspector = wrt.needUseInspector();
+ return (bundle_debug || _this.needInspector);
}
launchInspector(appControl) {
var _this = this;
var portnum = wrt.getDebuggingPort();
var data = { "port" : [ portnum.toString() ] };
- if(_this.need_inspector) {
+ if(_this.needInspector) {
_this.webApplication.debugport = portnum;
}
appControl.reply(data);