Show the test name in the dashboard if showChrome==false and we're showing multiple tests
https://bugs.webkit.org/show_bug.cgi?id=85243

Reviewed by Dirk Pranke.

This happens for cases where a test name matches multiple tests.
In practice, this only happens for virtual test suites (e.g. the canvas tests).

* TestResultServer/static-dashboards/flakiness_dashboard.js:
(htmlForIndividualTestOnAllBuildersWithChrome):
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
(testHtmlForIndividualTestOnAllBuildersWithChromeNonexistant):
(testHtmlForIndividualTestOnAllBuildersWithChrome):
(testHtmlForIndividualTestOnAllBuildersWithChromeWebkitMaster):
(testHtmlForIndividualTests):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PageCache autorelease should not wait until 3 seconds and 42 pages
https://bugs.webkit.org/show_bug.cgi?id=85254
<rdar://problem/11349613>

Reviewed by Geoffrey Garen.

No new tests, since there is no change in behavior.

* history/PageCache.cpp:
(WebCore):
(WebCore::PageCache::PageCache):
(WebCore::PageCache::releaseAutoreleasedPagesNowDueToTimer):
* history/PageCache.h:
(PageCache):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix coding style issues in IDBLevelDBCoding.cpp
https://bugs.webkit.org/show_bug.cgi?id=85536

Reviewed by Tony Chang.

No tests - just code formatting changes.

* Modules/indexeddb/IDBLevelDBCoding.cpp:
(WebCore::IDBLevelDBCoding::encodeIDBKey):
(WebCore::IDBLevelDBCoding::decodeIDBKey):
(WebCore::IDBLevelDBCoding::extractEncodedIDBKey):
(WebCore::IDBLevelDBCoding::compareEncodedIDBKeys):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Don't show the WebKit Linux ASAN bot on the flakiness dashboard.
https://bugs.webkit.org/show_bug.cgi?id=85551

Reviewed by Dirk Pranke.

It's not uploading results and in the short term we don't plan to have it start.

* TestResultServer/static-dashboards/builders.js:
(isChromiumWebkitTipOfTreeTestRunner):
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix numeric precision issue in SVG animations
https://bugs.webkit.org/show_bug.cgi?id=85502

Reviewed by Dirk Schulze.

Source/WebCore:

r93938 had a bug where floating point numbers where compared exactly,
exposing a bug when floating point precision was not sufficient. This
change compares against an epsilon value to get around these precision
issues.

Test: svg/animations/animate-end-attribute-numeric-precision.html

* svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::calculateAnimationPercentAndRepeat):

LayoutTests:

* svg/animations/animate-end-attribute-numeric-precision-expected.txt: Added.
* svg/animations/animate-end-attribute-numeric-precision.html: Added.
* svg/animations/script-tests/animate-end-attribute-numeric-precision.js: Added.
(sample1):
(sample2):
(executeTest):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Bugs in WebFullScreenController
https://bugs.webkit.org/show_bug.cgi?id=85388

Patch by Tobias Netzel <tobias.netzel@googlemail.com> on 2012-05-03
Reviewed by Alexey Proskuryakov.

Leopard specific fixes:
NSWindow doesn't respond to isOnActiveSpace so find out first.
Values passed to SetSystemUIMode were swapped.

Source/WebKit/mac:

* WebView/WebFullScreenController.mm:
(-[WebFullScreenController exitFullScreen]):
(-[WebFullScreenController _updateMenuAndDockForFullScreen]):

Source/WebKit2:

* UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController beganExitFullScreenWithInitialFrame:WebCore::finalFrame:WebCore::]):
(-[WKFullScreenWindowController _updateMenuAndDockForFullScreen]):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ASSERT(!m_zOrderListsDirty) is triggering in Safari
https://bugs.webkit.org/show_bug.cgi?id=85512

Reviewed by Simon Fraser.

