summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Re-land r23931: Plumb whiteListAccessFromOrigin() throughaa@chromium.org2009-08-215-9/+51
| | | | | | | | | | | | | | | | | Chromium's WebKit API and enable the related layout tests. After some digging, I realized the problem here, sorta. The test that was failing actually fails flakily. There are two flavors of this test: sync and async. The async test was already marked flakey, the sync test was not. My change upstream refactored XHR to make the sync and async cases share much more code. So it is not surprising that they are now both flakey. Review URL: http://codereview.chromium.org/173209 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23994 0039d316-1c4b-4281-b951-d872f2087c98
* Fix baseline for LayoutTests\fast\dom\object-embed-plugin-scripting.htmlvictorw@chromium.org2009-08-212-18/+0
| | | | | | | | | | | | | Chromium windows baseline for the test should be the same as the one in upstream. The upstream baseline was updated by webkit patch: http://trac.webkit.org/changeset/45500. TBR=dglazkov TEST=layout test BUG=15873 Review URL: http://codereview.chromium.org/173203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23987 0039d316-1c4b-4281-b951-d872f2087c98
* WONTFIX all worker-related tests. They run in a separate harness, worker_uitest.dglazkov@chromium.org2009-08-211-21/+6
| | | | | | | | | | R=dimich BUG=10271 TEST=none Review URL: http://codereview.chromium.org/174231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23978 0039d316-1c4b-4281-b951-d872f2087c98
* Move the failing layout test to a new bug so some svg guy can look into this ↵jianli@chromium.org2009-08-211-1/+4
| | | | | | | | | | | and probably fix the test upstream. BUG=19897 TEST=none Review URL: http://codereview.chromium.org/173164 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23968 0039d316-1c4b-4281-b951-d872f2087c98
* Change the way that we search for iframes. The original code assumed thatdarin@chromium.org2009-08-217-374/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | children to a RenderLayer would be completely contained in a parent layers bounding box. This is not true in at least the following case: e.g. plugin contained in a div, that is absolute positioned. dhyatt from #webkit suggested just iterating through the Widget list. iframes are all FrameViews. This should greatly reduce the number of objects that need to be tested. This change also fixes the z-order check, which the stack iterator got wrong in some cases. The z-order check now matches IE7/IE8 for all tested permutations. The layout test has been updated to check these permutations. Also see http://tulrich.com/iframe_shims/permutations.html For a discussion of z-order, this is a good reference: https://developer.mozilla.org/En/Understanding_CSS_z-index/The_stacking_context Derived from John Newlin's change 155118 for bug 15840 by Thatcher Ulrich. R=darin,ojan TEST=extended existing layout test BUG=15840 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23967 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Restore devtools sanity console tests.pfeldman@chromium.org2009-08-211-4/+5
| | | | | | | | BUG=18786 Review URL: http://codereview.chromium.org/174220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23962 0039d316-1c4b-4281-b951-d872f2087c98
* More removal of WebCore usage from webplugin_impl.ccdarin@chromium.org2009-08-2112-104/+108
| | | | | | | | | | | | Adds a few helper methods on WebFrame. R=jam BUG=10036 TEST=none Review URL: http://codereview.chromium.org/173152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23956 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: generate localized strings and use them.mnaganov@chromium.org2009-08-2110-32/+250
| | | | | | | | | | | Reapplying r23820, this time interactive UI tests should not fail. BUG=none TEST=none Review URL: http://codereview.chromium.org/174216 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23950 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: wire Inspect Element action to DOMAgent-enabled inspector controller.pfeldman@chromium.org2009-08-211-0/+2
| | | | | | | TBR=mnaganov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23949 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 23931.dimich@google.com2009-08-215-50/+9
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23939 0039d316-1c4b-4281-b951-d872f2087c98
* Make baselines for a new test. Test works by obscuring the red square with ↵dimich@google.com2009-08-215-7/+5
| | | | | | | | | | | the green one, which happens on all platforms same way. Also, created a bug for media/progress-events-at-least-one.html as it is an actual failure of a new test. R=jianli BUG=none TEST=none Review URL: http://codereview.chromium.org/174202 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23933 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb whiteListAccessFromOrigin() through Chromium's WebKit APIaa@chromium.org2009-08-215-8/+50
| | | | | | | | | | | and enable the related layout tests. BUG=47548,12129 TEST=Covered by layout tests Review URL: http://codereview.chromium.org/174175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23931 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 23924 - several builds brokedpranke@google.com2009-08-2116-540/+1040
| | | | | | | | | | BUG=none R=tony@chromium.org TEST=none Review URL: http://codereview.chromium.org/174207 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23928 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor layout test scripts to clean up platform name handling.dpranke@google.com2009-08-2116-1040/+540
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In path_utils and platform_utils, we had four functions: - TestListPlatformName() - TestListPlatformDir() - PlatformDir() - PlatformNewResultsDir() TestListPlatformDir() was uniformly implemented as TestListPlatformName().lower(), and never called. PlatformDir() and PlatformNewResultsDir() returned the same value on win and linux - "chromium-" + TestListPlatformDir(). On the mac, PlatformDir() returned PlatformNewResultsDir() + "-leopard". PlatformDir() is used to prepend the directory in the search path for test results, and this is ironic since there is no chromium-mac-leopard directory, just chromium-mac. I have replaced all of these with one routine called PlatformDir() that returns "chromium-" + <platform name> [ + "-" + <platform version name> ]. I also modified the code so that test results will always go into a directory with that name, and then modified all of the files that referenced a _new_results_dir (which ostensibly used PlatformNewResultsDir(), which might be different from options.platform, but in practice never was). I also removed a number of platform parameters from functions, since it seemed like that functionality wasn't being used and was redundant with stuff stuffed into options contexts. Lastly, I also attempted to bring some consistency to files needing to import path_utils vs platform_utils, by adding wrapper functions to path_utils and then banning platform_utils imports from all other files. There's gotta be a cleaner way to do this, though. You can still change the platform you're comparing to with the --platform switch, and change the results directory with the --results-directory switch. BUG=none R=pam@chromium.org,tony@chromium.org TEST=none Review URL: http://codereview.chromium.org/164372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23924 0039d316-1c4b-4281-b951-d872f2087c98
* Group spellcheck-related tests and hook them up to the right bugdglazkov@chromium.org2009-08-201-8/+5
| | | | | | | | | | TBR=hbono TEST=none BUG=11577 Review URL: http://codereview.chromium.org/173163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23914 0039d316-1c4b-4281-b951-d872f2087c98
* Remove text-control-crash-on-select.html from the test_expectations. I ↵jorlow@chromium.org2009-08-201-1/+0
| | | | | | | | | | | can't reproduce the crash and it's building successfully on the bots it seems. This was hit during a webkit roll, so it's very possible it was fixed upstream. BUG=19782 TEST=none Review URL: http://codereview.chromium.org/173161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23908 0039d316-1c4b-4281-b951-d872f2087c98
* Comment why it is OK for ↵jianli@chromium.org2009-08-201-0/+4
| | | | | | | | | | | LayoutTests/platform/mac/editing/deleting/backward-delete.html to fail on Mac. BUG=none TEST=none Review URL: http://codereview.chromium.org/173151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23907 0039d316-1c4b-4281-b951-d872f2087c98
* Update bug number for some failing test in test-expecations. They were ↵jparent@chromium.org2009-08-201-3/+2
| | | | | | | | | | | | marked as part of the webkit merge, but were not actually caused by the merge (the tests failed on main waterfall before the merge, see more details in bug). TEST=none BUG=19888 Review URL: http://codereview.chromium.org/174192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23905 0039d316-1c4b-4281-b951-d872f2087c98
* I forgot to hook up the inspector settings during my webpreferences ↵jorlow@chromium.org2009-08-201-0/+3
| | | | | | | | | | | refactoring change (http://src.chromium.org/viewvc/chrome?view=rev&revision=23589). Do that now. TEST=none BUG=none Review URL: http://codereview.chromium.org/173130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23904 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit DEPS roll 47575:47591dimich@google.com2009-08-201-1/+8
| | | | | | | | | TBR=jianli BUG=none TEST=none Review URL: http://codereview.chromium.org/173134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23898 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly Skip WebArchive tests without test expectations.dglazkov@chromium.org2009-08-201-0/+2
| | | | | | | | | | | TBR=mark BUG=10395 TEST=none Review URL: http://codereview.chromium.org/174181 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23894 0039d316-1c4b-4281-b951-d872f2087c98
* Disable mute/unmute when media does not have an audio track.scherkus@chromium.org2009-08-202-1/+6
| | | | | | | | | BUG=18970 TEST=test matrix videos ending in 0 should have mute context menu disabled Review URL: http://codereview.chromium.org/174018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23889 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch of platform specific test results and remove failing tests ↵jparent@chromium.org2009-08-2031-624/+0
| | | | | | | | | | | | | | | | | | from test-expectations. These layout tests were re-written in: http://trac.webkit.org/changeset/47544 http://trac.webkit.org/changeset/47543 http://trac.webkit.org/changeset/47542 http://trac.webkit.org/changeset/47533 to not be pixel tests but instead just be text dumps. Thus we do not need any platform specfic results. TEST=ran manually locally BUG=19796 Review URL: http://codereview.chromium.org/174169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23888 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a hint to build systems that DerivedSourcesAllInOne.cpp should bemark@chromium.org2009-08-201-3/+4
| | | | | | | | | | | | compiled earlier than other WebKit files. DerivedSourcesAllInOne.cpp is huge, and it is beneficial to begin its compilation first. Given how Xcode parallelizes, this allows other compilations to continue while the large file is being built. When DerivedSourcesAllInOne.cpp comes last, it is likely that nothing else will be available to be compiled at the same time. This is wasteful. Review URL: http://codereview.chromium.org/174157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23885 0039d316-1c4b-4281-b951-d872f2087c98
* WONTFIX remaining WebArchive tests.dglazkov@chromium.org2009-08-201-14/+7
| | | | | | | | | | BUG=10395 TEST=none TBR=jparent Review URL: http://codereview.chromium.org/173150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23883 0039d316-1c4b-4281-b951-d872f2087c98
* WONTFIX the test where we explicitly disallow file:// URLS from doing XHR to ↵dglazkov@chromium.org2009-08-201-3/+3
| | | | | | | | | | | | data:. TBR=abarth BUG=9275 TEST=none Review URL: http://codereview.chromium.org/174161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23864 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations with notes about accessibility tests.dglazkov@chromium.org2009-08-201-11/+6
| | | | | | | | | | R=jparent TEST=none BUG=10322 Review URL: http://codereview.chromium.org/173128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23862 0039d316-1c4b-4281-b951-d872f2087c98
* Remove WebPluginImpl::element_darin@chromium.org2009-08-205-76/+83
| | | | | | | | | | | | | This member was of type HTMLPlugInElement. This is a step toward removing all WebCore includes from webplugin_impl.cc. R=jam BUG=10036 TEST=none Review URL: http://codereview.chromium.org/173126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23858 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for excluding WONTFIX from layout test formatting and sorting ↵gwilson@google.com2009-08-204-63/+101
| | | | | | | | | | | | | | of test failures by path. Also fixes other minor issues like not being able to pass absolute paths for output. R=ojan BUG=none TEST=run test_output_formatter.py, tests should not include WONFIX and sort properly Review URL: http://codereview.chromium.org/174097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23857 0039d316-1c4b-4281-b951-d872f2087c98
* Disable playback controls if audio/video element has errored.scherkus@chromium.org2009-08-201-1/+4
| | | | | | | | | | TEST=load an audio/video with an unsupported input, then right click on it.. the playback control items should be disabled BUG=19740 Review URL: http://codereview.chromium.org/174119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23853 0039d316-1c4b-4281-b951-d872f2087c98
* Change the enum style to use MACRO_STYLE rather than kConstant style to be ↵jennb@chromium.org2009-08-201-14/+14
| | | | | | | | | | | consistent with chrome code base. TEST=none BUG=none Review URL: http://codereview.chromium.org/174145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23851 0039d316-1c4b-4281-b951-d872f2087c98
* Move MediaPlayerAction out of context_menu.h into webview.h since it's ↵ajwong@chromium.org2009-08-204-23/+33
| | | | | | | | really only used by webview. Review URL: http://codereview.chromium.org/174143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23850 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress a WebKit failure on Mac while we investigate.paul@chromium.org2009-08-201-0/+3
| | | | | | | | | BUG=19842 (http://crbug.com/19842) TEST=Covered by layout test Review URL: http://codereview.chromium.org/174150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23843 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the rebaseline result files for windows since these layout tests ↵jianli@chromium.org2009-08-204-2/+0
| | | | | | | | | | | should only be run under mac. BUG=none TEST=none Review URL: http://codereview.chromium.org/174151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23842 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit DEPS roll 47547:47575.dimich@google.com2009-08-201-0/+8
| | | | | | | | | TBR=jianli BUGS=19835 TEST=none Review URL: http://codereview.chromium.org/174147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23839 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline slider mouse events test (changed upstream ↵victorw@chromium.org2009-08-202-5/+11
| | | | | | | | | | | http://trac.webkit.org/changeset/45658) TBR=dglazkov TEST=LayoutTests\fast\forms\slider-mouse-event.html BUG=16289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23832 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline editing test imagesvictorw@chromium.org2009-08-205-8/+2
| | | | | | | | | TBR=dglazkov TEST=layout test BUG=17883 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23831 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r23820 by mnaganov due to Interactive Test failuresasargent@chromium.org2009-08-209-247/+31
| | | | | | | | | TBR=brg TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23830 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: generate localized strings and use them.mnaganov@chromium.org2009-08-209-31/+247
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23820 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove resource panel-related RPC methods.pfeldman@chromium.org2009-08-205-90/+35
| | | | | | Review URL: http://codereview.chromium.org/174142 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23817 0039d316-1c4b-4281-b951-d872f2087c98
* linux: Plugin descriptions can be UTF-8.evan@chromium.org2009-08-201-1/+1
| | | | | | | | | | | Tested with a Japanese locale, I saw Japanese plugin descriptions when I assumed UTF-8. BUG=18866 Review URL: http://codereview.chromium.org/174078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23815 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add delegate for method added upstream.pfeldman@chromium.org2009-08-201-1/+1
| | | | | | Review URL: http://codereview.chromium.org/173119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23811 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebPlugin::acceptsInputEvents method.darin@chromium.org2009-08-204-0/+9
| | | | | | | | | | | | | | This allows us to restore a windowless_ check that used to exist in webplugin_impl.cc prior to r23797. The goal of this change is to not handle input events for windowed plugins. R=hbono BUG=none TEST=pending/plugins/iframe-shims.htm Review URL: http://codereview.chromium.org/173114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23808 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit deps: r47528:47546jorlow@chromium.org2009-08-201-0/+8
| | | | | | | | | TEST=none BUG=19796 Review URL: http://codereview.chromium.org/173113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23804 0039d316-1c4b-4281-b951-d872f2087c98
* Need to cast to WebCore::Widget explicitly since the method beingdarin@chromium.org2009-08-201-2/+4
| | | | | | | | | | | | called takes a void pointer! Argh :( TBR=jam BUG=10036 TEST=covered by layout tests Review URL: http://codereview.chromium.org/174126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23800 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebPluginContainer into the WebKit APIdarin@chromium.org2009-08-2013-648/+892
| | | | | | | | | | | | | | | | | | | | | | This change introduces the following new interfaces: WebPlugin WebPluginContainer The implementation of WebPluginContainer is moved to webkit/api/src/WebPluginContainerImpl.{h,cpp}, and WebPluginImpl from webkit/glue now implements WebKit::WebPlugin. This change does not completely eliminate dependencies in WebPluginImpl on WebCore. The rest will be removed in a separate change. A hack was added to TemporaryGlue to deal with the fact that ChromeClientImpl still resides in webkit/glue. Also, StackingOrderIterator in webkit/glue because there is another CL out to remove that from the source tree. Note: This change depends on another CL that I am brewing to make WebCanvas be a CGContext on Mac. R=jam BUG=10036 TEST=covered by existing tests Review URL: http://codereview.chromium.org/165464 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23797 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a line that was accidently deleted in my plugin change.jam@chromium.org2009-08-201-1/+1
| | | | | | | TBR=ananta Review URL: http://codereview.chromium.org/173108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23794 0039d316-1c4b-4281-b951-d872f2087c98
* Make the paths in the layout test dashboard point to the actual JSONojan@google.com2009-08-202-14/+38
| | | | | | | | | | | | files now that they're available on the bots. Also a couple bug fixes: -Don't remove whitespace from the expectations JSON since there is legitimate whitespace in the values. -Fix bug in generated HTML for the links in the header. Review URL: http://codereview.chromium.org/173096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23789 0039d316-1c4b-4281-b951-d872f2087c98
* Updates to test_expectations for fallout from webkit merge to 47528.jparent@chromium.org2009-08-201-0/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/173105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23787 0039d316-1c4b-4281-b951-d872f2087c98
* Added linux baseline failure back to test_expectations listvictorw@chromium.org2009-08-201-0/+1
| | | | | | | | | TBR=dglazkov BUG=17883 TEST=layout test git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23785 0039d316-1c4b-4281-b951-d872f2087c98