Bug 1015115 - switch to cloneInto in pdf.js

and

Bug 1015380 - Prepare the browser for Object Xrays