Unfortunately no test as I don't think the 2 cases are testable reliably.

A better fix would be to introduce some iterator that handle updating the
lists for you. For now, just adding the missing updateLayerListsIfNeeded()
calls.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::hasVisibleNonCompositingDescendantLayers):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::layerHas3DContent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Updating expectations after r116009.

* platform/chromium-linux/fast/block/float/overhanging-tall-block-expected.txt: Removed.
* platform/chromium-mac/fast/block/float/overhanging-tall-block-expected.png: Added.
* platform/chromium-mac/fast/block/float/overhanging-tall-block-expected.txt: Added.
* platform/chromium-win/fast/block/float/overhanging-tall-block-expected.txt:
* platform/chromium/fast/block/float/overhanging-tall-block-expected.png: Removed.
* platform/chromium/fast/block/float/overhanging-tall-block-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the last bits of Leopard support from our perl scripts
https://bugs.webkit.org/show_bug.cgi?id=85545

Reviewed by Daniel Bates.

Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped
Leopard support several months ago.  Remove the last bits of isLeopard() branching
in our Perl scripts, since no one is using this (Chromium has never used this Perl code).

* Scripts/build-webkit:
* Scripts/old-run-webkit-tests:
(countAndPrintLeaks):
(captureSavedCrashLog):
* Scripts/webkitdirs.pm:
(determineArchitecture):
(argumentsForRunAndDebugMacWebKitApp):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rebaseline.

* platform/chromium-win-vista/fast/css/zoom-body-scroll-expected.txt: Added.
* platform/chromium-win-xp/fast/css/zoom-body-scroll-expected.txt: Added.
* platform/chromium-win/fast/css/zoom-body-scroll-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
--coverage should not not use the "feature" options system in build-webkit, similarly remove special-casing for WTF_URL
https://bugs.webkit.org/show_bug.cgi?id=85542

Reviewed by Daniel Bates.

Remove these last two odd-men-out, so that we can generate the default feature options
for build-webkit using the new generate-feature-files command.
The Mac build system has some special casing for ENABLE_ defines which gets them
defined as -D on the build command, even though initially they start out as
environment variables ENABLE_FOO = ENABLE_FOO.  The Feature options in build-webkit
depend on this support, but it doesn't work for WTF_USE_ defines like WTF_USE_WTF_URL.
I'm told that WTF_URL is not actively being worked on, so just removing it for now.
It should probably come back to life as an ENABLE_, or build-webkit or the Xcode projects
should be made generically smarter about these USE_WTF defines.
(There is still WTF_USE_TILED_BACKING_STORE in the feature list, but it only seems
used by Qt.  If someone tried build-webkit --tiled-backing-store on Mac today it
would not work!)

* Scripts/build-webkit:


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

* platform/chromium/test_expectations.txt:
* platform/efl/test_expectations.txt:
* platform/gtk/test_expectations.txt:
* platform/mac/test_expectations.txt:
* platform/qt/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Height overflow when nesting multiple new Flexbox'es.
https://bugs.webkit.org/show_bug.cgi?id=83572

Reviewed by Ojan Vafai.

Source/WebCore:

Test: css3/flexbox/nested-stretch.html

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::computeAvailableFreeSpace):

LayoutTests:

* css3/flexbox/nested-stretch-expected.txt: Added.
* css3/flexbox/nested-stretch.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add an eventPhase NONE constant
https://bugs.webkit.org/show_bug.cgi?id=85397

Reviewed by Anders Carlsson.

Source/WebCore: 

Updates existing tests.

* dom/Event.h:
* dom/Event.idl:
Add NONE constant.

LayoutTests: 

* fast/dom/constants-expected.txt:
* fast/dom/constants.html:
Test the value of the constant.

* fast/events/event-trace-expected.txt:
* fast/events/event-trace.html:
Ensure that the eventPhase is NONE when first initialized.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Replace numeric constants with strings
https://bugs.webkit.org/show_bug.cgi?id=84894

