зеркало из https://github.com/mozilla/gecko-dev.git
Backed out 2 changesets (bug 1658469) for assertion failures on nsVideoFrame.cpp. CLOSED TREE
Backed out changeset 08a78618c76c (bug 1658469) Backed out changeset 5c8a07fc83ed (bug 1658469)
This commit is contained in:
Родитель
23d50bfbe9
Коммит
bd22249ff0
|
@ -95,10 +95,6 @@ JSObject* ShadowRoot::WrapNode(JSContext* aCx,
|
|||
}
|
||||
|
||||
void ShadowRoot::CloneInternalDataFrom(ShadowRoot* aOther) {
|
||||
if (aOther->IsUAWidget()) {
|
||||
SetIsUAWidget();
|
||||
}
|
||||
|
||||
size_t sheetCount = aOther->SheetCount();
|
||||
for (size_t i = 0; i < sheetCount; ++i) {
|
||||
StyleSheet* sheet = aOther->SheetAt(i);
|
||||
|
|
|
@ -424,7 +424,7 @@ async function compareFiles(src1, src2, options = {}) {
|
|||
|
||||
await new Promise((resolve) => {
|
||||
iframeElement.addEventListener("load", resolve, { capture: true, once: true });
|
||||
iframeElement.setAttribute("src", new URL(src1, BASE).href);
|
||||
iframeElement.setAttribute("src", BASE + src1);
|
||||
});
|
||||
|
||||
if (messagePromise) {
|
||||
|
@ -438,7 +438,7 @@ async function compareFiles(src1, src2, options = {}) {
|
|||
|
||||
await new Promise((resolve) => {
|
||||
iframeElement.addEventListener("load", resolve, { capture: true, once: true });
|
||||
iframeElement.setAttribute("src", new URL(src2, BASE).href);
|
||||
iframeElement.setAttribute("src", BASE + src2);
|
||||
});
|
||||
|
||||
await printpreview(options.ref || options);
|
||||
|
@ -551,11 +551,6 @@ async function runTest20() {
|
|||
|
||||
exitprintpreview();
|
||||
|
||||
requestAnimationFrame(() => setTimeout(runTest21));
|
||||
}
|
||||
|
||||
async function runTest21() {
|
||||
await compareFiles("data:text/html,<audio controls>", "data:text/html,<audio controls >"); // Shouldn't crash.
|
||||
finish();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче