mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
This commit is contained in:
commit
82a2f2f599
@ -10535,9 +10535,6 @@ nsDocShell::InternalLoad(nsIURI* aURI,
|
||||
(aFlags & INTERNAL_LOAD_FLAGS_ALLOW_THIRD_PARTY_FIXUP) != 0;
|
||||
mURIResultedInDocument = false; // reset the clock...
|
||||
|
||||
// Note that there is code that relies on this check to stop us entering the
|
||||
// `doShortCircuitedLoad` block below for certain load types. (For example,
|
||||
// reftest-content.js uses LOAD_FLAGS_BYPASS_CACHE for this purpose.)
|
||||
if (aLoadType == LOAD_NORMAL ||
|
||||
aLoadType == LOAD_STOP_CONTENT ||
|
||||
LOAD_TYPE_HAS_FLAGS(aLoadType, LOAD_FLAGS_REPLACE_HISTORY) ||
|
||||
|
@ -169,7 +169,7 @@ fuzzy(50,500) fuzzy-if(skiaContent,51,320) fails-if(webrender) == attachment-loc
|
||||
# The next three tests are fuzzy due to bug 1128229.
|
||||
fuzzy(16,69) fuzzy-if(skiaContent,95,2206) == attachment-local-clipping-image-4.html attachment-local-clipping-image-4-ref.html
|
||||
fuzzy(16,69) fuzzy-if(skiaContent,95,2206) == attachment-local-clipping-image-5.html attachment-local-clipping-image-4-ref.html
|
||||
fuzzy(80,500) fuzzy-if(skiaContent,118,929) fails-if(webrender) == attachment-local-clipping-image-6.html attachment-local-clipping-image-6-ref.html
|
||||
fuzzy(80,500) fuzzy-if(skiaContent,109,908) fails-if(webrender) == attachment-local-clipping-image-6.html attachment-local-clipping-image-6-ref.html
|
||||
|
||||
fuzzy-if(skiaContent,1,8) fuzzy-if(webrender,1,84) == background-multiple-with-border-radius.html background-multiple-with-border-radius-ref.html
|
||||
== background-repeat-large-area.html background-repeat-large-area-ref.html
|
||||
|
@ -305,7 +305,7 @@ fuzzy-if(Android,3,50) fuzzy-if(skiaContent,1,133) == 273681-1.html 273681-1-ref
|
||||
== 283686-2.html 283686-2-ref.html
|
||||
== 283686-3.html about:blank
|
||||
== 289384-1.xhtml 289384-ref.xhtml
|
||||
random-if(d2d) fuzzy-if(Android,8,1439) HTTP == 289480.html#top 289480-ref.html # basically-verbatim acid2 test, HTTP for a 404 page -- bug 578114 for the d2d failures
|
||||
random-if(d2d) fuzzy-if(Android,8,1439) skip-if(styloVsGecko) HTTP == 289480.html#top 289480-ref.html # basically-verbatim acid2 test, HTTP for a 404 page -- bug 578114 for the d2d failures, bug 1354406
|
||||
== 290129-1.html 290129-1-ref.html
|
||||
== 291078-1.html 291078-1-ref.html
|
||||
== 291078-2.html 291078-2-ref.html
|
||||
@ -598,7 +598,7 @@ fails-if(Android&&!asyncPan) != 367247-l-hidden.html 367247-l-scroll.html
|
||||
== 367612-1e.html 367612-1-ref.html
|
||||
== 367612-1f.html 367612-1-ref.html
|
||||
!= 367612-1g.html 367612-1-ref.html
|
||||
fuzzy(32,34) fuzzy-if(cocoaWidget,32,100) == 368020-1.html 368020-1-ref.html
|
||||
fuzzy-if(skiaContent,1,28) fuzzy-if(winWidget||gtkWidget,32,34) == 368020-1.html 368020-1-ref.html
|
||||
== 368020-2.html 368020-2-ref.html
|
||||
== 368020-3.html 368020-3-ref.html
|
||||
pref(layout.css.box-decoration-break.enabled,true) == 368020-5.html 368020-5-ref.html
|
||||
@ -1473,7 +1473,7 @@ random == 536061.html 536061-ref.html # fixedpoint division in blur code makes t
|
||||
== 539323-3.html 539323-3-ref.html
|
||||
== 539880-1.html 539880-1-ref.html
|
||||
== 539880-1-dynamic.html 539880-1-ref.html
|
||||
fuzzy-if(Android,12,1000) == 539949-1.html#test2 539949-1-ref.html#test2
|
||||
fuzzy-if(Android,12,1000) skip-if(styloVsGecko) == 539949-1.html#test2 539949-1-ref.html#test2 # bug 1354406
|
||||
== 541382-1.html 541382-1-ref.html
|
||||
random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)||!haveTestPlugin) HTTP == 541406-1.html 541406-1-ref.html
|
||||
needs-focus != 542116-1.html 542116-1-ref.html
|
||||
|
@ -2,7 +2,7 @@ default-preferences pref(layout.css.box-decoration-break.enabled,true)
|
||||
|
||||
== box-decoration-break-1.html box-decoration-break-1-ref.html
|
||||
fuzzy(1,20) fuzzy-if(skiaContent,1,700) fuzzy-if(webrender,6-6,8490-8490) == box-decoration-break-with-inset-box-shadow-1.html box-decoration-break-with-inset-box-shadow-1-ref.html
|
||||
fuzzy(60,692) fuzzy-if(Android||cocoaWidget||winWidget,77,1764) fuzzy-if(styloVsGecko,45,1410) == box-decoration-break-with-outset-box-shadow-1.html box-decoration-break-with-outset-box-shadow-1-ref.html # Bug 1386543
|
||||
fuzzy(45,460) fuzzy-if(skiaContent,57,439) fuzzy-if(Android,57,1330) fuzzy-if(styloVsGecko,45,1410) == box-decoration-break-with-outset-box-shadow-1.html box-decoration-break-with-outset-box-shadow-1-ref.html # Bug 1386543
|
||||
random-if(!gtkWidget) == box-decoration-break-border-image.html box-decoration-break-border-image-ref.html
|
||||
== box-decoration-break-block-border-padding.html box-decoration-break-block-border-padding-ref.html
|
||||
== box-decoration-break-block-margin.html box-decoration-break-block-margin-ref.html
|
||||
|
@ -1,19 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<script>
|
||||
|
||||
// We use MozReftestInvalidate here to wait until the font has loaded before
|
||||
// calling getBoundingClientRect.
|
||||
document.addEventListener('MozReftestInvalidate', () => {
|
||||
let div = document.querySelector('div');
|
||||
let span = document.querySelector('span');
|
||||
div.style.height = span.getBoundingClientRect().height + 'px';
|
||||
document.documentElement.removeAttribute("class");
|
||||
});
|
||||
|
||||
</script>
|
||||
<style>
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: Ahem;
|
||||
src: url(../fonts/Ahem.ttf);
|
||||
@ -23,7 +9,10 @@ div {
|
||||
width: 1em;
|
||||
background: green;
|
||||
}
|
||||
|
||||
</style>
|
||||
</style>
|
||||
<div><span></span></div>
|
||||
|
||||
<script>
|
||||
let $div = document.querySelector('div');
|
||||
let $span = document.querySelector('span');
|
||||
$div.style.height = $span.getBoundingClientRect().height + 'px';
|
||||
</script>
|
||||
|
@ -1,4 +1,4 @@
|
||||
HTTP == deferred-anchor.xhtml#d deferred-anchor-ref.xhtml#d
|
||||
skip-if(styloVsGecko) HTTP == deferred-anchor.xhtml#d deferred-anchor-ref.xhtml#d # bug 1354406
|
||||
fuzzy-if(xulRuntime.widgetToolkit=="gtk3",1,23) == deferred-anchor2.xhtml deferred-anchor-ref.xhtml#d # bug 1182632
|
||||
HTTP == fixed-1.html fixed-1.html?ref
|
||||
fuzzy-if(skiaContent,1,32200) HTTP == fixed-table-1.html fixed-table-1.html?ref
|
||||
@ -22,7 +22,7 @@ pref(layout.css.scroll-behavior.enabled,true) pref(layout.css.scroll-behavior.pr
|
||||
pref(layout.css.scroll-behavior.enabled,true) pref(layout.css.scroll-behavior.property-enabled,true) == scroll-behavior-10.html scroll-behavior-10.html?ref
|
||||
pref(layout.css.scroll-behavior.enabled,true) pref(layout.css.scroll-behavior.property-enabled,true) == scroll-behavior-textarea.html scroll-behavior-textarea.html?ref
|
||||
HTTP == simple-1.html simple-1.html?ref
|
||||
HTTP == subpixel-1.html#d subpixel-1-ref.html#d
|
||||
skip-if(styloVsGecko) HTTP == subpixel-1.html#d subpixel-1-ref.html#d # bug 1354406
|
||||
fuzzy-if(Android,4,120) HTTP == text-1.html text-1.html?ref
|
||||
fuzzy-if(Android,4,120) HTTP == text-2.html?up text-2.html?ref
|
||||
fuzzy-if(d2d,1,4) fuzzy-if(webrender,0-1,0-42) HTTP == transformed-1.html transformed-1.html?ref
|
||||
|
@ -142,7 +142,7 @@ random-if(webrender) == anim-marker-orient-02.svg lime.svg
|
||||
fuzzy-if(Android,4,1) == anim-svg-viewBox-01.svg lime.svg
|
||||
== anim-svg-viewBox-02.svg lime.svg
|
||||
== anim-svg-viewBox-03.svg lime.svg
|
||||
== anim-view-01.svg#view lime.svg
|
||||
skip-if(styloVsGecko) == anim-view-01.svg#view lime.svg # bug 1354406
|
||||
|
||||
# animate some preserveAspectRatio attributes
|
||||
== anim-feImage-preserveAspectRatio-01.svg lime.svg
|
||||
|
@ -22,7 +22,7 @@ skip-if(Android) fuzzy-if(skiaContent,1,5) == clipped-elements.html clipped-elem
|
||||
fuzzy-if(gtkWidget,10,32) == two-value-syntax.html two-value-syntax-ref.html
|
||||
== single-value.html single-value-ref.html
|
||||
fuzzy-if(gtkWidget,10,2) == atomic-under-marker.html atomic-under-marker-ref.html
|
||||
fuzzy(1,2616) skip-if(Android) fuzzy-if(asyncPan&&!layersGPUAccelerated,255,12352) fuzzy-if(asyncPan&&layersGPUAccelerated,255,3771) fails-if(gtkWidget) == xulscroll.html xulscroll-ref.html # gtkWidget:bug 1309107, bug 1328771
|
||||
fuzzy(1,2616) skip-if(Android) fuzzy-if(asyncPan&&!layersGPUAccelerated,102,12352) fails-if(gtkWidget) == xulscroll.html xulscroll-ref.html # gtkWidget:bug 1309107, bug 1328771
|
||||
== combobox-zoom.html combobox-zoom-ref.html
|
||||
== dynamic-change-1.html dynamic-change-1-ref.html
|
||||
== float-edges-1-ref.html float-edges-1-ref.html
|
||||
|
@ -1055,38 +1055,9 @@ function DoAssertionCheck()
|
||||
SendAssertionCount(numAsserts);
|
||||
}
|
||||
|
||||
function URIsEqualIgnoringHash(uri1, uri2)
|
||||
{
|
||||
if (!uri2) {
|
||||
return false;
|
||||
}
|
||||
let hashIndex1 = uri1.indexOf("#");
|
||||
if (hashIndex1 > -1) {
|
||||
uri1 = uri1.substr(0, hashIndex1);
|
||||
}
|
||||
let hashIndex2 = uri2.indexOf("#");
|
||||
if (hashIndex2 > -1) {
|
||||
uri2 = uri2.substr(0, hashIndex2);
|
||||
}
|
||||
return uri1 == uri2;
|
||||
}
|
||||
|
||||
function LoadURI(uri)
|
||||
{
|
||||
let flags = CI.nsIWebNavigation.LOAD_FLAGS_NONE;
|
||||
|
||||
if (URIsEqualIgnoringHash(uri, gCurrentURL)) {
|
||||
// In this case the new URI would normally just cause an anchor scroll
|
||||
// so we use LOAD_FLAGS_BYPASS_CACHE to force a reload so we'll get a
|
||||
// 'load' event. (The code that handles new URIs once they're ready is
|
||||
// triggered by a 'load' event, so we'll time out if we don't get one).
|
||||
//
|
||||
// Note that we avoid using this flag in general since we don't want
|
||||
// to unnecessarily reload and reprocess common font files, images,
|
||||
// etc. for every test/reference (that may slow down reftest runs).
|
||||
flags = CI.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
|
||||
}
|
||||
|
||||
var flags = webNavigation().LOAD_FLAGS_NONE;
|
||||
webNavigation().loadURI(uri, flags, null, null, null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user