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

Update for test for old IE versions #196

Merged
merged 2 commits into from
Mar 22, 2017
Merged

Update for test for old IE versions #196

merged 2 commits into from
Mar 22, 2017

Conversation

FlyingDR
Copy link
Contributor

What kind of change does this PR introduce?
Bugfix for #177

Did you add tests for your changes?
Change is only testable in a browsers, code itself was tested using Browserstack into whole range of IE versions across all versions of Windows starting from XP and into outdated / actual versions of all browsers on Windows / OS X / Android / iOS / Windows Phone.

If relevant, did you update the README?
Doesn't seems to be relevant

Summary
Test for old IE versions is updated to avoid blind accessing properties of global objects that may not be available into certain real environments (examples are here and here). Since the whole purpose of this test is about giving positive result for old IE versions (<=IE9) it can be safely updated with a test that is specifically targeted to these versions and doesn't tries to get deeper into (potentially missing) properties of globals.

Does this PR introduce a breaking change?
No

… are either missed or have different set of properties (e.g. into test environments or into browser addons). Fixes #177
@jsf-clabot
Copy link

jsf-clabot commented Mar 21, 2017

CLA assistant check
All committers have signed the CLA.

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Mar 21, 2017

@FlyingDR Does JSDOM work 😛 ? And please sign the CLA if it is buggy close and reopen the PR

@FlyingDR
Copy link
Contributor Author

@michael-ciniawsky No idea about JSDOM, never had experience with it. Maybe @frodare can help with testing this change with JSDOM?

Copy link
Contributor

@bebraw bebraw left a comment

Choose a reason for hiding this comment

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

I guess ideally we would figure out a way to run style-loader against Browserstack but that's another PR.

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Mar 21, 2017

@FlyingDR Alright nevermind then 😛

@frodare
Copy link

frodare commented Mar 22, 2017

@FlyingDR this PR does fix the issue for our JSDOM testing environment.

@michael-ciniawsky
Copy link
Member

@FlyingDR Thx 😛

@michael-ciniawsky michael-ciniawsky merged commit 1f68495 into webpack-contrib:master Mar 22, 2017
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.

None yet

5 participants