rhino/testsrc/doctests/442922.doctest
raw| 1 | // This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | // License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | // file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 4 | |
| 5 | js> var x = <blah x="asdf"><a a="asdf"/></blah>; |
| 6 | js> serialize(x, "x.ser"); |
| 7 | js> deserialize("x.ser"); |
| 8 | <blah x="asdf"> |
| 9 | <a a="asdf"/> |
| 10 | </blah> |
| 11 | js> (new java.io.File("x.ser"))["delete"](); |
| 12 | true |