Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Issue 2144933002: Fix the T-Rex easter egg on iOS. (Closed)

Created:
4 years, 5 months ago by kkhorimoto
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the T-Rex easter egg on iOS. In this CL: - Always supply a user agent to WKWebViews in web//'s creation methods. This allows the IS_IOS variable in offline.js to be correctly set to true. - Delay initializing the game runner until after images have been loaded. - Check for existence of errorPageController when activating the game. BUG=none Committed: https://crrev.com/068ace2593da95f2f47b20432e02e8d1e3706807 Cr-Commit-Position: refs/heads/master@{#406949}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Eugene's comments #

Patch Set 3 : rebase #

Total comments: 7

Patch Set 4 : Edward's comments #

Total comments: 2

Patch Set 5 : fixed indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M components/neterror/resources/offline.js View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M ios/web/web_state/web_view_internal_creation_util.mm View 1 2 3 1 chunk +16 lines, -13 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
kkhorimoto
4 years, 5 months ago (2016-07-13 00:42:03 UTC) #2
mmenke
[+edwardjung] Going to defer to edwardjung on this, as I'm unfamiliar with the code for ...
4 years, 5 months ago (2016-07-13 02:32:01 UTC) #6
Eugene But (OOO till 7-30)
Thanks a lot for fixing this. Have no idea how could we ship the product ...
4 years, 5 months ago (2016-07-13 05:28:57 UTC) #10
kkhorimoto
https://codereview.chromium.org/2144933002/diff/1/components/neterror/resources/offline.js File components/neterror/resources/offline.js (right): https://codereview.chromium.org/2144933002/diff/1/components/neterror/resources/offline.js#newcode295 components/neterror/resources/offline.js:295: if(!Runner.imageSprite.complete) { On 2016/07/13 05:28:57, Eugene But wrote: > ...
4 years, 5 months ago (2016-07-13 17:54:53 UTC) #11
edwardjung
Sorry for the delay, was OOO. Thanks for putting together this fix! https://codereview.chromium.org/2144933002/diff/40001/components/neterror/resources/offline.js File components/neterror/resources/offline.js ...
4 years, 5 months ago (2016-07-18 10:37:11 UTC) #12
kkhorimoto
https://codereview.chromium.org/2144933002/diff/40001/components/neterror/resources/offline.js File components/neterror/resources/offline.js (right): https://codereview.chromium.org/2144933002/diff/40001/components/neterror/resources/offline.js#newcode295 components/neterror/resources/offline.js:295: if (!Runner.imageSprite.complete) { On 2016/07/18 10:37:11, edwardjung wrote: > ...
4 years, 5 months ago (2016-07-20 01:18:29 UTC) #13
edwardjung
LGTM errorPageController being null on iOS is probably a bug. I won't let it block ...
4 years, 5 months ago (2016-07-20 21:37:57 UTC) #14
edwardjung
Sorry one nit https://codereview.chromium.org/2144933002/diff/60001/components/neterror/resources/offline.js File components/neterror/resources/offline.js (right): https://codereview.chromium.org/2144933002/diff/60001/components/neterror/resources/offline.js#newcode300 components/neterror/resources/offline.js:300: this.init.bind(this)); Nit: JS style is to ...
4 years, 5 months ago (2016-07-20 21:39:17 UTC) #15
mmenke
LGTM, rubberstamp, deferring to edwardjung.
4 years, 5 months ago (2016-07-20 22:04:18 UTC) #16
kkhorimoto
https://codereview.chromium.org/2144933002/diff/60001/components/neterror/resources/offline.js File components/neterror/resources/offline.js (right): https://codereview.chromium.org/2144933002/diff/60001/components/neterror/resources/offline.js#newcode300 components/neterror/resources/offline.js:300: this.init.bind(this)); On 2016/07/20 21:39:17, edwardjung wrote: > Nit: JS ...
4 years, 5 months ago (2016-07-21 18:30:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2144933002/80001
4 years, 5 months ago (2016-07-21 18:31:11 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-21 21:23:52 UTC) #21
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 21:25:53 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/068ace2593da95f2f47b20432e02e8d1e3706807
Cr-Commit-Position: refs/heads/master@{#406949}

Powered by Google App Engine
This is Rietveld 408576698