Bug 1038648: [Loop] ensure exposed objects are immutable to prevent abuse by others. r=dolske