summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang build.thakis@chromium.org2011-03-021-22/+12
| | | | | | | | BUG=none TEST=none TBR=jcivelli,dmikurube git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76586 0039d316-1c4b-4281-b951-d872f2087c98
* Applying factory pattern (through NativeMetafileFactory class). It is used ↵dpapad@chromium.org2011-03-021-5/+14
| | | | | | | | | | | | | | | to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76553 Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=76555 Review URL: http://codereview.chromium.org/6544028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76581 0039d316-1c4b-4281-b951-d872f2087c98
* Add a function for usage tracking. It's based on the bug 6426001.dmikurube@google.com2011-03-027-8/+552
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6453001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76578 0039d316-1c4b-4281-b951-d872f2087c98
* Inform the browser about mouse input in windowed plugins to ensure that we ↵ananta@chromium.org2011-03-021-1/+11
| | | | | | | | | | | | | | | | | | | | | expect actions which correspond to user gesture like downloads, external protocol launches, etc. Actions occurring in the context of user input need to be allowed. To achieve this we send over the WM_PARENTNOTIFY message to the RVH window which turns on user gesture. As per msdn this message should be received automatically which does not appear to be the case. All this means that we trust the plugin. However this does not add a new attack vector as the plugin can send messages to other windows in the desktop anyway. Fixes bug http://code.google.com/p/chromium/issues/detail?id=41157 BUG=41157 TEST=As described in the bug. Review URL: http://codereview.chromium.org/6592092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76566 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76553 - Applying factory pattern (through NativeMetafileFactory ↵jam@chromium.org2011-03-021-14/+5
| | | | | | | | | | | | | | class). It is used to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6544028 TBR=dpapad@chromium.org Review URL: http://codereview.chromium.org/6594121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76555 0039d316-1c4b-4281-b951-d872f2087c98
* Applying factory pattern (through NativeMetafileFactory class). It is used ↵dpapad@chromium.org2011-03-021-5/+14
| | | | | | | | | | | to retrieve different printing contexts (based on the platform and user preferences). BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6544028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76553 0039d316-1c4b-4281-b951-d872f2087c98
* Another suppression.antonm@chromium.org2011-03-021-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76546 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary suppress two tests on Mac. To be upstreamed soon.antonm@chromium.org2011-03-021-0/+4
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76544 0039d316-1c4b-4281-b951-d872f2087c98
* Added a few linux tests that are expected to failkaren@chromium.org2011-03-021-13/+111
| | | | | | Review URL: http://codereview.chromium.org/6592090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76538 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 3.1.8.ager@chromium.org2011-03-021-0/+6
| | | | | | | | | | Temporarily add test_expectations for passing strict mode tests that have wrong expectations upstream. Martin Maly is landing new baselines in WebKit after which we can remove the temporary expectations. Review URL: http://codereview.chromium.org/6604004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76537 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Get rid of unimplemented private file ref stuff and ↵viettrungluu@chromium.org2011-03-021-32/+0
| | | | | | | | | | | implement proxy. BUG=none TEST=builds? works? Review URL: http://codereview.chromium.org/6594099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76488 0039d316-1c4b-4281-b951-d872f2087c98
* Pure pedantry: Replace all ".size() == 0" with ".empty()".erg@google.com2011-03-024-4/+4
| | | | | | | | | BUG=carnitas TEST=compiles; existing unit tests. Review URL: http://codereview.chromium.org/6602049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
* Committing http://codereview.chromium.org/6592076 on behalf of jbauman:kbr@chromium.org2011-03-011-3/+0
| | | | | | | | | | | | | Don't force set premultipliedAlpha in WebGL context Forcing premultipliedAlpha to be set breaks other parts of the code which want to check for what the application actually set. It's also different from what how the command buffer implements this, and it doesn't really help correctness, as non-premultiplied alpha support is required and may be expected by apps. BUG=none TEST=new webkit layout test Review URL: http://codereview.chromium.org/6594094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76460 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Add an interface to do sync file ops on FileRefs.viettrungluu@chromium.org2011-03-016-3/+114
| | | | | | | | | | | | | Such FileRefs are typically obtained from the Pepper file chooser. The interface corresponds exactly to the one for module-local files. (The implementation is only enabled if Flapper hacks are enabled.) BUG=none TEST=Flapper file uploads work for me Review URL: http://codereview.chromium.org/6592071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76446 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 74372.jianli@chromium.org2011-03-011-3/+6
| | | | | | | | | BUG=74372 TEST=Manual test Review URL: http://codereview.chromium.org/6602044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76432 0039d316-1c4b-4281-b951-d872f2087c98
* Added EnabledPlugins policy.pastarmovj@chromium.org2011-03-013-73/+270
| | | | | | | | | | | | | | | | | | | | | | | | | The EnabledPlugins policy is linked to the plugins.plugins_whitelist preference. Renamed some methods to clarify that policies can both disable and enable plugins. Updated plugins.html (about:plugins) to display policy-enabled plugins. Lots of tweaks in PluginGroup and PluginList (webkit/plugins/npapi) to preserve the user's preference across policy changes. Removing a policy on a plugin restores the state that the user had configured before. TODO: The interaction of "EnabledPlugins" and "DisabledPlugins" when overlapping isn't very well addressed yet. Currently, any plugin matching the "disabled" list will be disabled, regardless of matching or not the "enabled" list. Small fixes: Added missing "noPlugins" string to the jstemplate strings for plugins.html. BUG=55022 TEST=Create a policy enabling a specific plugin and check about:plugins. Also test_shell_test PluginGroupTest.ManagedByPolicy, and unit_tests. Review URL: http://codereview.chromium.org/6469068 Patch from Joao da Silva <joaodasilva@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76373 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning test expectations.antonm@chromium.org2011-03-011-6/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76370 0039d316-1c4b-4281-b951-d872f2087c98
* Add webkit_support::TaskAdaptor to make tasks have the desttructor.morrita@chromium.org2011-03-012-0/+39
| | | | | | | | | BUG=73675 TEST=none Review URL: http://codereview.chromium.org/6602006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76362 0039d316-1c4b-4281-b951-d872f2087c98
* Remove bad downstream expectationsjamesr@chromium.org2011-03-011-3/+0
| | | | | | | | These expectations should not have been checked in downstream. TBR=antonm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76347 0039d316-1c4b-4281-b951-d872f2087c98
* Add failing expectation back for layout test since the WK roll fixing the ↵jamesr@chromium.org2011-03-011-0/+3
| | | | | | | | test was reverted TBR=antonm git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76340 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76324 - Build WebKit Full Screen API. Support is disabled by default; ↵jamesr@chromium.org2011-03-012-5/+1
| | | | | | | | | | | | | | | | enable with --enable-fullscreen. Commit after WK bug 44797 (r79774). BUG=16735 TEST=fullscreen layout tests. Review URL: http://codereview.chromium.org/6576004 TBR=ddorwin@chromium.org Review URL: http://codereview.chromium.org/6602023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76335 0039d316-1c4b-4281-b951-d872f2087c98
* Revert code that prevents redirecting to different origins because it breaks ↵acolwell@chromium.org2011-03-014-18/+3
| | | | | | | | | | | Vimeo & YouTube. BUG=74451,72578 TEST=BufferedResourceLoaderTest.HasSingleOrigin(), SimpleDataSourceTest.HasSingleOrigin() Review URL: http://codereview.chromium.org/6596059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76334 0039d316-1c4b-4281-b951-d872f2087c98
* Build WebKit Full Screen API. Support is disabled by default; enable with ↵ddorwin@chromium.org2011-03-012-1/+5
| | | | | | | | | | | | | --enable-fullscreen. Commit after WK bug 44797 (r79774). BUG=16735 TEST=fullscreen layout tests. Review URL: http://codereview.chromium.org/6576004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76324 0039d316-1c4b-4281-b951-d872f2087c98
* Remove test expectations for op-get-entry.html since they're included in ↵adamk@chromium.org2011-02-281-3/+0
| | | | | | | | | | | WebKit since r79797. BUG=none TEST=none Review URL: http://codereview.chromium.org/6596036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76301 0039d316-1c4b-4281-b951-d872f2087c98
* Don't allow multiple opens for Pepper FileSystem.yzshen@chromium.org2011-02-282-3/+9
| | | | | | | | | BUG=73667 TEST=test_file_system.{h,cc} Review URL: http://codereview.chromium.org/6596026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76278 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tests that are now passing.tony@chromium.org2011-02-281-10/+0
| | | | | | | | | BUG=74429 TBR=jamesr Review URL: http://codereview.chromium.org/6588062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76267 0039d316-1c4b-4281-b951-d872f2087c98
* last three lines were missing the equal signkaren@chromium.org2011-02-281-3/+3
| | | | | | Review URL: http://codereview.chromium.org/6588057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76249 0039d316-1c4b-4281-b951-d872f2087c98
* Expectations for fast/encoding/utf-16-no-bom.xml.antonm@chromium.org2011-02-281-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76223 0039d316-1c4b-4281-b951-d872f2087c98
* Expectations for transitions/default-timing-function.htmlantonm@chromium.org2011-02-281-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76218 0039d316-1c4b-4281-b951-d872f2087c98
* Suppressing fast/overflow/horizontal-scroll-after-back.htmlantonm@chromium.org2011-02-281-0/+2
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76217 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary suppressions.antonm@chromium.org2011-02-281-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76213 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use crashed plugins when instantiating new ones. Before, when a pluginbrettw@chromium.org2011-02-275-7/+22
| | | | | | | | | | | | | crashed and was still referenced by a plugin in the same renderer, it would try to re-use the crashed one, which obviously doesn't work very well. This change removes crashed plugins from the renderer's list. TEST=Manual: instantiate two tabs sharing the same renderer using a plugin, kill the plugin, then reload one of the tabs. BUG=none Review URL: http://codereview.chromium.org/6594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76194 0039d316-1c4b-4281-b951-d872f2087c98
* The IcedTea version updates corresponding to the recent JDK 6u24 fixes.cevans@chromium.org2011-02-271-2/+2
| | | | | | | | | | BUG=none TEST=none TBR=bauerb Review URL: http://codereview.chromium.org/6599027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76176 0039d316-1c4b-4281-b951-d872f2087c98
* Provisional fix for WebFrame API change upstream.pfeldman@chromium.org2011-02-262-2/+2
| | | | | | TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76163 0039d316-1c4b-4281-b951-d872f2087c98
* Add an accessor for an ExtensionSpecialStoragePolicy to the Profile classmichaeln@google.com2011-02-2619-230/+173
| | | | | | | | | | | and use it in the extension service, data remover, and storage subsystems. BUG=52357 TEST=extension_service_unittest.cc Review URL: http://codereview.chromium.org/6551028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76126 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper/Flapper: Refactor module-local file stuff to make it easier/nicer to ↵viettrungluu@chromium.org2011-02-267-128/+228
| | | | | | | | | | | add file ref versions. BUG=none TEST=everything still works Review URL: http://codereview.chromium.org/6599015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76124 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a few image files that are known to fail on mac due to Leopard/Snow ↵karen@chromium.org2011-02-251-4/+7
| | | | | | | | Leopard discrepancies. Review URL: http://codereview.chromium.org/6591016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76114 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily skip filesystem layout test broken (correctly) by r76098adamk@chromium.org2011-02-251-0/+3
| | | | | | | | while waiting for it to be fixed upstream. Review URL: http://codereview.chromium.org/6599013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76105 0039d316-1c4b-4281-b951-d872f2087c98
* Properly return TYPE_MISMATCH_ERR for DirectoryExists/FileExistsadamk@chromium.org2011-02-253-4/+19
| | | | | | | | | | | | | | operation when the target isn't a directory/file, respectively. This matches what the File API spec says about error codes: http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#error-code-descriptions BUG=none TEST=none Review URL: http://codereview.chromium.org/6591013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76098 0039d316-1c4b-4281-b951-d872f2087c98
* Rename media statistics APIs to match webkit renaming.sjl@chromium.org2011-02-252-8/+8
| | | | | | | | | | | Also, set expectations for statistics callback mock in unittests the lack of which caused "uninteresting calls" turds in the mock output. This mock was introduced in the original patch for media statistics (http://codereview.chromium.org/6246091/). BUG=71255, 73464 TEST=media_unittests Review URL: http://codereview.chromium.org/6549030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76092 0039d316-1c4b-4281-b951-d872f2087c98
* Completely disable dragging in test shell.tony@chromium.org2011-02-256-98/+1
| | | | | | | | | | | Remove some old windows specific code related to dragging that isn't being used. TEST=Try to drag in test shell-- be able to continue to use test shell. Review URL: http://codereview.chromium.org/6575053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76079 0039d316-1c4b-4281-b951-d872f2087c98
* Make playback fail if redirected to a different origin.acolwell@chromium.org2011-02-254-35/+27
| | | | | | | | | | | | Fixing spec compliance. http://dev.w3.org/html5/spec/Overview.html#concept-media-load-resource BUG=72578 TEST=BufferedResourceLoaderTest.HasSingleOrigin(), SimpleDataSourceTest.HasSingleOrigin() Review URL: http://codereview.chromium.org/6580014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76064 0039d316-1c4b-4281-b951-d872f2087c98
* More suppressions for more greeness.antonm@chromium.org2011-02-251-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76049 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary disable a test.antonm@chromium.org2011-02-251-0/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76048 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented policy to disable plugin finder.pastarmovj@chromium.org2011-02-251-3/+7
| | | | | | | | | BUG=49597 TEST=Set the policy to true and the default plugin should not offer to install missing plugins. Review URL: http://codereview.chromium.org/6475011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76043 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to version 3.1.6.1ricow@chromium.org2011-02-251-1/+0
| | | | | | Review URL: http://codereview.chromium.org/6594007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76037 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectation for V8 roll and turn builtin utf8 codec on by default to ↵jamesr@chromium.org2011-02-251-0/+3
| | | | | | | | | | | match upstream BUG= TEST= Review URL: http://codereview.chromium.org/6576066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76008 0039d316-1c4b-4281-b951-d872f2087c98
* Add expectation for http/tests/media/video-play-suspend.html due to change ↵sjl@chromium.org2011-02-251-0/+3
| | | | | | | | | | | in r75985. BUG=74092 TEST=ran http layout tests Review URL: http://codereview.chromium.org/6580053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76003 0039d316-1c4b-4281-b951-d872f2087c98
* Added several known image files that don't work.karen@chromium.org2011-02-241-10/+207
| | | | | | Review URL: http://codereview.chromium.org/6578034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75991 0039d316-1c4b-4281-b951-d872f2087c98
* Fix progress event not firing when load has completed.sjl@chromium.org2011-02-241-1/+5
| | | | | | | | | | | | | | | When media has fully loaded, make sure we transition through the 'loaded' network state, otherwise the progress event on final load won't be fired. There probably should be a layout test for this. Will raise an issue. BUG=59372 TEST=local handcrafted repro, media layout tests. Review URL: http://codereview.chromium.org/6581012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75985 0039d316-1c4b-4281-b951-d872f2087c98