https://bugzilla.wikimedia.org/show_bug.cgi?id=55642
Web browser: ---
Bug ID: 55642
Summary: Support loading ResourceLoader modules into Web
Workers
Product: MediaWiki
Version: unspecified
Hardware: All
URL: https://developer.mozilla.org/en-US/docs/Web/Guide/Per
formance/Using_web_workers
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: ResourceLoader
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Some more CPU intensive client side multimedia tools may need to do background
processing in the future.
Browsers support running JavaScript background processes through the Web
Workers API --
https://developer.mozilla.org/en-US/docs/Web/Guide/Performance/Using_web_workers
However there are some complications:
* workers run in their own JS context, so the JS file loaded must be self
contained
* worker source code must be loaded from the web page's origin, which could be
problematic when RL is being used on a second domain such as bits. There may be
workarounds such as using blob URLs...
Note that workers communicate with the parent page through post message similar
to iframes.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l