[wp-trac] [WordPress Trac] #17323: Warning for out of date and insecure browsers
WordPress Trac
wp-trac at lists.automattic.com
Fri May 20 13:58:52 UTC 2011
#17323: Warning for out of date and insecure browsers
----------------------------+-----------------------
Reporter: aaroncampbell | Owner: azaozz
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 3.2
Component: Administration | Version: 3.2
Severity: normal | Resolution:
Keywords: ux-feedback |
----------------------------+-----------------------
Comment (by aaroncampbell):
Sorry guys, I don't have an ipad, iphone, or Blackberry. I did test with
a bunch of different user-agent strings using
[http://chrispederick.com/work/user-agent-switcher/ User Agent Switcher] a
Firefox addon (which I imported a LOT of user agents into).
It still have my test API up which you can use to give me specific User
Agents that aren't working and I'll try to fix things up.
http://xavisys.com/core/browse-happy/1.0/ Will give you info on the
browser you are currently using
http://xavisys.com/core/browse-happy/1.0/?useragent=_ will let you specify
a different user-agent string to test
However, When I put the PlayBook user agent from above in I get this:
{{{
"Mozilla/5.0 (PlayBook; U; RIM Tablet OS 1.0.0; en-US) AppleWebKit/534.8+
(KHTML, like Gecko) Version /0.0.1 Safari/534.8+"
array(5) {
["insecure"]=>
bool(false)
["name"]=>
string(6) "webkit"
["version"]=>
string(5) "534.8"
["current_version"]=>
string(0) ""
["upgrade"]=>
bool(false)
}
}}}
Which says that the browsers does not need an upgrade and is not insecure.
The live API [http://api.wordpress.org/core/browse-
happy/1.0/?useragent=Mozilla/5.0%20%28PlayBook;%20U;%20RIM%20Tablet%20OS%201.0.0
;%20en-
US%29%20AppleWebKit/534.8+%20%28KHTML,%20like%20Gecko%29%20Version%20/0.0.1%20Safari/534.8+
gave me similar results]
I also tested with iPhone and iPad strings and got the same expected
result (no upgrade needed):
{{{
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; da-dk)
AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148
Safari/6533.18.5
}}}
{{{
Mozilla/5.0 (iPad; U; CPU OS 4_3 like Mac OS X; en-us)
AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8F190
Safari/6533.18.5
}}}
{{{
Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_1 like Mac OS X; en-us)
AppleWebKit/528.18 (KHTML, like Gecko) Mobile/7C145
}}}
I'm sure there are browsers the API doesn't treat properly, but as far as
I can tell it DOES work as expected with the iPhone, iPad, and PlayBook.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17323#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list