Bug 451192

Summary: AppendToStream should accept the entire byte array in one go
Product: [Eclipse Project] Platform Reporter: Neil Rashbrook <neil>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: lshanmug
Version: 4.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/#/c/36339/
Whiteboard:

Description Neil Rashbrook CLA 2014-11-12 10:35:27 EST
Currently the HTML bytes as generated by the call to Mozilla.setText are fed into the nsIWebBrowserStream in pages of 8K. This is entirely unnecessary as the stream is an unbounded memory buffer that has its own internal paging mechanism. Instead all the bytes can be passed in one go, simplifying the calling code.
Comment 1 Lakshmi P Shanmugam CLA 2015-02-26 06:18:53 EST
Please see gerrit for comments.