New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AUDIO tag stops SAFE Browser from rendering #196
Comments
Thanks for bringing it up to our notice. However, this seems to be a chromium related issue which ripples in electron. Here is the link to the issue . We will check into the issue certainly and figure out what best we can do. Thanks again! |
@krishnaIndia Reading through that ticket, it would appear the issue is specifically that AUDIO or VIDEO tags don't work. In the case reported here, the AUDIO tag does work: the mp3 audio plays just fine. After loading a page with AUDIO successfully, however, the SAFE Browser will not render any pages (even those with no AUDIO tag). |
@btbonval, I get you now. A similar issue was also reported previously in one of the testnets. We will try to reproduce this at our end and resolve. |
@btbonval what flavour of linux are you running? I was not able to reproduce this on OSX or Ubuntu 16.04 |
I'm testing under Linux Mint 18.1 which appears to be based on Ubuntu 16.04. So after loading an HTML page with an AUDIO tag, you could open new tabs and they rendered using SAFE Browser built from alpha-2 tag on git? |
I wanted to highlight more of my workflow and version numbers, since @joshuef and I are running similar operating systems. For the original error report above, I was using the alpha-2 tag with commit 5cc7965. However, someone changed the beaker-plugin-safe-app-0.3.0.tgz file without updating the file version or file name, so alpha-2 doesn't work anymore:
Side note: please update version numbers when changing a file or append the hash onto the file name. It really helps keep things consistent between source repos and static file hosting. Appending the hash to file names is common for files hosted on CDN to avoid similar out-of-sync problems between e.g. HTML and CSS, JS and HTML, or two JS files, which might be updated independently. Just like with web_hosting_manager, the solution was to ditch the tag and switch to master. So now I'm using safe_browser master with commit bf21e5e with a fresh compiled version of the browser. I'm using the following versions:
My build process:
There's an intermediary step here because I sandbox dev from testing as a matter of personal practice. I move the tgz to a new system.
To keep the replication steps as simple as possible:
|
Thanks for the detailed updates! One note on your build process, you want to have a
If this is the case, it could well be that you're hitting a browser tab/webview issue. There's been some problems with electron webviews not rendering properly. Perhaps you can try increasing z-index of the webview via devtools of the browser (or tweaking some other css)? Sorry to say, @btbonval we don't support mint at the moment. We don't have a system to test against so I can't dig deeper. (As noted, everything worked as expected on Ubuntu 16.) I'll leave this open for now incase you're able to debug the browser tabs via devtools 👍 Thanks @btbonval |
Thanks for the feedback, @joshuef . I thought The good news is that the problem isn't reproducible ;) That means, generally, an app with AUDIO should work for most people, and it can be tested even when this error is present, it just requires restarting the browser sometimes. The dev tools show up. I can even inspect the HTML, but nothing on the page highlights. I'll try changing the z-index as an experiment. However, if I use I'll post any experiment results here. |
Even your devtools would be destroyed as the
👍 |
I'm closing this now as we are not supporting Mint for the moment. Please feel free to re-open it if this issue is seen still in the supported platforms though. |
Operation System: Linux 64-bit
Beaker Version: ??
SAFE Browser Version: 0.6.0 (alpha-2)
Notes: I'm using mocknet. Compiled and run with
NODE_ENV=dev
.Problem
If I include an AUDIO tag (from the HTML5 standard), the SAFE Browser will load that page correctly, then it will not render any new pages or reload any previously loaded pages. Existing pages continue to render.
I have evidence that the page does execute but does not render. This is based on the dev tools, which shows the full set of page contents as being populated. Additionally, an AUDIO tag set to autoplay will play even when the HTML is not rendered.
I see this problem with both file:// and safe:// protocols.
Steps to reproduce
file.mp3
.HTML file:
More info
Once the rendering stops,
Window > Developer Tools > Reload Shell Window
causes the whole window to go blank outside the menu (all tabs are lost).Closing and restarting the SAFE Browser will allow the browser to render again... an AUDIO tag shows up.
Related issues
I searched both https://github.com/beakerbrowser/beaker/issues and https://github.com/electron/electron/issues for issues related to Audio tags, but could not find any case in which the rendered display was relevant.
The text was updated successfully, but these errors were encountered: