mirror of
https://github.com/gnh1201/welsonjs.git
synced 2026-04-18 18:18:42 +00:00
Merge pull request #385 from gnh1201/dev
Remove unused Websocket instance and update version
This commit is contained in:
commit
0994727a64
|
|
@ -53,7 +53,6 @@ var ChromeObject = function() {
|
|||
// for remote debugging
|
||||
this.debuggingPort = 0;
|
||||
this.pageId = "";
|
||||
this.ws = Websocket.create();
|
||||
this.isAttached = false;
|
||||
this.pageList = [];
|
||||
this.title = "";
|
||||
|
|
@ -433,7 +432,7 @@ var ChromeObject = function() {
|
|||
.setDataType("json")
|
||||
.open("POST", url)
|
||||
.setRequestBody({
|
||||
"id": pageEventId,
|
||||
"id": pageEventId.get(), // pageEventId is an accessor object, must be use getter or setter.
|
||||
"method": method,
|
||||
"params": params
|
||||
})
|
||||
|
|
@ -1498,7 +1497,7 @@ exports.startDebugInPrivate = function(url, proxy, profileName, debuggingPort, i
|
|||
|
||||
exports.publisherName = publisherName;
|
||||
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.5.4";
|
||||
exports.VERSIONINFO = "Chrome Web Browser Debugging Interface (chrome.js) version 0.5.5";
|
||||
exports.AUTHOR = "gnh1201@catswords.re.kr";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user