Patch by Alec Flett <alecflett@chromium.org> on 2012-05-03
Reviewed by Tony Chang.

Source/WebCore:

Test: storage/indexeddb/legacy-constants.html

Update IDBObjectStore.openCursor, IDBIndex.openCursor,
IDBIndex.openKeyCursor, IDBDatabase.transaction,
IDBCursor.direction, IDBTransaction.mode, and
IDBRequest.readyState to meet the latest spec. All of these APIs
now support string-based values in addition to the
legacy/deprecated enum-based values.

* Modules/indexeddb/IDBCursor.cpp:
(WebCore):
(WebCore::IDBCursor::direction):
(WebCore::IDBCursor::stringToDirection):
(WebCore::IDBCursor::directionToString):
* Modules/indexeddb/IDBCursor.h:
(IDBCursor):
* Modules/indexeddb/IDBCursor.idl:
* Modules/indexeddb/IDBDatabase.cpp:
(WebCore::IDBDatabase::transaction):
(WebCore):
* Modules/indexeddb/IDBDatabase.h:
(IDBDatabase):
* Modules/indexeddb/IDBDatabase.idl:
* Modules/indexeddb/IDBIndex.cpp:
(WebCore::IDBIndex::openCursor):
(WebCore):
(WebCore::IDBIndex::openKeyCursor):
* Modules/indexeddb/IDBIndex.h:
(WebCore::IDBIndex::openCursor):
(IDBIndex):
(WebCore::IDBIndex::openKeyCursor):
* Modules/indexeddb/IDBIndex.idl:
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::openCursor):
(WebCore):
* Modules/indexeddb/IDBObjectStore.h:
(WebCore::IDBObjectStore::openCursor):
(IDBObjectStore):
* Modules/indexeddb/IDBObjectStore.idl:
* Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::IDBRequest):
(WebCore::IDBRequest::readyState):
(WebCore::IDBRequest::markEarlyDeath):
(WebCore::IDBRequest::resetReadyState):
(WebCore::IDBRequest::abort):
(WebCore::IDBRequest::finishCursor):
(WebCore::IDBRequest::onSuccess):
(WebCore::IDBRequest::stop):
* Modules/indexeddb/IDBRequest.h:
* Modules/indexeddb/IDBRequest.idl:
* Modules/indexeddb/IDBTransaction.cpp:
(WebCore):
(WebCore::IDBTransaction::mode):
(WebCore::IDBTransaction::stringToMode):
(WebCore::IDBTransaction::modeToString):
* Modules/indexeddb/IDBTransaction.h:
(IDBTransaction):
* Modules/indexeddb/IDBTransaction.idl:

LayoutTests:

New test for legacy constants (legacy-constants) and update all
other tests to use the new string-based constants.

