Disable running python unit tests in parallel on win32 for now.
https://bugs.webkit.org/show_bug.cgi?id=91697

Unreviewed, build fix.

* Scripts/webkitpy/test/main.py:
(Tester._parse_args):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
webkitpy.common.system.executive_unittest.ExecutiveTest.test_kill_process is flaky
https://bugs.webkit.org/show_bug.cgi?id=91698

Unreviewed, build fix.

This is a workaround for the test failing (apparently mostly?)
when run in parallel with other tests. The underlying bug still
needs to be diagnosed as we shouldn't be getting ECHILD from
process.wait().

* Scripts/webkitpy/common/system/executive_unittest.py:
(ExecutiveTest.test_kill_process):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add histogram for tracking compositor-thread frame rate
https://bugs.webkit.org/show_bug.cgi?id=91692

Reviewed by Adrienne Walker.

This patch tracks the interval between compositor thread frames
and pushes it into a platform histogram. This allows us to track
compositor-thread frame rate in the wild.

* platform/graphics/chromium/cc/CCFrameRateCounter.cpp:
(WebCore::CCFrameRateCounter::markBeginningOfFrame):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mac] Make WebDataSourcePrivate lighter
https://bugs.webkit.org/show_bug.cgi?id=91511

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-07-18
Reviewed by Anders Carlsson.

Make WebDataSourcePrivate a simple C++ class and use smart pointers for memory management.

Since the "loader" attribute is only set on initialization, all the assertions spread in
various function are removed in favor of assertions on initialization.

* WebView/WebDataSource.h:
* WebView/WebDataSource.mm:
(WebDataSourcePrivate):
(WebDataSourcePrivate::WebDataSourcePrivate):
(WebDataSourcePrivate::~WebDataSourcePrivate):
Use a class instead of a Objective-C object for WebDataSourcePrivate.
Use smart pointers instead of ref counting manually.

(-[WebDataSource _setRepresentation:]):
(-[WebDataSource _addSubframeArchives:]):
(-[WebDataSource _transferApplicationCache:]):
(-[WebDataSource _setDeferMainResourceDataLoad:]):
(-[WebDataSource _documentFragmentWithArchive:]):
(-[WebDataSource _initWithDocumentLoader:]):

(+[WebDataSource initialize]):
(-[WebDataSource dealloc]):
(-[WebDataSource finalize]):
WebDataSource takes the special initialization and destruction that was done in WebDataSourcePrivate.

(-[WebDataSource representation]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt: merge WebKitDriver into Driver
https://bugs.webkit.org/show_bug.cgi?id=91696

Reviewed by Adam Barth.

As part of merging WebKitPort into Port, we also should merge
WebKitDriver into Driver, since all of the non-test Drivers now
inherit from WebKitDriver.

There are no functional changes in this patch, and all the changes should
be covered by the existing tests.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port._driver_class):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort._check_file_exists):
* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidDriver):
(ChromiumAndroidDriver.__init__):
(ChromiumAndroidDriver._drt_cmd_line):
* Scripts/webkitpy/layout_tests/port/chromium_android_unittest.py:
(ChromiumAndroidDriverTest.test_read_prompt):
* Scripts/webkitpy/layout_tests/port/driver.py:
(Driver):
(Driver.__init__):
(Driver.__del__):
(Driver.run_test):
(Driver.has_crashed):
(Driver.start):
(Driver._start):
(Driver.stop):
(Driver.cmd_line):
(Driver._check_for_driver_crash):
(Driver._command_from_driver_input):
(Driver._read_first_block):
(Driver._read_optional_image_block):
(Driver._read_header):
(Driver._process_stdout_line):
(Driver._strip_eof):
(Driver._read_block):
(ContentBlock):
(ContentBlock.__init__):
(ContentBlock.decode_content):
* Scripts/webkitpy/layout_tests/port/driver_unittest.py:
(DriverTest.make_port):
(DriverTest._assert_wrapper):
(DriverTest.test_read_block):
(DriverTest):
(DriverTest.test_read_binary_block):
(DriverTest.test_read_base64_block):
(DriverTest.test_no_timeout):
(DriverTest.test_check_for_driver_crash):
(DriverTest.test_check_for_driver_crash.FakeServerProcess):
(DriverTest.test_check_for_driver_crash.FakeServerProcess.__init__):
(DriverTest.test_check_for_driver_crash.FakeServerProcess.pid):
(DriverTest.test_check_for_driver_crash.FakeServerProcess.name):
(DriverTest.test_check_for_driver_crash.FakeServerProcess.has_crashed):
(DriverTest.test_check_for_driver_crash.FakeServerProcess.stop):
(DriverTest.test_check_for_driver_crash.assert_crash):
(DriverTest.test_creating_a_port_does_not_write_to_the_filesystem):
(DriverTest.test_stop_cleans_up_properly):
(DriverTest.test_two_starts_cleans_up_properly):
(MockServerProcess):
(MockServerProcess.__init__):
(MockServerProcess.has_crashed):
(MockServerProcess.read_stdout_line):
(MockServerProcess.read_stdout):
(MockServerProcess.read_either_stdout_or_stderr_line):
(MockServerProcess.start):
(MockServerProcess.stop):
(MockServerProcess.kill):
* Scripts/webkitpy/layout_tests/port/gtk.py:
* Scripts/webkitpy/layout_tests/port/webkit.py:
(WebKitPort._read_image_diff):
(WebKitPort.skipped_layout_tests):
* Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
(test_path_to_apache_config_file):
* Scripts/webkitpy/layout_tests/port/xvfbdriver.py:
(XvfbDriver):
(XvfbDriver.stop):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Add intVersion to chromium/public/WebIDBMetadata.h
https://bugs.webkit.org/show_bug.cgi?id=91408

Reviewed by Adam Barth.

This is in support of the new upgradeneeded versioning api.
intVersion will eventually replace the WebString version member.

* public/WebIDBMetadata.h:
(WebKit::WebIDBMetadata::WebIDBMetadata):
The spec uses unsigned long long for version numbers but we use signed
long long so that we can use -1 as a sentinel. It indicates that a
database still uses a string version.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123059 268f45cc-cd09-0410-ab3c-d52691b4dbfc