|
|
Hi Bennett,
this change is a work in progress. Don't nitpick my code yet, but I've inserted several FIXME comments where I don't understand the existing code. Your feedback would be much appreciated.
cheers
alan
- When fetching the NaCl module, include the architecture name in the URL. Attempt
to fetch (optionally) the architecture-specific URL, the PNaCl URL and the
architecture-independent URL (though this latter name should be considered deprecated).
- Use MIME type "application/x-nacl-srpc" throughout, eliminating x-nacl-npapi and
x-nacl-npapi-over-srpc.
- Rename embed.src atrribute to embed.nexe to avoid eager fetching by browser, since
the attribute no longer directly names a resource, but is mangled slightly.
- Fix all tests' HTML to use the new attribute name. While we're there, add <noembed>
elements to illustrate best practises.
Questions:
- how much architecture detail should we include in the resource name?
"arm" is inadequate since there are several architectures; "armv7" (e.g.) would
be better. But this raises the question: what about neon? SSE? etc.
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+541 lines, -169 lines) |
Patch |
 |
M |
src/trusted/plugin/srpc/browser_interface.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/browser_interface.cc
|
View
|
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/closure.h
|
View
|
|
4 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/closure.cc
|
View
|
|
4 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/plugin.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/plugin.cc
|
View
|
|
4 chunks |
+59 lines, -9 lines |
4 comments
|
Download
|
 |
M |
src/trusted/plugin/srpc/srpc.cc
|
View
|
|
4 chunks |
+11 lines, -2 lines |
5 comments
|
Download
|
 |
M |
tests/autoloader/autoloader_default.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/cdom_perf/cdom_perf.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue42.html
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue44.html
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue45.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue49.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue52.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue53.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue54.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue55.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue57.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue58.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue62.html
|
View
|
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/contest_issues/issue63.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/drawing/drawing.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/earth/earth.html
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/life/life.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/lua/lua.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/mandel/mandel_tiled.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/mandel_nav/mandel_nav.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/many/many18.html
|
View
|
|
1 chunk |
+23 lines, -18 lines |
0 comments
|
Download
|
 |
M |
tests/many/many3.html
|
View
|
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/many/many36.html
|
View
|
|
1 chunk |
+41 lines, -36 lines |
0 comments
|
Download
|
 |
M |
tests/many/many9.html
|
View
|
|
1 chunk |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tests/many/mix.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/npapi_bridge/npapi_perf.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/npapi_bridge/npapi_test.html
|
View
|
|
3 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tests/npapi_bridge/npapi_video.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/npapi_geturl/npapi_geturl.html
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/npapi_hw/npapi_hw.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/npapi_pi/npapi_pi.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/npapi_runtime/npapi_runtime.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/pepper_plugin/pepper_plugin.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/photo/photo.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/quake/quake.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/quake/quake3.html
|
View
|
|
1 chunk |
+22 lines, -3 lines |
0 comments
|
Download
|
 |
M |
tests/quake/quake9.html
|
View
|
|
1 chunk |
+15 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tests/ruby/ruby.html
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_basic.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_display_shm.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_nrd_xfer.html
|
View
|
|
1 chunk |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_plugin.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_shm.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_sockaddr.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc/srpc_url_as_nacl_desc.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc/srpcperf.html
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/srpc_hw/srpc_hw.html
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/vim/vim.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tests/voronoi/voronoi.html
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
tests/xaos/xaos.html
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|