Closed
Bug 771055
Opened 13 years ago
Closed 13 years ago
Allow TBPL to load in IE10
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: KWierso, Assigned: KWierso)
References
Details
Attachments
(1 file)
729 bytes,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
Currently, TBPL can't load in Internet Explorer.
Attached is a patch that changes that. (At least for me, on Windows 8, with IE10.)
The first problem is that document.baseURI isn't supported in IE. If I change it from document.baseURI to document.location.href, IE is able to get past this point. It looks like the replace() call on both baseURI and location.href end up returning the same string, and everything I tried testing locally seemed to work okay. Is there some reason TBPL needs to use baseURI?
After the baseURI change, the ajax() request in js/Data.js that fetches the builds was failing, throwing a NO TRANSPORT error. Apparently in IE you have to explicitly tell Jquery to do cross-origin requests, which is what that "$.support.cors = true;" line near the top of the file does.
With these two changes, I was able to load every tree that I tried in TBPL in both IE10 and Firefox 16.
Attachment #639238 -
Flags: review?(mstange)
Updated•13 years ago
|
Attachment #639238 -
Flags: review?(mstange) → review+
Comment 1•13 years ago
|
||
(In reply to Wes Kocher (:KWierso) from comment #0)
> Is there some reason TBPL needs to use baseURI?
I don't think so, no.
Comment 2•13 years ago
|
||
Is this ok to land?
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #2)
> Is this ok to land?
I guess?
Updated•13 years ago
|
Assignee: nobody → kwierso
OS: Windows 7 → All
Hardware: x86_64 → All
Comment 4•13 years ago
|
||
Testing locally (using the baseURL trick to run from local filesystem):
Latest Nightly works fine; however IE9 hangs loading the page.
Don't know if this is an IE9 thing (and IE10 would work fine if I were using it), or whether it is due to running from the local filesystem.
Comment 5•13 years ago
|
||
Isn't IE10 the first version of IE to support CORS? I thought previous versions required the IE-specific XDomainRequest, and we basically WONTFIX'd bug 647497 sub silentio due to that requirement.
Comment 6•13 years ago
|
||
Quite possibly, however on Win7 I have no way to test IE10 yet (yey Microsoft).
Comment 7•13 years ago
|
||
I still don't have a way to test on Win7, so I've just gone ahead and landed it:
https://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/2f8984e581fd
We will likely have a push to prod early next week.
Assignee | ||
Comment 8•13 years ago
|
||
Just tested tbpl-dev using IE10 and it appears to work correctly.
Comment 9•13 years ago
|
||
Great! Thank you for confirming.
(I'll leave the bug open until the push to production).
Assignee | ||
Updated•13 years ago
|
Summary: Allow TBPL to load in IE → Allow TBPL to load in IE10
Assignee | ||
Comment 10•13 years ago
|
||
Hrm, though I do see bug 764803 in IE10 when trying to add a comment.
And I get a "Rebuild request for [InsertTestNameHere] Test debug failed. (network error)" error when trying to retrigger a test. It never prompts me for my LDAP account in IE, while it does for Firefox...
Comment 11•13 years ago
|
||
(In reply to Wes Kocher (:KWierso) from comment #10)
> And I get a "Rebuild request for [InsertTestNameHere] Test debug failed.
> (network error)" error when trying to retrigger a test. It never prompts me
> for my LDAP account in IE, while it does for Firefox...
Might be worth mentioning that in bug 799540, since they are debating about the spec.
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to Ed Morley [:edmorley UTC+1] from comment #11)
> Might be worth mentioning that in bug 799540, since they are debating about
> the spec.
Yep, that's the same issue. Signing in to self-serve first lets the retrigger request work. Commented over there.
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•13 years ago
|
||
Just checked production TBPL in IE10, and it works.
Assignee | ||
Comment 14•13 years ago
|
||
And it works on Windows RT in its IE10, on both the Desktop and Metro variants!
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•10 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•