(fiber)
| 7040 | } |
| 7041 | |
| 7042 | function stopWorkTimer(fiber) { |
| 7043 | if (enableUserTimingAPI) { |
| 7044 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7045 | return; |
| 7046 | } |
| 7047 | // If we pause, its parent is the fiber to unwind from. |
| 7048 | currentFiber = fiber['return']; |
| 7049 | if (!fiber._debugIsCurrentlyTiming) { |
| 7050 | return; |
| 7051 | } |
| 7052 | fiber._debugIsCurrentlyTiming = false; |
| 7053 | endFiberMark(fiber, null, null); |
| 7054 | } |
| 7055 | } |
| 7056 | |
| 7057 | function stopFailedWorkTimer(fiber) { |
| 7058 | if (enableUserTimingAPI) { |
no test coverage detected