summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Several bug fixes for the ChromeDriver:kkania@chromium.org2011-03-2611-26/+135
| | | | | | | | | | | | | | | | | | | | - Should be able to focus on a frame using its frame element, not just an ID, name, or index. - Element equality checks now work properly - Session-level command handlers should be registered with mongoose after the element handlers to avoid clashes from greedy wildcard matching. - Remove spam from test logs by returning 204 on favicon requests instead of returning 404. This change also updates src/third_party/webdriver/python to r11767. BUG=none TEST=none Review URL: http://codereview.chromium.org/6723004 Patch from Jason Leyba <jleyba@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79492 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang build after landing http://codereview.chromium.org/6670085/phajdan.jr@chromium.org2011-03-262-0/+5
| | | | | | | | | | TBR=eroman BUG=76171 Review URL: http://codereview.chromium.org/6747024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79491 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: Detect the character encoding only after the entire listing is received.phajdan.jr@chromium.org2011-03-2621-1071/+723
| | | | | | | | | | | | | | | | | | | Otherwise the parser could be confused extremely easily. Imagine a listing which has only ASCII characters at the beginning, but after we detect it as ASCII-encoded, some UTF-8 bytes appear. It can be made more complex though, for example the beginning might look like UTF-8, but the entire listing may use a different encoding incompatible with UTF-8 (that was the case here, see bug). This change also simplifies the directory listing parser. When we always have the entire listing when parsing, some complex code can be removed. BUG=76171 TEST=see bug Review URL: http://codereview.chromium.org/6670085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79490 0039d316-1c4b-4281-b951-d872f2087c98
* Updating trunk VERSION from 715.0 to 716.0chrome-release@google.com2011-03-261-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79488 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 79470 - Ensure that BrowserMessageFilter isn't used to process a sync ↵rsleevi@chromium.org2011-03-263-36/+19
| | | | | | | | | | | message on the UI thread. Review URL: http://codereview.chromium.org/6713121 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/6745031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79486 0039d316-1c4b-4281-b951-d872f2087c98
* In chromedriver, fix and cleanup the command to get the page source.kkania@chromium.org2011-03-263-21/+14
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6745030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79485 0039d316-1c4b-4281-b951-d872f2087c98
* Small test and ChromeDriver fixes to enable additional webdriver python tests.kkania@chromium.org2011-03-269-84/+242
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6694007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79484 0039d316-1c4b-4281-b951-d872f2087c98
* extensions: Refactor ExtensionInstallUI class.tfarina@chromium.org2011-03-2619-262/+378
| | | | | | | | | | | | | | - Remove extension_install_dialog.h. - Add ExtensionUninstallDialog class to handle just the uninstall dialog. BUG=66730 TEST=None R=aa@chromium.org Review URL: http://codereview.chromium.org/6721013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79479 0039d316-1c4b-4281-b951-d872f2087c98
* Update port handling to patch latest HSTS intention. See the bug for URLs thatcevans@chromium.org2011-03-261-1/+0
| | | | | | | | | | reference the decisions and factors involved. BUG=77467 TEST=see bug Review URL: http://codereview.chromium.org/6748012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79478 0039d316-1c4b-4281-b951-d872f2087c98
* ProfileSyncServiceTest.JsFrontendProcessMessageBasic is flaky.michaeln@google.com2011-03-261-1/+2
| | | | | | | BUG=77485 TBR=akalin git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79477 0039d316-1c4b-4281-b951-d872f2087c98
* ConnectToWifiNetwork() is now blocking.dtu@chromium.org2011-03-2610-99/+300
| | | | | | | | | | | | | | | Add DisconnectFromWifiNetwork(), which is also blocking. Add NetworkScan(), which is also blocking. Move chromeos automation observers into their own file. Add better error message for when automation calls time out. BUG=chromium-os:12727 TEST=Mostly manual. Automated tests will be set up in a lab with real wifi access points. Review URL: http://codereview.chromium.org/6732040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79476 0039d316-1c4b-4281-b951-d872f2087c98
* Adding CreateFromData to NativeMetafileFactorydpapad@chromium.org2011-03-268-16/+46
| | | | | | | | | | | | | | Also making Create method calling Init on the metafile before returning it. Usually clients of the NativeMetafileFactory call Create and the Init or InitFromData on the object to initialize it. Now the returned object will already be initialized. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6696076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79475 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Update static about:os-credits file.derat@chromium.org2011-03-261-14811/+5141
| | | | | | | | | | | | The file size actually shrank (to a bit shy of 4 MB) for once, due to a bunch of packages being removed! BUG=none TEST=tedious manual inspection of my script's output Review URL: http://codereview.chromium.org/6732025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79474 0039d316-1c4b-4281-b951-d872f2087c98
* Land Henrik's patch: http://codereview.chromium.org/6721027/crogers@google.com2011-03-254-41/+145
| | | | | | | | | BUG=none TEST=none TBR=crogers@google.com Review URL: http://codereview.chromium.org/6745026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79473 0039d316-1c4b-4281-b951-d872f2087c98
* Commit a piece of my already-reviewed fix for bug 54274 to fix bug 76548.pkasting@chromium.org2011-03-251-0/+1
| | | | | | | | BUG=76548 TEST=Canceling "Have you moved?" infobar should mean it doesn't reappear git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79472 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that BrowserMessageFilter isn't used to process a sync message on the ↵jam@chromium.org2011-03-253-19/+36
| | | | | | | | UI thread. Review URL: http://codereview.chromium.org/6713121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79470 0039d316-1c4b-4281-b951-d872f2087c98
* Fix caret bounds to use min of available height and font height.oshima@google.com2011-03-251-1/+4
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6733058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79469 0039d316-1c4b-4281-b951-d872f2087c98
* Move all dev tools messages to devtools_messages.h and create a TabHelper to ↵jam@chromium.org2011-03-2516-132/+184
| | | | | | | | | filter their messages to that RenderViewHost doesn't have to know about devtools. TBR=pfeldman Review URL: http://codereview.chromium.org/6746008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79468 0039d316-1c4b-4281-b951-d872f2087c98
* Do not show 'Print Preview' flag in about::flags of CrOS.kmadhusu@chromium.org2011-03-251-1/+1
| | | | | | | | | | | This flag is only available in Mac, Linux and Windows. BUG=none TEST=none Review URL: http://codereview.chromium.org/6749002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79467 0039d316-1c4b-4281-b951-d872f2087c98
* Tweak XInput2 event subscriptionrbyers@chromium.org2011-03-253-31/+24
| | | | | | | | | | | | | | Combine MessagePumpGlibXs masters_ and floats_ fields into a single pointer_devices_ field. This is to make it easier for us to select the pointer devices of interest in one place. Also, don't attempt to call XFreeDeviceList if XListInputDevices returns null. This should only happen when XInput2 isn't supported, which isn't a real touchui scenario, but is useful for development scenarios. BUG=None TEST=None Review URL: http://codereview.chromium.org/6736029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79466 0039d316-1c4b-4281-b951-d872f2087c98
* Add <iterator> to the list of include files. This is required for ↵jeanluc@chromium.org2011-03-251-0/+1
| | | | | | | | | | back_inserter. BUG=71134 TEST=Compile cleanly under VS2010 Review URL: http://codereview.chromium.org/6745016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79465 0039d316-1c4b-4281-b951-d872f2087c98
* Add an opt-out header for HTTP throttling. Never throttle for localhost.joi@chromium.org2011-03-2513-65/+436
| | | | | | | | | | | | | | | | | Added net::IsLocalhost() function to net/base/net_utils.h Unit tests for the above. Also fix flakiness in the ReceivedContentMalformed test that was caused by non-zero jitter. Modify back-off policy to ignore first 4 errors to help avoid back-off from erroneously kicking in on flaky connections. Make maximum back-off period 15 minutes instead of 60. Added documentation of results of analyzing behavior this new policy will give. Add a simple server for manual testing of the throttling feature. BUG=66062 TEST=net_unittests Review URL: http://codereview.chromium.org/6711046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79464 0039d316-1c4b-4281-b951-d872f2087c98
* Use the mirror for leveldb and snappy.nsylvain@chromium.org2011-03-251-4/+2
| | | | | | Review URL: http://codereview.chromium.org/6733017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79463 0039d316-1c4b-4281-b951-d872f2087c98
* This fixes some issues with the window switcher icon.gspencer@chromium.org2011-03-254-25/+46
| | | | | | | | | | | | | 1) it adds a tooltip ("Switch windows") 2) it hides the icon when there is only one window, or when we're not logged in 3) it skips all non-"normal" browser windows in the browser list, so we don't focus panels. BUG=chromium-os:11866, chromium-os:13103 TEST=Ran ChromeOS version of chrome and tested various scenarios. Review URL: http://codereview.chromium.org/6724009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79462 0039d316-1c4b-4281-b951-d872f2087c98
* options: Fix a couple of javascript errors for download settings on chromeos.sadrul@chromium.org2011-03-251-7/+10
| | | | | | | | | | | | 'downloadLocationChangeButton', 'promptForDownload' and 'promptForDownloadLabel' are available only on non-chromeos. So check for !isChromeOS before using them. BUG=none TEST=none Review URL: http://codereview.chromium.org/6731013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79460 0039d316-1c4b-4281-b951-d872f2087c98
* Support absolute perf expectations.cmp@chromium.org2011-03-251-10/+32
| | | | | | | | | BUG=none TEST=stores absolute perf values if type is set correctly Review URL: http://codereview.chromium.org/6713114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79459 0039d316-1c4b-4281-b951-d872f2087c98
* Use ClearNetworkServiceProperty from libcros to clear network properties.chocobo@chromium.org2011-03-251-2/+1
| | | | | | | | BUG=chromium-os:11412 TEST=make sure you can connect to 802.1x networks. Review URL: http://codereview.chromium.org/6749005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79458 0039d316-1c4b-4281-b951-d872f2087c98
* Set missing svn:eol-style property on a couple of files.sadrul@chromium.org2011-03-250-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79457 0039d316-1c4b-4281-b951-d872f2087c98
* Support enabling/disabling the URL request throttler via the ↵joi@chromium.org2011-03-2518-42/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | about:net-internals page: - Add a new tab to the about:net-internals page. - Add a preference item to persist user's choice. - Remove the command line switch --disable-enforced-throttling. - Make throttling feature off by default for now. This is 95% based on yzshen@chromium.org's patch http://codereview.chromium.org/6286001/ which was never landed. The changes that have been made from that patch are mostly cosmetic, apart from updating it to match the codebase (the patch was prepared ~2 months ago) and responding to eroman@'s initial round of code review comments. BUG=66062 TEST=Make sure the checkbox on about:net-internals > HTTP Throttling is checked. (1) Type in the addresss bar a URL which is expected to return 5XX. (2) Keep clicking the "reload" button. (3) After a few clicks, Chrome displays an error page explaining why a net::ERR_TEMPORARILY_THROTTLED error occurs. Make sure the checkbox on about:net-internals > HTTP Throttling is unchecked. Following step (1) and (2) described above won't result in a net::ERR_TEMPORARILY_THROTTLED error page. Review URL: http://codereview.chromium.org/6677085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79455 0039d316-1c4b-4281-b951-d872f2087c98
* Base unit tests: Small fix for two incorrect utilityrvargas@google.com2011-03-251-2/+2
| | | | | | | | | | functions of file_util_unittests BUG=none TEST=none Review URL: http://codereview.chromium.org/6747006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79454 0039d316-1c4b-4281-b951-d872f2087c98
* Move declaration of private nested URLRequestHttpJob::HttpRequestContext to ↵adamk@chromium.org2011-03-252-25/+28
| | | | | | | | | | | | | .cc file. R=willchan@chromium.org BUG=none TEST=net_unittests Review URL: http://codereview.chromium.org/6745014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79453 0039d316-1c4b-4281-b951-d872f2087c98
* Wired local file system support for File API. The local file system provider ↵zelidrag@chromium.org2011-03-2538-26/+704
| | | | | | | | | | | | | | | currently exists for ChromeOS builds only. This CL exposes new extension permission 'fileSystem' that controls access to individual local file system elements from 3rd party extensions. Another new permission 'fileBrowserPrivate' controls access to following API call that retrieves root DOMFileSystem instance for locally exposed folders:  chrome.fileBrowserPrivate.requestLocalFileSystem(callback) BUG=chromium-os:11983 TEST=ExtensionApiTest.LocalFileSystem Review URL: http://codereview.chromium.org/6519040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79451 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerFileSystemTest.ResolveURLHttpTests is FLAKYmichaeln@google.com2011-03-251-1/+2
| | | | | | | BUG=77422 TBR=adamk git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79450 0039d316-1c4b-4281-b951-d872f2087c98
* Increasing toolbar for touch case, assets are not finalsaintlou@chromium.org2011-03-2533-31/+104
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6730039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79448 0039d316-1c4b-4281-b951-d872f2087c98
* Moves instant related methods off TabContents and to where they are used.sky@chromium.org2011-03-2520-144/+166
| | | | | | | | | | R=estade@chromium.org,avi@chromium.org BUG=77091 TEST=none Review URL: http://codereview.chromium.org/6729010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79447 0039d316-1c4b-4281-b951-d872f2087c98
* importer: Use unnamed namespace instead of static keyword.tfarina@chromium.org2011-03-251-8/+10
| | | | | | | | | | | | | | | "C++ standard, 7.3.1.1: The use of the static keyword is deprecated when declaring objects in a namespace scope, the unnamed-namespace provides a superior alternative." BUG=None TEST=None R=maruel@chromium.org Review URL: http://codereview.chromium.org/6749008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79446 0039d316-1c4b-4281-b951-d872f2087c98
* Fix clang error.thestig@chromium.org2011-03-251-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6726036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79444 0039d316-1c4b-4281-b951-d872f2087c98
* Retrieve the accessibility tree from an iframe's document in the renderer,dmazzoni@chromium.org2011-03-252-2/+57
| | | | | | | | | | | | | so that documents with iframes can be fully accessible. Depends on webkit patch: http://bugs.webkit.org/show_bug.cgi?id=56984 BUG=57727 TEST=Adds new browser test. Review URL: http://codereview.chromium.org/6731020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79443 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Add value conversions to syncable::Entry and friendsakalin@chromium.org2011-03-2513-44/+293
| | | | | | | | | | | | | Expose syncable::Entry data in sync node browser on chrome://sync-internals. BUG=76813 TEST= Review URL: http://codereview.chromium.org/6732049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79442 0039d316-1c4b-4281-b951-d872f2087c98
* PrintPreview: Remove NOTIMPLEMENTED() function call in ↵kmadhusu@chromium.org2011-03-251-2/+3
| | | | | | | | | | | | | PrintingContextCairo::UpdatePrintSettings(). In r79315, Code changes were made to pass the default options on first preview generation ie., UpdatePrintSettings() function is called while generating the print preview. Because of the NOTIMPLEMENTED() function call in that function, we are seeing a crash in debug builds while generating print preview. BUG=none TEST= Enable print preview on linux. Press Ctrl+p on any webpage. Print Preview is generated successfully. Review URL: http://codereview.chromium.org/6747003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79441 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up unload-related state after the ack is received.creis@google.com2011-03-255-6/+91
| | | | | | | | | BUG=76666 TEST=RenderViewHostManagerTest.ClickLinkAfter204Error Review URL: http://codereview.chromium.org/6724026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79440 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for "Mouseovers follow the cursor even when there's a find bar in the way"mark@chromium.org2011-03-254-5/+58
| | | | | | | | | | | | | | | | | | | | Perform a hit test in the render widget host view to check if the cursor is actually on top of a different view - such as the find bar. If it is and that view has a method -[(BOOL)nonWebContentView] that returns YES, then ignore the event in the render widget host. Change FindBarView to have the aforementioned method that returns YES. Patch by Alexei Svitkine <asvitkine@chromium.org> BUG=22191 TEST=Leave the content area by mousing over a visible find bar. Mouseovers from the content area should extinguish, and no masked by the find bar should be triggered. R=mark@chromium.org Review URL: http://codereview.chromium.org/6676094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79438 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 81961:81970scheib@chromium.org2011-03-251-1/+1
| | | | | | TBR=yutak git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79437 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Move the last bits of chrome printing code out of content/.thestig@chromium.org2011-03-259-30/+36
| | | | | | | | BUG=76795 TEST=none Review URL: http://codereview.chromium.org/6731034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79436 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated overload of openFileSystem for workers.adamk@chromium.org2011-03-252-12/+0
| | | | | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=57062 for the WebKit side of this change, but note that the changes are safe to submit in any order. Review URL: http://codereview.chromium.org/6736012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79435 0039d316-1c4b-4281-b951-d872f2087c98
* Run the Worker tests for resolveLocalFileSystemURL that were addedadamk@chromium.org2011-03-255-2/+56
| | | | | | | | | | | | | in http://trac.webkit.org/changeset/81640. Includes updates to the testing framework to mirror the way NRWT runs HTTP tests. R=michaeln@chromium.org Review URL: http://codereview.chromium.org/6727001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79434 0039d316-1c4b-4281-b951-d872f2087c98
* Roll cros DEPS to 120stevenjb@google.com2011-03-251-1/+1
| | | | | | | | | | | BUG=chromium-os:11815 TEST=Make sure Chrome compiles libcros CL: http://codereview.chromium.org/6732010/ Review URL: http://codereview.chromium.org/6748002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79433 0039d316-1c4b-4281-b951-d872f2087c98
* Removing off the record references from TestingProfile and RenderMessageFilter.vipul.bhasin@gmail.com2011-03-2513-34/+34
| | | | | | | | | | BUG=3333 TEST=NONE Review URL: http://codereview.chromium.org/6683037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79432 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move chromeos/webui/login files to ui/webui/chromeos/login directory.tfarina@chromium.org2011-03-2521-84/+86
| | | | | | | | | | | BUG=76120 TEST=None R=estade@chromium.org Review URL: http://codereview.chromium.org/6676139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79431 0039d316-1c4b-4281-b951-d872f2087c98
* roll skiareed@google.com2011-03-252-1/+2
| | | | | | Review URL: http://codereview.chromium.org/6676147 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79430 0039d316-1c4b-4281-b951-d872f2087c98