max-mapper / max-mapper/requirebin
Bad XMLHttpRequest in Firefox (Nightly)
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 389
- Forks
- 73
- PR merge metrics
- No merged PRs in 30d
Description
Tweeted a link to http://requirebin.com/?gist=5963363 and got a report that it didn't work. I checked it out in Firefox and saw this:
Error: Bad xmlhttprequest.XMLHttpRequest @ http://requirebin.com/bundle.js:21056
Which was thrown by a part of module browser-request:
var xmlhttprequest = require('./xmlhttprequest')
if(!xmlhttprequest || typeof xmlhttprequest !== 'object')
throw new Error('Could not find ./xmlhttprequest')
var XHR = xmlhttprequest.XMLHttpRequest
if(!XHR)
throw new Error('Bad xmlhttprequest.XMLHttpRequest')
if(! ('_object' in (new XHR)))
throw new Error('This is not portable XMLHttpRequest')
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Firefox Nightly failure from the linked requirebin example, then inspect bundle.js at line 21056 and the browser-request XMLHttpRequest checks shown in the issue. Determine why Firefox fails the portable XMLHttpRequest validation; done means the example loads successfully there without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100