Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 376762

Summary: Web worker plugin doesn't seem to work
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 0.4   
Target Milestone: 1.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-04-13 13:24:07 EDT
As an example/test I recoded the HTML outline plugin as a web worker. This plugin installs fine, and the outline options show up in the editor. But when I try to switch to their outline nothing happens. There is nothing in the console, etc...

http://jarthorn.github.com/html-tools/htmlOutlineWorker.js

The identical plugin script coded as an HTML plugin works fine:

http://jarthorn.github.com/html-tools/htmlOutlinePlugin.html
Comment 1 Simon Kaegi CLA 2012-10-03 22:13:04 EDT
Worker plugins must have the same origin as the embedding page. e.g. They're not like our html plugins and are useful only to encapsulate work being done in page that shouldn't be done on the ui thread.