Re: Does the sdk/page-worker are loading pages off-main thread? and running code in another thread?

2015-11-24 Thread Dave Townsend
Current release versions will load page-workers in the main process,
nightly has been updated to load in a child process if e10s is
enabled.

On Mon, Nov 23, 2015 at 10:59 PM, 罗勇刚(Yonggang Luo)
 wrote:
> pageWorker = require("sdk/page-worker").Page({   contentScript:
> "console.log(document.body.innerHTML);",   contentURL: "
> http://en.wikipedia.org/wiki/Internet"; });
>
> --
>  此致
> 礼
> 罗勇刚
> Yours
> sincerely,
> Yonggang Luo
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Does the sdk/page-worker are loading pages off-main thread? and running code in another thread?

2015-11-23 Thread Yonggang Luo
pageWorker = require("sdk/page-worker").Page({   contentScript:
"console.log(document.body.innerHTML);",   contentURL: "
http://en.wikipedia.org/wiki/Internet"; });

-- 
 此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform