Christof Meerwald <[email protected]> writes:

> That seems to suggest that it should be exposed under
> "xwalk.experimental.raw_socket", but if I try to use that (or run that
> test html under xwalk) I get:
>
>   "Uncaught ReferenceError: xwalk is not defined"
>
> So the question is, what am I missing?

Can you share a reduced test case? I've just built Crosswalk locally on
Fedora and `console.log(xwalk.experimental.raw_socket)` printed "[object
Object]" on the console.

$ cat manifest.json
{
  "name": "Hello World",
  "xwalk_app_version": "0.0.1",
  "start_url": "index.html",
  "xwalk_package_id": "org.xwalk.helloworld"
}

$ cat index.html
<body onload="console.log(xwalk.experimental.raw_socket)"></body>
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to