Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[e10s on] GM_xmlhttpRequest - does not show login prompt #2190

Closed
janekptacijarabaci opened this issue May 30, 2015 · 3 comments
Closed

[e10s on] GM_xmlhttpRequest - does not show login prompt #2190

janekptacijarabaci opened this issue May 30, 2015 · 3 comments
Milestone

Comments

@janekptacijarabaci
Copy link
Contributor

Ad #2048 (comment)... continued.

Confirmed on:
Firefox Aurora 40.0a2 (2015-05-29)
Firefox Nightly 41.0a1 (2015-05-29)
GM 3.2

Gist: https://gist.github.com/janekptacijarabaci/8b969e5f48a305d91fd7

[e10s off]:
Result:
GM_xmlhttpRequest() 2: status: 200 statusText: OK (show login prompt)
GM_xmlhttpRequest() 3: status: 200 statusText: OK

Reloading page (F5):
GM_xmlhttpRequest() 2: status: 200 statusText: OK (does not show login prompt)
GM_xmlhttpRequest() 3: status: 200 statusText: OK

[e10s on]:
(does not show login prompt)
Result:
GM_xmlhttpRequest() 2: status: 401 statusText: Authorization Required
GM_xmlhttpRequest() 3: status: 401 statusText: Authorization Required

XMLHttpRequest() - OK (show login prompt)

@arantius arantius added this to the 3.3 milestone May 30, 2015
@arantius arantius modified the milestones: 3.4, 3.3 Jun 17, 2015
@janekptacijarabaci
Copy link
Contributor Author

@arantius arantius modified the milestones: 3.4, 3.5 Jul 24, 2015
@arantius arantius modified the milestones: 3.6, 3.5 Sep 23, 2015
@arantius
Copy link
Collaborator

Confirmed, I hate e10s SO MUCH. Also, simpler reproduction script for my future reference:

// ==UserScript==
// @name        GM_xhr HTTP Auth Test
// @include     http://localhost/*
// @exclude     http://localhost/auth*
// @grant       GM_xmlhttpRequest
// ==/UserScript==

GM_xmlhttpRequest({
  method: 'GET',
  url: "http://localhost/auth/",
  onload: function(xhr) {
    dump('script '+xhr.responseText.substr(0, 128).replace(/\n/g, ' ')+'\n');
  },
});

I have basically no idea how to address this or even why it might be happening.

@arantius arantius modified the milestones: 3.7, 3.6 Oct 23, 2015
@arantius
Copy link
Collaborator

@arantius arantius modified the milestones: Tracking Upstream, 3.7 Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants