Bug 165079

Summary: Change Timers to use only Seconds, not raw doubles or std::chrono
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, rniwa, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 165074    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from ews103 for mac-yosemite
none
Archive of layout-test-results from ews124 for ios-simulator-wk2
none
Archive of layout-test-results from ews117 for mac-yosemite
none
Archive of layout-test-results from ews107 for mac-yosemite-wk2
none
Patch
none
Almost complete other than some Settings-related bindings issues
none
Almost complete other than some Settings-related bindings issues
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Simon Fraser (smfr)
Reported 2016-11-26 11:44:27 PST
Change Timers to use only Seconds, not raw doubles or std::chrono
Attachments
Patch (296.81 KB, patch)
2016-11-26 11:48 PST, Simon Fraser (smfr)
no flags
Patch (339.09 KB, patch)
2016-11-26 12:29 PST, Simon Fraser (smfr)
no flags
Patch (367.14 KB, patch)
2016-11-26 13:37 PST, Simon Fraser (smfr)
no flags
Patch (367.14 KB, patch)
2016-11-26 14:21 PST, Simon Fraser (smfr)
no flags
Patch (368.99 KB, patch)
2016-11-26 14:44 PST, Simon Fraser (smfr)
no flags
Archive of layout-test-results from ews103 for mac-yosemite (1013.30 KB, application/zip)
2016-11-26 16:06 PST, Build Bot
no flags
Archive of layout-test-results from ews124 for ios-simulator-wk2 (deleted)
2016-11-26 16:11 PST, Build Bot
no flags
Archive of layout-test-results from ews117 for mac-yosemite (1.67 MB, application/zip)
2016-11-26 16:12 PST, Build Bot
no flags
Archive of layout-test-results from ews107 for mac-yosemite-wk2 (1.32 MB, application/zip)
2016-11-26 16:23 PST, Build Bot
no flags
Patch (371.51 KB, patch)
2016-11-26 16:33 PST, Simon Fraser (smfr)
no flags
Almost complete other than some Settings-related bindings issues (375.37 KB, patch)
2016-11-27 09:33 PST, Simon Fraser (smfr)
no flags
Almost complete other than some Settings-related bindings issues (375.28 KB, patch)
2016-11-27 09:55 PST, Simon Fraser (smfr)
no flags
Patch (391.47 KB, text/plain)
2016-11-27 14:22 PST, Simon Fraser (smfr)
no flags
Patch (391.18 KB, patch)
2016-11-27 14:40 PST, Simon Fraser (smfr)
no flags
Patch (390.92 KB, patch)
2016-11-27 23:03 PST, Simon Fraser (smfr)
no flags
Patch (372.04 KB, patch)
2016-12-04 20:12 PST, Simon Fraser (smfr)
no flags
Patch (371.96 KB, patch)
2016-12-04 20:44 PST, Simon Fraser (smfr)
no flags
Patch (372.87 KB, patch)
2016-12-04 22:13 PST, Simon Fraser (smfr)
no flags
Patch (374.20 KB, patch)
2016-12-04 23:00 PST, Simon Fraser (smfr)
no flags
Patch (376.36 KB, patch)
2016-12-04 23:13 PST, Simon Fraser (smfr)
no flags
Patch (377.32 KB, patch)
2016-12-04 23:24 PST, Simon Fraser (smfr)
no flags
Patch (378.15 KB, patch)
2016-12-05 09:13 PST, Simon Fraser (smfr)
no flags
Patch (378.87 KB, patch)
2016-12-05 09:28 PST, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2016-11-26 11:48:43 PST
WebKit Commit Bot
Comment 2 2016-11-26 11:51:15 PST
Attachment 295437 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/loader/cache/MemoryCache.cpp:774: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 247 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 3 2016-11-26 12:29:20 PST
WebKit Commit Bot
Comment 4 2016-11-26 12:35:21 PST
Attachment 295438 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 260 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 5 2016-11-26 13:37:16 PST
WebKit Commit Bot
Comment 6 2016-11-26 13:39:58 PST
Attachment 295439 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 291 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 7 2016-11-26 14:21:15 PST
WebKit Commit Bot
Comment 8 2016-11-26 14:24:16 PST
Attachment 295440 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 291 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 9 2016-11-26 14:44:23 PST
WebKit Commit Bot
Comment 10 2016-11-26 14:49:08 PST
Attachment 295442 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 293 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 11 2016-11-26 16:06:04 PST
Comment on attachment 295442 [details] Patch Attachment 295442 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/2575692 New failing tests: http/tests/eventsource/eventsource-retry-precision.html http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html
Build Bot
Comment 12 2016-11-26 16:06:07 PST
Created attachment 295444 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 13 2016-11-26 16:11:49 PST
Comment on attachment 295442 [details] Patch Attachment 295442 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2575681 New failing tests: http/tests/eventsource/eventsource-retry-precision.html editing/input/password-echo-textnode.html http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html
Build Bot
Comment 14 2016-11-26 16:11:53 PST
Created attachment 295445 [details] Archive of layout-test-results from ews124 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews124 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Build Bot
Comment 15 2016-11-26 16:12:27 PST
Comment on attachment 295442 [details] Patch Attachment 295442 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/2575695 New failing tests: http/tests/eventsource/eventsource-retry-precision.html http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html
Build Bot
Comment 16 2016-11-26 16:12:30 PST
Created attachment 295446 [details] Archive of layout-test-results from ews117 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews117 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 17 2016-11-26 16:23:36 PST
Comment on attachment 295442 [details] Patch Attachment 295442 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2575713 New failing tests: http/tests/eventsource/eventsource-retry-precision.html http/tests/eventsource/eventsource-reconnect-during-navigate-crash.html
Build Bot
Comment 18 2016-11-26 16:23:39 PST
Created attachment 295447 [details] Archive of layout-test-results from ews107 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Simon Fraser (smfr)
Comment 19 2016-11-26 16:33:07 PST
WebKit Commit Bot
Comment 20 2016-11-26 16:38:40 PST
Attachment 295449 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 296 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 21 2016-11-27 09:33:15 PST
Created attachment 295454 [details] Almost complete other than some Settings-related bindings issues
Simon Fraser (smfr)
Comment 22 2016-11-27 09:55:46 PST
Created attachment 295455 [details] Almost complete other than some Settings-related bindings issues
WebKit Commit Bot
Comment 23 2016-11-27 09:59:17 PST
Attachment 295455 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 296 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 24 2016-11-27 14:22:04 PST
WebKit Commit Bot
Comment 25 2016-11-27 14:24:57 PST
Attachment 295466 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 303 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 26 2016-11-27 14:40:30 PST
WebKit Commit Bot
Comment 27 2016-11-27 14:43:02 PST
Attachment 295467 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:317: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 303 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 28 2016-11-27 15:27:19 PST
Comment on attachment 295466 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295466&action=review > Source/WebCore/Modules/mediasession/WebMediaSessionManager.cpp:39 > +static const Seconds taskDelayInterval = Seconds(1.0 / 10); Is the division here needed? Can this just be 0.1_s? > Source/WebCore/Modules/mediasession/WebMediaSessionManager.cpp:449 > + Seconds interval = didPlayToEnd ? watchdogTimerIntervalAfterPlayingToEnd : watchdogTimerIntervalAfterPausing; auto? > Source/WebCore/bindings/js/JSInternalSettingsGeneratedCustom.cpp:49 > + impl.setIncrementalRenderingSuppressionTimeout(Seconds(incrementalRenderingSuppressionTimeout)); I'm not a fan of adding custom bindings for something like this. Can we instead have the settings generator add a setIncrementalRenderingSuppressionTimeoutAsDouble (or something) and have that called? > Source/WebCore/bindings/js/JSInternalSettingsGeneratedCustom.cpp:65 > + impl.setPasswordEchoDuration(Seconds(passwordEchoDuration)); Same as above. > Source/WebCore/css/StyleResolver.cpp:1243 > + static const Seconds matchedDeclarationCacheSweepTime = 60_s; > + m_matchedPropertiesCacheSweepTimer.startOneShot(matchedDeclarationCacheSweepTime); Not sure this constant really adds much. > Source/WebCore/editing/AlternativeTextController.cpp:143 > + const Seconds correctionPanelTimerInterval = 0.3_s; auto? > Source/WebCore/editing/FrameSelection.cpp:2048 > + if (Seconds blinkInterval = m_frame->page()->theme().caretBlinkInterval()) auto? > Source/WebCore/html/HTMLMediaElement.cpp:164 > +static const Seconds HideMediaControlsAfterEndedDelay = Seconds(6); 6_s? > Source/WebCore/html/HTMLMediaElement.cpp:1970 > + m_progressEventTimer.startRepeating(0.350_s); I think this might read better as 350_ms given the comment. > Source/WebCore/html/MediaController.cpp:678 > + MonotonicTime now = MonotonicTime::now(); > + Seconds timedelta = now - m_previousTimeupdateTime; auto? > Source/WebCore/html/MediaElementSession.cpp:60 > +static const Seconds elementMainContentCheckInterval = 0.25_s; 250_ms? > Source/WebCore/html/shadow/MediaControlElements.cpp:140 > + Seconds duration = document().page() ? document().page()->theme().mediaControlsFadeOutDuration() : 0_s; auto? > Source/WebCore/html/shadow/MediaControlElements.cpp:191 > + Seconds duration = document().page() ? document().page()->theme().mediaControlsFadeInDuration() : 0_s; auto? > Source/WebCore/html/shadow/MediaControlElements.cpp:194 > + setInlineStyleProperty(CSSPropertyTransitionDuration, duration.value(), CSSPrimitiveValue::CSS_S); Should we have an overload of setInlineStyleProperty that takes a Seconds? > Source/WebCore/html/shadow/MediaControlElements.cpp:208 > + Seconds duration = document().page() ? document().page()->theme().mediaControlsFadeOutDuration() : 0_s; auto? > Source/WebCore/html/track/VTTRegion.cpp:59 > +static const Seconds scrollTime = Seconds(0.433); _s or _ms? > Source/WebCore/html/track/VTTRegion.cpp:406 > + Seconds duration = isScrollingRegion() ? scrollTime : 0_s; auto? > Source/WebCore/inspector/InspectorOverlay.cpp:512 > + const Seconds paintRectsUpdateInterval = 0.032_s; auto? _ms? > Source/WebCore/loader/cache/MemoryCache.cpp:54 > +static const Seconds defaultDecodedDataDeletionInterval = 0_s; why remove the auto? > Source/WebCore/page/DOMTimer.cpp:55 > +static const Seconds maxIntervalForUserGestureForwarding = 1_s; // One second matches Gecko. > +static const Seconds minIntervalForNonUserObservableChangeTimers = 1_s; // Empirically determined to maximize battery life. Why remove auto? > Source/WebCore/page/DOMTimer.cpp:434 > + // Do we really want to initialize randomizedProportion just once? I don't think we need this comment. If you want to keep it, please add a FIXME. > Source/WebCore/page/Frame.cpp:125 > +static const Seconds scrollFrequency = Seconds(1.0 / 60); This is a terrifying constant :). > Source/WebCore/page/FrameView.cpp:2844 > + static const Seconds speculativeTilingEnableDelay = 0.5_s; Is this constant needed? > Source/WebCore/page/animation/AnimationController.cpp:51 > +static const Seconds animationTimerDelay = Seconds(1.0 / 60); Not new, but this really seems like it should not be a constant, but rather something you get from settings. > Source/WebCore/platform/ThreadTimers.cpp:47 > +static const Seconds maxDurationOfFiringTimers = Seconds::fromMilliseconds(50); _ms? > Source/WebCore/platform/ThreadTimers.cpp:67 > + m_pendingSharedTimerFireTime = MonotonicTime(); Can this use { }? > Source/WebCore/platform/ThreadTimers.cpp:84 > + m_pendingSharedTimerFireTime = MonotonicTime(); { }? > Source/WebCore/platform/ThreadTimers.cpp:88 > + MonotonicTime nextFireTime = m_timerHeap.first()->m_nextFireTime; > + MonotonicTime currentMonotonicTime = MonotonicTime::now(); auto? > Source/WebCore/platform/ThreadTimers.cpp:106 > + m_pendingSharedTimerFireTime = MonotonicTime(); { } > Source/WebCore/platform/ThreadTimers.cpp:109 > + MonotonicTime fireTime = MonotonicTime::now(); > + MonotonicTime timeToQuit = fireTime + maxDurationOfFiringTimers; auto? > Source/WebCore/platform/ThreadTimers.cpp:114 > + timer->m_nextFireTime = MonotonicTime(); > + timer->m_unalignedNextFireTime = MonotonicTime(); { }? > Source/WebCore/platform/ThreadTimers.cpp:117 > + Seconds interval = timer->repeatInterval(); auto? > Source/WebCore/platform/ThreadTimers.cpp:140 > + m_pendingSharedTimerFireTime = MonotonicTime(); { }? > Source/WebCore/platform/Timer.cpp:230 > + MonotonicTime current = MonotonicTime::now(); auto? > Source/WebCore/platform/Timer.cpp:296 > + MonotonicTime fireTime = m_nextFireTime; auto? > Source/WebCore/platform/Timer.cpp:379 > + MonotonicTime oldTime = m_nextFireTime; auto? > Source/WebCore/platform/cocoa/ScrollController.mm:79 > +static const Seconds statelessScrollSnapDelay = Seconds(0.5); 0.5_s? > Source/WebCore/platform/graphics/ShadowBlur.cpp:127 > + const Seconds scratchBufferPurgeInterval = 2_s; auto? > Source/WebCore/platform/graphics/ca/TileGrid.cpp:384 > + Seconds timeUntilCohortExpires = cohort.timeUntilExpiration(); auto? > Source/WebCore/platform/graphics/ca/TileGrid.cpp:500 > + const Seconds cohortRemovalTimerSeconds = 1_s; You can remove the Seconds suffix. > Source/WebCore/platform/graphics/ca/TileGrid.cpp:509 > + const Seconds cohortLifeTime = Seconds(2); 2_s? auto? > Source/WebCore/platform/graphics/cg/SubimageCacheWithTimer.cpp:37 > +static const Seconds subimageCacheClearDelay = 1_s; why remove the auto? > Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:370 > + static const Seconds readyStateTimerDelay = 60_s; auto? > Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp:147 > +static const Seconds clearContentsTimerInterval = Seconds(3); 3_s? > Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm:84 > +static const Seconds defaultWatchdogTimerInterval = Seconds(1); 1_s? > Source/WebCore/rendering/RenderMarquee.cpp:171 > + m_timer.startRepeating(Seconds::fromMilliseconds(speed())); Really got to make this use RAF ;). > Source/WebCore/replay/EventLoopInputDispatcher.cpp:104 > + Seconds targetInterval = m_currentWork.timestamp - m_previousInputTimestamp; > + Seconds elapsed = MonotonicTime::now() - m_previousDispatchStartTime; auto? > Source/WebCore/svg/animation/SMILTimeContainer.cpp:207 > SMILTime delay = std::max(fireTime - elapsed, minimumDelay); Perhaps SMILTime should have a toSeconds() function that returns a WTF::Seconds? > Source/WebCore/xml/XMLHttpRequest.cpp:248 > + Seconds interval = Seconds::fromMilliseconds(m_timeoutMilliseconds ? m_timeoutMilliseconds : 60000) - (MonotonicTime::now() - m_sendingTime); auto? > Source/WebKit/Storage/StorageAreaSync.cpp:44 > +static const Seconds storageSyncInterval = Seconds(1); 1_s? > Source/WebKit/Storage/StorageTracker.cpp:54 > // after it has been idle for m_StorageDatabaseIdleInterval seconds. m_StorageDatabaseIdleInterval -> m_storageDatabaseIdleInterval > Source/WebKit/mac/Plugins/WebNetscapePluginView.mm:114 > +static const Seconds ThrottledTimerInterval = Seconds(0.25); _s? > Source/WebKit/mac/Plugins/WebNetscapePluginView.mm:133 > + Seconds timeInterval = Seconds::fromMilliseconds(m_interval); auto? > Source/WebKit/win/Plugins/PluginMessageThrottlerWin.cpp:42 > +static const Seconds MessageThrottleTimeInterval = Seconds(0.016); _s or _ms? > Source/WebKit2/NetworkProcess/NetworkLoad.cpp:314 > + Seconds delay = NetworkProcess::singleton().loadThrottleLatency(); auto? > Source/WebKit2/NetworkProcess/PingLoad.h:49 > + m_timeoutTimer.startOneShot(60000_s); Seems like this should _min > Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:49 > +static const Seconds preloadedEntryLifetime = 10_s; Why remove the auto? > Source/WebKit2/Shared/CacheModel.cpp:112 > + deadDecodedDataDeletionInterval = 60_s; 1_min? > Source/WebKit2/Shared/mac/RemoteLayerBackingStoreCollection.mm:35 > +const Seconds volatileBackingStoreAgeThreshold = Seconds(1); > +const Seconds volatileSecondaryBackingStoreAgeThreshold = Seconds(0.2); > +const Seconds volatilityTimerInterval = Seconds(0.2); _s? > Source/WebKit2/UIProcess/Cocoa/ViewGestureController.cpp:44 > +static const Seconds swipeSnapshotRemovalWatchdogAfterFirstVisuallyNonEmptyLayoutDuration = Seconds(3); > +static const Seconds swipeSnapshotRemovalActiveLoadMonitoringInterval = Seconds(0.25); _s? > Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp:218 > + m_timer.startOneShot(Seconds(1)); 1_s? > Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp:230 > + m_startTime = MonotonicTime(); { }? > Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp:49 > +static const Seconds minimumLifetime = Seconds(2 * 60); 2_min? > Source/WebKit2/UIProcess/Plugins/PluginProcessProxy.cpp:52 > +static const Seconds shutdownTimeout = Seconds(1 * 60); 1_min? > Source/WebKit2/UIProcess/ResponsivenessTimer.cpp:31 > +static const Seconds responsivenessTimeout = Seconds(3); 3_s? > Source/WebKit2/UIProcess/WebProcessPool.cpp:1422 > + static const Seconds maximumTimerThrottlePerPage = Seconds::fromMilliseconds(200) * 100; 200_ms (or even 20_s for the whole thing). > Source/WebKit2/UIProcess/WebProcessPool.cpp:1424 > + Seconds limit = maximumTimerThrottlePerPage * m_hiddenPageThrottlingAutoIncreasesCounter.value(); auto? > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePlugin.cpp:329 > + Seconds timeInterval = Seconds::fromMilliseconds(m_interval); auto? > Source/WebKit2/WebProcess/Plugins/PluginView.cpp:81 > +static const Seconds pluginSnapshotTimerDelay = Seconds(1.1); 1.1_s? > Source/WebKit2/WebProcess/WebPage/WebPage.cpp:2054 > + Seconds newInterval = m_layerVolatilityTimer.repeatInterval() * 2; auto? > Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:309 > + const Seconds initialFlushDelay = 0.5_s; > + const Seconds flushDelay = 1.5_s; > + Seconds throttleDelay = m_isThrottlingLayerFlushes ? (m_isInitialThrottledLayerFlush ? initialFlushDelay : flushDelay) : 0_s; auto? > Source/WebKit2/WebProcess/WebProcess.cpp:145 > +static const Seconds nonVisibleProcessCleanupDelay = Seconds(10); 10_s?
Sam Weinig
Comment 29 2016-11-27 15:27:58 PST
Comment on attachment 295467 [details] Patch rs=me when you fix all the builds / tests.
Simon Fraser (smfr)
Comment 30 2016-11-27 23:03:53 PST
Simon Fraser (smfr)
Comment 31 2016-12-04 20:12:39 PST
Simon Fraser (smfr)
Comment 32 2016-12-04 20:44:36 PST
WebKit Commit Bot
Comment 33 2016-12-04 20:47:54 PST
Attachment 296120 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 295 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 34 2016-12-04 22:13:12 PST
WebKit Commit Bot
Comment 35 2016-12-04 22:18:26 PST
Attachment 296128 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 296 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 36 2016-12-04 23:00:56 PST
WebKit Commit Bot
Comment 37 2016-12-04 23:03:14 PST
Attachment 296129 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 298 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 38 2016-12-04 23:13:55 PST
WebKit Commit Bot
Comment 39 2016-12-04 23:17:11 PST
Attachment 296130 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 301 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 40 2016-12-04 23:24:36 PST
WebKit Commit Bot
Comment 41 2016-12-04 23:41:23 PST
Attachment 296131 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 301 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 42 2016-12-05 09:13:46 PST
WebKit Commit Bot
Comment 43 2016-12-05 09:21:53 PST
Attachment 296143 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 302 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 44 2016-12-05 09:28:39 PST
WebKit Commit Bot
Comment 45 2016-12-05 09:32:08 PST
Attachment 296148 [details] did not pass style-queue: ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:318: More than one command on the same line in if [whitespace/parens] [4] ERROR: Source/WebCore/ChangeLog:8: You should remove the 'No new tests' and either add and list tests, or explain why no new tests were possible. [changelog/nonewtests] [5] ERROR: Source/WebCore/platform/Timer.h:159: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 3 in 303 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 46 2018-08-28 17:16:55 PDT
This all happened.
Note You need to log in before you can comment on or make changes to this bug.