diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-03 00:13:13 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-03 00:13:13 +0000 |
commit | 084c69365aff0aa5c9a1e00517dd1c6343a7f88d (patch) | |
tree | 889c51210f1fa9148a27836d3bb8869c52c3bc5d /ui/android | |
parent | 476d8116d2032e3957a25c66d39e698c01b90aad (diff) | |
download | chromium_src-084c69365aff0aa5c9a1e00517dd1c6343a7f88d.zip chromium_src-084c69365aff0aa5c9a1e00517dd1c6343a7f88d.tar.gz chromium_src-084c69365aff0aa5c9a1e00517dd1c6343a7f88d.tar.bz2 |
Fix ppapi_extension_mime_handler nacl test.
The URLLoader Resource that's passed to HandleDocumentLoad is released by the browser (or proxy) after HandleDocumentLoad returns. The plugin is expected to AddRefResource the URLLoader if they use it.
In this case, the test was passing just because the synchronous SRPC proxy called ReadResponseBody back to the browser synchronously, which was able to read data immediately. Making the loaded data file bigger or using required callbacks made the test fail. AddRefing the URLLoader fixes it.
BUG=116317
Review URL: https://chromiumcodereview.appspot.com/11312067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/android')
0 files changed, 0 insertions, 0 deletions