Skip to content

RDKEMW-3466 : Run Viper JSPP Integrated Player in RDK NativeScript#31

Closed
Sid2001-maker wants to merge 1 commit into
developfrom
topic/RDKEMW-3466
Closed

RDKEMW-3466 : Run Viper JSPP Integrated Player in RDK NativeScript#31
Sid2001-maker wants to merge 1 commit into
developfrom
topic/RDKEMW-3466

Conversation

@Sid2001-maker

Copy link
Copy Markdown
Contributor

Reason for change: Changes for JSRuntime Widget
Test Procedure: build should be successful.
Risks: low
Priority: P2

Reason for change: Changes for JSRuntime Widget
Test Procedure: build should be successful.
Risks: low
Priority: P2
@Sid2001-maker Sid2001-maker requested a review from a team May 30, 2025 08:00
@CLAassistant

CLAassistant commented May 30, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

runFile("modules/linkedjsdomwrapper.js", nullptr/*, true*/);
runFile("modules/windowwrapper.js", nullptr/*, true*/);
auto FireboltEndpoint = getenv("FIREBOLT_ENDPOINT") ? std::string(getenv("FIREBOLT_ENDPOINT")) : "";
std::stringstream firebolt;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

set firebolt variable inside window only if env is set

Comment thread src/NativeJSRenderer.cpp
}
JavaScriptContext* context = (JavaScriptContext*)mContextMap[id].context;
std::stringstream window;
window<<"window.location = {\"href\":\"file:/" << url << "\"};";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove file:/ prefix for http url's

Comment thread src/JSRuntimeLauncher.cpp
#include <cjson/cJSON.h>
#include <NativeJSRenderer.h>
#include <NativeJSLogger.h>
#if defined(ENABLE_JSRUNTIME_SERVER)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove jsruntime server parts from here

Comment thread CMakeLists.txt
)
if (ENABLE_JSRUNTIME_LAUNCHER)
set (JSRUNTIME_LAUNCHER_FILES ${JSRUNTIME_APP_FILES}
${JSRUNTIME_COMMON_SOURCE_DIRECTORY}/JSRuntimeServer.cpp

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't want jsruntimeserver cpp

@madanagopalt madanagopalt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kindly look at comments

@Sid2001-maker Sid2001-maker deleted the topic/RDKEMW-3466 branch May 30, 2025 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants