This repository was archived by the owner on Apr 14, 2021. It is now read-only.
Commit b739785 Andy Earnshaw
committed
1 parent b861f42 commit b739785 Copy full SHA for b739785
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,13 @@ function processTest(content) {
147
147
// Make sure to use our version (not one the browser might have).
148
148
content = content . replace ( / \b I n t l \b / g, 'IntlPolyfill' ) ;
149
149
150
- var explainV8OptOut = '// This test is disabled to avoid the v8 bug outlined at https://code.google.com/p/v8/issues/detail?id=2694' ;
150
+ var explainV8OptOut = '// This test is disabled to avoid the v8 bug outlined at https://code.google.com/p/v8/issues/detail?id=2694' ,
151
+ explainES6OptOut = '// This test is disabled because it relies on ES 2015 behaviour, which is not implemented in environments that need this polyfill' ,
151
152
152
153
// Due to a bug in v8, we need to disable parts of the _L15 tests that
153
154
// check the function property `length` is not writable
154
155
content = content . replace ( / ^ ( \s * ) (? = .* t h r o w .* T h e l e n g t h p r o p e r t y .* f u n c t i o n m u s t n o t b e w r i t a b l e ) / gm, '$1' + explainV8OptOut + '\n$&//' ) ;
156
+ content = content . replace ( / ^ ( \s * ) (? = .* t h r o w .* T h e l e n g t h p r o p e r t y .* f u n c t i o n m u s t b e c o n f i g u r a b l e ) / gm, '$1' + explainES6OptOut + '\n$&//' ) ;
155
157
156
158
// There's also part of the _L15 test that a JavaScript implementation
157
159
// cannot possibly pass, so we need to disable these parts too
You can’t perform that action at this time.
0 commit comments