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

Normalize IE9 URL parsing. Fix for #1764 #1765

Closed
wants to merge 2 commits into from

Conversation

dmlap
Copy link
Member

@dmlap dmlap commented Dec 22, 2014

IE9 appends the port number to the host property of anchor tags on http pages. Strip the port for http and https so that it behaves like everyone else.

IE9 appends the port number to the host property of anchor tags on http pages. Strip the port for http and https so that it behaves like everyone else.
var createElement;

module('Lib', {
setup: function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need quotes around setup/teardown.

@heff
Copy link
Member

heff commented Dec 22, 2014

Something is breaking tests. Might be the note I made.

Make sure `setup` and `teardown` don't get minified so that the lib tests don't pollute the global environment.
@dmlap
Copy link
Member Author

dmlap commented Dec 22, 2014

@heff locally, looks like you were right about the quoting.

@heff
Copy link
Member

heff commented Dec 22, 2014

lgtm; Did you test this on a page that uses a local server with a different port?

@dmlap
Copy link
Member Author

dmlap commented Dec 23, 2014

Yes, that's how I normally do my testing. Getting things setup so I could test on port 80 ended up being the complicated bit.

@dmlap dmlap closed this in c939ab8 Dec 23, 2014
@dmlap dmlap deleted the hotfix/ie-accidental-xdr branch December 23, 2014 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants