Polyfill (programming)

This is an old revision of this page, as edited by LittleBenW (talk | contribs) at 05:53, 14 August 2012 (External links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In web development, a polyfill (or polyfiller) is downloadable code which provides facilities that are not built-in to a web browser. For example, many features of HTML5 are not supported by versions of Internet Explorer older than version 8 or 9, but can be used by web pages if those pages install a polyfill.[1]

Polyfills can also be used to add entirely new functionality to browsers.[2] For instance, BrowserID relies on a Javascript API which (as of mid 2012) is not supported in any browser and must be provided via a polyfill.[3]

References

  1. ^ Sharp, Remy. "What is a polyfill?". Retrieved 13 January 2012.
  2. ^ HTML5 Polyfill list by feature
  3. ^ "navigator.id". Mozilla Developer Network. 30 Jun 2012.