The name "newTemporaryOr" doesn't seem to have earned consensus, but I don't have anything better.
Created attachment 20147 [details] patch
Comment on attachment 20147 [details] patch r=oliver