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)
Mon, Dec 23, 6:38 AM
Unknown Object (File)
Sun, Dec 22, 2:02 AM
Unknown Object (File)
Fri, Dec 13, 2:35 AM
Unknown Object (File)
Thu, Dec 12, 11:06 AM
Unknown Object (File)
Mon, Dec 9, 8:20 AM
Unknown Object (File)
Nov 25 2024, 9:42 PM
Unknown Object (File)
Nov 18 2024, 6:45 AM
Unknown Object (File)
Nov 13 2024, 8:36 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).