NEW 165560
Add hysteresis to ActivityState IsAudible & IsLoading flags
https://bugs.webkit.org/show_bug.cgi?id=165560
Summary Add hysteresis to ActivityState IsAudible & IsLoading flags
Gavin Barraclough
Reported 2016-12-07 16:14:49 PST
There is currently no hysteresis on IsAudible. This could potentially lead to stalls in audio playlists if completion of one track were to schedule a new track on a zero delay timer. Keep the audio playing flag fuzzily set for a few seconds after the last track stops, to give the page a brief chance to queue another track up before throttling kicks in. Similar for IsLoading.
Attachments
Fix (9.18 KB, patch)
2016-12-07 16:19 PST, Gavin Barraclough
ggaren: review+
buildbot: commit-queue-
Archive of layout-test-results from ews122 for ios-simulator-wk2 (6.99 MB, application/zip)
2016-12-07 17:17 PST, Build Bot
no flags
Retest (9.18 KB, patch)
2016-12-08 00:17 PST, Gavin Barraclough
buildbot: commit-queue-
Archive of layout-test-results from ews124 for ios-simulator-wk2 (12.00 MB, application/zip)
2016-12-08 01:13 PST, Build Bot
no flags
Retest (9.18 KB, patch)
2016-12-08 10:06 PST, Gavin Barraclough
buildbot: commit-queue-
Test (645 bytes, patch)
2016-12-08 10:06 PST, Gavin Barraclough
no flags
Archive of layout-test-results from ews126 for ios-simulator-wk2 (520.34 KB, application/zip)
2016-12-08 11:09 PST, Build Bot
no flags
WebPage changes only (4.78 KB, patch)
2016-12-08 14:35 PST, Gavin Barraclough
no flags
WebPageProxy changes only (6.52 KB, patch)
2016-12-08 16:15 PST, Gavin Barraclough
buildbot: commit-queue-
Archive of layout-test-results from ews122 for ios-simulator-wk2 (422.50 KB, application/zip)
2016-12-08 17:37 PST, Build Bot
no flags
Gavin Barraclough
Comment 1 2016-12-07 16:19:44 PST
WebKit Commit Bot
Comment 2 2016-12-07 16:22:11 PST
Attachment 296435 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:364: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 3 2016-12-07 16:31:23 PST
Comment on attachment 296435 [details] Fix r=me
Build Bot
Comment 4 2016-12-07 17:16:57 PST
Comment on attachment 296435 [details] Fix Attachment 296435 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2646879 Number of test failures exceeded the failure limit.
Build Bot
Comment 5 2016-12-07 17:17:00 PST
Created attachment 296446 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Gavin Barraclough
Comment 6 2016-12-08 00:17:24 PST
WebKit Commit Bot
Comment 7 2016-12-08 00:19:55 PST
Attachment 296504 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:363: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 8 2016-12-08 01:13:01 PST
Comment on attachment 296504 [details] Retest Attachment 296504 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2650688 Number of test failures exceeded the failure limit.
Build Bot
Comment 9 2016-12-08 01:13:04 PST
Created attachment 296506 [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
Gavin Barraclough
Comment 10 2016-12-08 10:06:19 PST
Gavin Barraclough
Comment 11 2016-12-08 10:06:38 PST
WebKit Commit Bot
Comment 12 2016-12-08 10:09:25 PST
Attachment 296525 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:363: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 13 2016-12-08 10:10:08 PST
Attachment 296526 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:362: Extra space after ( in function call [whitespace/parens] [4] Total errors found: 1 in 1 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 14 2016-12-08 11:09:37 PST
Comment on attachment 296525 [details] Retest Attachment 296525 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2654523 Number of test failures exceeded the failure limit.
Build Bot
Comment 15 2016-12-08 11:09:40 PST
Created attachment 296537 [details] Archive of layout-test-results from ews126 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Gavin Barraclough
Comment 16 2016-12-08 14:35:18 PST
Created attachment 296570 [details] WebPage changes only
Gavin Barraclough
Comment 17 2016-12-08 16:15:18 PST
Created attachment 296587 [details] WebPageProxy changes only
WebKit Commit Bot
Comment 18 2016-12-08 16:16:35 PST
Attachment 296587 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/WebPageProxy.cpp:363: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 19 2016-12-08 17:37:08 PST
Comment on attachment 296587 [details] WebPageProxy changes only Attachment 296587 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2657457 Number of test failures exceeded the failure limit.
Build Bot
Comment 20 2016-12-08 17:37:11 PST
Created attachment 296601 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Note You need to log in before you can comment on or make changes to this bug.