Add googleweblight to JS blacklist
authorElliott Eggleston <ejegg@ejegg.com>
Tue, 13 Dec 2016 20:48:18 +0000 (14:48 -0600)
committerElliott Eggleston <ejegg@ejegg.com>
Tue, 13 Dec 2016 23:35:01 +0000 (17:35 -0600)
commit9dd76898da94079a54b9073b9d09a8026507cbdd
tree8ad16f89d6720d245407c6526c4b7673c12bf986
parent5c6c93c76dd8d40f0df94d1e7f4d9e573489c7a2
Add googleweblight to JS blacklist

Google runs JS on their proxy servers and outputs a page which may
be broken in creative ways (e.g. clicking anywhere triggers the
fundraising banner). Treat them as a non-JS browser to minimize
bugginess.

Currently broken with CentralNotice banner:
https://googleweblight.com/?lite_url=https://en.wikipedia.org

Images below the fold never load:
https://googleweblight.com/?lite_url=https://en.wikipedia.org/wiki/Barack_Obama

Bug: T152602
Change-Id: Ia277ab51634b770a950616a842bedb29fcbf1f12
resources/src/startup.js
tests/qunit/suites/resources/startup.test.js