summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Rename webkit_blob::FileReader to FileStreamReader.kinaba@chromium.org2012-05-3124-142/+151
| | | | | | | | | | | | The name was confusion: it does not directly correspond to FileReader in File API, (which is implemented by WebCore::FileReader). BUG=128483 TEST=Existing file/blob tests. Review URL: https://chromiumcodereview.appspot.com/10447083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139724 0039d316-1c4b-4281-b951-d872f2087c98
* reset official build test expectationskerz@chromium.org2012-05-311-6617/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139711 0039d316-1c4b-4281-b951-d872f2087c98
* Disable GL_CHROMIUM_gpu_memory_manager extension on ↵mmocny@chromium.org2012-05-301-0/+1
| | | | | | | | | | | | | | | | | webgraphicscontext3d_in_process_command_buffer. webgraphicscontext3d_in_process_command_buffer has noops for the gpu_memory_manager features, and with the renderer relying on them to provide non-zero memory allocations, we need to disable the extension so that renderer can fallback to something else. BUG=129266 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/10454084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139680 0039d316-1c4b-4281-b951-d872f2087c98
* Actually disable on winrch@chromium.org2012-05-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139675 0039d316-1c4b-4281-b951-d872f2087c98
* win onlyrch@chromium.org2012-05-301-1/+7
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139674 0039d316-1c4b-4281-b951-d872f2087c98
* Disable FileWriterDelegateTest.WriteSuccessWithJustQuota on all platformsrch@chromium.org2012-05-301-1/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139672 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PPB_Transport_Dev API.sergeyu@chromium.org2012-05-306-507/+0
| | | | | | | | BUG=109630 Review URL: https://chromiumcodereview.appspot.com/10454058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139660 0039d316-1c4b-4281-b951-d872f2087c98
* Disable synchronous XMLHttpRequests in platform app documents.mihaip@chromium.org2012-05-302-2/+5
| | | | | | | | | | | Depends on http://webkit.org/b/87540 R=darin@chromium.org BUG=130185 Review URL: https://chromiumcodereview.appspot.com/10443047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139637 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the DomStorage is "wicked slow" bug by adding a renderer side cache and ↵michaeln@google.com2012-05-302-4/+11
| | | | | | | | | | | | | | | using a predominantly async IPC message protocol. - use DomStorageCachedArea + DomStorageProxy - an ipc message throttling mechanism to defend against misbehaving usage - less chatty storage event propagation - diable sudden termination when domstorage messages are pending to allow changes to be flushed thru to the backend on page unload - deleted the obsolete sync message types and handlers BUG=94382,128482 Review URL: https://chromiumcodereview.appspot.com/10383123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139602 0039d316-1c4b-4281-b951-d872f2087c98
* Disable flaky fileapi test: WriteFailureByQuotarch@chromium.org2012-05-301-1/+1
| | | | | | | | | | TBR=darin BUG=130325 TEST=FileWriterDelegateTest.DISABLED_WriteFailureByQuota Review URL: https://chromiumcodereview.appspot.com/10449074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139583 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate FileUtilities::getFileSize and getFileModifiedTimekinuko@chromium.org2012-05-302-27/+0
| | | | | | | | | | | as they are no longer used in WebKit. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10453037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139542 0039d316-1c4b-4281-b951-d872f2087c98
* SessionStorageDatabase fix.marja@chromium.org2012-05-302-50/+59
| | | | | | | | | | BUG=104292 TEST=SessionStorageDatabaseTest.DeleteNamespaceConfusion Review URL: https://chromiumcodereview.appspot.com/10451036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139540 0039d316-1c4b-4281-b951-d872f2087c98
* Very minor typo fixes for GData/FileAPI code.kinaba@chromium.org2012-05-305-8/+8
| | | | | | | | | | BUG=None TEST=None. Just changing comments and spaces. Review URL: https://chromiumcodereview.appspot.com/10441086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139516 0039d316-1c4b-4281-b951-d872f2087c98
* Move fileapi into its own componentbenwells@chromium.org2012-05-3038-98/+175
| | | | | | | | | | | | Before this change fileapi is a static library. As it has static data, this causes problems when used from multiple components like chrome and content. BUG=129885 TEST=Existing tests Review URL: https://chromiumcodereview.appspot.com/10447055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139498 0039d316-1c4b-4281-b951-d872f2087c98
* Delete Pipeline::GetBufferedBytes() in preparation for didLoadingProgress() ↵fischman@chromium.org2012-05-302-2/+17
| | | | | | | | | | | switchover. BUG=http://webk.it/86113 Review URL: https://chromiumcodereview.appspot.com/10458005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139495 0039d316-1c4b-4281-b951-d872f2087c98
* Track buffered byte ranges correctly in media::Pipeline.fischman@chromium.org2012-05-303-29/+18
| | | | | | | | | | | | | | | | | | | | Previously, the interaction was: BufferedDataSource: hey Pipeline, I just read byte X Pipeline: cool story bro! I'll just pretend you've read every single byte from 0 to X. Now the interaction is: BufferedDataSource: hey Pipeline, I just read bytes X-Y Pipeline: neato! I'll just add that range to my list of buffered ranges. The most noticeable outcome of this change is that seeking in a media format that requires reading a seek index from the end of the file (e.g. WebM w/ CUES at the end) no longer results in an almost-instant claim of having buffered the entire video just because a seek was completed (esp. dramatic when viewing a very large file, such as a multi-hour video). BUG=103513,127355 TEST=besides unittests, this allows a cleaned-up version of http/tests/media/video-buffered.html to be un-SKIPped! Review URL: https://chromiumcodereview.appspot.com/10451049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139452 0039d316-1c4b-4281-b951-d872f2087c98
* Modified the pepper file chooser API to support filtering files by extensions.raymes@chromium.org2012-05-304-30/+34
| | | | | | | | | | | | | | Previously you could filter only by MIME type. This adds support for filtering by specific extensions as well, e.g. .txt,.html. This change is aligned with the web platform which now allows filtering by file extension for <input> elements (http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#attr-input-accept). This also changes the linux implementation of the file dialog (SelectFileDialogImplGTK). In the past, it would turn file extensions to filter into MIME types. However this is a bit silly because in FileSelectHelper we do the reverse (turn MIME types into a list of file extensions to filter by). It also prevents us from filtering by a specific extensions when this is really what is desired. BUG=129251 TEST= Review URL: https://chromiumcodereview.appspot.com/10414085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139434 0039d316-1c4b-4281-b951-d872f2087c98
* This patch integrates SourceBufferStreams into SourceBuffer, removes all ↵annacc@chromium.org2012-05-293-4/+4
| | | | | | | | | | | | | | | | | buffering functionality from ChunkDemuxerStream so that it now refers to SourceBufferStream (through ChunkDemuxer/SourceBuffer) for buffer data. A few notes about this patch: * We are still assuming only 1 source ID (and 1 SourceBuffer) * SourceBuffer still has only 1 audio and 1 video streams * ChunkDemuxerStream now has a handle to its ChunkDemuxer so that it can ask for data from ChunkDemuxer's SourceBuffer. BUG=125208 TEST=source_buffer_unittest.cc (coming soon) Review URL: https://chromiumcodereview.appspot.com/10388099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139403 0039d316-1c4b-4281-b951-d872f2087c98
* Add the necessary plumbing mechanisms to ensure proper WebGL support inside ↵scshunt@google.com2012-05-293-13/+41
| | | | | | | | | | | | | | | | the <browser> tag, which is a separate patch. Known bugs: Not all aspects of context sharing work properly; in no models would render although the background animated properly. Requires a separate WebKit patch: https://bugs.webkit.org/show_bug.cgi?id=86504 R=fsamuel@chromium.org,piman@chromium.org,brettw@chromium.org BUG=None TEST=compiles Review URL: https://chromiumcodereview.appspot.com/10386145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139385 0039d316-1c4b-4281-b951-d872f2087c98
* Switch all domstorage tasks to be shutdown blocking to allow changes to be ↵michaeln@google.com2012-05-292-4/+5
| | | | | | | | flushed to disk on shutdown. Review URL: https://chromiumcodereview.appspot.com/10444065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139383 0039d316-1c4b-4281-b951-d872f2087c98
* Add deviceSupportsTouch to webglue.flackr@chromium.org2012-05-292-0/+4
| | | | | | | | | | | | | With https://bugs.webkit.org/show_bug.cgi?id=85921 landed this hooks up the touch screen parameter in WebKit to chrome's TOUCH display layout. TBR=jam BUG=121903 TEST=Run with --touch-optimized-ui and verify that combo boxes have a larger line height. Review URL: https://chromiumcodereview.appspot.com/10378071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139378 0039d316-1c4b-4281-b951-d872f2087c98
* Pass web intents client suggestions along through webkit glue layer.gbillock@chromium.org2012-05-292-1/+13
| | | | | | | | | | BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10413043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139353 0039d316-1c4b-4281-b951-d872f2087c98
* Updating XTBs based on .GRDs from branch 1132dharani@chromium.org2012-05-2952-0/+303
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139308 0039d316-1c4b-4281-b951-d872f2087c98
* Disable cross-filesystem move for sandbox filesystem for nowkinuko@chromium.org2012-05-291-2/+13
| | | | | | | | | | BUG=130055 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/10451061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139286 0039d316-1c4b-4281-b951-d872f2087c98
* Make FileSystemOperationWriteTest independent from URLRequest::Deprecated.kinaba@chromium.org2012-05-291-16/+32
| | | | | | | | | | | Clean up before adding GDataFileSystem::Write() and its tests. BUG=NONE TEST=unit_tests --gtest_filter='*FileSystemOperationWrite*' Review URL: https://chromiumcodereview.appspot.com/10442054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139275 0039d316-1c4b-4281-b951-d872f2087c98
* Unlayer ObfuscatedFileUtil.tzik@chromium.org2012-05-2818-723/+366
| | | | | | | | | | | | | | | In this CL: - Stop layering under FileSystemFileUtil, and make it pure virtual class. - Introduce LayeringFileUtil class, instead. - Change NativeFileUtil to pure 'static' class. - Change {Obfuscated,Local,Isolated}FileUtil to call NativeFileUtil directory. BUG=114732 TEST='*File*' Review URL: https://chromiumcodereview.appspot.com/10391102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139226 0039d316-1c4b-4281-b951-d872f2087c98
* Pass command line arguments onto platform apps which provide the right intent.benwells@chromium.org2012-05-261-0/+2
| | | | | | | | | | | | | Any command line arguments which are file names are passed through in launchData.intent BUG=None TEST=New tests added Review URL: https://chromiumcodereview.appspot.com/10332071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139195 0039d316-1c4b-4281-b951-d872f2087c98
* Merge native_theme resources into ui_resources_standardoshima@chromium.org2012-05-261-2/+2
| | | | | | | | | BUG=124566 TEST=none Review URL: https://chromiumcodereview.appspot.com/10447003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139178 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb referrer policy along with drag data informationjochen@chromium.org2012-05-252-2/+9
| | | | | | | | | | | | This allows for using the correct referrer policy when dragging a link out of a web view results in a download BUG=124750 TEST=none Review URL: https://chromiumcodereview.appspot.com/10451024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139147 0039d316-1c4b-4281-b951-d872f2087c98
* Set Android/V8 memory limits from dalvik.vm.heapsize.ulan@chromium.org2012-05-252-19/+39
| | | | | | | | | | | Fix memory usage computation for Android. BUG=b/6182964 Review URL: https://chromiumcodereview.appspot.com/10113009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139038 0039d316-1c4b-4281-b951-d872f2087c98
* Add FileUtilities::GetFileInfo() to capture file metadata with single IPCkinuko@chromium.org2012-05-254-0/+39
| | | | | | | | | | | | | | Corresponding webkit change: https://bugs.webkit.org/show_bug.cgi?id=86995 The plan includes eventually deprecating two separate IPC calls GetFileSize() and GetFileModificationTime() in favor of GetFileInfo(). BUG=none TEST=existing tests should pass Review URL: https://chromiumcodereview.appspot.com/10441016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139022 0039d316-1c4b-4281-b951-d872f2087c98
* Unbreak http/tests/media/video-cookie.html b/c of overzealous sanity check.fischman@chromium.org2012-05-251-1/+1
| | | | | | | | TBR=scherkus@chromium.org Review URL: https://chromiumcodereview.appspot.com/10441043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139000 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream Android's code about mock current directory.wangxianzhu@chromium.org2012-05-251-11/+65
| | | | | | | | | | | | | | | | | | On Android under layout test mode, we use FileOverHttp bridge and forwarder to forward file URLs to a web server running on the host. This has been done in http://codereview.chromium.org/7901009. In this change, we mock the current directory in SetCurrentDirectoryForFileURL() and GetAbsoluteWebStringFromUTF8Path(), as the directory might not exist on the device because we are using file-over-http bridge. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10443022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138985 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress pause-and-buffer behavior when the HTTP response won't satisfy ↵fischman@chromium.org2012-05-257-4/+255
| | | | | | | | | | | future requests via cache. BUG=123074 Review URL: https://chromiumcodereview.appspot.com/10387200 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138972 0039d316-1c4b-4281-b951-d872f2087c98
* Add pepper flash back to windows metro modecpu@chromium.org2012-05-251-4/+1
| | | | | | | | | | | | This was a TODO(cpu) hack, so I am TBRing the change See http://codereview.chromium.org/10408018/ BUG=none TEST=none TBR=jam Review URL: https://chromiumcodereview.appspot.com/10453021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138959 0039d316-1c4b-4281-b951-d872f2087c98
* Add flag to make all position:fixed elements create stacking contextsjamesr@chromium.org2012-05-242-1/+6
| | | | | | | | | | BUG=129277 TEST=none Review URL: https://chromiumcodereview.appspot.com/10411083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138930 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly whitelist ftp directory listings.jochen@chromium.org2012-05-243-2/+16
| | | | | | | | | | | | Instead of guessing whether a page is actually a directory listing that requires JavaScript to work, just store this information in the WebURLResponse BUG=121399 TEST=manual Review URL: https://chromiumcodereview.appspot.com/10440014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138925 0039d316-1c4b-4281-b951-d872f2087c98
* DomStorageCachedArea + DomStorageProxy interface and unittests. These ↵michaeln@google.com2012-05-247-1/+681
| | | | | | | | | classes aren't used yet. BUG=94382 Review URL: https://chromiumcodereview.appspot.com/10450009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138921 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 138791 - Revert 138554 - Prevent zero-length items from being ↵danakj@chromium.org2012-05-244-27/+38
| | | | | | | | | | | | | | | | | | appended to a blob. BUG=128266 TEST=as in the bug Review URL: https://chromiumcodereview.appspot.com/10386183 TBR=ericu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10444010 TBR=danakj@chromium.org Review URL: https://chromiumcodereview.appspot.com/10442013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138802 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 138795 - Revert "nss: revert encrypted and origin bound certificates ↵agl@chromium.org2012-05-244-38/+27
| | | | | | | | | | | support." Cleaning up git-svn mess with drover. TBR=agl@chromium.org Review URL: https://chromiumcodereview.appspot.com/10451012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138796 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "nss: revert encrypted and origin bound certificates support."agl@chromium.org2012-05-244-27/+38
| | | | | | Screwed up git branches in that change. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138795 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 138554 - Prevent zero-length items from being appended to a blob.danakj@chromium.org2012-05-244-38/+27
| | | | | | | | | | | | | BUG=128266 TEST=as in the bug Review URL: https://chromiumcodereview.appspot.com/10386183 TBR=ericu@chromium.org Review URL: https://chromiumcodereview.appspot.com/10444010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138791 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 138502 - Move version metadata from PluginGroup into PluginInstaller.bauerb@chromium.org2012-05-245-410/+30
| | | | | | | | | | | | | | This also moves the plug-in information JSON files into their own subdirectory, so they can be changed without requiring OWNERS reviews for chrome/browser/resources (which is mostly WebUI otherwise). BUG=124396 TEST=PluginInstallerTest.SecurityStatus:PluginFinderTest.JsonSyntax TBR=jam@chromium.org,jhawkins@chromium.org Original review URL: https://chromiumcodereview.appspot.com/10263022 Review URL: https://chromiumcodereview.appspot.com/10411098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138779 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 137734 - Select theme resources from ResourceBundle at ↵flackr@chromium.org2012-05-2412-143/+129
| | | | | | | | | | | | | | | requested scale factor." Relanding original CL 137734, http://codereview.chromium.org/10387010/. TBR=aa,abodenha,ben,sail,tony BUG=123611 TEST=All try bots pass and aura runs without errors. Review URL: https://chromiumcodereview.appspot.com/10412004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138769 0039d316-1c4b-4281-b951-d872f2087c98
* Use SingleThreadTaskRunner instead of MessageLoopProxy in ProxyConfigService.sergeyu@chromium.org2012-05-241-1/+2
| | | | | | | | MessageLoopProxy is not usable in plugin, and so it's not possible to use ProxyConfigService in plugins if it uses MessageLoopProxy. Review URL: https://chromiumcodereview.appspot.com/10414061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138751 0039d316-1c4b-4281-b951-d872f2087c98
* CreateOrOpen() with TRUNCATED flag should decrease the quota usage.kinuko@chromium.org2012-05-242-5/+81
| | | | | | | | | BUG=129157 TEST=ObfuscatedFileUtilTest.TestQuotaOnOpen Review URL: https://chromiumcodereview.appspot.com/10392197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138746 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent zero-length items from being appended to a blob.ericu@chromium.org2012-05-244-32/+45
| | | | | | | | | | | | BUG=128266 TEST=as in the bug Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138554 Review URL: https://chromiumcodereview.appspot.com/10386183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138702 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the potentially-dangerous destructor pattern in ObfuscatedFileUtil byericu@chromium.org2012-05-247-32/+22
| | | | | | | | | | | | | | removing the obsolete derivation from RefCountedThreadSafe. There's no bug here yet, but it would be very easy to add one later if we don't clean this up. BUG=http://code.google.com/p/chromium/issues/detail?id=128942 TEST=none; there's no actual bug there yet. Review URL: https://chromiumcodereview.appspot.com/10332283 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138689 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up: Remove unused printBegin() function.kmadhusu@chromium.org2012-05-242-16/+1
| | | | | | | | | | BUG=85132 TEST=none Review URL: https://chromiumcodereview.appspot.com/10409012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138684 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb --show-paint-rects to accelerated compositorshawnsingh@chromium.org2012-05-232-0/+6
| | | | | | | | | | | | The accelerated compositor has a visualization that can show paint rects, similar (but not exactly the same semantics) to what "--show-paint-rects" does in software mode. This patch is the chromium side plumbing to allow --show-paint-rects to enable the accelerated compositor's own visualization. BUG=none TEST=none, this is infrastructure for debugging code. Review URL: https://chromiumcodereview.appspot.com/10332129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138609 0039d316-1c4b-4281-b951-d872f2087c98