Page MenuHomePhabricator

Fix countdown embeds and endless loops on resource loads in Javelin
ClosedPublic

Authored by epriestley on Jun 5 2014, 10:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 8:43 PM
Unknown Object (File)
Thu, Apr 25, 8:43 PM
Unknown Object (File)
Thu, Apr 25, 3:14 AM
Unknown Object (File)
Wed, Apr 24, 7:02 AM
Unknown Object (File)
Mar 10 2024, 9:28 PM
Unknown Object (File)
Feb 12 2024, 2:31 AM
Unknown Object (File)
Feb 10 2024, 2:53 PM
Unknown Object (File)
Feb 7 2024, 6:38 PM
Subscribers

Details

Summary

Fixes T5273. Two issues:

  • If a JX.Resource callback throws, we keep running it. Instead, make sure it gets cleaned up before raising an exception.
  • The countdown timer script doesn't recover gracefully if the node has been removed from the document by the time it runs. Instead, just bail if we can't find the countdown.
Test Plan

Dumped {Cxyz} into a preview and got a countdown.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Fix countdown embeds and endless loops on resource loads in Javelin.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: yungsters.
yungsters edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2014, 11:07 PM
epriestley updated this revision to Diff 22435.

Closed by commit rPd06679a0214c (authored by @epriestley).