Merge pull request #385 from gnh1201/dev
Some checks are pending
CodeQL / Analyze (javascript) (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions

Remove unused Websocket instance and update version
This commit is contained in:
Namhyeon Go 2026-01-21 17:29:38 +09:00 committed by GitHub
commit 0994727a64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;