chrome://dino is not available for mobile version
Reported by
cristian...@gmail.com,
Sep 5
|
||||||||||
Issue descriptionSteps to reproduce the problem: 1. Open chrome on iOS 2. Put on url chrome://dino 3. Browser says: this site cant be reached What is the expected behavior? Open dino What went wrong? Dino is not available Did this work before? N/A Chrome version: <Copy from: 'about:version'> Channel: stable OS Version: 11.4.1 Flash Version: Make it dino available for iOS version
,
Sep 5
The dino game works on iOS when there's a network disconnected error, but it looks like there's no WebUI wrapper in ios/ for the dino game, so chrome://dino fails. eugenebut@/michaeldo@ would this be an easy thing to add?
,
Sep 6
It seems like other platform generate network stack error for kChromeUIDinoHost URLs. This is not possible on iOS, so as Justin said, we need to create a WebUI page for kChromeUIDinoHost. Neither me, nor Mike will have bandwidth to fix chrome://dino any time soon :(
,
Sep 6
,
Sep 7
Peter, I think we should prioritize the fix for 10th anniversary. WDYT?
,
Sep 7
Issue 859236 has been merged into this issue.
,
Sep 7
I'm not sure, but I'll defer to +mardini@ on prioritization. Wish we knew about chrome://dino not working on iOS a couple of weeks before M69 launched. Enabling airplane mode works, isn't it?
,
Sep 7
Enabling Airplane mode works.
,
Sep 7
Apologies, I hadn't realised that the the network error pages shortcuts stopped working on iOS. I believe they used to when I first implemented them years ago? Looking at chrome://about seems most of the chrome:// pages aren't available on iOS. I'm not familiar with the iOS stack but could take a stab if there is a corresponding example to follow.
,
Sep 7
What is chrome://dino used for? Do users actually end up on this page?
,
Sep 7
This is for users who want to play the dino game while being online (i.e. while listening to a music streaming service). I think it's a nice-to-have but I wouldn't prioritize this if no one has bandwidth to do it. Edward: Is this something you can look into if you have time? You said in #9 that they used to work?
,
Sep 7
I believe it used to work but maybe I'm mistaken. I've implemented things like chrome://interstitials and I'm sure that used to also work on iOS without. Did something change so that all these chrome URLs got dropped? Yeah I could have a look when I have time.
,
Sep 7
Since WKWebView won't allow the use of Chrome network stack, a feature that depends on a specific error code from network stack won't work. eugenebut@'s suggestion of using WebUI wrapper is probably the way to go. It might have worked in the past when UIWebView was used, but I believe that it has always been the case that only selected chrome:// pages are supported on iOS.
,
Sep 8
As an FYI, the chrome://dino page was featured in this article this week: https://www.blog.google/products/chrome/chrome-dino/ Still just a nice to have, but that's some extra context :)
,
Sep 26
Started trying to get this going. Any tips / examples on the convention used for pulling in an existing template / resources?
,
Sep 26
Thank you for taking this! GetWebUIIOSFactoryFunction is an entry point for serving WebUI on iOS.
,
Sep 28
Okay, I've got most of the way there, I am able to get the chrome://dino URL setup and pointing to a page. Unfortunately I'm encountering an issue with using the existing template at: components/neterror/resources/neterror.html The neterror page uses webui::GetTemplatesHtml() to auto insert the JS required for JStemplates parsing. I need a way of injecting the additional JS template resources into the template obtained in an WebUIIOSDataSource object. Any suggestions? None of the other chrome url pages do something similar. Should I create a separate iOS template?
,
Sep 28
I believe that creating a separate template for iOS is fine and I can't think of a better option. It would be great if we could minimize code duplication however.
,
Oct 12
I had a stab but was only able to get so far, per #17. I don't have spare time to continue trying to figure out a decent solution that doesn't require duplicating parts of the existing template and code. So making it available again someone who has time.
,
Dec 3
This error still reproduces. Cannot play Dino. Can't beat Parisa's score. Please help. https://twitter.com/laparisa/status/1037023216613511168
,
Dec 3
It will be difficult to prioritize this given that the simple workaround is to go to airplane mode and play. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by justincohen@chromium.org
, Sep 5