GeezerVison is showing github.com — Hardcode disableIEWorkarounds for www (#28811) · EdisonVan/react@b9bf12b
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/shared/forks/ReactFeatureFlags.www-dynamic.js -1Lines changed: 0 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | // Use __VARIANT__ to simulate a GK. The tests will be run twice: once |
14 | 14 | // with the __VARIANT__ set to `true`, and once set to `false`. |
15 | 15 |
|
16 | | -export const disableIEWorkarounds = __VARIANT__; |
17 | 16 | export const disableSchedulerTimeoutInWorkLoop = __VARIANT__; |
18 | 17 | export const enableLazyContextPropagation = __VARIANT__; |
19 | 18 | export const forceConcurrentByDefaultForTesting = __VARIANT__; |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/shared/forks/ReactFeatureFlags.www.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,7 +15,6 @@ import typeof * as DynamicFeatureFlags from './ReactFeatureFlags.www-dynamic'; |
15 | 15 | const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags'); |
16 | 16 |
|
17 | 17 | export const { |
18 | | - disableIEWorkarounds, |
19 | 18 | enableTrustedTypesIntegration, |
20 | 19 | enableDebugTracing, |
21 | 20 | enableLazyContextPropagation, |
@@ -49,6 +48,7 @@ export const enableUpdaterTracking = __PROFILE__; |
49 | 48 | export const enableSuspenseAvoidThisFallback = true; |
50 | 49 | export const enableSuspenseAvoidThisFallbackFizz = false; |
51 | 50 |
|
| 51 | +export const disableIEWorkarounds = true; |
52 | 52 | export const enableCPUSuspense = true; |
53 | 53 | export const enableUseMemoCacheHook = true; |
54 | 54 | export const enableUseEffectEventHook = true; |
|
Collapse file
Copy file name to clipboardExpand all lines: scripts/jest/setupTests.www.js +5Lines changed: 5 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -15,6 +15,11 @@ jest.mock('shared/ReactFeatureFlags', () => { |
15 | 15 | // code live. |
16 | 16 | actual.disableInputAttributeSyncing = __VARIANT__; |
17 | 17 |
|
| 18 | + // This is hardcoded to true for the next release, |
| 19 | + // but still run the tests against both variants until |
| 20 | + // we remove the flag. |
| 21 | + actual.disableIEWorkarounds = __VARIANT__; |
| 22 | + |
18 | 23 | return actual; |
19 | 24 | }); |
20 | 25 |
|
|