summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Extend Mac popup to handle more directionality.avi@chromium.org2011-02-114-85/+93
| | | | | | | | | BUG=71326 TEST=verify popup is correct with test page noted in bug writeup. Review URL: http://codereview.chromium.org/6410125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74622 0039d316-1c4b-4281-b951-d872f2087c98
* Clean outdated test_expectations after webkit roll.zmo@google.com2011-02-111-2/+0
| | | | | | | | | | BUG=none TEST=none TBR=pkasting Review URL: http://codereview.chromium.org/6474041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74621 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74561 for breaking the ChromeOS buildwillchan@chromium.org2011-02-111-23/+23
| | | | | | | | | | | | | | | | | | | | Introduce OffTheRecordProfileIOData and ProfileImplIOData. They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6286133 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6489020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74564 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce OffTheRecordProfileIOData and ProfileImplIOData.willchan@chromium.org2011-02-111-23/+23
| | | | | | | | | | | | | | | They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6286133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74561 0039d316-1c4b-4281-b951-d872f2087c98
* Test expectations update due to a layout test failure caused by chromium ↵zmo@google.com2011-02-101-0/+2
| | | | | | | | | | | | side CL. Will remove once webkit roll again. TEST=none BUG=none TBR=hamaji Review URL: http://codereview.chromium.org/6484014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74523 0039d316-1c4b-4281-b951-d872f2087c98
* Adding support for JavaScript internationalization API as V8 extension. See ↵cira@chromium.org2011-02-101-0/+3
| | | | | | | | | | | | | | | | | proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api. V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}. This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature. It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands. BUG=28604 TEST=LayoutTests/fast/js/i18n-bindings-locale.html Review URL: http://codereview.chromium.org/6366021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74491 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the accidentially changed auto-generated files.jochen@chromium.org2011-02-101-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6490005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74460 0039d316-1c4b-4281-b951-d872f2087c98
* Only invoke WebKit methods in browsing data helpers on the WEBKIT thread.jochen@chromium.org2011-02-101-1/+1
| | | | | | | | | BUG=71786 TEST=browser & unit tests Review URL: http://codereview.chromium.org/6246105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74433 0039d316-1c4b-4281-b951-d872f2087c98
* Add 1st cut of FileSystemUsageTracker that tracks the usage changes in ↵kinuko@chromium.org2011-02-109-29/+363
| | | | | | | | | | | | | | FileSystem API. For now it has no meaningful implementation yet; mostly just for defining a few interfaces. BUG= TEST=FileSystemUsageTrackerTest.DummyTest Review URL: http://codereview.chromium.org/6426001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74429 0039d316-1c4b-4281-b951-d872f2087c98
* Restore old title in WebViewPlugin only when loading the plugin.bauerb@chromium.org2011-02-102-2/+8
| | | | | | | | | BUG=72437 TEST=see bug for manual test Review URL: http://codereview.chromium.org/6476006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74428 0039d316-1c4b-4281-b951-d872f2087c98
* Changes some of the dependencies to removegman@chromium.org2011-02-101-1/+1
| | | | | | | | | | | client side arrays. TEST=none BUG=71717 Review URL: http://codereview.chromium.org/6459013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74392 0039d316-1c4b-4281-b951-d872f2087c98
* Several bits of cleanup in FileSystem*URLRequestJob:adamk@chromium.org2011-02-095-21/+20
| | | | | | | | | | | | - Remove startup_error_ member and delayed error reporting; URLRequestJob properly enqueues NotifyDone calls so that they complete after Start() runs. - Remove origin_url_ members, replace with locals. - Re-organize .h file to call out FilterContext method. Review URL: http://codereview.chromium.org/6458011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74339 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup more test code.erg@google.com2011-02-095-249/+518
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6462015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74328 0039d316-1c4b-4281-b951-d872f2087c98
* Remove expectations of failure, leftover from my gardening shift.dglazkov@chromium.org2011-02-091-3/+0
| | | | | | | | | | TBR=zmo TEST=none BUG=none Review URL: http://codereview.chromium.org/6458030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74298 0039d316-1c4b-4281-b951-d872f2087c98
* cleanloislo@chromium.org2011-02-091-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74278 0039d316-1c4b-4281-b951-d872f2087c98
* Test_expectations cleanup.loislo@chromium.org2011-02-091-5/+1
| | | | | | | | | | | | canvas/philip entries can be removed after roll to r78031. TBR=zmo,hamaji BUG=none TEST=none Review URL: http://codereview.chromium.org/6458025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74274 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent crashing on errors in PPB_Context_3D_Impls.neb@chromium.org2011-02-091-12/+10
| | | | | | | | | BUG=none TEST=Calling PPB_Context_3D_Trusted functions before calling InitRaw() shouldn't crash the renderer. Review URL: http://codereview.chromium.org/6368148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74249 0039d316-1c4b-4281-b951-d872f2087c98
* Update the checked-in GLES2 bindings and implementation to match the ↵bryner@chromium.org2011-02-081-1/+1
| | | | | | | | | | | | | auto-generated files. This allows you to build all targets without ending up with spurious comment changes in your client. BUG=none TEST=none Review URL: http://codereview.chromium.org/6441001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74177 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73222 - Make target running GLES2 autogen script.gavinp@chromium.org2011-02-081-29/+0
| | | | | | | | | | | | | | | | | | | | Also lays groundwork for rebuilding Pepper OpenGL ES bindings as part of the build. BUG=none TEST=run "make ppapi_gles_bindings" or "make ppapi_gles_implementation". Review URL: http://codereview.chromium.org/5212006 TBR=neb@chromium.org This change was causing just building to create merge conflicts in clean repos. Either these targets shouldn't be part of standard build targets like "chrome" or "unit_tests", or we shouldn't have build targets which generate output into the working tree... Review URL: http://codereview.chromium.org/6461001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74161 0039d316-1c4b-4281-b951-d872f2087c98
* Corrected signature of WebPlugin3DDeviceDelegate::Device3DRegisterCallback.apatrick@chromium.org2011-02-082-5/+6
| | | | | | | | | | | The (attempted) override in WebPluginDelegatePepper did not match. TEST=try BUG=72153 Review URL: http://codereview.chromium.org/6451011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74141 0039d316-1c4b-4281-b951-d872f2087c98
* Remove most of layout test controller.tony@chromium.org2011-02-084-1441/+1
| | | | | | | | | waitUntilDone/notifyDone are still there for a couple test_shell_tests. Review URL: http://codereview.chromium.org/6413033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74140 0039d316-1c4b-4281-b951-d872f2087c98
* Add debug logging for mixed scripting.agl@chromium.org2011-02-082-15/+0
| | | | | | | | | | | | | | | | | | Our mixed scripting can be very difficult to debug when the offending request comes from nested iframes and the like because the issue won't show up in the Javascript console for the page. This also occurs if a redirect page loads mixed scripting. This change cleans up a previous change (r71881) now that the WebKit side of this has landed, and logs mixed scripting issues to the debug log (when logging is enabled). BUG=none TEST=Run with --enable-logging and go to a site with mixed scripting. Confirm that a debug entry appears in the chrome_debug.log. Review URL: http://codereview.chromium.org/6246149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74119 0039d316-1c4b-4281-b951-d872f2087c98
* Change ListenerLeakTest tests to use the new V8 profiler API.mnaganov@chromium.org2011-02-082-35/+26
| | | | | | | | | | | | This eliminates the need of doing heap snapshots on every GC round when running test_shell_tests. BUG=none TEST=ListenerLeakTest.* Review URL: http://codereview.chromium.org/6454003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74117 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations for successfully passing tests.loislo@chromium.org2011-02-081-15/+15
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6449003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74113 0039d316-1c4b-4281-b951-d872f2087c98
* First crack at FileSystemURLRequestJob for handling filesystem: URLs.adamk@chromium.org2011-02-0811-0/+1160
| | | | | | | | Disabled behind a switch, "--enable-filesystem-url-scheme". Review URL: http://codereview.chromium.org/6262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74082 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tool to retrieve passing and failing WebKit revision numbers fromyuzo@chromium.org2011-02-081-0/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | canaries. From each canary, - the last WebKit revision number for which all the tests have passed, - the last WebKit revision number for which the tests were run, and - the names of failing layout tests are retrieved and printed. This tool has proven useful to me in my WebKit gardener shift. Sample output from the tool: $ ./webkit/tools/layout_tests/canary-wk-revisions.py -h Usage: canary-wk-revisions.py [options] [builders] Options: -h, --help show this help message and exit -m MAX_BUILDS, --max_builds=MAX_BUILDS maximum number of builds to check for each builder $ ./webkit/tools/layout_tests/canary-wk-revisions.py Checking the last 10 builds for: "Webkit Win" "Webkit Mac10.5" "Webkit Linux **** Failing revisions ***** The last run was at r77559 on "Webkit Mac10.5" and the following tests faile fast/overflow/overflow-height-float-not-removed-crash.html **** Passing revisions ***** The last passing run was at r77587 on "Webkit Win" The last passing run was at r77548 on "Webkit Mac10.5" The last passing run was at r77587 on "Webkit Linux" Passing revision range: r77548 - r77587 BUG=none TEST=none Review URL: http://codereview.chromium.org/6340019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74069 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang warning WebClipboardImpl::writeData() fails to override ↵dcheng@chromium.org2011-02-072-2/+7
| | | | | | | | | | | WebClipboard::writeData BUG=72152 TEST=none Review URL: http://codereview.chromium.org/6413027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74036 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some more DRT features from test_shell.tony@chromium.org2011-02-0711-878/+4
| | | | | | | | | Specifically, remove the ability to run tests from the command line and remove a bunch of methods that dump state. Review URL: http://codereview.chromium.org/6334096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74012 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up warnings found in our testing code.erg@google.com2011-02-0722-191/+315
| | | | | | | | | | | | | Time wise, this only speeds things up by a minute, which I think is within the margin of error. I can't get a good size measurement since we aren't building .a files for a lot of this code. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6312137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73999 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFrameClient::didReceiveResponse in WebViewPluginbauerb@chromium.org2011-02-072-0/+14
| | | | | | | | | BUG=72150 TEST=no clang warning Review URL: http://codereview.chromium.org/6312183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73998 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Make PPB_FileChooser_Dev::Show "return" PP_ERROR_USERCANCEL if no ↵viettrungluu@chromium.org2011-02-071-1/+1
| | | | | | | | | | | file is selected. BUG=none TEST=none Review URL: http://codereview.chromium.org/6286128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73995 0039d316-1c4b-4281-b951-d872f2087c98
* Move the Carbon SetCursor method on WebPluginDelegateImpl to a different ↵avi@chromium.org2011-02-072-4/+8
| | | | | | | | | | | name to avoid conflict with the cross-platform SetCursor call on WebPluginDelegate. BUG=72151 TEST=clang compiles Chromium again. No user-visible change. Review URL: http://codereview.chromium.org/6368128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73991 0039d316-1c4b-4281-b951-d872f2087c98
* Change test expectations for keygen.htmlloislo@chromium.org2011-02-071-1/+1
| | | | | | | | | | TBR=zmo BUG=none TEST=none Review URL: http://codereview.chromium.org/6334144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73990 0039d316-1c4b-4281-b951-d872f2087c98
* Correctly match plugins to their definitions.bauerb@chromium.org2011-02-075-40/+78
| | | | | | | | | BUG=71781 TEST=PluginListTest.HardcodedGroups Review URL: http://codereview.chromium.org/6286081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73984 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary disable three tests for rebaseline after r77781.loislo@chromium.org2011-02-071-0/+6
| | | | | | | | | | | | | fast/html/keygen.html fast/invalid/residual-style.html html5lib/runner.html BUG=none TEST=none Review URL: http://codereview.chromium.org/6250191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73980 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary disable some philip tests before roll to 77777.loislo@chromium.org2011-02-071-0/+13
| | | | | | | | | | TBR=zmo BUG=none TEST=none Review URL: http://codereview.chromium.org/6286141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73973 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land more changes from r73427 where we set the name for each module in ↵brettw@google.com2011-02-053-7/+10
| | | | | | | | the constructor (checking for perf regressions). Review URL: http://codereview.chromium.org/6312177 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73934 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73427 (set the name of the PPAPI plugin correcetly) and 73916 (minor ↵brettw@google.com2011-02-053-10/+7
| | | | | | | | | bugfix) to see if it is responsible for the startup performance regression. TEST=startup perf XP Review URL: http://codereview.chromium.org/6368120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73931 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Task Manager to correctly display network usage of plug-in processes.ajwong@chromium.org2011-02-051-7/+4
| | | | | | | | | | | | BUG=chromium-os:2954 TEST=Run Chrome and open Task Manager, then play a video in YouTube and check whether the Network usage is correctly reported against the plug-in. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=73884 Review URL: http://codereview.chromium.org/6328010 Patch from James Weatherall <wez@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73915 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-0548-74/+74
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* This reverts commit r73836.ajwong@chromium.org2011-02-051-4/+7
| | | | | | TBR=wez git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73886 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Task Manager to correctly display network usage of plug-in processes.ajwong@chromium.org2011-02-051-7/+4
| | | | | | | | | | BUG=chromium-os:2954 TEST=Run Chrome and open Task Manager, then play a video in YouTube and check whether the Network usage is correctly reported against the plug-in. Review URL: http://codereview.chromium.org/6328010 Patch from James Weatherall <wez@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73884 0039d316-1c4b-4281-b951-d872f2087c98
* Remove support for client side arrays from client side gpugman@chromium.org2011-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | code used by Chromium and WebGL so that you can't use it by accident. It's stil enabled for Pepper, the conformance tests and the unit tests. Note that bug 71717 was a bug in WebGL. The same call to glDrawElements with the same parameters would have also crashed real OpenGL. The reason it didn't with --in-process-webgl is because some checks were used with that flag that were not without. Mo is fixing that side. Also, I made it so the the GLES2Implementation class is always the same. Otherwise code calling it needed to have the same flags. BUG=71717 TEST=none Review URL: http://codereview.chromium.org/6410092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73878 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 77653:77686.dglazkov@chromium.org2011-02-051-0/+3
| | | | | | | | | | TBR=loislo TEST=none BUG=none Review URL: http://codereview.chromium.org/6286126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73877 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper: Fix a pile of bugs in the implementation of the file chooser API.viettrungluu@chromium.org2011-02-044-28/+78
| | | | | | | | | | | | | | | | | | | This fixes: - a crash, due to holding a plain old pointer to a ref-counted object; - a DCHECK() failure, due to using FilePath::AppendASCII(); - incorrect/non-handling of PP_ERROR_INPROGRESS; - non-initialization of PPB_FileChooser_Impl::next_chosen_file_index_; - non-clearing of PPB_FileChooser_Impl::chosen_files_ upon Show() being called (e.g., a second time); - not aborting callbacks on resource deletion. Probably something else too. BUG=none TEST=Trung is a bit happier Review URL: http://codereview.chromium.org/6334117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73869 0039d316-1c4b-4281-b951-d872f2087c98
* FilePath: Remove much of ToWStringHack, adding a LossyDisplayName()evan@chromium.org2011-02-041-2/+2
| | | | | | | | | | | | | | | The reason we don't want a free conversion between FilePaths and Unicode is that it can be lossy. But when displaying a string to the user, we're ok if it's lossy when we have no other option. This change introduces a LossyDisplayName() method that returns a string16, and converts many of the users of ToWStringHack to use it. BUG=69467 Review URL: http://codereview.chromium.org/6246036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73840 0039d316-1c4b-4281-b951-d872f2087c98
* Fix frame accurate seeking for the third time.scherkus@chromium.org2011-02-041-5/+21
| | | | | | | | | | | | | Turns out we need to do an integer round to paper over floating point issues. Refer to discussion on https://bugs.webkit.org/show_bug.cgi?id=52697 for details. BUG=69499 TEST=layout test in linked bug Review URL: http://codereview.chromium.org/6250137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73838 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test_shell to use the correct page ID for error pages.creis@google.com2011-02-041-0/+8
| | | | | | | | | BUG=70315 TEST=Go back to a "confirm form resubmission" error, then forward. Review URL: http://codereview.chromium.org/6286100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73827 0039d316-1c4b-4281-b951-d872f2087c98
* Add back the inspector_strings targettony@chromium.org2011-02-042-5/+78
| | | | | | | | | | It's only built if use_third_part_translations=1. Also pull in the translations from launchpad.net. Review URL: http://codereview.chromium.org/6334090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73816 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 77616:77622.loislo@chromium.org2011-02-041-3/+0
| | | | | | | | | | TBR=dglazkov BUG=none TEST=none Review URL: http://codereview.chromium.org/6312148 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73802 0039d316-1c4b-4281-b951-d872f2087c98