RESOLVED FIXED 205687
[iOS] Replace "unexpectedly resumed" observer with RunningBoard suspendible assertions
https://bugs.webkit.org/show_bug.cgi?id=205687
Summary [iOS] Replace "unexpectedly resumed" observer with RunningBoard suspendible a...
Chris Dumez
Reported 2020-01-02 10:43:25 PST
Replace "unexpectedly resumed" observer with RunningBoard suspendible assertions, to avoid unexpected terminations.
Attachments
Patch (35.10 KB, patch)
2020-01-02 10:47 PST, Chris Dumez
no flags
Patch (35.42 KB, patch)
2020-01-02 11:49 PST, Chris Dumez
no flags
Patch (35.34 KB, patch)
2020-01-02 12:00 PST, Chris Dumez
no flags
Patch (35.75 KB, patch)
2020-01-02 12:29 PST, Chris Dumez
no flags
Patch (35.91 KB, patch)
2020-01-02 12:32 PST, Chris Dumez
no flags
Patch (35.89 KB, patch)
2020-01-02 12:44 PST, Chris Dumez
no flags
Patch (36.70 KB, patch)
2020-01-02 13:17 PST, Chris Dumez
no flags
Patch (36.74 KB, patch)
2020-01-27 14:58 PST, Chris Dumez
no flags
Patch (37.39 KB, patch)
2020-03-09 14:27 PDT, Chris Dumez
no flags
Patch (36.64 KB, patch)
2020-03-09 14:58 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-01-02 10:43:41 PST
Chris Dumez
Comment 2 2020-01-02 10:47:51 PST
Chris Dumez
Comment 3 2020-01-02 11:49:34 PST
Chris Dumez
Comment 4 2020-01-02 12:00:42 PST
Chris Dumez
Comment 5 2020-01-02 12:29:16 PST
Chris Dumez
Comment 6 2020-01-02 12:32:41 PST
Chris Dumez
Comment 7 2020-01-02 12:44:29 PST
Chris Dumez
Comment 8 2020-01-02 13:17:36 PST
WebKit Commit Bot
Comment 9 2020-01-02 15:28:10 PST
Comment on attachment 386624 [details] Patch Clearing flags on attachment: 386624 Committed r253984: <https://trac.webkit.org/changeset/253984>
WebKit Commit Bot
Comment 10 2020-01-02 15:28:12 PST
All reviewed patches have been landed. Closing bug.
Truitt Savell
Comment 11 2020-01-03 09:26:34 PST
Chris Dumez
Comment 12 2020-01-03 09:30:25 PST
Chris Dumez
Comment 13 2020-01-27 14:56:24 PST
Reopening to revert since this appears to have caused assertion leaks.
Chris Dumez
Comment 14 2020-01-27 14:58:02 PST
Chris Dumez
Comment 15 2020-01-27 15:37:54 PST
Comment on attachment 388920 [details] Patch Clearing flags on attachment: 388920 Committed r255189: <https://trac.webkit.org/changeset/255189>
Chris Dumez
Comment 16 2020-01-27 15:37:56 PST
All reviewed patches have been landed. Closing bug.
Chris Dumez
Comment 17 2020-01-28 14:58:42 PST
Reopening since this was reverted but we'll likely try again soon.
Chris Dumez
Comment 18 2020-03-09 14:27:24 PDT
Chris Dumez
Comment 19 2020-03-09 14:58:01 PDT
WebKit Commit Bot
Comment 20 2020-03-09 18:17:13 PDT
Comment on attachment 393077 [details] Patch Clearing flags on attachment: 393077 Committed r258180: <https://trac.webkit.org/changeset/258180>
WebKit Commit Bot
Comment 21 2020-03-09 18:17:15 PDT
All reviewed patches have been landed. Closing bug.
Timothy Hatcher
Comment 22 2020-05-26 06:42:04 PDT
*** Bug 203293 has been marked as a duplicate of this bug. ***
Pedro Furtado
Comment 23 2020-05-27 14:48:28 PDT
In which version of iOS it will be available?
Alex Christensen
Comment 24 2020-05-27 15:30:03 PDT
We can't comment on future releases, but what is your interest in this particular change?
jcesarmobile
Comment 25 2020-05-27 16:09:24 PDT
People is probably interested in "WKWebView: audio tag sound stops when app goes to background on iOS 13", that has been marked as duplicate of this one, so I guess this change solves that problem too and it's not strange that a lot of people is waiting for it.
Joe Moore
Comment 26 2020-05-28 08:34:11 PDT
The backgrounded webkit audio bug is definitely why I'm interested in this fix deployment, assuming that this fix does, in fact, fix the audio bug, too.
Pedro Furtado
Comment 27 2020-05-28 08:47:48 PDT
I am in same situation, Joe. Waiting a release with this fix.
brian+webkitbugzilla
Comment 28 2020-06-02 13:16:19 PDT
+1, this fix was referenced from https://bugs.webkit.org/show_bug.cgi?id=198277, which my users are very interested to see released.
Chris Dumez
Comment 29 2020-06-02 13:24:04 PDT
This particular change shipped yesterday in iOS 13.5.1. If you can still reproduce it in 13.5.1, then your bug was mistakenly duped (and I suspect it was).
brian+webkitbugzilla
Comment 30 2020-06-02 18:51:12 PDT
It looks like your suspicion was correct: this did not fix https://bugs.webkit.org/show_bug.cgi?id=198277
Chris Dumez
Comment 31 2020-06-02 18:56:08 PDT
(In reply to brian+webkitbugzilla from comment #30) > It looks like your suspicion was correct: this did not fix > https://bugs.webkit.org/show_bug.cgi?id=198277 Waiting a bit to give others a chance to confirm. If everybody agrees the background audio bug is not fixed, I will un-dupe.
Pedro Furtado
Comment 32 2020-06-02 19:37:07 PDT
Confirmed: not fixed yet. The bug still occurs. Our app, and even a blank app that I created in a few minutes, not work with iOS 13.5.1. Please, could you reopen this bug?
Pedro Furtado
Comment 33 2020-06-02 19:38:47 PDT
Anyway, this bug also happens in iOS 13.5.1 : 203293 - WKWebView: audio tag sound stops when app goes to background on iOS 13 (https://bugs.webkit.org/show_bug.cgi?id=203293)
Bernardo Oliveira
Comment 34 2020-06-09 01:03:09 PDT
(In reply to Chris Dumez from comment #31) > (In reply to brian+webkitbugzilla from comment #30) > > It looks like your suspicion was correct: this did not fix > > https://bugs.webkit.org/show_bug.cgi?id=198277 > > Waiting a bit to give others a chance to confirm. If everybody agrees the > background audio bug is not fixed, I will un-dupe. Here I'm using the iOS 13.5.1 and audio stops playing when a standalone web app is no longer in the foreground or in lock screen.
Chris Dumez
Comment 35 2020-06-09 07:25:57 PDT
(In reply to Bernardo Oliveira from comment #34) > (In reply to Chris Dumez from comment #31) > > (In reply to brian+webkitbugzilla from comment #30) > > > It looks like your suspicion was correct: this did not fix > > > https://bugs.webkit.org/show_bug.cgi?id=198277 > > > > Waiting a bit to give others a chance to confirm. If everybody agrees the > > background audio bug is not fixed, I will un-dupe. > > Here I'm using the iOS 13.5.1 and audio stops playing when a standalone web > app is no longer in the foreground or in lock screen. The bugs were already deduped.
alex7golovin
Comment 36 2020-06-16 09:15:39 PDT
Waiting for this fix for our PWA which has audio content
Chris Dumez
Comment 37 2020-06-16 09:16:44 PDT
(In reply to alex7golovin from comment #36) > Waiting for this fix for our PWA which has audio content Then this is not the fix you're looking for.
alex7golovin
Comment 38 2020-06-16 09:26:07 PDT
(In reply to Chris Dumez from comment #37) > (In reply to alex7golovin from comment #36) > > Waiting for this fix for our PWA which has audio content > > Then this is not the fix you're looking for. Ahh.. all right, sorry will wait for [another one](https://bugs.webkit.org/show_bug.cgi?id=198277) :)
Note You need to log in before you can comment on or make changes to this bug.