Skip to content

Error evalNWBinModule. #8251

Open
Open
@IPcorps

Description

@IPcorps

Test code (the code was compiled in modules).

index.html:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        nw.Window.get(null).evalNWBinModule(null, "script_1.bin", "./script_1");
        import("./script_1");
    </script>
</body>

</html>

script_1.js:

console.log("script_1");

nw.Window.get(null).evalNWBinModule(null, "script_2.bin", "./script_2");
import("./script_2");

script_2.js:

console.log("script_2");

On versions 85, 86, 87, the result of execution in the console:

Image

But, starting with version 88 (including the last 95), the result of execution in the console:

Image

Is there any explanation for this, or is it a bug that has not been fixed? And if not a bug, how to achieve the behavior of the code that was up to version 88?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions