MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / stopFailedWorkTimer

Function stopFailedWorkTimer

code/third-party/public/app.js:6929–6943  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

6927}
6928
6929function stopFailedWorkTimer(fiber) {
6930 if (enableUserTimingAPI) {
6931 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
6932 return;
6933 }
6934 // If we pause, its parent is the fiber to unwind from.
6935 currentFiber = fiber['return'];
6936 if (!fiber._debugIsCurrentlyTiming) {
6937 return;
6938 }
6939 fiber._debugIsCurrentlyTiming = false;
6940 var warning$$1 = 'An error was thrown inside this error boundary';
6941 endFiberMark(fiber, null, warning$$1);
6942 }
6943}
6944
6945function startPhaseTimer(fiber, phase) {
6946 if (enableUserTimingAPI) {

Callers 1

completeUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
endFiberMarkFunction · 0.70

Tested by

no test coverage detected