summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Revert 82076 - Fix handling of a case where an AccessibilityObject is listed ↵andybons@chromium.org2011-04-191-12/+1
| | | | | | | | | as a child multiple times.BUG=79726TEST=browser_tests:RendererAccessibilityBrowserTest.CrossPlatformDuplicateChildrenAccessibilityReview URL: http://codereview.chromium.org/6873063 TBR=ctguil@chromium.org Review URL: http://codereview.chromium.org/6880029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82085 0039d316-1c4b-4281-b951-d872f2087c98
* Fix handling of a case where an AccessibilityObject is listed as a child ↵ctguil@chromium.org2011-04-191-1/+12
| | | | | | | | | | multiple times. BUG=79726 TEST=browser_tests:RendererAccessibilityBrowserTest.CrossPlatformDuplicateChildrenAccessibility Review URL: http://codereview.chromium.org/6873063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82076 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression in 81614 with spelling correction.jam@chromium.org2011-04-191-0/+3
| | | | | | | BUG=79821 Review URL: http://codereview.chromium.org/6883038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82075 0039d316-1c4b-4281-b951-d872f2087c98
* Apply HSTS rules to also upgrade ws:// -> wss:// if appropriate. This avoidscevans@chromium.org2011-04-191-1/+2
| | | | | | | | | | a minor issue whereby failure to set a cookie "Secure" can get leaked via a WebSocket when http itself is mitiagted. TEST=WebSocketJobTest.HSTSUpgrade Review URL: http://codereview.chromium.org/6873029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82069 0039d316-1c4b-4281-b951-d872f2087c98
* Fix BufferedResourceLoader so it only makes Range requests when a subset of ↵acolwell@chromium.org2011-04-195-50/+111
| | | | | | | | | | | the file is needed. BUG=74975 TEST=none Review URL: http://codereview.chromium.org/6815012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82061 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations.txt : WebGL fixes should now be incrogers@google.com2011-04-191-21/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82046 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test_expectations.txt to ignore crashing WebGL tests probably due to ↵crogers@google.com2011-04-191-2/+22
| | | | | | | | | | skia roll TEST=none BUG=http://code.google.com/p/chromium/issues/detail?id=79792 TBR=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82035 0039d316-1c4b-4281-b951-d872f2087c98
* linux: don't always print dlopen errors from LoadNativeLibraryevan@chromium.org2011-04-183-13/+19
| | | | | | | | | | | Instead, return them to the caller and let the caller decide whether the error is worth notifying the user about. BUG=79068 Review URL: http://codereview.chromium.org/6864020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82008 0039d316-1c4b-4281-b951-d872f2087c98
* Keep the module in scope when executing scripts. This prevents a crash when thebrettw@chromium.org2011-04-182-1/+17
| | | | | | | | | | | | | | | | | | | | script deletes the plugin object synchronously. This in turn deletes the dispatcher which will make the code returning the out param and exception to the plugin crash. To prevent the crash, this patch adds a way for the proxy to manipulate the refcount of the plugin object so that it's still alive when as long as the scripting message is being processed. A manual test is included. This is not automatically run now. I tried to fit it into the current test infrastructure and found it very challenging, We need to revisit this to allow custom tests to more easily be written. TEST=manual with included plugin and html BUG=none Review URL: http://codereview.chromium.org/6881012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81993 0039d316-1c4b-4281-b951-d872f2087c98
* update test_expectations.txt: fast/text/zero-font-size.html is now re-baselinedcrogers@google.com2011-04-181-1/+0
| | | | | | | | BUG=none TEST=none TBR=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81981 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test expectations for fast/forms/select-background-none.html now that ↵crogers@google.com2011-04-181-1/+0
| | | | | | | | | | it's rebaselined BUG=none TEST=none TBR=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81980 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented broker dispatcher, pipe creation, and handle distribution.ddorwin@chromium.org2011-04-182-4/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6865045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81951 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented PPB_Broker_Proxy.ddorwin@chromium.org2011-04-172-8/+18
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81888 0039d316-1c4b-4281-b951-d872f2087c98
* File API changes needed for safely passing user selected file entities from ↵zelidrag@chromium.org2011-04-1621-96/+369
| | | | | | | | | | the file browser component extension to a 3rd party extension. BUG=chromium-os:11996 TEST=FileAccessPermissionsTest.FileAccessChecks Review URL: http://codereview.chromium.org/6810037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81860 0039d316-1c4b-4281-b951-d872f2087c98
* Clang build fix, de-inline a virtual method and dtor.michaeln@google.com2011-04-163-5/+23
| | | | | | | TBR=ericu Review URL: http://codereview.chromium.org/6870022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81847 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where immediate failure in PPB_URLLoader_Impl::Open doesn't report ↵bbudge@chromium.org2011-04-161-0/+7
| | | | | | | | | an error, breaking NaCl integration tests. Before the recent changes to this class, violations of same-origin restrictions returned an error immediately. Now, the loader calls the didFail callback, before the callback is set, so there is no notification of an error. This patch checks for an immediate failure, and returns PP_ERROR_NOACCESS to keep existing cross-origin tests green. We should go ahead with some WebKit refactoring to return proper error codes, as per Darin's TODO. Review URL: http://codereview.chromium.org/6864021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81838 0039d316-1c4b-4281-b951-d872f2087c98
* Let Pepper open FileSystem files again.ericu@google.com2011-04-168-7/+115
| | | | | | | | TEST=none [existing tests, but they're not currently run automatically] BUG=none Review URL: http://codereview.chromium.org/6850027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81837 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the plugin printing code, which wasn't actually called.jam@chromium.org2011-04-155-27/+0
| | | | | | Review URL: http://codereview.chromium.org/6874023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81835 0039d316-1c4b-4281-b951-d872f2087c98
* Pre-buffer data from the host to the plugin in the PPAPI proxy to reduce thebrettw@chromium.org2011-04-152-1/+15
| | | | | | | | | | | impact of IPC latency on streaming data. This allows most resource requests to be returned synchronously from the URLLoader in the plugin. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6870018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81833 0039d316-1c4b-4281-b951-d872f2087c98
* Added functionality to use "SaveAs..." from PDF plugin.gene@chromium.org2011-04-1526-7/+34
| | | | | | | | | | | | | | | It is exactly the same experience as user right-click and select "SaveAs..." from pop-up menu. No disk access allowed for plugin. DIscussed it with Chris Evans and he is ok with this solution from the security stand point. Also added PDF resources for new UI. BUG=56072,75235 TEST=none, will send PDF cl separately. Review URL: http://codereview.chromium.org/6871020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81822 0039d316-1c4b-4281-b951-d872f2087c98
* Support PPB_Flash_ModileLocal blocking calls from background threads. This isbrettw@chromium.org2011-04-151-0/+9
| | | | | | | | | | | | | | | | | | | | | a temporary stopgap to allow these specific functions to be used until the entire proxy can support threading. There are two functions that set up and clean up the routing information in the interface. These are necessary because the global dispatcher routing information is not threadsafe. When used from the main thread, the code works the same as before. When used from a background thread, we create a sync message, send it to the I/O thread, and block the sending thread until the reply is received. There is no handling of other incoming blocking messages (which are impossible), and no other Pepper functions are supported from the background thread. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6875009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81814 0039d316-1c4b-4281-b951-d872f2087c98
* Enabled encoded data length support in DevTools for synchronous requestsvsevik@chromium.org2011-04-151-0/+1
| | | | | | | | | BUG=40502 TEST=Open DevTools, make synchronous XHR request, check transfer size is reported correctly Review URL: http://codereview.chromium.org/6836015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81811 0039d316-1c4b-4281-b951-d872f2087c98
* Select a more appropiate appcache based on the opener or the parent or the ↵michaeln@google.com2011-04-1516-141/+428
| | | | | | | | | | | | | target frame of the new document. The change determines a 'preferred manifest url' in these cases: * <iframe> loading, we prefer the parent frame's manifest url * window.open() loading, we prefer the opener frame's manifest url * href clicking to navigate a frame in place, we prefer the manifest url of the document in the frame when the navigation starts BUG=68479 Review URL: http://codereview.chromium.org/6727006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81801 0039d316-1c4b-4281-b951-d872f2087c98
* More test suppressions pending rebaseline upstream.caseq@google.com2011-04-151-1/+3
| | | | | | | | | BUG=none TEST=none TBR=crogers git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81762 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for WebKit build break.zelidrag@chromium.org2011-04-152-2/+40
| | | | | | | | | TEST=none BUG=none TBR=caseq Review URL: http://codereview.chromium.org/6865016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81755 0039d316-1c4b-4281-b951-d872f2087c98
* Added more suppressions for new tests.caseq@google.com2011-04-151-0/+7
| | | | | | | | | TBR=crogers TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81746 0039d316-1c4b-4281-b951-d872f2087c98
* More suppressions for new tests added.caseq@google.com2011-04-151-1/+3
| | | | | | | | | BUG=none TEST=none TBR=crogers git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81737 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed duplicate test line.caseq@google.com2011-04-151-1/+0
| | | | | | | | | BUG=none TEST=none TBR=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81732 0039d316-1c4b-4281-b951-d872f2087c98
* More temporary suppressions (svg/css/composite-shadow-text.svg, changed ↵caseq@google.com2011-04-151-13/+14
| | | | | | | | | | | since r83936) BUG=none TEST=none TBR=crogers git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81730 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily suppressed shadow tests with win expectations changed since r83936.caseq@google.com2011-04-151-2/+14
| | | | | | | | | BUG=none TEST=none TBR=crogers git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81727 0039d316-1c4b-4281-b951-d872f2087c98
* Removing now unnecessary suppressions.antonm@chromium.org2011-04-151-4/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81722 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed PlatformCanvas -> SkCanvas to fix test_shell build broken on win.caseq@google.com2011-04-152-9/+9
| | | | | | | | | | Courtesy of jamesr BUG=none TEST=successful build of test_shell on win Review URL: http://codereview.chromium.org/6873005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81711 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderProcess to content.jam@chromium.org2011-04-151-0/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6864001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81681 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of the Chrome dependencies from RenderThread.jam@chromium.org2011-04-142-7/+0
| | | | | | Review URL: http://codereview.chromium.org/6853029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81666 0039d316-1c4b-4281-b951-d872f2087c98
* Draft version of the HW video decode tester and few other changes.scherkus@chromium.org2011-04-141-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intention is that this tester can be used to decouple HW decode accelerator integration from running the whole Chrome browser. Features: - Independent GUnit executable, which should be possible to use in autotests. - Mimics Renderer process from Gpu video pipeline perspective. * Test bench contains implementation of FakeClient which essentially mimics Renderer process from the GpuVideoDecodeAccelerator's point of view. * FakeClient runs on it's own thread and will communicate with using the IPC messages that are used also within the real use case. * FakeClient will allocate memories using same SharedMemory stuff as the real Renderer code. * Currently reads H.264 Annex B bitstream from file and parses it to NAL units before feeding to the decoder * TODO: Polish and improving the features and configurability. * TODO: GLES texture allocation for textures. - Allows building various test cases and error behaviour as well both on AcceleratedVideoDecoder interface as well as erroneous behaviour from the client. - Allows also checking expected order of calls if we want to enforce certain behaviour across various implementations. Patch by vmr@chromium.org: http://codereview.chromium.org/6720040/ BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81663 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of Chrome specific code out of RenderThread, in preparation of ↵jam@chromium.org2011-04-141-8/+0
| | | | | | | | moving it to content. Review URL: http://codereview.chromium.org/6850003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81614 0039d316-1c4b-4281-b951-d872f2087c98
* Move crypto files out of base, to a top level directory.rvargas@google.com2011-04-143-4/+7
| | | | | | | | | | | | | src/crypto is now an independent project that contains our cryptographic primitives (except md5 and sha1). This removes the base dependency from nss, openssl and sqlite. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6805019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81611 0039d316-1c4b-4281-b951-d872f2087c98
* Modify the webkit::ppapi::URLLoader to use the underlying ↵bbudge@chromium.org2011-04-142-28/+17
| | | | | | | | | | AssociatedURLLoader for security checks, and convert URLRequest properties into the configuration for the AssociatedURLLoader. This Issue depends on http://codereview.chromium.org/6755015/ BUG=47354 TEST=ppapi_tests Review URL: http://codereview.chromium.org/6765040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81605 0039d316-1c4b-4281-b951-d872f2087c98
* Add CORS options to URL requests. This information will be used by the ↵bbudge@chromium.org2011-04-143-2/+42
| | | | | | | | | | | URLLoader to create the AssociatedURLLoader that sends the request. The CORS options are simplified to fit with what is already in PPAPI. For example, since we already have a trusted interface with universal access, setting the PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS property TRUE corresponds to using access control to check the request. If we want to remove the trusted interface, then we should modify this CL so that we can specify Allow, Deny, or UseAccessControl. Also, I chose not to expose the SniffContent option from WebKit's loader. BUG=47354 TEST=test_shell_tests Review URL: http://codereview.chromium.org/6755015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81604 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "WebKit roll 83807:83834" (broke clang)caseq@google.com2011-04-141-5/+2
| | | | | | | | | BUG=none TEST=none TBR=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81576 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83807:83834caseq@google.com2011-04-141-2/+5
| | | | | | | | | | BUG=none TEST=none TBR=crogers Review URL: http://codereview.chromium.org/6840050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81573 0039d316-1c4b-4281-b951-d872f2087c98
* Nit fix FileSystemOperationWriteTest about when exiting the thread and ↵dmikurube@chromium.org2011-04-141-6/+3
| | | | | | | | | | | | remove unnecessary lines. BUG=none TEST=none Review URL: http://codereview.chromium.org/6852021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81571 0039d316-1c4b-4281-b951-d872f2087c98
* Pass null timing to webkit when no such data is available.vsevik@chromium.org2011-04-141-15/+17
| | | | | | | | | | | DumpRenderTree does not collect timing information and we should pass null timing value to WebKit in this case. BUG=None TEST=None Review URL: http://codereview.chromium.org/6823006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81562 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leaks below file_util::FileEnumeratordmikurube@chromium.org2011-04-141-0/+2
| | | | | | | | | BUG=79329 TEST=./tools/valgrind/chrome_tests.sh -t test_shell --gtest_filter="FileSystemOperationTest.*" Review URL: http://codereview.chromium.org/6851010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81548 0039d316-1c4b-4281-b951-d872f2087c98
* Wire up the extension API for registering NaCl modules to an actual registry ↵abarth@chromium.org2011-04-142-2/+8
| | | | | | | | of NaCl modules. Review URL: http://codereview.chromium.org/6821038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81545 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 83754:83807caseq@google.com2011-04-141-0/+3
| | | | | | | | | | | BUG=none TEST=none TBR=crogers Review URL: http://codereview.chromium.org/6853007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81544 0039d316-1c4b-4281-b951-d872f2087c98
* Check that GetInterface() is called on the main thread.ddorwin@chromium.org2011-04-141-0/+3
| | | | | | | | | BUG=74087 TEST=none Review URL: http://codereview.chromium.org/6826046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81531 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang error.ddorwin@chromium.org2011-04-141-1/+1
| | | | | | | | | BUG=none TEST=Clang compiler. Review URL: http://codereview.chromium.org/6849014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81530 0039d316-1c4b-4281-b951-d872f2087c98
* Asynchronously create the ppapi broker.ddorwin@chromium.org2011-04-147-14/+31
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6822012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81525 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed raw_data_length to encoded_data_lengthvsevik@chromium.org2011-04-1316-56/+60
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6838021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81464 0039d316-1c4b-4281-b951-d872f2087c98