Skip to content

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

@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: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.

5 participants