Skip to content

Commit 30c41f6

Browse files
authored
Docs: mention webworker support, clarify old browser support (#884)
1 parent 545b5f7 commit 30c41f6

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ The table below describes what features are available in each supported browser:
146146
| Android Browser 4 - 4.3 || | |
147147
+-------------------------+--------------+----------------+-------------+
148148

149+
For browsers with Web Worker support, Raven.js is designed to work inside a Web Worker context.
150+
149151
For unlisted browsers (e.g. IE7), Raven.js is designed to fail gracefully. Including
150152
it on your page should have no effect on your page; it will just not collect
151153
and report uncaught exceptions.

docs/install.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,14 @@ To use Raven with ES2015 (ES6) imports:
9999
Requirements
100100
~~~~~~~~~~~~
101101

102-
Raven expects the browser to provide `window.JSON` and
103-
`window.JSON.stringify`. In Internet Explorer 8+ these are available in
104-
`standards mode
105-
<http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx>`_. You can
106-
also use `json2.js <https://github.com/douglascrockford/JSON-js>`_ to
107-
provide the JSON implementation in browsers/modes which don't support
108-
native JSON.
102+
Raven supports IE8+ and all other modern browsers, and works in Web Workers.
103+
104+
Raven requires the browser JavaScript environment to provide:
105+
- Either `XHR Level 2 <http://caniuse.com/#feat=xhr2>`_ (IE10+, all other modern browsers)
106+
or `XDomainRequest <https://developer.mozilla.org/en-US/docs/Web/API/XDomainRequest>`_ (IE8, IE9)
107+
- A global ``JSON`` object with ``JSON.stringify`` (IE8+ `standards mode
108+
<http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx>`_, all other modern browsers)
109+
110+
Raven does not support IE 7 or other older browsers which do not provide the required features listed above.
111+
On those older browsers, Raven.js is designed to fail gracefully; including it on your page
112+
will have no effect, but it won't collect and report uncaught exceptions.

0 commit comments

Comments
 (0)