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