AMP page content couldn't get rendered occasionally when using iOS device models in Chrome DevTools
What's the issue?
Sometimes when I was using Chrome DevTools + spoofing iOS UA (e.g. iPhone 5/6) and performed a query on Google Search, publishers' AMP pages would be blank:
As you can see, only the title bar of AMP viewer appeared. I've also checked the Network panel, and all the resources seem to be downloaded successfully.
How do we reproduce the issue?
- Open Chrome's Incognito mode (this is not mandatory, but the chance for this issue to be reproduced seems to be higher if it's in Incognito mode)
- Change the device type to "iPhone 6"
- Visit www.google.co.in
- Search "India News"
- Click a news article which is NOT placed in any of the carousels in Google Search.
It's not always reproducible. Also, sometimes when you force refreshing the page, the content would be correctly displayed again.
What browsers are affected?
Chrome + spoofing iOS device models (iPhone 6 / iPhone5)
Which AMP version is affected?
1504119607313
@eric30 Do you know if this happens on real devices as well or just when spoofing with DevTools?
/cc @jridgewell @dvoytenko
I have no idea what's going on here. Maybe a gpu bug? Thankfully, I can't reproduce it on an actual iOS device.
Sorry for the late reply. I was unable to reproduce on actual iOS devices either. It's just I've got some feedback from developers that this does impact the development process.
Promoting to P0, we've had a second report. Reproducible at https://www.google.com/amp/s/picdx.com/isabellemathersx in iOS Simulator and using Chrome's simulator.
/cc @dvoytenko This has something to do with the iOS viewer.
Turns out #11411 is not a duplicate, just looked similar.
I'm able to reproduce this reliably by doing:
- Clear all data from
https://m-timesofindia-com.cdn.ampproject.org/c/m.timesofindia.com/amp_india- Dev tools > Application > Clear Storage > Clear Site Data
- Set your mobile emulation to an iOS browser
- Go to https://www.google.co.in
- Search for "India News"
- Click Times of India result below carousel
I get a feedback from developers who also get this issue.
In iOS Google App (real iPhone, not in Chrome DevTools), search "feebee 拍賣 冰霸杯" and tap the feebee AMP page, we will see AMP page is blank.
Here is screenshot:

@101keith or @eric30 are either of you able to reproduce on an actual iOS device (using iOS Safari 8, 9, 10, or 11)? Or is this only happening when emulating Safari on desktop Chrome?
Edit: I see @101keith is getting this is Google Search App.
@101keith: Your bug is an unrelated issue in iGSA. I've created a tracking issue at https://github.com/ampproject/amphtml/issues/11445, please leave further comments there.
@ericfs - Can you take a look at this. Looks like the viewer has some issues painting the iframe.
Only happens if you follow the steps above.
Does not happen when you enter the url like this directly like this.
https://www.google.com/amp/m.timesofindia.com/india/drug-mafia-is-after-me-honeypreet-singh-in-anticipatory-bail-plea/amp_articleshow/60838284.cms
@stephen-deg for iOS
@ericfs: It's not an iGSA issue, it's Chrome emulating iOS on desktop. Ignore @101keith's comment, it's a separate issue.
Tracked internally: b/64733151
I can't repro even following Justin's instructions so not sure if this is viewer or runtime issue.
Tried again with Mac Chrome and was able to repro
@jridgewell, @ericfs, could anyone confirm whether this is reproducible on an actual device (i.e. is this really P0 or not). Planning to look into it today if really P0. Thanks.
I have no evidence that this has happened on an actual device.
I was also unable to produce on a device.
I was unable to reproduce on a real device either (specified here)