GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Hardcode disableIEWorkarounds for www (#28811) · react/react@84cb3b4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/shared/forks
    • ReactFeatureFlags.www-dynamic.js
    • ReactFeatureFlags.www.js
  • scripts/jest
    • setupTests.www.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/shared/forks/ReactFeatureFlags.www-dynamic.js‎

Copy file name to clipboardExpand all lines: packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// Use __VARIANT__ to simulate a GK. The tests will be run twice: once
1414
// with the __VARIANT__ set to `true`, and once set to `false`.
1515

16-
export const disableIEWorkarounds = __VARIANT__;
1716
export const disableSchedulerTimeoutInWorkLoop = __VARIANT__;
1817
export const enableLazyContextPropagation = __VARIANT__;
1918
export const forceConcurrentByDefaultForTesting = __VARIANT__;
Collapse file

‎packages/shared/forks/ReactFeatureFlags.www.js‎

Copy file name to clipboardExpand all lines: packages/shared/forks/ReactFeatureFlags.www.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import typeof * as DynamicFeatureFlags from './ReactFeatureFlags.www-dynamic';
1515
const dynamicFeatureFlags: DynamicFeatureFlags = require('ReactFeatureFlags');
1616

1717
export const {
18-
disableIEWorkarounds,
1918
enableTrustedTypesIntegration,
2019
enableDebugTracing,
2120
enableLazyContextPropagation,
@@ -49,6 +48,7 @@ export const enableUpdaterTracking = __PROFILE__;
4948
export const enableSuspenseAvoidThisFallback = true;
5049
export const enableSuspenseAvoidThisFallbackFizz = false;
5150

51+
export const disableIEWorkarounds = true;
5252
export const enableCPUSuspense = true;
5353
export const enableUseMemoCacheHook = true;
5454
export const enableUseEffectEventHook = true;
Collapse file

‎scripts/jest/setupTests.www.js‎

Copy file name to clipboardExpand all lines: scripts/jest/setupTests.www.js
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jest.mock('shared/ReactFeatureFlags', () => {
1515
// code live.
1616
actual.disableInputAttributeSyncing = __VARIANT__;
1717

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+
1823
return actual;
1924
});
2025

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.