* storage/indexeddb/basics-expected.txt:
* storage/indexeddb/basics-workers-expected.txt:
* storage/indexeddb/constants-expected.txt:
* storage/indexeddb/create-object-store-options-expected.txt:
* storage/indexeddb/cursor-added-bug-expected.txt:
* storage/indexeddb/cursor-advance-expected.txt:
* storage/indexeddb/cursor-continue-expected.txt:
* storage/indexeddb/cursor-continue-validity-expected.txt:
* storage/indexeddb/cursor-delete-expected.txt:
* storage/indexeddb/cursor-inconsistency-expected.txt:
* storage/indexeddb/cursor-index-delete-expected.txt:
* storage/indexeddb/cursor-key-order-expected.txt:
* storage/indexeddb/cursor-prev-no-duplicate-expected.txt:
* storage/indexeddb/cursor-primary-key-order-expected.txt:
* storage/indexeddb/cursor-reverse-bug-expected.txt:
* storage/indexeddb/cursor-skip-deleted-expected.txt:
* storage/indexeddb/cursor-update-expected.txt:
* storage/indexeddb/data-corruption-expected.txt:
* storage/indexeddb/database-quota-expected.txt:
* storage/indexeddb/delete-range-expected.txt:
* storage/indexeddb/error-causes-abort-by-default-expected.txt:
* storage/indexeddb/exception-in-event-aborts-expected.txt:
* storage/indexeddb/factory-deletedatabase-expected.txt:
* storage/indexeddb/index-count-expected.txt:
* storage/indexeddb/index-multientry-expected.txt:
* storage/indexeddb/index-unique-expected.txt:
* storage/indexeddb/key-generator-expected.txt:
* storage/indexeddb/key-type-array-expected.txt:
* storage/indexeddb/keypath-edges-expected.txt:
* storage/indexeddb/keypath-intrinsic-properties-expected.txt:
* storage/indexeddb/legacy-constants-expected.txt: Added.
* storage/indexeddb/legacy-constants.html: Added.
* storage/indexeddb/mozilla/clear-expected.txt:
* storage/indexeddb/mozilla/create-index-unique-expected.txt:
* storage/indexeddb/mozilla/create-objectstore-basics-expected.txt:
* storage/indexeddb/mozilla/cursor-mutation-expected.txt:
* storage/indexeddb/mozilla/cursor-mutation-objectstore-only-expected.txt:
* storage/indexeddb/mozilla/cursors-expected.txt:
* storage/indexeddb/mozilla/index-prev-no-duplicate-expected.txt:
* storage/indexeddb/mozilla/index-prev-no-duplicate.html:
* storage/indexeddb/mozilla/indexes-expected.txt:
* storage/indexeddb/mozilla/odd-result-order-expected.txt:
* storage/indexeddb/mozilla/readwrite-transactions-expected.txt:
* storage/indexeddb/mozilla/readyState-expected.txt:
* storage/indexeddb/mozilla/resources/clear.js:
(clear):
* storage/indexeddb/mozilla/resources/create-index-unique.js:
(createAndVerifyIndex):
* storage/indexeddb/mozilla/resources/create-objectstore-basics.js:
(cleanDatabase):
* storage/indexeddb/mozilla/resources/cursor-mutation-objectstore-only.js:
(checkCursorResultsAndSetupMutatingCursor):
* storage/indexeddb/mozilla/resources/cursor-mutation.js:
(setupMutatingCursor):
* storage/indexeddb/mozilla/resources/cursors.js:
* storage/indexeddb/mozilla/resources/indexes.js:
* storage/indexeddb/mozilla/resources/odd-result-order.js:
(addRecord):
(deleteRecord):
* storage/indexeddb/mozilla/resources/readwrite-transactions.js:
(setVersionComplete):
(postAdd):
(postAdd2):
(postPut):
(postPut2):
(postPut3):
(postPut4):
(postDelete):
(postDelete2):
* storage/indexeddb/mozilla/resources/readyState.js:
(test):
(openSuccess):
(setupObjectStore):
(getRecord):
(finalCheck):
* storage/indexeddb/mozilla/resources/versionchange.js:
(postSetVersion):
(postSetVersion2):
* storage/indexeddb/mozilla/versionchange-expected.txt:
* storage/indexeddb/mutating-cursor-expected.txt:
* storage/indexeddb/noblobs-expected.txt:
* storage/indexeddb/noblobs.html:
* storage/indexeddb/objectstore-autoincrement-expected.txt:
* storage/indexeddb/objectstore-basics-expected.txt:
* storage/indexeddb/objectstore-basics-workers-expected.txt:
* storage/indexeddb/objectstore-count-expected.txt:
* storage/indexeddb/open-cursor-expected.txt:
* storage/indexeddb/open-during-transaction-expected.txt:
* storage/indexeddb/opencursor-key-expected.txt:
* storage/indexeddb/prefetch-bugfix-108071-expected.txt:
* storage/indexeddb/readonly-expected.txt:
* storage/indexeddb/request-event-propagation-expected.txt:
* storage/indexeddb/resources/basics.js:
(test):
(openCallback):
* storage/indexeddb/resources/constants.js:
(test):
* storage/indexeddb/resources/create-object-store-options.js:
(setVersionComplete):
* storage/indexeddb/resources/cursor-added-bug.js:
(openCursor):
* storage/indexeddb/resources/cursor-advance.js:
(runTest):
(testAdvanceIndexNoDupe):
(testAdvanceIndexPrev):
(testAdvanceIndexPrevNoDupe):
* storage/indexeddb/resources/cursor-continue-validity.js:
(continueTest):
(continueIndexTest):
(testModifyContinueOrder):
* storage/indexeddb/resources/cursor-continue.js:
(ascendingTest):
(descendingTest):
* storage/indexeddb/resources/cursor-delete.js:
(openCursor):
(addObject):
* storage/indexeddb/resources/cursor-inconsistency.js:
(openBasicCursor):
* storage/indexeddb/resources/cursor-index-delete.js:
(openCursor):
(addObject):
* storage/indexeddb/resources/cursor-key-order.js:
* storage/indexeddb/resources/cursor-prev-no-duplicate.js:
(populateStore):
(testFarRangeCursor_closed):
(testFarRangeCursor_open):
(testFarRangeCursor_indexClosed):
(testFarRangeCursor_indexOpen):
(testFarRangeCursor_indexKeyOpen):
(testFarRangeCursor_indexKeyClosed):
(testBoundaryCursor_closed):
(testBoundaryCursor_open):
(testBoundaryCursor_indexClosed):
(testBoundaryCursor_indexOpen):
(testBoundaryCursor_indexKeyClosed):
(testBoundaryCursor_indexKeyOpen):
(testNoDuplicate_closed):
(testNoDuplicate_open):
(testNoDuplicate_indexKeyClosed):
* storage/indexeddb/resources/cursor-primary-key-order.js:
(populateStore):
* storage/indexeddb/resources/cursor-reverse-bug.js:
(populateStore):
(testCursor):
* storage/indexeddb/resources/cursor-skip-deleted.js:
(basicCursorTest):
(reverseCursorTest):
* storage/indexeddb/resources/cursor-update.js:
(openBasicCursor):
* storage/indexeddb/resources/data-corruption.js:
(addData):
(getData):
* storage/indexeddb/resources/database-quota.js:
(checkQuotaEnforcing):
* storage/indexeddb/resources/delete-range.js:
(runTests.nextTest):
(runTests):
* storage/indexeddb/resources/error-causes-abort-by-default.js:
(addData):
(transactionCompleted):
(transactionAborted1):
* storage/indexeddb/resources/exception-in-event-aborts.js:
(startTest):
(transactionAborted1):
(transactionAborted2):
* storage/indexeddb/resources/factory-deletedatabase.js:
(getValue):
* storage/indexeddb/resources/index-count.js:
* storage/indexeddb/resources/index-cursor.js:
(runNextTest):
(testNullKeyRange):
* storage/indexeddb/resources/index-multientry.js:
* storage/indexeddb/resources/index-unique.js:
(setVersionCompleted):
* storage/indexeddb/resources/key-generator.js:
(.):
* storage/indexeddb/resources/key-type-array.js:
* storage/indexeddb/resources/keypath-edges.js:
* storage/indexeddb/resources/keypath-intrinsic-properties.js:
* storage/indexeddb/resources/legacy-constants.js: Added.
(test):
(prepareDatabase.openreq.onsuccess.verreq.onsuccess):
(prepareDatabase.openreq.onsuccess):
(prepareDatabase):
(populateStore):
(checkNext.request.onsuccess):
(checkNext):
(checkNextNoDuplicate.request.onsuccess):
(checkNextNoDuplicate):
(checkPrev.request.onsuccess):
(checkPrev):
(checkPrevNoDuplicate.request.onsuccess):
(checkPrevNoDuplicate):
* storage/indexeddb/resources/mutating-cursor.js:
(openForwardCursor):
(openReverseCursor):
* storage/indexeddb/resources/objectstore-autoincrement.js:
(setVersionCompleted):
* storage/indexeddb/resources/objectstore-basics.js:
(addData):
(addAgainFailure):
* storage/indexeddb/resources/objectstore-count.js:
* storage/indexeddb/resources/objectstore-cursor.js:
(runNextTest):
(testNullKeyRange):
* storage/indexeddb/resources/open-cursor.js:
(cursorWithKeySuccess):
(cursorSuccess):
* storage/indexeddb/resources/open-during-transaction.js:
* storage/indexeddb/resources/opencursor-key.js:
* storage/indexeddb/resources/prefetch-bugfix-108071.js:
* storage/indexeddb/resources/request-event-propagation.js:
(startTest):
(transactionAborted):
(transactionAborted2):
* storage/indexeddb/resources/set_version_blocked.js:
(blocked):
* storage/indexeddb/resources/transaction-abort.js:
(startTest):
* storage/indexeddb/resources/transaction-after-close.js:
(runFirstRegularTransaction):
(firstTransactionComplete):
(onSecondOpen):
* storage/indexeddb/resources/transaction-basics.js:
(testInvalidMode):
* storage/indexeddb/resources/transaction-event-propagation.js:
(startTest):
(dbAbortBubbleCallback):
* storage/indexeddb/resources/transaction-rollback.js:
(setVersionComplete):
(abortCallback):
* storage/indexeddb/set_version_blocked-expected.txt:
* storage/indexeddb/structured-clone-expected.txt:
* storage/indexeddb/structured-clone.html:
* storage/indexeddb/transaction-abort-expected.txt:
* storage/indexeddb/transaction-abort-with-js-recursion-cross-frame-expected.txt:
* storage/indexeddb/transaction-abort-with-js-recursion-cross-frame.html:
* storage/indexeddb/transaction-abort-with-js-recursion-expected.txt:
* storage/indexeddb/transaction-abort-with-js-recursion.html:
* storage/indexeddb/transaction-after-close-expected.txt:
* storage/indexeddb/transaction-basics-expected.txt:
* storage/indexeddb/transaction-event-propagation-expected.txt:
* storage/indexeddb/transaction-rollback-expected.txt:
* storage/indexeddb/tutorial.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove the percent failed column from the flakiness dashboard
https://bugs.webkit.org/show_bug.cgi?id=85552

