New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 880817 link

Starred by 5 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Feature



Sign in to add a comment

chrome://dino is not available for mobile version

Reported by cristian...@gmail.com, Sep 5

Issue description

Steps 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
 
A535AB93-1168-4787-BB28-ABE51D52B234.jpeg
214 KB View Download
Cc: mard...@chromium.org
Cc: michaeldo@chromium.org justincohen@chromium.org
Components: -UI Mobile>WebView>Glue UI>Browser>WebUI
Owner: eugene...@chromium.org
Status: Assigned (was: Unconfirmed)
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?
Cc: eugene...@chromium.org
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Owner: ----
Status: Available (was: Assigned)
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 :(
Components: -Mobile>WebView>Glue
Labels: Hotlist-GoodFirstBug
Cc: pkl@chromium.org
Peter, I think we should prioritize the fix for 10th anniversary. WDYT?
Cc: rohitrao@chromium.org ghendel@chromium.org edwardjung@chromium.org stkhapugin@chromium.org
 Issue 859236  has been merged into this issue.
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?
Enabling Airplane mode works. 
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.
 
What is chrome://dino used for? Do users actually end up on this page?

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?
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.

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.

Labels: Hotlist-ConOps
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 :)
Owner: edwardjung@chromium.org
Status: Started (was: Available)
Started trying to get this going.

Any tips / examples on the convention used for pulling in an existing template / resources?

Thank you for taking this! GetWebUIIOSFactoryFunction is an entry point for serving WebUI on iOS.
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?


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.
Status: Available (was: Started)
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.


This error still reproduces. Cannot play Dino. Can't beat Parisa's score. Please help.

https://twitter.com/laparisa/status/1037023216613511168
Owner: ----
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