Closed
Bug 798694
Opened 13 years ago
Closed 13 years ago
Add UA override for yelp.com
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)
People
(Reporter: cjones, Assigned: ochameau)
References
Details
Attachments
(3 files, 1 obsolete file)
Yelp worked great with the Android UA.
With the new UA, we get served the full desktop site, which is borderline unusable on device.
Lawrence: Can you drive this one home
Assignee: nobody → lmandel
blocking-basecamp: ? → +
Comment 2•13 years ago
|
||
I've written up the policy, as discussed in the forums, here:
https://wiki.mozilla.org/Evangelism/UA_Override_List_Policy
1. I've opened tech evangelism bug 799884.
2. I've also filed a bug at http://www.yelp.com/contact
3. The proposed alternative UA is the one containing Android
4. We know this works from historical experience.
5. An override would be for B2G only.
Let's give Yelp a couple of days to respond. (Their claimed response time is less than a week.)
Gerv
Comment 3•13 years ago
|
||
Firefox-OS-specific overrides are defined in /b2g/app/b2g.js.
Priority: -- → P2
Reporter | ||
Comment 6•13 years ago
|
||
I'm really missing the usable yelp when dogfooding.
Comment 7•13 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #6)
> I'm really missing the usable yelp when dogfooding.
Is yelp still serving us a desktop site as of today? If so, I think it's time to consider going forward with a UA override, as there's been more then enough time passed after establishing contact with yelp.
Comment 8•13 years ago
|
||
Gerv, any update from Yelp?
Comment 9•13 years ago
|
||
Nope, no update from Yelp :-( We can go ahead and add the override.
Gerv
Flags: needinfo?(gerv)
Reporter | ||
Comment 10•13 years ago
|
||
Assignee: lmandel → jones.chris.g
Attachment #679212 -
Flags: review?(fabrice)
Comment 11•13 years ago
|
||
I followed up with a direct contact at Yelp yesterday. Let's give this another week to see if we can get any commitment from them to make the UA detection change on their end.
Comment 12•13 years ago
|
||
Comment on attachment 679212 [details] [diff] [review]
Spoof the b2g UA for yelp
Review of attachment 679212 [details] [diff] [review]:
-----------------------------------------------------------------
Chris, can you move this into the gaia build system, in a "ua-overrides.js" files like we already have for custom-prefs.js and payment-prefs.js ?
Attachment #679212 -
Flags: review?(fabrice)
Comment 13•13 years ago
|
||
I just heard back from Yelp that they are going to "sort this out". Now that I have a direct response, let's give them some additional time to do so before adding the UA override.
Comment 14•13 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] from comment #13)
> I just heard back from Yelp that they are going to "sort this out". Now that
> I have a direct response, let's give them some additional time to do so
> before adding the UA override.
I'd actually be more in favor of implementing the override first, and backing it out if we end up finding out that they landed support for our user agent. I think it's a more conservative strategy than playing the waiting game, IMO.
Comment 15•13 years ago
|
||
I'm OK with that approach if that's how people want to proceed. We can test for the UA fix using Phony on Android.
Comment 16•13 years ago
|
||
Thought I should add that according to the UA override policy [1],
"The site has proved unresponsive or unwilling to accommodate us (how long we wait for this will depend on factors such as the popularity of the site and the extent of breakage);"
I don't think Yelp passes this test at this point.
We should really try to avoid adding sites to the domain whitelist, which should be used as a last resort.
[1] https://wiki.mozilla.org/Evangelism/UA_Override_List_Policy
Reporter | ||
Comment 17•13 years ago
|
||
(In reply to Lawrence Mandel [:lmandel] from comment #16)
> Thought I should add that according to the UA override policy [1],
>
> "The site has proved unresponsive or unwilling to accommodate us (how long
> we wait for this will depend on factors such as the popularity of the site
> and the extent of breakage);"
>
> I don't think Yelp passes this test at this point.
Why not? What would need to change before yelp passes this test, in your view?
Comment 18•13 years ago
|
||
(In reply to Chris Jones [:cjones] [:warhammer] from comment #17)
> Why not? What would need to change before yelp passes this test, in your
> view?
Well, although this criteria includes an ambiguous amount of time, I received a response from Yelp yesterday indicating that they will "sort this out". I think we should give them more than 1 day to do so. However, it would be good to know when the cutoff point for the whitelist changes will be so that we can make a better informed decision wrt the time that we wait for this type of change.
Reporter | ||
Comment 19•13 years ago
|
||
Attachment #679212 -
Attachment is obsolete: true
Reporter | ||
Updated•13 years ago
|
Attachment #679907 -
Attachment description: Part 1: Move UA overrides into gaia → Parts 1 and 2: Move UA overrides into gaia
Attachment #679907 -
Flags: review?(fabrice)
Reporter | ||
Comment 20•13 years ago
|
||
Attachment #679909 -
Flags: review?(fabrice)
Comment 21•13 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #12)
> Chris, can you move this into the gaia build system, in a "ua-overrides.js"
> files like we already have for custom-prefs.js and payment-prefs.js ?
I note this is now happening. Fabrice: is this just a code reorganization, or does it have technical effect? E.g. do the overrides still apply both to B2G-Firefox and B2G-WebRT?
Gerv
Reporter | ||
Updated•13 years ago
|
Assignee: jones.chris.g → nobody
Comment 22•13 years ago
|
||
Milestoning for C2 (deadline of 12/10), as this meets the criteria of "known P2 bugs found before or during C1".
Target Milestone: --- → B2G C2 (20nov-10dec)
Updated•13 years ago
|
Assignee: nobody → poirot.alex
Comment 23•13 years ago
|
||
Comment on attachment 679909 [details] [diff] [review]
part 3: Remove UA overrides from b2g product proper
Review of attachment 679909 [details] [diff] [review]:
-----------------------------------------------------------------
r=me for this one but the Parts 1 & 2 are not there!
Attachment #679909 -
Flags: review?(fabrice) → review+
Comment 24•13 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #23)
> Comment on attachment 679909 [details] [diff] [review]
> part 3: Remove UA overrides from b2g product proper
>
> Review of attachment 679909 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> r=me for this one but the Parts 1 & 2 are not there!
Those are https://github.com/mozilla-b2g/gaia/pull/6304 ! :)
Reporter | ||
Comment 25•13 years ago
|
||
What Vivien said ;).
Updated•13 years ago
|
Attachment #679907 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 26•13 years ago
|
||
Assignee | ||
Comment 27•13 years ago
|
||
Please someone land attachment 679909 [details] [diff] [review], but leave the bug open after doing it.
As we still haven't whitelisted yelp.
Keywords: checkin-needed
Whiteboard: [Leave open after merge]
Updated•13 years ago
|
Whiteboard: [Leave open after merge] → [leave open]
Comment 28•13 years ago
|
||
Assignee | ||
Comment 29•13 years ago
|
||
Ok so here is the patch in order to finally whitelist yelp.com.
Do we agree on whitelisting yelp for now and eventually remove it when they finally get back to us and fix the issue?
Attachment #682029 -
Flags: review?(fabrice)
Comment 30•13 years ago
|
||
Lawrence asked when the deadline would be for this sort of change; that's useful data to have for this decision and others. Does anyone know the answer to that?
Gerv
Attachment #682029 -
Flags: review?(fabrice) → review+
Comment 31•13 years ago
|
||
I did not review because we don't want to land that yet.
Comment 32•13 years ago
|
||
Was it intentional that GAIA/custom-prefs.js now needs to be GAIA/build/custom-prefs.js? The use of addprefix looks like it may have been a bit overzealous.
Reporter | ||
Comment 33•13 years ago
|
||
(In reply to Fabien Cazenave [:kaze] from comment #28)
> https://github.com/mozilla-b2g/gaia/commit/
> 5f28571c01960f96afce58eea694ee1cdb0a280c
> https://github.com/mozilla-b2g/gaia/pull/6304
Thanks for landing!
Reporter | ||
Comment 34•13 years ago
|
||
(In reply to Andrew Sutherland (:asuth) from comment #32)
> Was it intentional that GAIA/custom-prefs.js now needs to be
> GAIA/build/custom-prefs.js? The use of addprefix looks like it may have
> been a bit overzealous.
Nope.
Updated•13 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 35•13 years ago
|
||
Comment 36•13 years ago
|
||
Reporter | ||
Comment 37•13 years ago
|
||
status-firefox18:
--- → fixed
status-firefox19:
--- → fixed
Reporter | ||
Comment 38•13 years ago
|
||
Er sorry, only the scaffolding has landed. yelp.com is still affected.
status-firefox18:
fixed → ---
status-firefox19:
fixed → ---
Comment 39•13 years ago
|
||
Benoit will handle the override for yelp.com.
Assignee: poirot.alex → bjacob
Assignee | ||
Comment 40•13 years ago
|
||
hum, Lawrence, you know the patch is ready?
It is only matter of landing Pull request 6435 when you give me the agreement to finally whitelist yelp...
Should I land it now?
Flags: needinfo?(lmandel)
Comment 41•13 years ago
|
||
I missed that. Yes. It's time to land. Can you free Benoit and take care of bug 803741 and bug 804481 at the same time?
Assignee: bjacob → poirot.alex
Flags: needinfo?(lmandel)
Comment 42•13 years ago
|
||
Great, then I don't look into the present bug. Still looking into the 2 other ones unless Alexandre has fixes for them too.
Assignee | ||
Comment 43•13 years ago
|
||
Benoit, yes, please go ahead and fix other bugs, I just wanted to avoid unecessary review for this patch.
Landed:
https://github.com/mozilla-b2g/gaia/commit/a5e8793af608a21128e8caae1fb98c159e0ad3bd
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Whiteboard: [leave open]
Updated•13 years ago
|
Component: General → Gaia
Updated•13 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•