summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken build because of r21317hclam@google.com2009-07-221-13/+16
| | | | | | | | TBR=scherkus, nsylvain Review URL: http://codereview.chromium.org/159226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21319 0039d316-1c4b-4281-b951-d872f2087c98
* Additional test to exploit memory leaks in <video>hclam@google.com2009-07-222-10/+58
| | | | | | | | | | | | | TEST=MediaLeakTest.ManyVideoBear This test inject and remove a <video> element many (50) times. Trying to exploit memory leaks during the creation and destruction of the internal media player and the glue code with WebKit. Review URL: http://codereview.chromium.org/159204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21317 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected test failures for WebKit merge r46143:46194.paul@chromium.org2009-07-221-8/+8
| | | | | | | | | | TBR=darin BUG=None TEST=None Review URL: http://codereview.chromium.org/159223 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21316 0039d316-1c4b-4281-b951-d872f2087c98
* Fix trackpad scrolling issues where scroll events with 0 were sent.avi@chromium.org2009-07-221-9/+12
| | | | | | | | | BUG=http://crbug.com/12283 TEST=as described in bug Review URL: http://codereview.chromium.org/159098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21300 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a FORWARD_NULL defect reported by Coverity.wtc@chromium.org2009-07-221-16/+16
| | | | | | | | | | | | | In ChromeClientImpl::focus(), we need to do a null check for 'delegate' before calling delegate->FocusAccessibilityObject(). R=klink BUG=http://crbug.com/17101 TEST=none Review URL: http://codereview.chromium.org/159182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21296 0039d316-1c4b-4281-b951-d872f2087c98
* Disable video-src-set since it is flaky.ajwong@chromium.org2009-07-221-0/+4
| | | | | | | | | BUG:13907 TEST: The one I'm disabling. Review URL: http://codereview.chromium.org/155878 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21291 0039d316-1c4b-4281-b951-d872f2087c98
* Make scrollbars and other controls tint/untint upon main window gainingthakis@chromium.org2009-07-225-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | focus on Mac. This entails the following: - getting notifications that the main window has become or lost key window status (in BrowserWindowController) [new] - ... which tells the RenderWidgetHostView(Mac) to (de)activate [new] - ... which tells the RenderWidgetHost to (de)activate [new] - ... which sends a ViewMsg_SetActive message [new message] to the RenderView [new] - ... which tells the WebView(Impl) to (de)activate [new] - ... which tells its page()'s FocusController to (de)activate [new] - ... which is now in WebKit-land. N.B.: "Activate" is the nomenclature used in WebKit; "focus"/"blur" can sometimes (kind of) mean the same thing, but is ambiguous, since "focus" has a more specific meaning. Added a WebView unit test, which currently only tests to make sure that SetActive() (and IsActive() [also new]) work correctly. The changes to the other classes aren't very testable since they don't actually do anything (other than pass things along). BUG=12507 TEST=webkit/glue/webkit_unittest.cc Patch by viettrungluu@gmail.com (see http://codereview.chromium.org/159048 ), r=avi git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21284 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some bogus includes.darin@chromium.org2009-07-224-10/+4
| | | | | | | | | | BUG=none TEST=none R=jorlow Review URL: http://codereview.chromium.org/155898 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21282 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected test failures after WebKit merge r46143:46194paul@chromium.org2009-07-221-1/+1
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/155901 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21281 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: hide code injected by DevTools.mnaganov@chromium.org2009-07-221-1/+10
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/155919 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21270 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Handle errors in evaluation response.pfeldman@chromium.org2009-07-221-5/+7
| | | | | | Review URL: http://codereview.chromium.org/159191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21268 0039d316-1c4b-4281-b951-d872f2087c98
* This CL fixes issue 5996: Tooltip gets direction from Chrome langauge, not ↵xji@chromium.org2009-07-222-2/+14
| | | | | | | | | | | | | | | | | | | element (or even page) The related webkit bug is https://bugs.webkit.org/show_bug.cgi?id=24187 After webkit passes both the title string and its directionality to its client, Chrome will force the title to be displayed in correct directionality using Unicode Control characters. BUG=http://crbug.com/5996 TEST=In both English Chrome and Hebrew Chrome 1. open the test case in http://crbug.com/5996 comment #1 2. hover over the red span, tooltip should be displayed as RTL in both English Chrome and Hebrew Chrome. 3. hover over the blue span, tooltip should be displayed as LTR in both English Chrome and Hebrew Chrome. Review URL: http://codereview.chromium.org/147240 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21266 0039d316-1c4b-4281-b951-d872f2087c98
* revert change 21252, which broke the mac build for some reasondpranke@google.com2009-07-221-4/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21262 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the include from "base/gfx/platform_canvas.h" to ↵ajwong@chromium.org2009-07-224-4/+4
| | | | | | | | | | | | "skia/ext/platform_canvas.h" BUG=None TEST=None Review URL: http://codereview.chromium.org/159057 Patch from Thiago Farina <thiago.farina@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21258 0039d316-1c4b-4281-b951-d872f2087c98
* Add back a test which I removed, as it is failing again.eroman@chromium.org2009-07-221-0/+3
| | | | | | | | | | | Baseline must have changed with last merge. BUG=17326 TBR=paul Review URL: http://codereview.chromium.org/155903 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21257 0039d316-1c4b-4281-b951-d872f2087c98
* make 'test_shell' target depend on everything needed to pass layout_testsdpranke@google.com2009-07-221-1/+4
| | | | | | | | | | | | | | | | | This adds project dependencies to test_shell so that all (and only?) the targets needed for the layout_tests to run cleanly are built. On most platforms this is test_shell, npapi_test_plugin, and test_worker, and on the Mac this adds the layout_test_helper binary as well also, this moves image_diff from chrome/tools/test to tools/ R=mmentovai@google.com, darin@google.com BUG=none TEST=none Review URL: http://codereview.chromium.org/149714 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21252 0039d316-1c4b-4281-b951-d872f2087c98
* linux: add windowless plugin plumbingpiman@google.com2009-07-222-8/+10
| | | | | | | Review URL: http://codereview.chromium.org/159128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21250 0039d316-1c4b-4281-b951-d872f2087c98
* Creating a unique user-agent string for ChromeOS builds, so that metrics can ↵evan@chromium.org2009-07-221-2/+9
| | | | | | | | | be aggregated separately from standard Chrome on Linux Review URL: http://codereview.chromium.org/155101 Patch from Chris Masone <cmasone@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21247 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaseline some layout-tests which changed in upstream webkit r46412.ericroman@google.com2009-07-2210-48/+44
| | | | | | | | BUG=http://crbug.com/17326 Review URL: http://codereview.chromium.org/159159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21245 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected test failures after WebKit merge r46143:46194paul@chromium.org2009-07-211-0/+8
| | | | | | | | | | TBR=darin TEST=none BUG=none Review URL: http://codereview.chromium.org/155896 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21236 0039d316-1c4b-4281-b951-d872f2087c98
* New Linux baselines for dotted/dashed CSS borders, changed by ↵senorblanco@chromium.org2009-07-21219-110/+110
| | | | | | | | | | | http://bugs.webkit.org/show_bug.cgi?id=27388 . BUG=http://crbug.com/474 TEST=After sheriff rolls DEPS, Linux buildbots should be greener. Review URL: http://codereview.chromium.org/155877 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21220 0039d316-1c4b-4281-b951-d872f2087c98
* New Windows baselines for dotted/dashed CSS borders, changed upstream bysenorblanco@chromium.org2009-07-21221-119/+119
| | | | | | | | | | | https://bugs.webkit.org/show_bug.cgi?id=27388 BUG=http://crbug.com/474 TEST=Windows webkit bots should be greener after sheriff rolls DEPS. Review URL: http://codereview.chromium.org/155880 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21219 0039d316-1c4b-4281-b951-d872f2087c98
* This change list improves IME support on Linux. Many corner cases that were notestade@chromium.org2009-07-211-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | handled in original code are addressed, for example the input method in password box case. The most important change in this CL is the change to key event processing flow. In old code, a key event will first be sent to webkit then dispatched to IME for filtering. With this CL, a key event will first be dispatched to IME for filtering, then how to send the event to webkit is decided by the filtering result. This CL tries to emulate the keyboard input behavior on Windows as much as possible. For example, if a keydown event is filtered by IME, then its virtual key code will be changed to VK_PROCESSKEY(0xE5) to prevent webkit from processing it again. This behavior can workaround bug 16281. To test this CL, you may cut and save following html code into a file and open it in chrome. ------------------8<----cut here----->8--------------------- <html><head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <script> function keyEventHandler(event) { var props = [ "type", "charCode", "keyCode", "altKey", "ctrlKey", "shiftKey", "metaKey" ]; var info = document.getElementById('info'); var s = ''; for (var i in props) { s += props[i] + ':' + event[props[i]] + ' '; } info.value += s + '\n'; } function textEventHandler(event) { info.value += "type:" + event['type'] + " data:" + event['data'] + '\n'; } function passwordChangeEventHandler(event) { var input2 = document.getElementById('input2'); info.value += "password:" + input2.value + '\n'; } function onLoad() { var input = document.getElementById('input'); input.addEventListener('keydown', keyEventHandler, false); input.addEventListener('keyup', keyEventHandler, false); input.addEventListener('keypress', keyEventHandler, false); input.addEventListener('textInput', textEventHandler, false); var input2 = document.getElementById('input2'); input2.addEventListener('change', passwordChangeEventHandler, false); } </script> </head><body onload="onLoad()"> <input id="input" size="20"> <input id="input2" type="password" size="20"> <p> <textarea id="info" rows="40" cols="150"></textarea> </p></body></html> ------------------8<----cut here----->8--------------------- This CL was confirmed to fix following issues: BUG=16281 "arrow keys and backspace/delete keys move/delete two characters at a time when xim immodule is used" BUG=16282 "Disable IMEs in a password input" BUG=16596 "fcitx (chinese input method) not working in ubuntu 9.04" BUG=16659 "Crash near RenderWidgetHostViewGtk::IMEUpdateStatus" BUG=16699 "Can't move cursor to omnibox and use input method if cursor is currently in a text input box in web page." BUG=16796 "Input method issue: When inputting text in a text box, if there is a composition string then pressing Backspace or Delete will cause the composition string be cleared and the text box refuses to accept any further input. All tests assume above html code is used. TEST=Start scim with "scim -d" and start chrome with GTK_IM_MODULE=xim and XMODIFIERS=@im=SCIM. Type something in input box, eg. "hello", then press backspace, to see if only one character is deleted. TEST=Move cursor to password input box, press ctrl-space to see if input method is not activated. Switch keyboard layout to Canadian-French then type a'[{' key and an 'a' key, then press enter, to see if a Latin character "U+00E2" is inputted in password box. TEST=Install fcitx with "sudo apt-get install fcitx" (assume you are using Ubuntu/Debian). Open a terminal, export XMODIFIERS=@im=fcitx and GTK_IM_MODULE=xim then run fcitx, then start chrome. Move cursor into an input box, press ctrl-space and input something, eg. "nihao" then press space. Check if some Chinese characters are inputted. TEST=Start chrome with GTK_IM_MODULE=scim. Move cursor into a text input box then move into a password box, chrome should not crash. TEST=Move cursor into a text input box, then click omnibox, and see if the text input box has lost focus. Press ctrl-space to activate input method, then type something, and see of the input goes into omnibox. TEST=Move cursor into a text input box and enable a Chinese Pinyin input method, then type something, eg. "dajiahao", make sure a composition string is displayed in the text input box, then press backspace and see if there is still a composition string and backspace is handled by input method. patch by James Su <james.su [at] gmail> original review URL: <http://codereview.chromium.org/149755> Review URL: http://codereview.chromium.org/155869 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21203 0039d316-1c4b-4281-b951-d872f2087c98
* Fix another d&d crash that happens when the tab contentstc@google.com2009-07-211-3/+6
| | | | | | | | | | | | | | | | is swapped out while a drag is happening. Since the tab contents is swapped out, our RVH that the drag started on is no longer valid. Simply null out the pointer and no longer try to send feedback to the drag source. This allows the user to continue the drag even though the source RVH is gone. BUG=16073 Review URL: http://codereview.chromium.org/159040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21187 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: mute accidental refresh requests while on DevTools window.pfeldman@chromium.org2009-07-211-0/+13
| | | | | | | | BUG=12956 Review URL: http://codereview.chromium.org/159132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21177 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: small UI improvements.mnaganov@chromium.org2009-07-212-2/+36
| | | | | | | | | | | | - if profile is generated, and no profile is shown, show the new one; - display processed ticks count during processing to show that we're alive. BUG=none TEST=none Review URL: http://codereview.chromium.org/159135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21176 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bogus baseline for LayoutTests/media/controls-styling.html to appease ↵ericroman@google.com2009-07-213-0/+12
| | | | | | | | | | | | | | | | the layout test runner script. It complains if there are no baselines, even though this test is expected to fail. (The upstream mac baseline was removed in <http://trac.webkit.org/changeset/46140>). TEST=none BUG=http://crbug.com/13907 TBR=paul Review URL: http://codereview.chromium.org/155844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21167 0039d316-1c4b-4281-b951-d872f2087c98
* Update a test expectationeroman@chromium.org2009-07-211-1/+1
| | | | | | | | | BUG=http://crbug.com/17332 TBR=rniwa Review URL: http://codereview.chromium.org/155843 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21166 0039d316-1c4b-4281-b951-d872f2087c98
* Add crashing layout tests to list.eroman@chromium.org2009-07-211-0/+2
| | | | | | | | | | TEST=NONE BUG=http://crbug.com/17332 TBR=rniwa Review URL: http://codereview.chromium.org/155837 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21161 0039d316-1c4b-4281-b951-d872f2087c98
* Enable DOM_STORAGE in our build. Put LocalStorage and SessionStorage behind ↵jorlow@chromium.org2009-07-215-9/+94
| | | | | | | | their own flags. Add the beginnings of StorageNamespaceProxy since it implements WebCore::StorageNamespace::____StorageNamespace and we'd get link errors otherwise.--enable-local-storage and --enable-session-storage are the new flags. If you enable them and try to use DOM Storage, Chromium will crash.Originally Committed in http://src.chromium.org/viewvc/chrome?view=rev&revision=21059 but then backed out due to include path issues.BUG=4360TEST=none Review URL: http://codereview.chromium.org/159059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21157 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 46141:46143.eroman@chromium.org2009-07-211-0/+7
| | | | | | | | | | TEST=NONE BUG=NONE TBR=paul Review URL: http://codereview.chromium.org/155832 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21156 0039d316-1c4b-4281-b951-d872f2087c98
* Updating test expectation bug number.scherkus@chromium.org2009-07-211-1/+1
| | | | | | | | | | BUG=17287 TEST=none Review URL: http://codereview.chromium.org/159123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21155 0039d316-1c4b-4281-b951-d872f2087c98
* Add a layout test to expectations list which crashes on mac following webkit ↵eroman@chromium.org2009-07-211-2/+3
| | | | | | | | merge (is a new test). Review URL: http://codereview.chromium.org/155833 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21151 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 46126:46141.eroman@chromium.org2009-07-211-0/+4
| | | | | | | | | | BUG=NONE TBR=paul TEST=NONE Review URL: http://codereview.chromium.org/159110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21146 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-0/+36
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21130 0039d316-1c4b-4281-b951-d872f2087c98
* Including config.h temporarily to make the Mac/Linux builds happy.dumi@chromium.org2009-07-201-0/+4
| | | | | | Review URL: http://codereview.chromium.org/159100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21123 0039d316-1c4b-4281-b951-d872f2087c98
* Rebaselines and test_expectations for some Linux tests fixed by ↵senorblanco@chromium.org2009-07-209-7/+69
| | | | | | | | | | | http://bugs.webkit.org/show_bug.cgi?id=26618, rolled into Chromium as of r21049. BUG=http://crbug.com/10404,http://crbug.com/10309 TEST=See buildbots run. Run, buildbots, run. Review URL: http://codereview.chromium.org/159032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21111 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebNode, and fix self assignment for WebKit api classes.ajwong@chromium.org2009-07-206-3/+116
| | | | | | Review URL: http://codereview.chromium.org/149728 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21104 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new layout test to exceptions list.ericroman@google.com2009-07-201-1/+2
| | | | | | | | | | TBR=paul BUG=http://crbug.com/17287 TEST=NONE Review URL: http://codereview.chromium.org/159090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21089 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting patch 21083.dumi@chromium.org2009-07-202-36/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21084 0039d316-1c4b-4281-b951-d872f2087c98
* Stubs for DB-related methods in ChromiumBridge.dumi@chromium.org2009-07-202-0/+36
| | | | | | Review URL: http://codereview.chromium.org/159044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21083 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Make splitters move while dragged over iframes.pfeldman@chromium.org2009-07-201-0/+23
| | | | | | | BUG=16608 Review URL: http://codereview.chromium.org/159080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21082 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit merge 46087:46125.ericroman@google.com2009-07-201-0/+3
| | | | | | | | | | TBR=paulg BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/159076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21081 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes refactoring breakage in the layout test comparison tool. Also ↵gwilson@google.com2009-07-203-3/+22
| | | | | | | | | | | | implements maximum failure counts. R=eroman TEST=run test_output_formatter.bat BUG=none Review URL: http://codereview.chromium.org/159033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21078 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remember variable tree expansion state while debugging.pfeldman@chromium.org2009-07-202-4/+24
| | | | | | | | BUG=17233 Review URL: http://codereview.chromium.org/155770 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21074 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix debugPrint to work via new Console API.pfeldman@chromium.org2009-07-201-1/+4
| | | | | | Review URL: http://codereview.chromium.org/155767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21073 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Use Chrome's colors for DevTools toolbar.pfeldman@chromium.org2009-07-201-0/+6
| | | | | | Review URL: http://codereview.chromium.org/155766 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21072 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Disable dock action on Mac OS since it is not yet implemented.pfeldman@chromium.org2009-07-201-0/+3
| | | | | | | | BUG=15936 Review URL: http://codereview.chromium.org/155765 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21071 0039d316-1c4b-4281-b951-d872f2087c98
* vide-src-change.html test is crashingmhm@chromium.org2009-07-191-1/+1
| | | | | | | | | | | | LayoutTests/media/video-src-change.html is crashing as well, not just failing. I have seen it come and go this week. BUG=16779 TEST=None TBR=scherkus, hcalm Review URL: http://codereview.chromium.org/155755 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21064 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21059.jorlow@chromium.org2009-07-185-94/+9
| | | | | | Review URL: http://codereview.chromium.org/159056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21060 0039d316-1c4b-4281-b951-d872f2087c98