Reviewed by Dirk Pranke.

This column isn't useful enough to justify the visual noise.

* TestResultServer/static-dashboards/flakiness_dashboard.js:
(processMissingAndExtraExpectations):
(tableHeaders):
(htmlForSingleTestRow):
(sortTests):
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
(test):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116041 268f45cc-cd09-0410-ab3c-d52691b4dbfc
webkitpy: Use PlatformInfo wherever possible in the User class.
https://bugs.webkit.org/show_bug.cgi?id=85549

Reviewed by Dirk Pranke.

Instead of relying on sys.platform to detect whether the current
platform is a Mac, use the PlatformInfo class instead.

* Scripts/webkitpy/common/system/user.py:
(User.__init__):
(User.edit_changelog):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
If you add printf()s to your garbage collector, the layout tests are gonna have a bad time.

* runtime/GCActivityCallbackCF.cpp:
(JSC::DefaultGCActivityCallbackPlatformData::timerDidFire):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116043 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Removing remainder of accidental printfs.

* heap/Heap.cpp:
(JSC::Heap::collect):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@116044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix some state resetting when running unittests. HtmlForSingleTestRow
was flaky.

* TestResultServer/static-dashboards/flakiness_dashboard.js:
(htmlForSingleTestRow):
* TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:
(resetGlobals):

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