(fiber)
| 7009 | } |
| 7010 | |
| 7011 | function stopWorkTimer(fiber) { |
| 7012 | if (enableUserTimingAPI) { |
| 7013 | if (!supportsUserTiming || shouldIgnoreFiber(fiber)) { |
| 7014 | return; |
| 7015 | } |
| 7016 | // If we pause, its parent is the fiber to unwind from. |
| 7017 | currentFiber = fiber['return']; |
| 7018 | if (!fiber._debugIsCurrentlyTiming) { |
| 7019 | return; |
| 7020 | } |
| 7021 | fiber._debugIsCurrentlyTiming = false; |
| 7022 | endFiberMark(fiber, null, null); |
| 7023 | } |
| 7024 | } |
| 7025 | |
| 7026 | function stopFailedWorkTimer(fiber) { |
| 7027 | if (enableUserTimingAPI) { |
no test coverage detected