-
Mike Conley authored
Bug 1585769 - Create a fresh <video> element for the Picture-in-Picture player window rather than cloning the original element. r=JSON_voorhees Cloning the original node was needed when we needed the MediaInfo copied over, but HTMLVideoElement::CloneElementVisually copies it over for us, so we can create a fresh <video> element. This should also be a much healthier thing to do security-wise, since we're not cloning strange nodes from the web. Differential Revision: https://phabricator.services.mozilla.com/D48123 --HG-- extra : moz-landing-system : lando
51b7a876