STE WILLIAMS

Pointless features add to browser bloat and insecurity

It might be time for the warlocks of the Web and brewers of JavaScript to revisit their ever-burgeoning developer wish-lists and sweep away the rubbish.

Researchers from the University of Illinois have looked at how users and Website designers respond to the feature-list, and their study suggests there’s a whole lot of kruft that nobody – site owners or end users – are using.

Or, as El Reg would put it: your browsers and Web servers are bloating with features nobody wants, and contribute nothing but extra lines of code.

As they write at Arxiv: “We find, for example, that 50 per cent of the JavaScript provided features in the web browser are never used by the top ten thousand most popular websites,” the paper states.

It’ll surprise nobody that at least some of the non-execution of features is down to site ad-blockers and the like, but the end result is: “83 per cent of available features are executed on less than 1 per cent of the most popular 10,000 websites.”

A couple of features that the researchers found provide good examples.

ALS, “ambient light events”, would let browsers respond to the light level the laptop, phone or desktop is exposed to if anybody used it. Since 14 Websites out of the 10,000 in the study used it, and since it’s blocked by 100 per cent of blocking browser extensions, why not kill it off?

The Encoding standard would let JavaScript code read and convert between different text encodings if anyone used it, but it’s even more unloved than ALS. Nobody bothers blocking Encoding, because only one out of the 10,000 Webmasters was doing anything with it.

Iframes fall into a different category: half of the sites use iframes (because who doesn’t love a popup?), but “is prevented from being executed over 77 per cent of the time”.

All of this adds to the Web’s security woes as well, as the table below (an extract of a much larger table from the study) shows. The study notes, “unpopular and heavily blocked features have imposed substantial security costs to the browser”.

SVG, for example, has a problem however you look at it: on one hand more than 15 per cent of the sites use it, on the other hand, nearly 87 per cent of blockers block it, but it’s had 14 security warnings (CVEs, Common Vulnerabilities and Exposures) in the last three years. ®

Sponsored:
HPC in the cloud: A solution for varied computing needs

Article source: http://go.theregister.com/feed/www.theregister.co.uk/2016/05/24/pointless_features_add_to_browser_bloat_and_insecurity/

Comments are closed.