michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: "use strict"; michael@0: michael@0: function test() { michael@0: let dom = TiltUtils.DOM; michael@0: michael@0: is(dom.parentNode, null, michael@0: "The parent node should not be initially set."); michael@0: michael@0: dom.parentNode = {}; michael@0: ok(dom.parentNode, michael@0: "The parent node should now be set."); michael@0: michael@0: TiltUtils.clearCache(); michael@0: is(dom.parentNode, null, michael@0: "The parent node should not be set after clearing the cache."); michael@0: }