summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* More refactoring for WebPlugin.darin@chromium.org2009-08-2736-450/+732
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL eliminates direct calls to WebPluginDelegate::DidFinishLoadWithReason from WebFrameLoaderClient. This CL also moves WebDataSourceImpl into webkit/api/src. That change was needed so that WebPluginContainerImpl can add a WebPluginLoadObserver to it, which WebFrameLoaderClient uses to communicate back to the WebPlugin upon completion of the frame load. WebViewDelegate::DidFinishLoadWithReason is modified to include url and notify_data parameters, eliminating the URLRequestRouted method. This is done so that we can support overlapping NPN_GetURLNotify targetting different frames. WebPluginContainer grows an executeScriptURL method to deal with javascript: URLs. NOTE: I'm working on some UI tests to better cover the case of overlapping NPN_GetURLNotify calls. R=jam BUG=10036 TEST=none yet Review URL: http://codereview.chromium.org/174514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24655 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: reset ScriptState in InspectorController on page refresh.pfeldman@chromium.org2009-08-272-19/+29
| | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/178003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24653 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit deps roll 47827:47830jorlow@chromium.org2009-08-271-0/+4
| | | | | | | | | | TBR=ojan TEST=none BUG=none Review URL: http://codereview.chromium.org/177004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24649 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools l10n: inhibit until agreeded that it is needed.mnaganov@chromium.org2009-08-273-36/+12
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/173570 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24648 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: hook up SummaryBar which is added to WebKit @ r47822mnaganov@chromium.org2009-08-271-0/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174612 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24647 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit deps to 47821:47827jorlow@chromium.org2009-08-271-0/+5
| | | | | | | | | | TBR=ojan TEST=none BUG=none Review URL: http://codereview.chromium.org/177003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24645 0039d316-1c4b-4281-b951-d872f2087c98
* Add back repaint-related tests from fast/canvas.dglazkov@chromium.org2009-08-271-0/+3
| | | | | | | | | BUG=8630 TBR=levin TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24638 0039d316-1c4b-4281-b951-d872f2087c98
* Create a larger filter for all repainting tests. We shouldn't be passing any ↵dglazkov@chromium.org2009-08-271-32/+1
| | | | | | | | | | | | of them. TBR=levin TEST=none BUG=8630 Review URL: http://codereview.chromium.org/176001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24632 0039d316-1c4b-4281-b951-d872f2087c98
* Group all JSON failures under one bug.dglazkov@chromium.org2009-08-271-9/+6
| | | | | | | | | | TBR=jorlow TEST=none BUG=14885 Review URL: http://codereview.chromium.org/173579 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24627 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Remove base/values dependency from devtools.pfeldman@chromium.org2009-08-2720-591/+175
| | | | | | Review URL: http://codereview.chromium.org/173480 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24623 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tests that are now passing from expectations.dglazkov@chromium.org2009-08-271-7/+0
| | | | | | | | | | TBR=japhet TEST=none BUG=18412 Review URL: http://codereview.chromium.org/174618 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24622 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test to account for the fact that %00 is now unescapedjorlow@chromium.org2009-08-271-2/+2
| | | | | | | | | | | | | | by decodeURLEscapeSequences. See: https://bugs.webkit.org/show_bug.cgi?id=28767 TBR=darin (his original patch: http://codereview.chromium.org/174614) BUG=none TEST=none Review URL: http://codereview.chromium.org/173578 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24619 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "linux: scan more plugin directories, fix bugs"evan@chromium.org2009-08-271-61/+11
| | | | | | This reverts commit r173550, due to WebKit failures. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24618 0039d316-1c4b-4281-b951-d872f2087c98
* Remove incorrect baseline for search-field-cancel test.dglazkov@chromium.org2009-08-273-26/+0
| | | | | | | | | | TBR=levin TEST=none BUG=8630 Review URL: http://codereview.chromium.org/174617 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24614 0039d316-1c4b-4281-b951-d872f2087c98
* Add inline-overflow.html to repaint failures pile.dglazkov@chromium.org2009-08-271-3/+1
| | | | | | | | | | BUG=20359 TEST=none TBR=jorlow Review URL: http://codereview.chromium.org/173575 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24613 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 47810:47821jorlow@chromium.org2009-08-271-0/+3
| | | | | | | | | | TBR=ojan BUG=20399 TEST=none Review URL: http://codereview.chromium.org/174615 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24612 0039d316-1c4b-4281-b951-d872f2087c98
* linux: scan more plugin directories, fix bugsevan@chromium.org2009-08-271-11/+61
| | | | | | | | | | | | | | | | | | We now scan more directories, sort file entries by mtime, use realpath() before loading plugins (fixes a Java bug), and de-duplicate multiple instances of the same plugin. This matches the Mozilla plugin loading code more closely. I encountered this while attempting to fix QuickTime (need to load the Totem plugins) but the fix overlaps with the Java one. I believe neither quite work yet, though. BUG=16787,19712 TEST=about:plugins should show more plugins Review URL: http://codereview.chromium.org/173550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24611 0039d316-1c4b-4281-b951-d872f2087c98
* Move Page cache-related tests into the WONTFIX section up at the topdglazkov@chromium.org2009-08-271-7/+7
| | | | | | | | | | TBR=dimich BUG=19635 TEST=none Review URL: http://codereview.chromium.org/173573 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24609 0039d316-1c4b-4281-b951-d872f2087c98
* Test shell crashed while running layout tests due to an STL vector iterator ↵ananta@chromium.org2009-08-271-1/+4
| | | | | | | | | | | | | | getting accessed after it was invalidated. This should fix the embed-tag.html and object-embed-tag.html layout test failures. TBR=jam Review URL: http://codereview.chromium.org/174598 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24598 0039d316-1c4b-4281-b951-d872f2087c98
* Group failures for HTML5 datalist tests.tkent@chromium.org2009-08-271-4/+2
| | | | | | | | | | | We need to define ENABLE_DATALIST for them. We'll define it when the WebKit's implementation is completed. BUG=20292 TEST=none Review URL: http://codereview.chromium.org/174595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24595 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a crash caused due to a call to NPP_DestroyStream occuring in the ↵ananta@chromium.org2009-08-277-13/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | context of NPP_NewStream. The plugin would invoke NPN_Evaluate to display an alert in the context of NewStream. This would cause the didFail IPC to be dispatched which would cause the plugin to invoke another call to NPP_NewStream which would repeat these steps and crash. The didFail call from the renderer did not honor the deferred load flag which we set in WebPluginImpl prior to dispatching stream IPCs to the plugin. Fix is to dispatch the didFail call when we receive an ack from the plugin indicating that it is ready to accept stream data. This fixes bug http://code.google.com/p/chromium/issues/detail?id=20063 The other change is in WebPluginImpl::TearDownPluginInstance, where we run through the list of resource clients and cancel them. We call didFail on these clients here, which occurs anyway through the PluginDestroyed code path. Bug=20063 Test=Convered by interactive UI test. Review URL: http://codereview.chromium.org/174383 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24593 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit deps roll 47797:47804jorlow@chromium.org2009-08-271-1/+8
| | | | | | | | | | TBR=ojan BUG=20376,20377 TEST=none Review URL: http://codereview.chromium.org/173555 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24585 0039d316-1c4b-4281-b951-d872f2087c98
* Add a nullable string16 class to base. It combines a string16 + a null paramjorlow@chromium.org2009-08-271-0/+26
| | | | | | | | | | | | | | | | | | in order to cover all the possible states of a WebKit string. For strings where the null state is not meaninfully different from the empty state, this class should NOT be used. There are, however, some cases where we do need to track null. LocalStorage is an example. This class should be a fairly light weight way to do so. This change also adds implicit conversion to and from WebStrings. This also switches LocalStorage's IPCs over to using this new class. BUG=17343 TEST=none Review URL: http://codereview.chromium.org/174484 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24574 0039d316-1c4b-4281-b951-d872f2087c98
* Assorted dashboard fixes:ojan@google.com2009-08-271-26/+37
| | | | | | | | | | | 1. Add some timing logging. 2. Fix wrong expectations logic (had it backwards!). 3. Get rid of polling. 4. Fix for Safari - parsing the location requires decodeURIComponent. Review URL: http://codereview.chromium.org/173543 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24566 0039d316-1c4b-4281-b951-d872f2087c98
* Uses FilePath instead of std::wstring in webkit_glue::GetApplicationDirectory.avi@google.com2009-08-274-19/+13
| | | | | | | | | | | | Patch by tfarina. BUG=None TEST=None Review URL: http://codereview.chromium.org/173304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24565 0039d316-1c4b-4281-b951-d872f2087c98
* Mark page cache layout tests WONTFIX since Chromium does not use WebKit's ↵dimich@google.com2009-08-261-5/+6
| | | | | | | | | | page cache. BUG=19635,20319 TEST=none Review URL: http://codereview.chromium.org/173544 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24563 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a test from test_expecations. Was fixed upstream in ↵jparent@chromium.org2009-08-261-3/+0
| | | | | | | | | | http://trac.webkit.org/changeset/47790. Will not submit until DEPS is rolled there. BUG=9163 TEST=none Review URL: http://codereview.chromium.org/173514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24561 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build break.levin@chromium.org2009-08-261-2/+2
| | | | | | | | | | | | | | | http://trac.webkit.org/changeset/47797 renamed some methods and this adjusts for that rename. TBR=jorlow@chormium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/173540 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24559 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the WebKit deps: 47791:47797jorlow@chromium.org2009-08-261-0/+4
| | | | | | | | | | TBR=ojan BUG=20356,20359 TEST=none Review URL: http://codereview.chromium.org/173537 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24556 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebKit api support for allowing/disallowing storedlevin@chromium.org2009-08-265-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | credentials and cookies from being sent to along with a request. I added the parameter for credentials to WebURLRequestPrivate since it isn't in ResourceRequest for now and then checked all places that do WebURLRequest::toMutableResourceRequest() or WebURLRequest::toResourceRequest() to ensure that they were not loosing information. Right now, there is a non-orthogonal relationship between setAllowStoredCredentials and setAllowCookies which is a carry over from WebKit but I could change this to make setAllowStoredCredentials only refer to user name/password if it thought that this is better. TEST=Covered by layout tests. BUG=http://crbug.com/10961 Review URL: http://codereview.chromium.org/174495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24555 0039d316-1c4b-4281-b951-d872f2087c98
* Skeleton classes for appcache library framework. This is a work in progress. ↵jennb@chromium.org2009-08-2610-0/+503
| | | | | | | | | | | | Committing early to allow other code to use these objects, but still need to consider refptrs and add unittests. TEST=none (will add when classes are fleshed out more) BUG=none Review URL: http://codereview.chromium.org/174034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24554 0039d316-1c4b-4281-b951-d872f2087c98
* Improve logic for stripping useless entries in the JSON.ojan@google.com2009-08-261-6/+5
| | | | | | | | Any time an entry is all no-data, we can strip it. Checking the time only matters if it's all passes. Review URL: http://codereview.chromium.org/174568 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24550 0039d316-1c4b-4281-b951-d872f2087c98
* First half of updating Worker.postMessage(), DOMWindow.postMessage(), andjorlow@chromium.org2009-08-2611-100/+115
| | | | | | | | | | | | | | | MessagePort.postMessage() to accept multiple MessagePorts. Original review: http://codereview.chromium.org/173193 TBR=atwilson TEST=None (new functionality not yet exposed via bindings, so existing tests suffice) BUG=19948 Review URL: http://codereview.chromium.org/174566 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24536 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webkit to 47790.jorlow@chromium.org2009-08-261-0/+3
| | | | | | | | | | TBR=ojan TEST=none BUG=20345 Review URL: http://codereview.chromium.org/173515 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24525 0039d316-1c4b-4281-b951-d872f2087c98
* Add bug numbers to test_expectaions list. Also remove one test that passes ↵jianli@chromium.org2009-08-261-6/+5
| | | | | | | | | | | recently. BUG=none TEST=none Review URL: http://codereview.chromium.org/174553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24522 0039d316-1c4b-4281-b951-d872f2087c98
* Also need to have rebaseline result for win since linux refers to win, ↵jianli@chromium.org2009-08-261-0/+12
| | | | | | | | | | | instead of mac. TBR=levin BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24508 0039d316-1c4b-4281-b951-d872f2087c98
* Avoids the use of ToWStringHack in a few places.evan@chromium.org2009-08-261-4/+2
| | | | | | | | | | BUG=None TEST=run app_unittests.exe, browser_tests.exe and selenium_tests.exe Review URL: http://codereview.chromium.org/173418 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24504 0039d316-1c4b-4281-b951-d872f2087c98
* Move the rebaselien result for javascript-url-exception-isolation-expected ↵jianli@chromium.org2009-08-261-0/+0
| | | | | | | | | | | from win to mac since win refers to mac. BUG=none TEST=none Review URL: http://codereview.chromium.org/173501 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24503 0039d316-1c4b-4281-b951-d872f2087c98
* Sometimes the test fails, so add FAIL to the expected result.jorlow@chromium.org2009-08-261-1/+1
| | | | | | | | | | TBR=ojan BUG=none TEST=none Review URL: http://codereview.chromium.org/174550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24500 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselining some tests changed in recent WebKit roll. Caused by ↵dimich@google.com2009-08-267-16/+67
| | | | | | | | | | | http://trac.webkit.org/changeset/47640. R=levin BUG=none TEST=none Review URL: http://codereview.chromium.org/174548 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24496 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline 4 layout tests.jianli@chromium.org2009-08-2620-14/+160
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/174539 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24484 0039d316-1c4b-4281-b951-d872f2087c98
* Assorted dashboard changes:ojan@chromium.org2009-08-261-77/+130
| | | | | | | | | | | | | | | 1. BUG modifiers are now links 2. Show expectations listed in test_expectations.txt that never occur on the bots. 3. Show cursor:pointer in all clickable places. 4. Hide WONTFIX tests by default and make it toggleable. 5. Turn on Linux release dashboard. Many many minor cosmetic changes and minor TODOs. BUG=20188 Review URL: http://codereview.chromium.org/173437 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24483 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the correct line from test_expectations.txt this time.japhet@chromium.org2009-08-261-3/+0
| | | | | | | | | BUG=none TEST=green build TBR=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24482 0039d316-1c4b-4281-b951-d872f2087c98
* revert cl 24468rvargas@google.com2009-08-261-0/+3
| | | | | | | | | | TBR=japhet BUG=none TEST=none Review URL: http://codereview.chromium.org/173495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24480 0039d316-1c4b-4281-b951-d872f2087c98
* Roll the WebKit deps 47770:47779TBR=ojanBUG=20319TEST=nonejorlow@chromium.org2009-08-261-1/+4
| | | | | | Review URL: http://codereview.chromium.org/174531 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24477 0039d316-1c4b-4281-b951-d872f2087c98
* Remove LayoutTests/fast/css/rem-dynamic-scaling.html from test_expectaions.japhet@chromium.org2009-08-261-3/+0
| | | | | | | | | | | It should no longer be failing as of WebKit r47729. BUG=16850 TEST=green build Review URL: http://codereview.chromium.org/174358 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24468 0039d316-1c4b-4281-b951-d872f2087c98
* Add isVisible parameter to WebPlugin::updateGeometry.darin@chromium.org2009-08-266-18/+21
| | | | | | | | | | | | | | | | | This allows for geometry updates while the plugin is hidden so that when it becomes visible, the plugin is properly positioned. In this change, I also revised RenderWidget::SchedulePluginMove to properly merge a move that only updates the visible state, and I fixed up TestShell to properly handle moves that only update the visible state. R=jam BUG=19888,20260 TEST=covered by layout tests Review URL: http://codereview.chromium.org/174513 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24457 0039d316-1c4b-4281-b951-d872f2087c98
* Supress a test to make the tree greenrvargas@google.com2009-08-261-0/+3
| | | | | | | | | | BUG=20314 TEST=none TBR=ager Review URL: http://codereview.chromium.org/174532 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24456 0039d316-1c4b-4281-b951-d872f2087c98
* On a middle click, check if the mouse is over a scrollbar before pasting the ↵vandebo@chromium.org2009-08-261-1/+5
| | | | | | | | | | | selection. BUG=16400 TEST=See bug description Review URL: http://codereview.chromium.org/173414 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24454 0039d316-1c4b-4281-b951-d872f2087c98
* Add back accidentally removed expected failure.dglazkov@chromium.org2009-08-261-0/+1
| | | | | | | | | | TBR=scherkus BUG=16779 TEST=none Review URL: http://codereview.chromium.org/173478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24450 0039d316-1c4b-4281-b951-d872f2087c98