From 2e18ed3efaf72126322bc148e6ea4ebee4f88b33 Mon Sep 17 00:00:00 2001 From: Sidhanth B H Date: Wed, 12 Nov 2025 11:16:08 +0530 Subject: [PATCH 1/4] RDK-59281:Modifying JSRuntime Widget for VIPA playback in 8.2_VIPA branch Reason for change: Resolve VIPA playback issue Test Procedure: Build should be successful Risk:low Priority:P2 --- src/jsc/modules/lib/URLSearchParams.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jsc/modules/lib/URLSearchParams.js b/src/jsc/modules/lib/URLSearchParams.js index 7729b0b..d724f26 100644 --- a/src/jsc/modules/lib/URLSearchParams.js +++ b/src/jsc/modules/lib/URLSearchParams.js @@ -2,7 +2,8 @@ const urlencoded = require("./urlencoded"); exports.implementation = class URLSearchParamsImpl { - constructor(globalObject, constructorArgs, { doNotStripQMark = false }) { + constructor(globalObject, constructorArgs = [""], options = {}) { + const { doNotStripQMark = false } = options || {}; let init = constructorArgs[0]; this._list = []; this._url = null; From 94444b486d00dd88cf669be43dbc4a3a97b3cd36 Mon Sep 17 00:00:00 2001 From: Vinod Jain <98183059+vjain008@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:53:24 -0600 Subject: [PATCH 2/4] Update URLSearchParams.js --- src/jsc/modules/lib/URLSearchParams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsc/modules/lib/URLSearchParams.js b/src/jsc/modules/lib/URLSearchParams.js index d724f26..d604c14 100644 --- a/src/jsc/modules/lib/URLSearchParams.js +++ b/src/jsc/modules/lib/URLSearchParams.js @@ -3,7 +3,7 @@ const urlencoded = require("./urlencoded"); exports.implementation = class URLSearchParamsImpl { constructor(globalObject, constructorArgs = [""], options = {}) { - const { doNotStripQMark = false } = options || {}; + const { doNotStripQMark = false } = options || {}; let init = constructorArgs[0]; this._list = []; this._url = null; From 43147a50242b64242783e5445a7f6e3b9c6f902f Mon Sep 17 00:00:00 2001 From: Vinod Jain <98183059+vjain008@users.noreply.github.com> Date: Tue, 2 Dec 2025 00:05:57 -0600 Subject: [PATCH 3/4] Update URLSearchParams.js Rewriting the doNotStripQMark --- src/jsc/modules/lib/URLSearchParams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsc/modules/lib/URLSearchParams.js b/src/jsc/modules/lib/URLSearchParams.js index d604c14..6cdc5d4 100644 --- a/src/jsc/modules/lib/URLSearchParams.js +++ b/src/jsc/modules/lib/URLSearchParams.js @@ -3,7 +3,7 @@ const urlencoded = require("./urlencoded"); exports.implementation = class URLSearchParamsImpl { constructor(globalObject, constructorArgs = [""], options = {}) { - const { doNotStripQMark = false } = options || {}; + var doNotStripQMark = options && typeof options.doNotStripQMark === "boolean" ? options.doNotStripQMark : false; let init = constructorArgs[0]; this._list = []; this._url = null; From 14f1c9e5523b2f519ba61bd6c75de163cc1259ee Mon Sep 17 00:00:00 2001 From: Vinod Jain <98183059+vjain008@users.noreply.github.com> Date: Tue, 2 Dec 2025 00:07:17 -0600 Subject: [PATCH 4/4] Update URLSearchParams.js --- src/jsc/modules/lib/URLSearchParams.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsc/modules/lib/URLSearchParams.js b/src/jsc/modules/lib/URLSearchParams.js index 6cdc5d4..d724f26 100644 --- a/src/jsc/modules/lib/URLSearchParams.js +++ b/src/jsc/modules/lib/URLSearchParams.js @@ -3,7 +3,7 @@ const urlencoded = require("./urlencoded"); exports.implementation = class URLSearchParamsImpl { constructor(globalObject, constructorArgs = [""], options = {}) { - var doNotStripQMark = options && typeof options.doNotStripQMark === "boolean" ? options.doNotStripQMark : false; + const { doNotStripQMark = false } = options || {}; let init = constructorArgs[0]; this._list = []; this._url = null;