[Webkit-unassigned] [Bug 218078] New: Web Audio continues to play when navigating off the web page via an iframe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 22 06:43:10 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218078

            Bug ID: 218078
           Summary: Web Audio continues to play when navigating off the
                    web page via an iframe
           Product: WebKit
           Version: Safari 14
          Hardware: Macintosh
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: adam552 at gmail.com
                CC: cdumez at apple.com

Overview:
I have a web page playing Web Audio. This page contains an iframe. The iframe redirects the browser to another url on the same domain when the redirect button in it is clicked. The browser loads the new web page, but web audio continues to play for the previous page.


Steps to Reproduce: 

I have built an example at https://github.com/AdamXA/phaser3-webaudio-bug which requires an npm install and npm start to run the example.

1) View the page, see the canvas being rendered and hear the background music playing via Web Audio.

2) Click the white 'Click here' text in the top left of the canvas to be redirected to another web page.

Actual Results: Web Audio from the original page continues to play even though we are on a new page. If there is web audio on the new page, audio from both of those pages will play web audio simultaneously.

Additional Builds and Platforms: iOS and macOS Safari 14.0 and earlier

Additional Information: For some extra context behind this bug see: https://github.com/photonstorm/phaser/issues/5370

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201022/b3386098/attachment.htm>


More information about the webkit-unassigned mailing list