summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: Temporarily use JSON with escaping to handle non-latin data.pfeldman@chromium.org2009-05-211-1/+3
| | | | | | Review URL: http://codereview.chromium.org/115632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16595 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Reverting 16586. Necessary v8 changes are not rolled yet.yurys@google.com2009-05-212-49/+80
| | | | | | Review URL: http://codereview.chromium.org/115630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16593 0039d316-1c4b-4281-b951-d872f2087c98
* select-style test on Win is expected to pass now.ukai@chromium.org2009-05-211-1/+1
| | | | | | | | | BUG=12350 TEST=LayoutTests/fast/forms/select-style.html Review URL: http://codereview.chromium.org/113699 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16592 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Use message format in WebInspector.UIString override.pfeldman@chromium.org2009-05-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16591 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Display main resource url as devtools window title.pfeldman@chromium.org2009-05-213-7/+15
| | | | | | Review URL: http://codereview.chromium.org/113693 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16590 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: only supported event types are forwarded to the client. ↵yurys@google.com2009-05-211-0/+7
| | | | | | | | Unsupported events may cause additional troubles. E.g. ScriptCollected event handling crashes on call to GetEventContext(this should be fixed on v8 side). Review URL: http://codereview.chromium.org/113695 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16589 0039d316-1c4b-4281-b951-d872f2087c98
* Update expected results for chromium-win LayoutTests/fast/forms/select-style.hamaji@chromium.org2009-05-213-4/+64
| | | | | | | | | | | | | | Upstream change https://bugs.webkit.org/show_bug.cgi?id=25742 modified the test. Original patch by tyoshino@google.com. (see http://codereview.chromium.org/115623) r=levin BUG=12350 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16588 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: use event context to decide which agent should be used for ↵yurys@google.com2009-05-212-80/+49
| | | | | | | | handling the event. Review URL: http://codereview.chromium.org/113629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16586 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 43946:43958ukai@chromium.org2009-05-211-5/+0
| | | | | | | | | | | | | | remove fail expectations LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-lexical.html LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-write-lexical.html LayoutTests/http/tests/security/aboutBlank/security-context-grandchildren-writeln-lexical.html BUG=11909 TEST=no additional test regressions Review URL: http://codereview.chromium.org/115622 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16581 0039d316-1c4b-4281-b951-d872f2087c98
* Move ExtraData from WebRequest to WebDataSource.darin@chromium.org2009-05-2115-100/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a DidCreateDataSource method to WebViewDelegate, which the embedder uses to know if their LoadRequest resulted in a navigation. The embedder then associates the ExtraData with the WebDataSource at that point. The WebDataSource then proceeds to be treated as the provisional data source, possibly failing or being committed. We then inspect WebFrame::GetDataSource in DidCommitLoadForFrame to recover the ExtraData. We have to take care to handle reference fragment navigations since those do not result in a new WebDataSource being created. So, in DidChangeLocationWithinPage, we update the ExtraData associated with the WebDataSource returned by WebFrame::GetDataSource. One thing that is important to note: In DidCommitLoadForFrame, we would previously always inspect the value of GetDataSource returned from the main frame instead of looking at the frame passed to DidCommitLoadForFrame. This explains why WebFrameImpl:: LoadRequest needed to cached ExtraData on the current WebDataSource, and I think doing so is awkward and wrong. My change is to always store the ExtraData on the first WebDataSource to be created as a result of LoadRequest. Then in DidCommitLoadForFrame, I always inspect the ExtraData from the given WebFrame. This means that for history navigations that only navigate a subframe, we'll end up with ExtraData associated with the WebDataSource of a subframe. I think this is OK even though the old code was trying to avoid this scenario. See the DCHECK removed in RenderView::UpdateURL. BUG=11423 R=brettw Review URL: http://codereview.chromium.org/115575 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16580 0039d316-1c4b-4281-b951-d872f2087c98
* Hook up Context::GetCalling() to V8Proxy.abarth@chromium.org2009-05-212-3/+23
| | | | | | | | | R=aa TEST=This will eventually be covered by layout tests once I change the upstream code to use this API. Review URL: http://codereview.chromium.org/113672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16564 0039d316-1c4b-4281-b951-d872f2087c98
* Register the icons for play/pause and max-volume/mute in the resource files, ↵ajwong@chromium.org2009-05-212-0/+9
| | | | | | | | and expose the names to webkit. Review URL: http://codereview.chromium.org/113665 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16553 0039d316-1c4b-4281-b951-d872f2087c98
* Fix test expectations for newly added test.levin@chromium.org2009-05-201-0/+2
| | | | | | | | | BUG=12361 TEST=none, this change only notes that a newly added test is failing. Review URL: http://codereview.chromium.org/113676 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16551 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstreamed v8 bindings for V8DOMWindowCustomjaphet@chromium.org2009-05-201-291/+0
| | | | | | | | BUG=12274 Review URL: http://codereview.chromium.org/113607 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16549 0039d316-1c4b-4281-b951-d872f2087c98
* Remove JSDOMBinding, which is no longer used.dglazkov@chromium.org2009-05-204-96/+0
| | | | | | | | | | R=levin BUG=3319 TEST=no test regressions Review URL: http://codereview.chromium.org/113372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16546 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 43889:43933levin@chromium.org2009-05-201-1/+6
| | | | | | | | | | | | Test expectation has updates for new failures along with bugs that list the change that caused the failures. BUG=0 TEST=none Review URL: http://codereview.chromium.org/115594 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16544 0039d316-1c4b-4281-b951-d872f2087c98
* Image files for media elementshclam@chromium.org2009-05-204-0/+0
| | | | | | | | | | | | Uploaded the following images: muted: webkit\glue\resources\media_sound_none.png not muted: webkit\glue\resources\media_sound_full.png play: webkit\glue\resources\media_play.png pause: webkit\glue\resources\media_pause.png Review URL: http://codereview.chromium.org/113668 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16541 0039d316-1c4b-4281-b951-d872f2087c98
* Looks like svg/custom/grayscale-gradient-mask.svg always passes in release mode.darin@chromium.org2009-05-201-1/+1
| | | | | | | | R=levin Review URL: http://codereview.chromium.org/113663 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16537 0039d316-1c4b-4281-b951-d872f2087c98
* Fix layout test redness.levin@chromium.org2009-05-201-0/+5
| | | | | | | | | | | | | | Add failures for recurring layout tests failures. This reverts part of r16498 which removed one of these test but the test is failing consistently now. BUG=http://crbug.com/12002, http://crbug.com/12340, http://crbug.com/12341 TEST=none needed. Just test expectations update. Review URL: http://codereview.chromium.org/115585 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16517 0039d316-1c4b-4281-b951-d872f2087c98
* These tests have been passing consistently on windows.darin@chromium.org2009-05-201-2/+0
| | | | | | | | R=dglazkov Review URL: http://codereview.chromium.org/113651 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16498 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the webkit.org build of chromium.levin@chromium.org2009-05-201-0/+4
| | | | | | | | | | | | http://build.chromium.org/buildbot/waterfall.fyi/waterfall?builder=Webkit%20%28webkit.org%29 This is the same code that was there upstream before these methods became pure virtual. TBR=dglazkov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16492 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: if the number of actual parameters is greater than number of the ↵yurys@google.com2009-05-201-13/+25
| | | | | | | | formal ones they will be available in the arguments array as elements without names. We shouldn't show such properties in the scope variables panel. Review URL: http://codereview.chromium.org/113630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16473 0039d316-1c4b-4281-b951-d872f2087c98
* Fix crash in SVG bindings. We attempted to update the SVGContext forager@chromium.org2009-05-202-3/+3
| | | | | | | | | a NULL SVGElement which makes no sense. BUG=12105 Review URL: http://codereview.chromium.org/113627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16471 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 43880:43889levin@chromium.org2009-05-201-2/+8
| | | | | | | | | | | | | The only tests that are newly failing are new tests added for WCSS which are also skipped by desktop platforms (osx, windws, etc.) upstream as well. BUG=12310 TEST=no additional test regressions. Review URL: http://codereview.chromium.org/113624 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16469 0039d316-1c4b-4281-b951-d872f2087c98
* Add a UI string for multiple file selection for <input type=file multiple>.darin@chromium.org2009-05-202-0/+9
| | | | | | | | | | | | | | | | WebCore::multipleFileUploadText() is already declared in LocalizeStrings.h, and implemented and used in other platforms. This patch won't change Chromium's behavior for now. We need to change WebCore/platform/chromium/FileChooserChromium.cpp to use this string. Patch by Kent Tamura (tkent@google.com) R=darin BUG=8740 Review URL: http://codereview.chromium.org/113620 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16468 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TRACK_HWND_CREATION/TRACK_HWND_DESTRUCTION macro since the bug it was ↵jam@chromium.org2009-05-202-9/+0
| | | | | | | | created for has long been closed. This code causes crashes when the browser is closed with the task manager open (in debug builds at the very least). Review URL: http://codereview.chromium.org/115553 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16462 0039d316-1c4b-4281-b951-d872f2087c98
* Move createWorker from WebKitClient to WebWorkerClient per your suggestion, ↵jam@chromium.org2009-05-207-11/+28
| | | | | | | | to avoid using WebKitClient outside the main thread. Review URL: http://codereview.chromium.org/115103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16454 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: respect theme's autocomplete popups padding.estade@chromium.org2009-05-201-4/+7
| | | | | | Review URL: http://codereview.chromium.org/113602 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16452 0039d316-1c4b-4281-b951-d872f2087c98
* Adds propagation and handling of render-side focus events, for the benefit ↵klink@chromium.org2009-05-2010-44/+136
| | | | | | | | of assistive technologies (accessibility). Also cleans up the handling of WM_GETOBJECT in RenderWidgetHostViewWin and WidgetWin, as well as in BrowserAccessibilityManager. Review URL: http://codereview.chromium.org/115374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16449 0039d316-1c4b-4281-b951-d872f2087c98
* Use the upstream version of ScriptController.levin@chromium.org2009-05-203-559/+2
| | | | | | | | | | TEST=Scripting in the browser. This should be pretty well covered by other testing. BUG=http://crbug.com/12063 Review URL: http://codereview.chromium.org/115542 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16443 0039d316-1c4b-4281-b951-d872f2087c98
* 3 Speedups for turning v8 strings into webcore stringsdavemoore@chromium.org2009-05-191-29/+31
| | | | | | | | | | | | | | | | | | | | | 1) Take advantage of new String::createUninitialized() call in webkit. This allows us to have one malloc node per string, without an extra copy of the characters 2) Take advantage of new V8 behavior, to return NULL from GetExternalStringResource() if it hasn't been externalized, speeding up our usage by not requiring us to call isExternal 3) Check if string type is an integer. If it is, don't call into V8 to get string...instead do it in C++, caching previous integer strings less than 100. Also removed unnecessary test for IsEmpty() as the called function also tests for it. Review URL: http://codereview.chromium.org/115517 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16427 0039d316-1c4b-4281-b951-d872f2087c98
* Use upstreamed v8 bindings for CanvasRenderingContext2Djaphet@chromium.org2009-05-191-416/+0
| | | | | | | | | BUG=12262 Review URL: http://codereview.chromium.org/113599 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16424 0039d316-1c4b-4281-b951-d872f2087c98
* Lookup the plugin for the mime type before attempting to open a channel for ↵ananta@chromium.org2009-05-191-3/+0
| | | | | | | | | | | | | | | | | the plugin. This ensures that the plugin will always be instantiated with the correct mime type at all times. Added plugin tests to cover this case where in the embed tag is specified with a URL but without a mime type. Fixes bug http://code.google.com/p/chromium/issues/detail?id=8973 Bug=8973 Test :- Added a plugin test for this case. Review URL: http://codereview.chromium.org/113326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16414 0039d316-1c4b-4281-b951-d872f2087c98
* Update test expectations following upstream roll.levin@chromium.org2009-05-191-0/+9
| | | | | | | | | BUG=http://crbug.com/12254 TBR=dglazkov Review URL: http://codereview.chromium.org/113593 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16406 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do work with new InspectorController.pfeldman@chromium.org2009-05-194-27/+17
| | | | | | Review URL: http://codereview.chromium.org/115518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16399 0039d316-1c4b-4281-b951-d872f2087c98
* linux: disable strict aliasing for WebCore.evan@chromium.org2009-05-191-0/+3
| | | | | | | | | | | | | | | Leaving this on produces warnings with newer gccs. In https://bugs.webkit.org/show_bug.cgi?id=25864, Darin Adler says, regarding leaving strict aliasing rules on: "I would expect many, many problems in WebCore. Not just warnings, but actual code generation problems." BUG=9104 Review URL: http://codereview.chromium.org/115520 Patch from Craig Schlenter <craig.schlenter@gmail.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16389 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Skia includes to use the whole path name.brettw@chromium.org2009-05-193-6/+3
| | | | | | Review URL: http://codereview.chromium.org/115412 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16374 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage (add file missing in 115508).pfeldman@chromium.org2009-05-191-0/+2
| | | | | | Review URL: http://codereview.chromium.org/113580 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16366 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not cache xmlhttp when client is not attached; reduce agent ↵pfeldman@chromium.org2009-05-191-10/+17
| | | | | | | | cache size. Review URL: http://codereview.chromium.org/115508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16364 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed use of uninitialized variable problem in generated bindings. Itplesner@google.com2009-05-191-2/+1
| | | | | | | turns out that converting an object to an SVGNumber can't fail. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16363 0039d316-1c4b-4281-b951-d872f2087c98
* Remove local copy of V8MessagePortCustom.cpp now that it has been upstreamed.levin@chromium.org2009-05-192-168/+2
| | | | | | | | | | BUG=11782 TEST=none needed, just removing obsolete file Review URL: http://codereview.chromium.org/113566 Review URL: http://codereview.chromium.org/113569 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16354 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 43832:43833dglazkov@google.com2009-05-181-47/+48
| | | | | | | | | | | | | | Compensating for the effect of moving all a11y-related files to WebCore/accessibility: http://trac.webkit.org/changeset/43835 R=levin BUG=0 TEST=no code changes, so expect test no regressions. Review URL: http://codereview.chromium.org/115494 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16341 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling in new gyp version.bradnelson@chromium.org2009-05-181-0/+1
| | | | | | | | Switching idl generation to an external makefile. Review URL: http://codereview.chromium.org/113550 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16338 0039d316-1c4b-4281-b951-d872f2087c98
* Take 2 at fixing relativeanchor-{basic,frames}.html.darin@chromium.org2009-05-182-14/+4
| | | | | | | | | | | | | | | The new fix is to record the content state given the value of GetCurrentHistoryState when initially creating a NavigationEntry. This renders my previous change to add similar code to LocationChangeDone unnecessary (I believe), so I have removed it. BUG=11924 R=dglazkov Review URL: http://codereview.chromium.org/115486 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16337 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebMediaPlayerClientImpl files to WebKit API src location.darin@chromium.org2009-05-1814-470/+602
| | | | | | | | | | | This involves adding a temporary glue function, which will be removed once WebFrame / WebView are part of the WebKit API. R=hclam Review URL: http://codereview.chromium.org/115482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16336 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Update 43806:43832dglazkov@google.com2009-05-181-0/+3
| | | | | | | | | | | | | | | The only casualty is a new test, which we fail: http://trac.webkit.org/changeset/43822 R=levin BUG=0 TEST=no additional test regressions. Review URL: http://codereview.chromium.org/115483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16332 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo. The right button is pressed when MK_RBUTTON is set.darin@chromium.org2009-05-181-1/+1
| | | | | | | | R=jam Review URL: http://codereview.chromium.org/115479 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16331 0039d316-1c4b-4281-b951-d872f2087c98
* Disable plugins on the Mac by default until JS plumbingamanda@chromium.org2009-05-183-2/+16
| | | | | | | and drawing works better. Review URL: http://codereview.chromium.org/115472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16318 0039d316-1c4b-4281-b951-d872f2087c98
* ScriptController.* needs to be reformatted into WebKit style.levin@chromium.org2009-05-183-356/+214
| | | | | | | | | | TEST=Scripting in the browser. This should be pretty well covered by other testing. BUG=http://crbug.com/12063 Review URL: http://codereview.chromium.org/115417 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16315 0039d316-1c4b-4281-b951-d872f2087c98
* rollback r16300darin@chromium.org2009-05-182-5/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16304 0039d316-1c4b-4281-b951-d872f2087c98