Merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE

This commit is contained in:
dluca 2017-11-12 00:26:02 +02:00
Родитель 230aa7d0ef 70cc02de17
Коммит 8d7066b52a
41 изменённых файлов: 495 добавлений и 420 удалений

Просмотреть файл

@ -1,8 +1,5 @@
[DEFAULT]
prefs =
# Skip migration work in BG__migrateUI for browser_startup.js since it isn't
# representative of common startup.
browser.migration.version=9999999
browser.startup.record=true
support-files =
head.js

Просмотреть файл

@ -44,7 +44,7 @@ class TestFirefoxRefresh(MarionetteTestCase):
Services.logins.addLogin(myLogin)
""", script_args=(self._username, self._password))
def createBookmarkInMenu(self):
def createBookmark(self):
self.marionette.execute_script("""
let url = arguments[0];
let title = arguments[1];
@ -52,14 +52,6 @@ class TestFirefoxRefresh(MarionetteTestCase):
makeURI(url), 0, title);
""", script_args=(self._bookmarkURL, self._bookmarkText))
def createBookmarksOnToolbar(self):
self.marionette.execute_script("""
for (let i = 1; i <= 5; i++) {
PlacesUtils.bookmarks.insertBookmark(PlacesUtils.toolbarFolderId,
makeURI(`about:rights?p=${i}`), 0, `Bookmark ${i}`);
}
""")
def createHistory(self):
error = self.runAsyncCode("""
// Copied from PlacesTestUtils, which isn't available in Marionette tests.
@ -208,7 +200,7 @@ class TestFirefoxRefresh(MarionetteTestCase):
# Note that we expect 2 logins - one from us, one from sync.
self.assertEqual(loginCount, 2, "No other logins are present")
def checkBookmarkInMenu(self):
def checkBookmark(self):
titleInBookmarks = self.marionette.execute_script("""
let url = arguments[0];
let bookmarkIds = PlacesUtils.bookmarks.getBookmarkIdsForURI(makeURI(url), {}, {});
@ -216,14 +208,6 @@ class TestFirefoxRefresh(MarionetteTestCase):
""", script_args=(self._bookmarkURL,))
self.assertEqual(titleInBookmarks, self._bookmarkText)
def checkBookmarkToolbarVisibility(self):
toolbarVisible = self.marionette.execute_script("""
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
let xulStore = Cc["@mozilla.org/xul/xulstore;1"].getService(Ci.nsIXULStore);
return xulStore.getValue(BROWSER_DOCURL, "PersonalToolbar", "collapsed")
""")
self.assertEqual(toolbarVisible, "false")
def checkHistory(self):
historyResult = self.runAsyncCode("""
PlacesUtils.history.fetch(arguments[0]).then(pageInfo => {
@ -394,20 +378,18 @@ class TestFirefoxRefresh(MarionetteTestCase):
def checkProfile(self, hasMigrated=False):
self.checkPassword()
self.checkBookmarkInMenu()
self.checkBookmark()
self.checkHistory()
self.checkFormHistory()
self.checkFormAutofill()
self.checkCookie()
self.checkSync(hasMigrated);
if hasMigrated:
self.checkBookmarkToolbarVisibility()
self.checkSession()
def createProfileData(self):
self.savePassword()
self.createBookmarkInMenu()
self.createBookmarksOnToolbar()
self.createBookmark()
self.createHistory()
self.createFormHistory()
self.createFormAutofill()

Просмотреть файл

@ -1743,35 +1743,6 @@ BrowserGlue.prototype = {
this.AlertsService.showAlertNotification(null, title, body, true, null, clickCallback);
},
/**
* Uncollapses PersonalToolbar if its collapsed status is not
* persisted, and user customized it or changed default bookmarks.
*
* If the user does not have a persisted value for the toolbar's
* "collapsed" attribute, try to determine whether it's customized.
*/
_maybeToggleBookmarkToolbarVisibility() {
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
const NUM_TOOLBAR_BOOKMARKS_TO_UNHIDE = 3;
let xulStore = Cc["@mozilla.org/xul/xulstore;1"].getService(Ci.nsIXULStore);
if (!xulStore.hasValue(BROWSER_DOCURL, "PersonalToolbar", "collapsed")) {
// We consider the toolbar customized if it has more than NUM_TOOLBAR_BOOKMARKS_TO_UNHIDE
// children, or if it has a persisted currentset value.
let toolbarIsCustomized = xulStore.hasValue(BROWSER_DOCURL, "PersonalToolbar", "currentset");
let getToolbarFolderCount = () => {
let toolbarFolder = PlacesUtils.getFolderContents(PlacesUtils.toolbarFolderId).root;
let toolbarChildCount = toolbarFolder.childCount;
toolbarFolder.containerOpen = false;
return toolbarChildCount;
};
if (toolbarIsCustomized || getToolbarFolderCount() > NUM_TOOLBAR_BOOKMARKS_TO_UNHIDE) {
xulStore.setValue(BROWSER_DOCURL, "PersonalToolbar", "collapsed", "false");
}
}
},
// eslint-disable-next-line complexity
_migrateUI: function BG__migrateUI() {
const UI_VERSION = 58;
@ -1783,15 +1754,6 @@ BrowserGlue.prototype = {
} else {
// This is a new profile, nothing to migrate.
Services.prefs.setIntPref("browser.migration.version", UI_VERSION);
try {
// New profiles may have existing bookmarks (imported from another browser or
// copied into the profile) and we want to show the bookmark toolbar for them
// in some cases.
this._maybeToggleBookmarkToolbarVisibility();
} catch (ex) {
Cu.reportError(ex);
}
return;
}

Просмотреть файл

@ -4,4 +4,3 @@
skip-if = !updater
reason = test depends on update channel
[browser_contentpermissionprompt.js]
[browser_default_bookmark_toolbar_visibility.js]

Просмотреть файл

@ -1,18 +0,0 @@
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Test _maybeToggleBookmarkToolbarVisibility() code running for new profiles.
* Ensure that the bookmarks toolbar is hidden in a default configuration.
* If new default bookmarks are added to the toolbar then the threshold of > 3
* in NUM_TOOLBAR_BOOKMARKS_TO_UNHIDE may need to be adjusted there.
*/
add_task(async function test_default_bookmark_toolbar_visibility() {
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
let xulStore = Cc["@mozilla.org/xul/xulstore;1"].getService(Ci.nsIXULStore);
is(xulStore.getValue(BROWSER_DOCURL, "PersonalToolbar", "collapsed"), "",
"Check that @collapsed isn't persisted");
ok(document.getElementById("PersonalToolbar").collapsed,
"The bookmarks toolbar should be collapsed by default");
});

Просмотреть файл

@ -71,7 +71,7 @@
},
"experimental-hidden": {
"visibleDefaultEngines": [
"yahoo-en-CA", "yandex-en"
"amazon-ca", "amazon-au", "google-2018", "yahoo-en-CA", "yandex-en"
]
}
},
@ -274,6 +274,11 @@
"visibleDefaultEngines": [
"google", "yahoo-mx", "bing", "ddg", "mercadolibre-mx", "wikipedia-es"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-mx"
]
}
},
"et": {
@ -323,6 +328,11 @@
"visibleDefaultEngines": [
"google", "yahoo-fy-NL", "bing", "bolcom-fy-NL", "ddg", "ebay-nl", "marktplaats-fy-NL", "wikipedia-fy-NL"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-nl"
]
}
},
"ga-IE": {
@ -582,6 +592,11 @@
"visibleDefaultEngines": [
"google", "bing", "bolcom-nl", "ddg", "ebay-nl", "marktplaats-nl", "wikipedia-nl"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-nl"
]
}
},
"nn-NO": {
@ -624,6 +639,11 @@
"visibleDefaultEngines": [
"google", "yahoo-br", "bing", "buscape", "ddg", "mercadolivre", "twitter", "wikipedia-pt"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-br"
]
}
},
"pt-PT": {
@ -762,7 +782,7 @@
"vi": {
"default": {
"visibleDefaultEngines": [
"google", "coccoc", "ddg", "wikipedia-vi", "zing-mp3"
"google", "coccoc", "ddg", "wikipedia-vi"
]
}
},

Просмотреть файл

@ -0,0 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.au</ShortName>
<Description>Amazon.com.au Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/amazon.ico</Image>
<Url type="text/html" method="GET" template="https://www.amazon.com.au/exec/obidos/external-search/" rel="searchform">
<Param name="field-keywords" value="{searchTerms}"/>
<Param name="ie" value="{inputEncoding}"/>
<Param name="mode" value="blended"/>
</Url>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.br</ShortName>
<Description>Amazon.com.br Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/amazon.ico</Image>
<Url type="text/html" method="GET" template="https://www.amazon.com.br/exec/obidos/external-search/" rel="searchform">
<Param name="field-keywords" value="{searchTerms}"/>
<Param name="ie" value="{inputEncoding}"/>
<Param name="mode" value="blended"/>
</Url>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.ca</ShortName>
<Description>Amazon.ca Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/amazon.ico</Image>
<Url type="text/html" method="GET" template="https://www.amazon.ca/exec/obidos/external-search/" rel="searchform">
<Param name="field-keywords" value="{searchTerms}"/>
<Param name="ie" value="{inputEncoding}"/>
<Param name="mode" value="blended"/>
</Url>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.mx</ShortName>
<Description>Amazon.com.mx Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/amazon.ico</Image>
<Url type="text/html" method="GET" template="https://www.amazon.com.mx/exec/obidos/external-search/" rel="searchform">
<Param name="field-keywords" value="{searchTerms}"/>
<Param name="ie" value="{inputEncoding}"/>
<Param name="mode" value="blended"/>
</Url>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,15 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.nl</ShortName>
<Description>Amazon.com.nl Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/amazon.ico</Image>
<Url type="text/html" method="GET" template="https://www.amazon.nl/exec/obidos/external-search/" rel="searchform">
<Param name="field-keywords" value="{searchTerms}"/>
<Param name="ie" value="{inputEncoding}"/>
<Param name="mode" value="blended"/>
</Url>
</SearchPlugin>

Просмотреть файл

@ -6,11 +6,9 @@
<ShortName>EUdict Eng->Cro</ShortName>
<Description>EUdict - englesko-hrvatski rječnik</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/gif;base64,R0lGODlhEAAQAKIAAH6CuJufvmJwrtze4vb4%2BLwxMcZmZtG7uyH5BAAAAAAALAAAAAAQABAAAANvSHTMs0dBZWoNpMpiyLhBMBycMhTYUT0KiS3oYnVZXEczQBXRnRkBhoLDIp4MrGHhQUI2LQ8DRxpTzZhUYNIjOAwALJbIAyiPMAOBYBBQfwPmUDrIFoQABwBG35bACXAAdmlseBFmeXBeOml2C2sJADs%3D</Image>
<Url type="text/html" method="GET" template="http://www.eudict.com/indexHr.php" resultdomain="eudict.com">
<Image width="16" height="16">data:image/x-icon;base64,AAABAAIAICAAAAEAIAAhBAAAJgAAABAQAAABACAAsgIAAEcEAACJUE5HDQoaCgAAAA1JSERSAAAAIAAAACAIBgAAAHN6evQAAAPoSURBVFiFxZVfSGRlGMaf7ztndHQYnTnTKIx/BqVUJivFipkBZzLNmWnwwj8Lohz0wigWSb0RKwIJgoH0UlKaQFak3XZbom5cxRsv9srWImFHy3bdFCTdWqdGHebP28XuhKuOzZzUHng5h/f9vuf5XXznOyAinFTDw8Mvtra2fpxsflaVdGC3230ajSbc09Pz5v8BIJrN5l8AUFFR0T2fz2e6UIDu7u5LAChRVqv1WyJiFwZQXV19/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AAWiL68aTB3xt7z23B4WL8AAAAAElFTkSuQmCCiVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACeUlEQVQ4jY2Sv0tceRTFP/f73vvynCQaVJiNWiiKGgOK64+AEphOCNiIFolgkTImxFS2r/BP0ELYYvspZkUCSS0pkibFTpWglTDFsKgbJzrz3vd7U2QemM4Dl1vcy+Gcw4EbKJVKO8vLy0MASZIYboP8cWNjo7+zs1PHx8fL7dPtCIAQYHZ29i2gURTpwsLC65u3W2FoaOgzoID29va2VlZW/gQolUohIPmo6m8DwNLS0pOuri4F1BiTAjo8PFzd398v3Ep+rVZ7dnFxgYhk3vsQyI6Pjx/t7u7uAi8ODw8LAGdnZ5KmqSkWi2Ecx1ZEYtnc3Ow5ODj49/T09IGIqKqKtVZbrZbMz8+fr66u1pxzd0XEiEigqqH33jjnuguFwoewWq0+rdfrDwCnqgFAFEXSarWYnJz8nqbpwyzLEBFUFQDvPXEcc3V19d7U6/WXzWaTIAgEwBhDo9Ggp6en0dfXFznnaJNrO2RnjEFVa9fX1++Mc+4OQPuBOI4VYHFx8bu19r73HlUNbiSPtRYR+bCzs/PNTExMPC8Wiz+894ExxjvnBMhGRkY8EOeyc6hq4JzDWlsBMJVKpTo6Ovqmo6MDQJvNJtPT05fd3d0dzjmMMTcZfBiGRFH05eTk5CP8qqs5Ojr6a2xs7O8oigLATU1NXYnIvbZ8ARAR5VdTCcPwYG9v7z9VFZMkCQDr6+uv+vv7vwLBwMCAz7IsBHzezraVwHv/v3PuMJckAGtra0G5XHaDg4OP5+bm/pmZmfnDe597zrdaa8VaW9na2noOXAMSApTLZZckiUmS5NP29vazy8vLORFpAF5EMiBT1dRaK+fn51+BNM/0JzZtNfKBgJoFAAAAAElFTkSuQmCC</Image>
<Url type="text/html" method="GET" template="https://eudict.com" resultdomain="eudict.com" rel="searchform">
<Param name="lang" value="engcro"/>
<Param name="word" value="{searchTerms}"/>
<Param name="client" value="firefox"/>
</Url>
<SearchForm>http://www.eudict.com/indexHr.php</SearchForm>
</SearchPlugin>

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -11,6 +11,11 @@
<Param name="part" value="{searchTerms}"/>
</Url>
<Url type="text/html" method="GET" template="https://www.yandex.com/search">
<MozParam name="clid" condition="purpose" purpose="searchbar" value="2186618"/>
<MozParam name="clid" condition="purpose" purpose="keyword" value="2186621"/>
<MozParam name="clid" condition="purpose" purpose="contextmenu" value="2186623"/>
<MozParam name="clid" condition="purpose" purpose="homepage" value="2186617"/>
<MozParam name="clid" condition="purpose" purpose="newtab" value="2186620"/>
<Param name="text" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.yandex.com/</SearchForm>

Просмотреть файл

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Zing MP3</ShortName>
<Description>Zing MP3 - Tìm nhạc</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAA//auAP//1wDspn8A/+aAAMeLYQDYxLAAx5N0ANGANQD/wTIA7+ncAP/GdwD07+QA/9eSAOuqhQD/8b0A1MO8AP/AXwD/1IIAvJeDAMKhkADNrJoAwIlgAP/bPQD/0oAA3cm0AN/JtADroTwAsnZdALB1YADbx7IAxYBZAOabVgD/8ccA/8hjAP//jwD/z3kAvY59AMqVcQD7iDAA/850AODFsAD/w1kAvINzAOesegD/+80AxIliANK4pADFkXUA/8hDAP//2wDEimgAxYJmAP/PSQD/0nsA7rJ7AP//uwDgzLcA/80uAP//7QDRv6sA2pNoAP/FXgD/0jEA/+dqAOeUZQDbv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HAAAAAAAAAAAAEUoODICASQlAAAAAAAAAAA0KlNKDw0iHwAAAAAAAAAAQic2TjtcMS4AAAAAAAAAAAApWgMOUj4zAAAAAAAAAAAAAAAAAEgRTwAAW14AAAAAAAAAAAA5UVkAACwwAAAAAAAAAAAAGTUFAB4SJgAAAAAAAAAAAAYXFjxVIwcAAAAAAAAAAABfPwgbRkAVAAAAAAAAAAAAFAk6TUMgAAAAAAAAAAAAACtHVARWGgAAAAAAAAAAAABLCxg9CgAAAAAAAAAAAAAAUC1BDAAAAAAAAAAAAAAAAExYEAAAAAAAAPD/AADgfwAAwD8AAMA/AADAPwAA4D8AAP4zAAD+MwAA/iMAAP4DAAD+AwAA/gcAAP4HAAD+DwAA/h8AAP4/AAA=</Image>
<Url type="text/html" method="GET" template="http://mp3.zing.vn/mp3/search/do.html" resultdomain="zing.vn">
<Param name="q" value="{searchTerms}"/>
<Param name="t" value="0"/>
<Param name="utm_source" value="firefox"/>
</Url>
<SearchForm>http://mp3.zing.vn/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -360,6 +360,16 @@ gl::Error ResourceManager11::allocate(Renderer11 *renderer,
shadowInitData = createInitDataIfNeeded<T>(desc);
}
// In Windows 32-bit, it's possible that mAllocatedResourceDeviceMemory
// exceeds UINT32_MAX leading to a delayed crash when we release
// the context, we should prevent that happen
const auto resourceSize = ComputeMemoryUsage(desc);
if (mAllocatedResourceDeviceMemory[ResourceTypeIndex<T>()] >
mAllocatedResourceDeviceMemory[ResourceTypeIndex<T>()] +
resourceSize) {
return gl::OutOfMemory() << "Error: Internal Memory Counter overflow";
}
HRESULT hr = CreateResource(device, desc, shadowInitData, &resource);
if (FAILED(hr))
{
@ -379,7 +389,7 @@ gl::Error ResourceManager11::allocate(Renderer11 *renderer,
}
ASSERT(resource);
incrResource(GetResourceTypeFromD3D11<T>(), ComputeMemoryUsage(desc));
incrResource(GetResourceTypeFromD3D11<T>(), resourceSize);
*resourceOut = std::move(Resource11<T>(resource, this));
return gl::NoError();
}
@ -387,6 +397,8 @@ gl::Error ResourceManager11::allocate(Renderer11 *renderer,
void ResourceManager11::incrResource(ResourceType resourceType, size_t memorySize)
{
mAllocatedResourceCounts[ResourceTypeIndex(resourceType)]++;
ASSERT(mAllocatedResourceDeviceMemory[ResourceTypeIndex(resourceType)] + memorySize >=
mAllocatedResourceDeviceMemory[ResourceTypeIndex(resourceType)]);
mAllocatedResourceDeviceMemory[ResourceTypeIndex(resourceType)] += memorySize;
}

Просмотреть файл

@ -529,14 +529,10 @@ private:
DECL_OVERRIDE_PREF(Live, "layers.advanced.background-image", LayersAllowBackgroundImage, gfxPrefs::OverrideBase_WebRender());
DECL_GFX_PREF(Live, "layers.advanced.basic-layer.enabled", LayersAdvancedBasicLayerEnabled, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.border-layers", LayersAllowBorderLayers, gfxPrefs::OverrideBase_WebRender());
DECL_GFX_PREF(Live, "layers.advanced.boxshadow-inset-layers", LayersAllowInsetBoxShadow, bool, false);
DECL_GFX_PREF(Live, "layers.advanced.boxshadow-outer-layers", LayersAllowOuterBoxShadow, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.bullet-layers", LayersAllowBulletLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.button-foreground-layers", LayersAllowButtonForegroundLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.canvas-background-color", LayersAllowCanvasBackgroundColorLayers, gfxPrefs::OverrideBase_WebRender());
DECL_GFX_PREF(Live, "layers.advanced.caret-layers", LayersAllowCaretLayers, bool, false);
DECL_OVERRIDE_PREF(Live, "layers.advanced.columnRule-layers", LayersAllowColumnRuleLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.displaybuttonborder-layers", LayersAllowDisplayButtonBorder, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.image-layers", LayersAllowImageLayers, gfxPrefs::OverrideBase_WebRender());
DECL_OVERRIDE_PREF(Live, "layers.advanced.outline-layers", LayersAllowOutlineLayers, gfxPrefs::OverrideBase_WebRender());
DECL_GFX_PREF(Live, "layers.advanced.solid-color", LayersAllowSolidColorLayers, bool, false);

Просмотреть файл

@ -96,11 +96,6 @@ public:
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder) override;
virtual LayerState GetLayerState(
nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters) override;
virtual already_AddRefed<Layer> BuildLayer(
nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
@ -153,19 +148,6 @@ nsDisplayButtonBoxShadowOuter::CanBuildWebRenderDisplayItems()
return true;
}
LayerState
nsDisplayButtonBoxShadowOuter::GetLayerState(
nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
if (ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowOuterBoxShadow) &&
CanBuildWebRenderDisplayItems()) {
return LAYER_ACTIVE;
}
return LAYER_NONE;
}
already_AddRefed<Layer>
nsDisplayButtonBoxShadowOuter::BuildLayer(
nsDisplayListBuilder* aBuilder,
@ -183,9 +165,7 @@ nsDisplayButtonBoxShadowOuter::CreateWebRenderCommands(
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder)
{
ContainerLayerParameters parameter;
if (GetLayerState(aDisplayListBuilder, aManager, parameter) !=
LAYER_ACTIVE) {
if (!CanBuildWebRenderDisplayItems()) {
return false;
}
int32_t appUnitsPerDevPixel = mFrame->PresContext()->AppUnitsPerDevPixel();
@ -256,7 +236,6 @@ public:
nsButtonFrameRenderer* aRenderer)
: nsDisplayItem(aBuilder, aRenderer->GetFrame())
, mBFR(aRenderer)
, mBorderIsEmpty(false)
{
MOZ_COUNT_CTOR(nsDisplayButtonBorder);
}
@ -280,9 +259,6 @@ public:
virtual void ComputeInvalidationRegion(nsDisplayListBuilder* aBuilder,
const nsDisplayItemGeometry* aGeometry,
nsRegion *aInvalidRegion) const override;
virtual LayerState GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters) override;
virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aContainerParameters) override;
@ -294,8 +270,6 @@ public:
NS_DISPLAY_DECL_NAME("ButtonBorderBackground", TYPE_BUTTON_BORDER_BACKGROUND)
private:
nsButtonFrameRenderer* mBFR;
Maybe<nsCSSBorderRenderer> mBorderRenderer;
bool mBorderIsEmpty;
};
nsDisplayItemGeometry*
@ -304,52 +278,6 @@ nsDisplayButtonBorder::AllocateGeometry(nsDisplayListBuilder* aBuilder)
return new nsDisplayItemGenericImageGeometry(this, aBuilder);
}
LayerState
nsDisplayButtonBorder::GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
if (ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowDisplayButtonBorder)) {
// TODO: Figure out what to do with sync decode images
if (aBuilder->ShouldSyncDecodeImages()) {
return LAYER_NONE;
}
nsPoint offset = ToReferenceFrame();
if (!nsDisplayBoxShadowInner::CanCreateWebRenderCommands(aBuilder,
mFrame,
offset)) {
return LAYER_NONE;
}
mBorderIsEmpty = false;
Maybe<nsCSSBorderRenderer> br =
nsCSSRendering::CreateBorderRenderer(mFrame->PresContext(),
nullptr,
mFrame,
nsRect(),
nsRect(offset, mFrame->GetSize()),
mFrame->StyleContext(),
&mBorderIsEmpty,
mFrame->GetSkipSides());
if (!br) {
if (mBorderIsEmpty) {
return LAYER_ACTIVE;
}
return LAYER_NONE;
}
if (!br->CanCreateWebRenderCommands()) {
return LAYER_NONE;
}
mBorderRenderer = br;
return LAYER_ACTIVE;
}
return LAYER_NONE;
}
already_AddRefed<Layer>
nsDisplayButtonBorder::BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
@ -365,8 +293,23 @@ nsDisplayButtonBorder::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder)
{
ContainerLayerParameters parameter;
if (GetLayerState(aDisplayListBuilder, aManager, parameter) != LAYER_ACTIVE) {
bool borderIsEmpty = false;
Maybe<nsCSSBorderRenderer> br =
nsCSSRendering::CreateBorderRenderer(mFrame->PresContext(),
nullptr,
mFrame,
nsRect(),
nsRect(ToReferenceFrame(), mFrame->GetSize()),
mFrame->StyleContext(),
&borderIsEmpty,
mFrame->GetSkipSides());
if (!br) {
if (borderIsEmpty) {
return true;
}
return false;
}
if (!br->CanCreateWebRenderCommands()) {
return false;
}
@ -381,12 +324,7 @@ nsDisplayButtonBorder::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder&
mFrame,
buttonRect);
if (mBorderRenderer) {
mBorderRenderer->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
} else {
// empty border, nothing to do
MOZ_ASSERT(mBorderIsEmpty);
}
br->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
return true;
}
@ -451,9 +389,6 @@ public:
nsRegion *aInvalidRegion) const override;
virtual void Paint(nsDisplayListBuilder* aBuilder,
gfxContext* aCtx) override;
virtual LayerState GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters) override;
virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aContainerParameters) override;
@ -465,7 +400,6 @@ public:
NS_DISPLAY_DECL_NAME("ButtonForeground", TYPE_BUTTON_FOREGROUND)
private:
nsButtonFrameRenderer* mBFR;
Maybe<nsCSSBorderRenderer> mBorderRenderer;
};
nsDisplayItemGeometry*
@ -508,37 +442,6 @@ void nsDisplayButtonForeground::Paint(nsDisplayListBuilder* aBuilder,
}
}
LayerState
nsDisplayButtonForeground::GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
Maybe<nsCSSBorderRenderer> br;
if (ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowButtonForegroundLayers)) {
nsPresContext *presContext = mFrame->PresContext();
const nsStyleDisplay *disp = mFrame->StyleDisplay();
if (!mFrame->IsThemed(disp) ||
!presContext->GetTheme()->ThemeDrawsFocusForWidget(disp->mAppearance)) {
bool borderIsEmpty = false;
nsRect r = nsRect(ToReferenceFrame(), mFrame->GetSize());
br = mBFR->CreateInnerFocusBorderRenderer(aBuilder, presContext, nullptr,
mVisibleRect, r, &borderIsEmpty);
if (borderIsEmpty) {
return LAYER_ACTIVE;
}
}
}
if (!br || !br->CanCreateWebRenderCommands()) {
return LAYER_NONE;
}
mBorderRenderer = br;
return LAYER_ACTIVE;
}
already_AddRefed<mozilla::layers::Layer>
nsDisplayButtonForeground::BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
@ -554,17 +457,28 @@ nsDisplayButtonForeground::CreateWebRenderCommands(mozilla::wr::DisplayListBuild
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder)
{
ContainerLayerParameters parameter;
if (GetLayerState(aDisplayListBuilder, aManager, parameter) != LAYER_ACTIVE) {
Maybe<nsCSSBorderRenderer> br;
bool borderIsEmpty = false;
nsPresContext *presContext = mFrame->PresContext();
const nsStyleDisplay *disp = mFrame->StyleDisplay();
if (!mFrame->IsThemed(disp) ||
!presContext->GetTheme()->ThemeDrawsFocusForWidget(disp->mAppearance)) {
nsRect r = nsRect(ToReferenceFrame(), mFrame->GetSize());
br = mBFR->CreateInnerFocusBorderRenderer(aDisplayListBuilder, presContext, nullptr,
mVisibleRect, r, &borderIsEmpty);
}
if (!br) {
if (borderIsEmpty) {
return true;
}
return false;
}
if (!br->CanCreateWebRenderCommands()) {
return false;
}
// empty border, nothing to do
if (!mBorderRenderer) {
return true;
}
mBorderRenderer->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
br->CreateWebRenderCommands(this, aBuilder, aResources, aSc);
return true;
}

Просмотреть файл

@ -160,10 +160,6 @@ nsDisplayFieldSetBorder::CreateWebRenderCommands(mozilla::wr::DisplayListBuilder
mozilla::layers::WebRenderLayerManager* aManager,
nsDisplayListBuilder* aDisplayListBuilder)
{
if (!ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowBorderLayers)) {
return false;
}
auto frame = static_cast<nsFieldSetFrame*>(mFrame);
auto offset = ToReferenceFrame();
nsRect rect;

Просмотреть файл

@ -5589,19 +5589,6 @@ nsDisplayBoxShadowOuter::ComputeVisibility(nsDisplayListBuilder* aBuilder,
return true;
}
LayerState
nsDisplayBoxShadowOuter::GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
if (ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowOuterBoxShadow)) {
return LAYER_ACTIVE;
}
return LAYER_NONE;
}
already_AddRefed<Layer>
nsDisplayBoxShadowOuter::BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
@ -5803,18 +5790,6 @@ nsDisplayBoxShadowInner::CanCreateWebRenderCommands(nsDisplayListBuilder* aBuild
return true;
}
LayerState
nsDisplayBoxShadowInner::GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters)
{
if (ShouldUseAdvancedLayer(aManager, gfxPrefs::LayersAllowInsetBoxShadow)) {
return LAYER_ACTIVE;
}
return LAYER_NONE;
}
already_AddRefed<Layer>
nsDisplayBoxShadowInner::BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,

Просмотреть файл

@ -4188,9 +4188,6 @@ public:
return new nsDisplayBoxShadowOuterGeometry(this, aBuilder, mOpacity);
}
virtual LayerState GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters) override;
virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aContainerParameters) override;
@ -4261,9 +4258,6 @@ public:
nsRegion& aVisibleRegion,
nsIFrame* aFrame,
const nsRect aBorderRect);
virtual LayerState GetLayerState(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aParameters) override;
virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aContainerParameters) override;

Просмотреть файл

@ -10,7 +10,7 @@ random != boxshadow-blur-2.html boxshadow-blur-2-notref.html # fixedpoint divisi
== tableboxshadow-tdshadow.html tableboxshadow-tdshadow-ref.html
== boxshadow-rounding.html boxshadow-rounding-ref.html
# One uses old path, one uses WR box shadow.
fails-if(Android) fuzzy-if(webrender,23-23,3304-3304) == boxshadow-button.html boxshadow-button-ref.html
fails-if(Android) == boxshadow-button.html boxshadow-button-ref.html
fuzzy-if(OSX==1010,1,24) fuzzy-if(d2d,16,908) fuzzy-if(webrender,70-70,1320-1320) == boxshadow-large-border-radius.html boxshadow-large-border-radius-ref.html # Bug 1209649
fails-if(Android) == boxshadow-fileupload.html boxshadow-fileupload-ref.html

Просмотреть файл

@ -199,6 +199,11 @@
"visibleDefaultEngines": [
"google-nocodes", "yahoo", "bing", "amazondotcom", "duckduckgo", "twitter", "wikipedia"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-ca", "amazon-au", "google-2018"
]
}
},
"en-ZA": {
@ -241,6 +246,11 @@
"visibleDefaultEngines": [
"google", "yahoo-mx", "bing", "amazondotcom", "duckduckgo", "mercadolibre-mx", "twitter", "wikipedia-es"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-mx"
]
}
},
"et": {
@ -290,6 +300,11 @@
"visibleDefaultEngines": [
"google", "wikipedia-fy-NL", "bolcom-fy-NL"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-nl"
]
}
},
"ga-IE": {
@ -535,6 +550,11 @@
"visibleDefaultEngines": [
"google", "yahoo", "bing", "bolcom-nl", "duckduckgo", "twitter", "wikipedia-nl"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-nl"
]
}
},
"nn-NO": {
@ -577,6 +597,11 @@
"visibleDefaultEngines": [
"google", "yahoo-br", "bing", "twitter", "wikipedia-pt"
]
},
"experimental-hidden": {
"visibleDefaultEngines": [
"amazon-br"
]
}
},
"pt-PT": {

Просмотреть файл

@ -0,0 +1,12 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.au</ShortName>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABaFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////mQACAgH7+/uEhIT9mACFhYX9/f0JCQkFBQWwagBtQgAJBQANDQ36lgDr6+vj4+O7u7u3t7dDQ0M9PT0oKCgbGxvVgADGdwCqZgBYNQBCKAAkFgAcEQARCgDw8PDS0tKysrKtra2Xl5eSkpJtbW1dXV1aWlpLS0tHR0c5OTkzMzMuLi4qKirrjQDniwDehgC7cACZXACKUwBjOwBPLwA8JAAsGwAgEwD19fXn5+fZ2dnPz8/Ly8vHx8ekpKSdnZ2JiYl/f394eHggICD7lwD2lADRfgDPfACeXwCETwBdOAA4IgA0IAAWDgDd3d3W1ta/v7+oqKiPj497e3twcHBpaWljY2NWVlYUFBTsjgDiiADZgwDAcwC3bgCmYwCPVgB2RwBnPgBKLQAMCADt7e1fX19SUlIWFhYSEhLwkADujwCRVwB8SwB6SgBSMgAPCQBOQY7nAAAABnRSTlMA8si8ZBgxEvPEAAADLklEQVRo3u2aZ1MiMRiA0dO8WeWkd6miNEVF6c3ee++ent3r9e/fgm6iggJuMjfO7PMxs+wTkrcE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p/aw/s">
<Param name="k" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.amazon.com/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,12 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.br</ShortName>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABaFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////mQACAgH7+/uEhIT9mACFhYX9/f0JCQkFBQWwagBtQgAJBQANDQ36lgDr6+vj4+O7u7u3t7dDQ0M9PT0oKCgbGxvVgADGdwCqZgBYNQBCKAAkFgAcEQARCgDw8PDS0tKysrKtra2Xl5eSkpJtbW1dXV1aWlpLS0tHR0c5OTkzMzMuLi4qKirrjQDniwDehgC7cACZXACKUwBjOwBPLwA8JAAsGwAgEwD19fXn5+fZ2dnPz8/Ly8vHx8ekpKSdnZ2JiYl/f394eHggICD7lwD2lADRfgDPfACeXwCETwBdOAA4IgA0IAAWDgDd3d3W1ta/v7+oqKiPj497e3twcHBpaWljY2NWVlYUFBTsjgDiiADZgwDAcwC3bgCmYwCPVgB2RwBnPgBKLQAMCADt7e1fX19SUlIWFhYSEhLwkADujwCRVwB8SwB6SgBSMgAPCQBOQY7nAAAABnRSTlMA8si8ZBgxEvPEAAADLklEQVRo3u2aZ1MiMRiA0dO8WeWkd6miNEVF6c3ee++ent3r9e/fgm6iggJuMjfO7PMxs+wTkrcEJiqRluYmxIGm5hZVidZ3iBvvWkUBj/dTg7g+iCstqmbElWZVE+JKkwpxRhEoAkWgCBTBfxBoNVpEYCz41hexbbUBfBoPtQ8KzAUOm/huyui+kanAaYWn9HxmKBgwQxUizAT2NqjKHCNBZw9UZ2SejcAGzzHNROAAgqU92n8wDgSzwEIwBRLvNUhEmKGGGAOBQCJoRhqaJIIvDARDJPBJah0SQS8DgWbnPkjDZGiQCGaZRJEw7+ibnZ5yVn4paOdTrofptqO3JdAOH89O28ZHO7gIBtsnSEliL9AeBYDAQeAYA+ApmOsAroJ9oHQErFORMNs8sAPBfPC13CCYCjRbIGE1kjxgKOgDiQkNl1KxAxJ2aSjGUqAhEWShhwyWAlqag2Ssl4yF5QuOQSJU5RQQlC+ge2wlxxhakyzyBVF6VpTO1SGgDMgW2OFpA56DBwS0cgUfaB1qi5aOwXvwiD3ZeRAAyvautaInxOQKeuFl+uUKjKNQwcQuSMzIr6YDFd0gqDGO3W/LIYt+cPRk3SMCQvMWEBnpZ9PR7GNAmXTcZZsZwDJEzmaFnF6vv/HXFnQJVXt+NDhS7mfbYTLn2GTIKX0oHcd3eGoKXK7ccwnR6TSiqmQWsMRiTUFxGbt9qDGuvfmC/7Z7PY3x99p7YLjAeClrQK+gG+Ozejb5So3xj0wRNULxt6cbFTFerSuKfEmMsVr35xbVx6beLT6/gdYwvqkvTA2XaixiSum7aq9LNlV6OOlDaAUnhXrzYH0Z3+HK5PzoOfze9HJ5KgsZA0LCCdY3kGjej1gicb66lvcLj1ZlY23Vc4rv0RWQSA4nDI1kspAtKSjquMud0ul05+6lU9PD8YsCKqMzrTdaKnweE65B4meXtBmm7Ctq0aY+9YLjJO0TaGTkX1ns/npXlhZwBXHdVZ68XfYPEMPG9aXHnYwvYvViwnW28stL4peJgFJ9zm/qb01FgJAiUASKACFFUAH3SwPcrz1wv7jB++oJ/8sz3K///AMH5R5E/GGrogAAAABJRU5ErkJggg==</Image>
<Url type="text/html" method="GET" template="https://www.amazon.com.br/gp/aw/s">
<Param name="k" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.amazon.com/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,12 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.ca</ShortName>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABaFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////mQACAgH7+/uEhIT9mACFhYX9/f0JCQkFBQWwagBtQgAJBQANDQ36lgDr6+vj4+O7u7u3t7dDQ0M9PT0oKCgbGxvVgADGdwCqZgBYNQBCKAAkFgAcEQARCgDw8PDS0tKysrKtra2Xl5eSkpJtbW1dXV1aWlpLS0tHR0c5OTkzMzMuLi4qKirrjQDniwDehgC7cACZXACKUwBjOwBPLwA8JAAsGwAgEwD19fXn5+fZ2dnPz8/Ly8vHx8ekpKSdnZ2JiYl/f394eHggICD7lwD2lADRfgDPfACeXwCETwBdOAA4IgA0IAAWDgDd3d3W1ta/v7+oqKiPj497e3twcHBpaWljY2NWVlYUFBTsjgDiiADZgwDAcwC3bgCmYwCPVgB2RwBnPgBKLQAMCADt7e1fX19SUlIWFhYSEhLwkADujwCRVwB8SwB6SgBSMgAPCQBOQY7nAAAABnRSTlMA8si8ZBgxEvPEAAADLklEQVRo3u2aZ1MiMRiA0dO8WeWkd6miNEVF6c3ee++ent3r9e/fgm6iggJuMjfO7PMxs+wTkrcEJiqRluYmxIGm5hZVidZ3iBvvWkUBj/dTg7g+iCstqmbElWZVE+JKkwpxRhEoAkWgCBTBfxBoNVpEYCz41hexbbUBfBoPtQ8KzAUOm/huyui+kanAaYWn9HxmKBgwQxUizAT2NqjKHCNBZw9UZ2SejcAGzzHNROAAgqU92n8wDgSzwEIwBRLvNUhEmKGGGAOBQCJoRhqaJIIvDARDJPBJah0SQS8DgWbnPkjDZGiQCGaZRJEw7+ibnZ5yVn4paOdTrofptqO3JdAOH89O28ZHO7gIBtsnSEliL9AeBYDAQeAYA+ApmOsAroJ9oHQErFORMNs8sAPBfPC13CCYCjRbIGE1kjxgKOgDiQkNl1KxAxJ2aSjGUqAhEWShhwyWAlqag2Ssl4yF5QuOQSJU5RQQlC+ge2wlxxhakyzyBVF6VpTO1SGgDMgW2OFpA56DBwS0cgUfaB1qi5aOwXvwiD3ZeRAAyvautaInxOQKeuFl+uUKjKNQwcQuSMzIr6YDFd0gqDGO3W/LIYt+cPRk3SMCQvMWEBnpZ9PR7GNAmXTcZZsZwDJEzmaFnF6vv/HXFnQJVXt+NDhS7mfbYTLn2GTIKX0oHcd3eGoKXK7ccwnR6TSiqmQWsMRiTUFxGbt9qDGuvfmC/7Z7PY3x99p7YLjAeClrQK+gG+Ozejb5So3xj0wRNULxt6cbFTFerSuKfEmMsVr35xbVx6beLT6/gdYwvqkvTA2XaixiSum7aq9LNlV6OOlDaAUnhXrzYH0Z3+HK5PzoOfze9HJ5KgsZA0LCCdY3kGjej1gicb66lvcLj1ZlY23Vc4rv0RWQSA4nDI1kspAtKSjquMud0ul05+6lU9PD8YsCKqMzrTdaKnweE65B4meXtBmm7Ctq0aY+9YLjJO0TaGTkX1ns/npXlhZwBXHdVZ68XfYPEMPG9aXHnYwvYvViwnW28stL4peJgFJ9zm/qb01FgJAiUASKACFFUAH3SwPcrz1wv7jB++oJ/8sz3K///AMH5R5E/GGrogAAAABJRU5ErkJggg==</Image>
<Url type="text/html" method="GET" template="https://www.amazon.ca/gp/aw/s">
<Param name="k" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.amazon.com/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,12 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.com.mx</ShortName>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABaFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////mQAC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PRk3SMCQvMWEBnpZ9PR7GNAmXTcZZsZwDJEzmaFnF6vv/HXFnQJVXt+NDhS7mfbYTLn2GTIKX0oHcd3eGoKXK7ccwnR6TSiqmQWsMRiTUFxGbt9qDGuvfmC/7Z7PY3x99p7YLjAeClrQK+gG+Ozejb5So3xj0wRNULxt6cbFTFerSuKfEmMsVr35xbVx6beLT6/gdYwvqkvTA2XaixiSum7aq9LNlV6OOlDaAUnhXrzYH0Z3+HK5PzoOfze9HJ5KgsZA0LCCdY3kGjej1gicb66lvcLj1ZlY23Vc4rv0RWQSA4nDI1kspAtKSjquMud0ul05+6lU9PD8YsCKqMzrTdaKnweE65B4meXtBmm7Ctq0aY+9YLjJO0TaGTkX1ns/npXlhZwBXHdVZ68XfYPEMPG9aXHnYwvYvViwnW28stL4peJgFJ9zm/qb01FgJAiUASKACFFUAH3SwPcrz1wv7jB++oJ/8sz3K///AMH5R5E/GGrogAAAABJRU5ErkJggg==</Image>
<Url type="text/html" method="GET" template="https://www.amazon.com.mx/gp/aw/s">
<Param name="k" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.amazon.com/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,12 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Amazon.nl</ShortName>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAABaFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAD/////mQACAgH7+/uEhIT9mACFhYX9/f0JCQkFBQWwagBtQgAJBQANDQ36lgDr6+vj4+O7u7u3t7dDQ0M9PT0oKCgbGxvVgADGdwCqZgBYNQBCKAAkFgAcEQARCgDw8PDS0tKysrKtra2Xl5eSkpJtbW1dXV1aWlpLS0tHR0c5OTkzMzMuLi4q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FerSuKfEmMsVr35xbVx6beLT6/gdYwvqkvTA2XaixiSum7aq9LNlV6OOlDaAUnhXrzYH0Z3+HK5PzoOfze9HJ5KgsZA0LCCdY3kGjej1gicb66lvcLj1ZlY23Vc4rv0RWQSA4nDI1kspAtKSjquMud0ul05+6lU9PD8YsCKqMzrTdaKnweE65B4meXtBmm7Ctq0aY+9YLjJO0TaGTkX1ns/npXlhZwBXHdVZ68XfYPEMPG9aXHnYwvYvViwnW28stL4peJgFJ9zm/qb01FgJAiUASKACFFUAH3SwPcrz1wv7jB++oJ/8sz3K///AMH5R5E/GGrogAAAABJRU5ErkJggg==</Image>
<Url type="text/html" method="GET" template="https://www.amazon.nl/gp/aw/s">
<Param name="k" value="{searchTerms}"/>
</Url>
<SearchForm>https://www.amazon.com/</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -0,0 +1,17 @@
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Google</ShortName>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAB71BMVEUAAAD29vb29vb29vb39/f////39/f19fXqQzU0qFNChfT7vAX09PRjmvSVufXqSDr19PTywr41qVRVtnDrT0Lv8/D06unviYHufnQ7q1nrW07rV0rqRTZ4p/Xz9PPj7ub36sTvlo93w4xywYdnvH5euXZIsGQ/rVz6xSr7wRj6vQrk6/XR3/WnxfVUkfXg6fSQtvR+q/RHifPq8ez04d/N5dPE4svyx8Op17bxsq2X0KaAx5Nrv4FNsWbsa2BDrl9Brl/rSz77wBPo7fW90/W4zvWwyvWHsfVclvRMjPRFh/T18O/17+718+z06ejf7OLz4+Lb6+D1793V6Nr27tbz1NHzzMhipsi938a33cLyu7al1bLxt7L25K/25K6g067wrqjxrKa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ggPq/HykhzJlvkuQ/GRAgmRdL8UFCnnSfyMFKKPn76EPpkqoZcvPt1KQuWLoAvAmgBden+ulTTwplPwWTf4VhEFeOi7aJBXVSugKKiLUELz4fSRpyYwLlZ+vyW9rZlv8orhancHbTe6hReTpDH4AGZZ0JIzj1ZQ6M6jNb89jFiCPpMdeoa2n61U+yfYQGOhCPwT2NkgY9dV3U4NVWDruCXSDl9dUd/EFRH4IJBqGbBIJ35z3tD1L9V3tHcqSSKE9iFdJbCTcp7QwTYAyJEZe/O1LlxVeQQqzwX4jKupgHuIVIKWa1dAwSMyHX0hNsRq8BaQ/yPBKbaieKf9pCimf6aVgqgeO9w0jSj4gQEpFFpBf04sAAUDcgwZKfGYpVF5AIMWjXnK6LaMPKMr8crxvym7T38I1Famhu/gWXu8Xl1Vl+sehBJsvy14zM1pKm0gV0zco/t89HGT+Npf5G3WGtxp3vA38GN/u3fkNa8DAVcD0QwPmH3uw8BTl/5HF9KMn8OEZfjSHZ0w//vMHVqViODGkXAcAAAAASUVORK5CYII=</Image>
<Url type="application/x-suggestions+json" method="GET" template="https://www.google.com/complete/search?client=firefox&amp;q={searchTerms}"/>
<Url type="text/html" method="GET" template="https://www.google.com/search">
<Param name="q" value="{searchTerms}"/>
<Param name="ie" value="utf-8"/>
<Param name="oe" value="utf-8"/>
<Param name="client" value="firefox-b-1"/>
</Url>
<SearchForm>https://www.google.com</SearchForm>
</SearchPlugin>

Просмотреть файл

@ -5882,14 +5882,10 @@ pref("layers.mlgpu.enable-on-windows7", true);
pref("layers.advanced.background-color", false);
pref("layers.advanced.background-image", 2);
pref("layers.advanced.border-layers", 2);
pref("layers.advanced.boxshadow-inset-layers", false);
pref("layers.advanced.boxshadow-outer-layers", false);
pref("layers.advanced.bullet-layers", 2);
pref("layers.advanced.button-foreground-layers", 2);
pref("layers.advanced.canvas-background-color", 2);
pref("layers.advanced.caret-layers", false);
pref("layers.advanced.columnRule-layers", 2);
pref("layers.advanced.displaybuttonborder-layers", 2);
pref("layers.advanced.image-layers", 2);
pref("layers.advanced.outline-layers", 2);
pref("layers.advanced.solid-color", false);

Просмотреть файл

@ -1159,4 +1159,4 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
static const int32_t kUnknownId = -1;
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1518809825822000);
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1518896583611000);

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -8,7 +8,7 @@
/*****************************************************************************/
#include <stdint.h>
const PRTime gPreloadListExpirationTime = INT64_C(1521229012868000);
const PRTime gPreloadListExpirationTime = INT64_C(1521315771029000);
%%
0-1.party, 1
0.me.uk, 1
@ -371,6 +371,7 @@ const PRTime gPreloadListExpirationTime = INT64_C(1521229012868000);
50north.de, 1
50plusnet.nl, 1
513vpn.net, 1
525.info, 1
52neptune.com, 1
5432.cc, 1
54below.com, 1
@ -3052,7 +3053,6 @@ bernat.im, 1
bernd-leitner-fotodesign.com, 1
bernd-leitner-fotodesign.de, 1
bernd-leitner.de, 1
bernexskiclub.ch, 1
bernhard-seidenspinner.de, 1
bernhardkau.de, 1
bernhardluginbuehl.ch, 1
@ -3219,7 +3219,6 @@ biblionaut.net, 1
bibliotekarien.se, 1
biboumail.fr, 1
bibuch.com, 1
bicha.net, 1
bichonfrise.com.br, 1
bichonmaltes.com.br, 1
bicranial.io, 1
@ -3988,7 +3987,6 @@ bowntycdn.net, 1
boxdevigneron.fr, 1
boxing-austria.eu, 1
boxit.es, 1
boxlitepackaging.com, 1
boxpirates.to, 1
boxvergelijker.nl, 1
boxview.com, 1
@ -5803,6 +5801,7 @@ codingfromhell.net, 1
codingrobots.com, 1
codxg.org, 1
codyevanscomputer.com, 1
codymoniz.com, 1
coffee-mamenoki.jp, 1
coffeetocode.me, 1
cogala.eu, 1
@ -5833,7 +5832,6 @@ coinmewallet.com, 1
coinpit.io, 1
coisasdaterra.com, 1
coisasdemulher.org, 1
cojo.eu, 1
col.la, 1
colaborativa.tv, 1
colapsys.net, 1
@ -6187,6 +6185,7 @@ correiodovale.com.br, 1
corrupted.io, 1
corsa-b.uk, 1
cortexitrecruitment.com, 1
cortisolsupplement.com, 1
corvus.eu.org, 1
coryadum.com, 1
corytyburski.com, 1
@ -7032,6 +7031,7 @@ dc562.org, 1
dc585.info, 1
dcautomacao.com.br, 1
dcbouncycastles.co.uk, 1
dcc.cat, 1
dcc.moe, 1
dccoffeeproducts.com, 1
dcepler.net, 1
@ -7390,7 +7390,6 @@ developers.facebook.com, 0
developersclub.website, 1
developfx.com, 1
developmentaid.org, 1
developmentsites.melbourne, 1
develux.com, 1
develux.net, 1
devh.de, 1
@ -7874,6 +7873,7 @@ domainexpress.de, 0
domainkauf.de, 1
domains.google.com, 1
domainsilk.com, 1
domainstaff.com, 0
domaxpoker.com, 1
domengrad.ru, 1
domenic.me, 1
@ -8507,6 +8507,7 @@ edited.de, 1
edition-bambou.com, 1
edition-sonblom.de, 1
editoraacademiacrista.com.br, 1
edlinus.cn, 1
edmundcelis.com, 1
edoss.co.za, 1
edp-collaborative.com, 1
@ -8799,6 +8800,7 @@ emailprivacytester.com, 1
emailtools.io, 1
emaily.eu, 1
emanuelduss.ch, 1
emanuelemazzotta.com, 1
emavok.eu, 1
embassycargo.eu, 1
embellir-aroma.com, 1
@ -9719,7 +9721,6 @@ fascia.fit, 1
fasdoutreach.ca, 1
fashion4ever.pl, 1
fashiondock.de, 0
fashionoutfits24.com, 1
fashionunited.be, 1
fashionunited.cl, 1
fashionunited.com, 1
@ -9794,6 +9795,7 @@ feastr-dev.de, 1
feastr.de, 1
feastr.io, 1
featherweightlabs.com, 1
featuredmen.com, 1
fecik.sk, 1
fed51.com, 1
federalinvestments.gov, 1
@ -9817,6 +9819,7 @@ feel.aero, 1
feelgood-workouts.de, 1
feeltennis.net, 1
feen.us, 1
fefelovalex.ru, 1
fehngarten.de, 1
fehnladen.de, 1
feigling.net, 1
@ -10124,6 +10127,7 @@ flaretechnologies.io, 1
flashback.org, 1
flashgot.net, 1
flat.io, 1
flatmatehub.com.au, 1
flatpackmates.co.uk, 1
flauschig.net, 1
flavr.be, 1
@ -10171,6 +10175,7 @@ floorball-haunwoehr.de, 1
flooringnightmares.com, 1
floort.net, 0
flopix.net, 0
flopy.club, 1
florence.uk.net, 1
florent-tatard.fr, 1
florentynadawn.co.uk, 1
@ -10810,7 +10815,6 @@ fxthai.com, 1
fxtrade-lab.com, 1
fyfywka.com, 0
fyn.nl, 1
fyodorpi.com, 1
fyol.pw, 1
fysesbjerg.dk, 1
fysiotherapieholtenbroek.nl, 1
@ -11172,7 +11176,6 @@ get-asterisk.ru, 1
get-erp.ru, 1
get-link.info, 1
get-on.bid, 1
get-refer.com, 1
get4x.com, 1
geta.pub, 1
getbox.me, 1
@ -11266,6 +11269,7 @@ ghcif.de, 1
ghi.gov, 1
ghislainphu.fr, 1
ghostblog.info, 1
ghrelinblocker.info, 1
ghrelinblocker.org, 1
ghuntley.com, 1
giacomodrago.com, 1
@ -11861,6 +11865,7 @@ gume4you.com, 1
gumi.ca, 1
gummibande.noip.me, 1
gunhunter.com, 1
guniram.com, 1
gunwatch.co.uk, 1
guphi.net, 0
gurkan.in, 1
@ -12678,7 +12683,6 @@ holzvergaser-forum.de, 1
homatism.com, 1
home-cloud.online, 1
home-coaching.be, 1
home-v.ind.in, 1
home-work-jobs.com, 1
homeautomated.com, 1
homebodyalberta.com, 1
@ -12693,7 +12697,6 @@ homehunting.pt, 1
homeodynamics.com, 1
homeofjones.net, 1
homeogenium.com, 1
homeownersassociationmanagementla.com, 1
homeownersinsurancenevada.com, 1
homeownersinsurancenv.com, 1
homeprivate.de, 1
@ -13214,6 +13217,7 @@ ifcfg.me, 1
ifconfig.co, 1
ifelse.io, 1
ifengge.cn, 1
ifengge.me, 1
ifightsurveillance.com, 1
ifightsurveillance.net, 1
ifightsurveillance.org, 1
@ -14736,7 +14740,7 @@ jreinert.com, 1
jross.me, 1
jrtapsell.co.uk, 0
jrxpress.com, 1
js-online.net, 1
js-online.net, 0
jschoi.org, 1
jschumacher.info, 1
jsd-cog.org, 1
@ -15392,6 +15396,7 @@ kirchen-im-web.de, 1
kirchengemeinde-markt-erlbach.de, 1
kircp.com, 1
kirei.se, 1
kirig.ph, 1
kirill.ws, 1
kirillpokrovsky.de, 1
kirinas.com, 1
@ -17470,7 +17475,6 @@ map4jena.de, 1
mapasmundi.com.br, 1
mapblender.com, 1
maplanetebeaute.fr, 1
maple5.com, 1
mapletime.com, 1
mapresidentielle.fr, 1
maquillage-permanent-tatoo.com, 1
@ -17553,7 +17557,6 @@ marketing-advertising.eu, 1
marketing.limited, 1
marketingdesignu.cz, 1
marketio.co, 1
marketizare.ro, 1
marketnsight.com, 1
markido.com, 1
markitzeroday.com, 1
@ -17795,6 +17798,7 @@ mazda-thermote.com, 1
mazda626.net, 1
maze.fr, 1
mazternet.ru, 1
mazzotta.me, 1
mb-is.info, 1
mbaestlein.de, 1
mbainflatables.co.uk, 1
@ -18209,7 +18213,6 @@ micado-software.com, 1
micaiahparker.com, 1
micalodeal.ch, 1
micasamgmt.com, 1
micbase.com, 1
michael-rigart.be, 1
michael-schefczyk.de, 1
michael-schilling.de, 1
@ -18884,7 +18887,7 @@ mplicka.cz, 1
mplusm.eu, 1
mpn.poker, 1
mpnpokertour.com, 1
mpreserver.com, 1
mpreserver.com, 0
mpserver12.org, 1
mpsgarage.com.au, 1
mpsoundcraft.com, 1
@ -18905,7 +18908,6 @@ mrdayman.com, 1
mrdleisure.co.uk, 1
mremallin.ca, 1
mrevolution.eu, 1
mrhee.com, 1
mrinalpurohit.in, 1
mrizzio.com, 1
mrjooz.com, 1
@ -18922,7 +18924,6 @@ mrsbairds.com, 1
mrserge.lv, 1
mrsk.me, 1
mrstat.co.uk, 1
mrx.one, 1
ms-alternativ.de, 1
ms-host.fr, 1
msa-aesch.ch, 1
@ -18974,9 +18975,7 @@ mtnz.co.za, 1
mtouch.facebook.com, 0
mtr.md, 1
mtrock.ru, 1
mts-energia.eu, 1
mts-server.com, 1
mtsolar.es, 1
mu.search.yahoo.com, 0
muabannhanh.com, 0
muahahahaha.co.uk, 1
@ -20031,7 +20030,6 @@ nitaonline.org, 1
nitifilter.com, 1
nitrix.me, 1
nitrokey.com, 1
nitropanel.com, 1
nitropur.com, 1
nitropur.de, 1
nitrous-networks.com, 1
@ -20106,7 +20104,6 @@ noisky.cn, 1
noisyfox.cn, 1
nojestorget.se, 1
nokono.com, 1
nolag.host, 1
nolatepayments.com, 1
nolaviz.org, 1
noma-film.com, 1
@ -20208,7 +20205,6 @@ notnize.net, 1
notnl.com, 1
notoriousdev.com, 1
notrecourrier.net, 1
nottres.com, 1
notypiesni.sk, 0
noudjalink.nl, 1
nouma.fr, 1
@ -20315,6 +20311,7 @@ nuquery.com, 1
nuriacamaras.com, 1
nursejj.com, 1
nurses.dating, 1
nurture.be, 1
nuryahan.com.br, 1
nusku.biz, 1
nussadoclub.org, 1
@ -20630,6 +20627,7 @@ onestepfootcare.com, 1
onestopcastles.co.uk, 1
onetech.it, 1
oneway.ga, 1
onewaymail.com, 1
oneweb.hu, 1
onewebdev.info, 1
oneworldbank.com, 1
@ -20645,7 +20643,6 @@ online-bouwmaterialen.nl, 1
online-consulting-corp.com, 1
online-consulting-corp.fr, 1
online-eikaiwa-guide.com, 1
online-pr.at, 1
online-results.dk, 1
online-scene.com, 1
online.marketing, 1
@ -20662,7 +20659,6 @@ onlinelegalmarketing.com, 1
onlinelegalmedia.com, 1
onlinelighting.com.au, 1
onlinemarketingtraining.co.uk, 1
onlinepokerspelen.be, 1
onlinerollout.de, 1
onlinestoreninjas.com, 1
onlineth.com, 0
@ -21028,7 +21024,7 @@ paf-events.ch, 1
pagalworld.la, 1
pagalworld.me, 1
page-builders.com, 1
pageantsnews.com, 1
pageantsnews.com, 0
pagedesignhub.com, 1
pagedesignpro.com, 1
pagedesignshop.com, 1
@ -22206,7 +22202,6 @@ postdarwinian.com, 1
postdarwinism.com, 1
postdeck.de, 1
posteo.de, 0
posterspy.com, 1
postfalls-naturopathic.com, 1
postfinance.ch, 1
postmatescode.com, 1
@ -23485,6 +23480,7 @@ restaurantmangal.ch, 1
restauranttester.at, 1
rester-a-domicile.ch, 1
rester-autonome-chez-soi.ch, 1
restioson.me, 1
restoran-radovce.me, 1
restoreresearchstudy.com, 1
restoruns.com, 1
@ -23592,6 +23588,7 @@ richeza.com, 1
richonrails.com, 1
ricketyspace.net, 1
ricki-z.com, 1
rickmartensen.nl, 1
ricknox.com, 1
rickrongen.nl, 1
rickscastles.co.uk, 1
@ -24763,7 +24760,6 @@ secureheaders.com, 1
secureideas.com, 0
secureindia.co, 1
securejabber.me, 1
securelect-inspection.com, 1
secureonline.co, 1
securethe.news, 1
securetheorem.com, 1
@ -24840,7 +24836,6 @@ sekisonn.com, 1
selbys.net.au, 1
selco-himejiminami.com, 1
selcusters.nl, 1
selectcertifiedautos.com, 1
selected-properties.com, 1
selectel.ru, 1
selectorders.com, 1
@ -25675,7 +25670,6 @@ slingoweb.com, 1
slink.hr, 1
slip-gaming.tk, 1
slneighbors.org, 1
slo-net.net, 1
slo-tech.com, 1
sloancom.com, 1
slopeedge.com, 1
@ -25714,6 +25708,7 @@ smallpath.me, 1
smallplanet.ch, 1
smalltalkconsulting.com, 1
smaltimento.napoli.it, 1
smares.de, 1
smart-cp.jp, 1
smart-informatics.com, 1
smart-shapes.co.uk, 1
@ -26606,6 +26601,7 @@ stonemanbrasil.com.br, 1
stony.com, 1
stonystratford.org, 1
stopakwardhandshakes.org, 1
stopbreakupnow.org, 1
stopbullying.gov, 1
stopfraud.gov, 1
stopthethyroidmadness.com, 1
@ -26802,7 +26798,6 @@ sundayfundayjapan.com, 1
suneilpatel.com, 1
sunfeathers.net, 1
sunfireshop.com.br, 1
sunflyer.cn, 0
sunfox.cz, 1
sunfulong.me, 1
sungo.wtf, 1
@ -27033,7 +27028,7 @@ syriatalk.biz, 1
syriatalk.org, 1
sys.tf, 1
sysadm.guru, 1
sysadmin.pm, 1
sysadmin.pm, 0
sysadmin.xyz, 1
sysadmins.ro, 1
sysctl.se, 1
@ -27099,7 +27094,7 @@ taborsky.cz, 1
tac-volley.com, 1
tacklog.com, 1
tacoma-games.com, 1
tacomafia.net, 1
tacomafia.net, 0
tacotown.tk, 1
tacticalsquare.com, 1
tadata.me, 1
@ -27222,7 +27217,6 @@ tattvaayoga.com, 1
tavolaquadrada.com.br, 1
tavsys.net, 1
taxaroo.com, 1
taxi-24std.de, 1
taxi-chamonix.fr, 1
taxi-collectif.ch, 1
taxicollectif.ch, 1
@ -27544,7 +27538,6 @@ texhnolyze.net, 1
text-shirt.com, 1
textburst.com, 1
texter-linz.at, 1
texter.at, 1
texterseo.at, 1
texterseo.de, 1
textpedia.org, 1
@ -28122,7 +28115,6 @@ tkn.tokyo, 1
tkts.cl, 1
tkusano.jp, 1
tkw01536.de, 1
tlach.cz, 1
tlca.org, 1
tlcnet.info, 1
tlehseasyads.com, 1
@ -28990,7 +28982,6 @@ ueni.com, 1
uerdingen.info, 1
uesociedadlimitada.com, 1
ueu.me, 0
uevan.com, 1
uex.im, 1
ufanisi.mx, 1
ufindme.at, 1
@ -29143,7 +29134,6 @@ unixattic.com, 1
unixcorn.org, 0
unixforum.org, 1
unixtime.date, 1
unknownbreakup.com, 1
unlax.com, 1
unli.xyz, 1
unlockboot.com, 0
@ -29164,7 +29154,6 @@ unsee.cc, 1
unseen.is, 1
unseen.tw, 1
unser-gartenforum.de, 1
unsupervised.ca, 1
unsuspicious.click, 1
unterfrankenclan.de, 1
unterkunft.guru, 1
@ -29224,6 +29213,7 @@ urbanietz-immobilien.de, 1
urbanmelbourne.info, 1
urbannewsservice.com, 1
urbansparrow.in, 1
urbanstylestaging.com, 1
urbanwildlifealliance.org, 1
urbexdk.nl, 1
urcentral.com, 1
@ -29710,6 +29700,7 @@ vionicbeach.com, 1
viosey.com, 1
vipi.es, 1
viplentes.com.br, 1
vipnettikasinoklubi.com, 1
viptamin.eu, 1
viptamol.com, 1
vir-tec.eu, 1
@ -29870,7 +29861,7 @@ vorm2.com, 1
vorodevops.com, 1
vos-fleurs.ch, 1
vos-fleurs.com, 1
voshod.org, 0
voshod.org, 1
vosky.fr, 1
vostronet.com, 1
voter-info.uk, 1
@ -29893,7 +29884,6 @@ voyageschine.com, 1
voyagesdetective.fr, 1
vozami.com, 1
vpls.co.th, 1
vpls.com, 1
vpls.net, 1
vplssolutions.com, 1
vpn.ht, 1
@ -30080,7 +30070,6 @@ watermonitor.gov, 1
watersb.org, 1
watertrails.io, 1
watsonwork.me, 1
wattechweb.com, 1
wave-ola.es, 1
wavesboardshop.com, 1
wavesoftime.com, 1
@ -30234,6 +30223,7 @@ websiteforlease.ca, 1
websiteout.ca, 1
websiteout.net, 1
websites4business.ca, 1
websitesdallas.com, 1
websiteservice.pro, 1
webslake.com, 1
webspiral.jp, 1
@ -30403,7 +30393,6 @@ wetthost.com, 1
wevenues.com, 1
wexfordbouncycastles.ie, 1
weyland-yutani.org, 1
weyland.tech, 1
wf-bigsky-master.appspot.com, 1
wf-demo-eu.appspot.com, 1
wf-demo-hrd.appspot.com, 1
@ -30447,6 +30436,7 @@ whereisjason.com, 1
whereismyorigin.cf, 1
whereiszakir.com, 1
wherephoto.com, 0
whey-protein.ch, 1
whiletrue.run, 1
whilsttraveling.com, 1
whing.org, 1
@ -30488,7 +30478,7 @@ who.pm, 1
whocalld.com, 1
whocalled.us, 1
whoisthenightking.com, 1
wholelotofbounce.co.uk, 1
wholelotofbounce.co.uk, 0
wholesalecbd.com, 1
wholesomeharvestbread.com, 1
wholikes.us, 1
@ -31679,12 +31669,14 @@ zalan.do, 1
zamis.net, 1
zamocosmeticos.com.br, 1
zamow.co, 1
zandcell.com, 1
zanthra.com, 1
zaoext.com, 1
zapier.com, 1
zappbuildapps.com, 1
zaratan.fr, 1
zarpo.com.br, 1
zary.me, 1
zaufanatrzeciastrona.pl, 1
zavec.com.ec, 1
zavetaji.lv, 1
@ -31706,6 +31698,7 @@ zdbl.de, 1
zdenekspacek.cz, 1
zdorovayasimya.com, 1
zdrojak.cz, 1
zdx.ch, 1
ze3kr.com, 1
zebbra.ro, 1
zebedeescastles.co.uk, 1
@ -31844,7 +31837,7 @@ zockenbiszumumfallen.de, 1
zodiacohouses.com, 1
zoeller.me, 1
zohar.shop, 1
zohar.wang, 0
zohar.wang, 1
zoigl.club, 1
zojadravai.com, 1
zoki.art, 1

8
servo/Cargo.lock сгенерированный
Просмотреть файл

@ -1661,7 +1661,7 @@ dependencies = [
"cssparser 0.22.0 (registry+https://github.com/rust-lang/crates.io-index)",
"euclid 0.15.5 (registry+https://github.com/rust-lang/crates.io-index)",
"hashglobe 0.1.0",
"mozjs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"mozjs 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
"servo_arc 0.0.1",
"smallbitvec 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
"smallvec 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
@ -1811,7 +1811,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "mozjs"
version = "0.1.7"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cmake 0.1.22 (registry+https://github.com/rust-lang/crates.io-index)",
@ -2536,7 +2536,7 @@ dependencies = [
"mime 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"mime_guess 1.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
"mitochondria 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"mozjs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
"mozjs 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
"msg 0.0.1",
"net_traits 0.0.1",
"nonzero 0.0.1",
@ -3794,7 +3794,7 @@ dependencies = [
"checksum mio 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9e965267d4d58496fc4f740e9861118367f13570cadf66316ed2c3f2f14d87c7"
"checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
"checksum mitochondria 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9de3eca27871df31c33b807f834b94ef7d000956f57aa25c5aed9c5f0aae8f6f"
"checksum mozjs 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "a77c99a22091d3e6f7cd93caaf18bcb9ce5ff0a5d93c45aa73e443a447ab4296"
"checksum mozjs 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "722aeeec7049d03494ef79190343c2dea89c743c2d66acfb4555aef69dd77061"
"checksum mozjs_sys 0.50.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef1e24df9f76502cd4459919098ec1ac3af75ce694ec5b8837aa91f69f2ad0eb"
"checksum mp3-metadata 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4ab5f1d2693586420208d1200ce5a51cd44726f055b635176188137aff42c7de"
"checksum mp4parse 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7b81651f9ede53d59281b54c7eb51ae50a868ac4765dd3bdfbbc79ce3d8aca7a"

Просмотреть файл

@ -16,7 +16,7 @@ app_units = "0.5.5"
cssparser = "0.22.0"
euclid = "0.15"
hashglobe = { path = "../hashglobe" }
mozjs = { version = "0.1.7", features = ["promises"], optional = true }
mozjs = { version = "0.1.8", features = ["promises"], optional = true }
servo_arc = { path = "../servo_arc" }
smallbitvec = "1.0.3"
smallvec = "0.4"

Просмотреть файл

@ -51,7 +51,6 @@ hyper = "0.10"
hyper_serde = "0.7"
image = "0.16"
ipc-channel = "0.9"
mozjs = { version = "0.1.7", features = ["promises"]}
jstraceable_derive = {path = "../jstraceable_derive"}
lazy_static = "0.2"
libc = "0.2"
@ -62,6 +61,7 @@ metrics = {path = "../metrics"}
mitochondria = "1.1.2"
mime = "0.2.1"
mime_guess = "1.8.0"
mozjs = { version = "0.1.8", features = ["promises"]}
msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
nonzero = {path = "../nonzero"}

Просмотреть файл

@ -483,7 +483,8 @@ class CGMethodCall(CGThing):
else:
# Just throw; we have no idea what we're supposed to
# do with this.
caseBody.append(CGGeneric("return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);"))
caseBody.append(CGGeneric("throw_internal_error(cx, \"Could not convert JavaScript argument\");\n"
"return false;"))
argCountCases.append(CGCase(str(argCount),
CGList(caseBody, "\n")))
@ -5591,6 +5592,7 @@ def generate_imports(config, cgthings, descriptors, callbacks=None, dictionaries
'js::JSCLASS_RESERVED_SLOTS_MASK',
'js::JS_CALLEE',
'js::error::throw_type_error',
'js::error::throw_internal_error',
'js::jsapi::AutoIdVector',
'js::jsapi::Call',
'js::jsapi::CallArgs',

Просмотреть файл

@ -601,6 +601,8 @@ impl TestBindingMethods for TestBinding {
fn PassOptionalNullableStringWithNonNullDefault(&self, _: Option<DOMString>) {}
fn PassOptionalNullableUsvstringWithNonNullDefault(&self, _: Option<USVString>) {}
// fn PassOptionalNullableEnumWithNonNullDefault(self, _: Option<TestEnum>) {}
fn PassOptionalOverloaded(&self, a: &TestBinding, _: u32, _: u32) -> DomRoot<TestBinding> { DomRoot::from_ref(a) }
fn PassOptionalOverloaded_(&self, _: &Blob, _: u32) { }
fn PassVariadicBoolean(&self, _: Vec<bool>) {}
fn PassVariadicBooleanAndDefault(&self, _: bool, _: Vec<bool>) {}

Просмотреть файл

@ -409,6 +409,9 @@ interface TestBinding {
// void passOptionalNullableEnumWithNonNullDefault(optional TestEnum? arg = "foo");
// void passOptionalNullableUnionWithNonNullDefault(optional (HTMLElement or long)? arg = 7);
// void passOptionalNullableUnion2WithNonNullDefault(optional (Event or DOMString)? data = "foo");
TestBinding passOptionalOverloaded(TestBinding arg0, optional unsigned long arg1 = 0,
optional unsigned long arg2 = 0);
void passOptionalOverloaded(Blob arg0, optional unsigned long arg1 = 0);
void passVariadicBoolean(boolean... args);
void passVariadicBooleanAndDefault(optional boolean arg = true, boolean... args);

Просмотреть файл

@ -307801,6 +307801,12 @@
{}
]
],
"css/css-fonts-3/font-variant-alternates-parsing.html": [
[
"/css/css-fonts-3/font-variant-alternates-parsing.html",
{}
]
],
"css/css-fonts-3/test_datafont_same_origin.html": [
[
"/css/css-fonts-3/test_datafont_same_origin.html",
@ -484480,6 +484486,10 @@
"de45acb63b567c5318b014ebab07098ca8c317b6",
"reftest"
],
"css/css-fonts-3/font-variant-alternates-parsing.html": [
"ae9b89160506ac0f027789c7e4ccb5bba95a6b95",
"testharness"
],
"css/css-fonts-3/font-variant-caps-01-ref.html": [
"dfc1e1995e9841ecfa8889ad25c6ef7a6a2d992f",
"support"

Просмотреть файл

@ -0,0 +1,17 @@
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: font-variant-alternates: historical-forms; parses case-insensitively</title>
<link rel="author" title="Emilio Cobos Álvarez" href="emilio@crisal.io">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
let div = document.createElement('div');
div.style.fontVariantAlternates = "Historical-Forms";
assert_equals(
getComputedStyle(div).fontVariantAlternates,
"historical-forms",
"historical-forms is parsed case-insensitively"
);
});
</script>