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
F19057852: D9399.id.diff
Fri, Nov 28, 11:56 PM
F19044662: D9399.diff
Thu, Nov 27, 4:03 AM
F18837541: D9399.id22424.diff
Oct 27 2025, 6:05 AM
F18829698: D9399.id.diff
Oct 25 2025, 12:02 AM
F18822297: D9399.diff
Oct 23 2025, 5:38 AM
F18679939: D9399.id.diff
Sep 26 2025, 1:53 AM
F18635016: D9399.id.diff
Sep 17 2025, 12:01 AM
F18622737: D9399.diff
Sep 15 2025, 12:49 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).