To enable Chromium to add support for native webworkers (implemented in NativeClient modules) we need some simple support to allow downloading of binary modules. The default script download clamps bytes greater than 0x7f, which are needed as valid opcodes/data for x86.
Created attachment 31681 [details] Proposed patch to add support I am looking for feedback as to whether this is the right approach, etc., to add download support. Thanks in advance!
Created attachment 31690 [details] Revised patch to hopefully fix coding style issues in UrlIsNativeWorker
I do not think support for NativeClient belongs in WebCore. I believe this bug should be closed. Can you explain why this should be in WebCore?
(In reply to comment #3) > I do not think support for NativeClient belongs in WebCore. I believe this bug > should be closed. Can you explain why this should be in WebCore? > We would like to add provisional support for native web workers to Chromium, and doing so requires a method for downloading a native binary. If there are other ways to make this happen without WebCore changes, I am extremely open to suggestions.
This is exactly what plugins are for.