Page MenuHomePhabricator

[Spike 2hr]: Why is it not possible to search from the UC mini browser?
Closed, ResolvedPublic

Description

Story
As a UC mini browser user, I want the ability to search

Description

Investigate ways to search from UC mini browser

Background

Today there's no way to do a search from the UC mini browser (on Android).

There's no search button and no way to just click return. The search field is visible and you can write text but you cannot do anything more.

uc.gif (800×480 px, 4 MB)

Event Timeline

jhobs triaged this task as Medium priority.Jun 2 2016, 5:16 PM
jhobs moved this task from Incoming to Triaged but Future on the Web-Team-Backlog board.
dr0ptp4kt raised the priority of this task from Medium to High.Aug 10 2016, 2:37 PM
dr0ptp4kt subscribed.

@Nirzar do you want this to basically look like Opera Mini compressed?

Wouldn't this be fixed automatically if we serve the same version to UC Mini as Opera Mini? Right now UC Mini uses the Javascript version right?

@Nirzar, I'm not sure about the root cause. UC Mini applies a number of techniques. @Peter would you happen to know off the top of your head how UC Mini is treated in the ResourceLoader / NORLQ / <noscript> context?

@dr0ptp4kt I don't know but my guess it is not, but we should check. I'm thinking that we miss the search button either is that UC Mini strips away that for us (is that likely?) or we send the Javascript version.

@ovasileva @Nirzar @phuedx We determined that this needs more investigation before we can tackle it. Can you come up with a spike to review what's possible and what the approach could be?

ovasileva renamed this task from Make it possible to search from the UC mini browser to [Spike 2hr]: Make it possible to search from the UC mini browser.Sep 21 2016, 4:27 PM
ovasileva updated the task description. (Show Details)
ovasileva moved this task from Needs Analysis to To Do on the Reading-Web-Sprint-82-Xpect-Rspec board.

I've spun off T146699 as part of my investigations so far which is part of the problem and I've also captured T146703.

Useful things that I've learned so far:

  • UC Mini Browser cannot handle async JS loading. As a result the startup module never loads but the inline script removes the client-nojs class - so the page gets stuck in a limbo state.
  • The user agent is rather unhelpfully "Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv: 1.2.3.4) Gecko/"
  • UC Mini browser doesn't support landscape mode
  • Debugging in uc mini browser is hard. No support for console.log or window.alert ... I had to use document.title and document.write (eek). Cache clearing is needed after every page view.

I think this can be continued in T136803 - this work touches the performance team's stack so it would be good to get a sense from them what can be done to fix this.

@Jdlrobson I think you meant "UC Mini Browser" when you wrote "UC Browser", right? For documentation purposes it would also be good if you could mention the browser version and the OS it's running on.

Yup. I've corrected. Thanks for pointing that out. Most of the actionable information is captured however in T146699.

Would it be fair to retitle this task to something like the following: "Is it possible to search from the UC Mini browser?"

Jdlrobson renamed this task from [Spike 2hr]: Make it possible to search from the UC mini browser to [Spike 2hr]: Why is it not possible to search from the UC mini browser?.Sep 27 2016, 3:15 PM

Why is it not possible to search from the UC mini browser?

Given T136803#2668897, It is not possible because UC mini doesn't support async script tags so it isn't getting neither the no-js version nor the js one, being stuck in an unusable state.

T146699: Browsers that do not support async JS do not degrade gracefully has been created as a result of the spike.

I was wrong. It's not async. I'm investigating further.

@Jdlrobson why is this task in sign off? Your last comment says you're investigating.

@bmansurov sorry the outcome is T147369. It was not async that was the problem. It just cannot handle a lot of the JS we run.