Commit 74d3cdbb authored by Carsten Schoenert's avatar Carsten Schoenert
Browse files

New upstream version 78.12.0

parent 42c4a875
......@@ -50,7 +50,7 @@ tag = "v0.3.0"
[source."https://github.com/hsivonen/packed_simd"]
git = "https://github.com/hsivonen/packed_simd"
replace-with = "vendored-sources"
rev = "3541e3818fdc7c2a24f87e3459151a4ce955a67a"
rev = "0917fe780032a6bbb23d71be545f9c1834128d75"
[source."https://github.com/djg/cubeb-pulse-rs"]
git = "https://github.com/djg/cubeb-pulse-rs"
......
......@@ -22,4 +22,4 @@
# changes to stick? As of bug 928195, this shouldn't be necessary! Please
# don't change CLOBBER for WebIDL changes any more.
Bug 1705372 - Search Engine Webextensions removing locales need clobber (see bug 1707968)
Merge day clobber
\ No newline at end of file
......@@ -3425,8 +3425,8 @@ dependencies = [
[[package]]
name = "packed_simd"
version = "0.3.3"
source = "git+https://github.com/hsivonen/packed_simd?rev=3541e3818fdc7c2a24f87e3459151a4ce955a67a#3541e3818fdc7c2a24f87e3459151a4ce955a67a"
version = "0.3.4"
source = "git+https://github.com/hsivonen/packed_simd?rev=0917fe780032a6bbb23d71be545f9c1834128d75#0917fe780032a6bbb23d71be545f9c1834128d75"
dependencies = [
"cfg-if",
]
......
......@@ -66,7 +66,7 @@ panic = "abort"
[patch.crates-io]
libudev-sys = { path = "dom/webauthn/libudev-sys" }
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="3541e3818fdc7c2a24f87e3459151a4ce955a67a" }
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="0917fe780032a6bbb23d71be545f9c1834128d75" }
rlbox_lucet_sandbox = { git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/", rev="d510da5999a744c563b0acd18056069d1698273f" }
nix = { git = "https://github.com/shravanrn/nix/", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" }
spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu3" }
......
......@@ -101,6 +101,24 @@ void SelectionManager::RemoveDocSelectionListener(PresShell* aPresShell) {
// selection.
Selection* spellSel = frameSel->GetSelection(SelectionType::eSpellCheck);
spellSel->RemoveSelectionListener(this);
if (mCurrCtrlNormalSel) {
if (mCurrCtrlNormalSel->GetPresShell() == aPresShell) {
// Remove 'this' registered as selection listener for the normal selection
// if we are removing listeners for its PresShell.
mCurrCtrlNormalSel->RemoveSelectionListener(this);
mCurrCtrlNormalSel = nullptr;
}
}
if (mCurrCtrlSpellSel) {
if (mCurrCtrlSpellSel->GetPresShell() == aPresShell) {
// Remove 'this' registered as selection listener for the spellcheck
// selection if we are removing listeners for its PresShell.
mCurrCtrlSpellSel->RemoveSelectionListener(this);
mCurrCtrlSpellSel = nullptr;
}
}
}
void SelectionManager::ProcessTextSelChangeEvent(AccEvent* aEvent) {
......
......@@ -240,13 +240,13 @@ using namespace mozilla::a11y;
- (id)accessibilityHitTest:(NSPoint)point {
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL;
return [self moxHitTest:point];
return GetObjectOrRepresentedView([self moxHitTest:point]);
NS_OBJC_END_TRY_ABORT_BLOCK_NIL;
}
- (id)accessibilityFocusedUIElement {
NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL;
return [self moxFocusedUIElement];
return GetObjectOrRepresentedView([self moxFocusedUIElement]);
NS_OBJC_END_TRY_ABORT_BLOCK_NIL;
}
......@@ -261,11 +261,11 @@ using namespace mozilla::a11y;
#pragma mark - MOXAccessible protocol
- (id)moxHitTest:(NSPoint)point {
return GetObjectOrRepresentedView(self);
return self;
}
- (id)moxFocusedUIElement {
return GetObjectOrRepresentedView(self);
return self;
}
- (void)moxPostNotification:(NSString*)notification {
......
......@@ -184,6 +184,17 @@ var Policies = {
},
},
AutoLaunchProtocolsFromOrigins: {
onBeforeAddons(manager, param) {
for (let info of param) {
addAllowDenyPermissions(
`open-protocol-handler^${info.protocol}`,
info.allowed_origins
);
}
},
},
BlockAboutAddons: {
onBeforeUIStartup(manager, param) {
if (param) {
......
......@@ -48,6 +48,7 @@ body {
.main-content {
flex: 1;
scroll-padding: 25px;
}
.tab {
......
......@@ -108,6 +108,8 @@ let WebsiteFilter = {
let url = contentLocation.spec;
if (contentLocation.scheme == "view-source") {
url = contentLocation.pathQueryRef;
} else if (url.startsWith("about:reader")) {
url = decodeURIComponent(url.substr("about:reader?url=".length));
}
if (
contentType == Ci.nsIContentPolicy.TYPE_DOCUMENT ||
......
......@@ -83,6 +83,25 @@
}
},
"AutoLaunchProtocolsFromOrigins": {
"type": ["JSON", "array"],
"items": {
"type": "object",
"properties": {
"allowed_origins": {
"type": "array",
"items": {
"type": "origin"
}
},
"protocol": {
"type": "string"
},
"required": ["allowed_origins", "protocol"]
}
}
},
"BlockAboutAddons": {
"type": "boolean"
},
......
......@@ -23,6 +23,10 @@ add_task(async function test_http() {
"view-source:" + SUPPORT_FILES_PATH + BLOCKED_PAGE,
true
);
await checkBlockedPage(
"about:reader?url=" + SUPPORT_FILES_PATH + BLOCKED_PAGE,
true
);
await checkBlockedPage(SUPPORT_FILES_PATH + EXCEPTION_PAGE, false);
});
......
......@@ -2,6 +2,11 @@
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
XPCOMUtils.defineLazyModuleGetters(this, {
UrlbarTestUtils: "resource://testing-common/UrlbarTestUtils.jsm",
});
var updateService = Cc["@mozilla.org/updates/update-service;1"].getService(
Ci.nsIApplicationUpdateService
);
......@@ -91,3 +96,20 @@ function waitForAboutDialog() {
openAboutDialog();
});
}
add_task(async function test_no_update_intervention() {
await BrowserTestUtils.withNewTab("about:blank", async () => {
let context = await UrlbarTestUtils.promiseAutocompleteResultPopup({
window,
value: "update firefox",
waitForFocus,
fireInputEvent: true,
});
for (let result of context.results) {
Assert.notEqual(result.type, UrlbarUtils.RESULT_TYPE.TIP);
}
await UrlbarTestUtils.promisePopupClose(window, () =>
window.gURLBar.blur()
);
});
});
......@@ -314,3 +314,25 @@ add_task(async function test_cookie_allow_session() {
Ci.nsICookiePermission.ACCESS_SESSION
);
});
// This again seems out of places, but AutoLaunchProtocolsFromOrigins
// is all permissions.
add_task(async function test_autolaunchprotocolsfromorigins() {
await setupPolicyEngineWithJson({
policies: {
AutoLaunchProtocolsFromOrigins: [
{
allowed_origins: ["https://allowsession.example.com"],
protocol: "test-protocol",
},
],
},
});
equal(
PermissionTestUtils.testPermission(
URI("https://allowsession.example.com"),
"open-protocol-handler^test-protocol"
),
Ci.nsIPermissionManager.ALLOW_ACTION
);
});
......@@ -576,6 +576,12 @@ class ProviderInterventions extends UrlbarProvider {
// how this special tip is handled.
this.currentTip = TIPS.UPDATE_CHECKING;
break;
case AppUpdater.STATUS.NO_UPDATER:
case AppUpdater.STATUS.UPDATE_DISABLED_BY_POLICY:
// If the updater is disabled at build time or at runtime, either by
// policy or because we're in a package, do not select any update tips.
this.currentTip = TIPS.NONE;
break;
default:
// Give up and ask the user to download the latest version from the
// web. We default to this case when the update is still downloading
......
......@@ -854,7 +854,7 @@ ${EndIf}
; Write the uninstall registry keys
${WriteRegStr2} $1 "$0" "Comments" "${BrandFullNameInternal} ${AppVersion}$3 (${ARCH} ${AB_CD})" 0
${WriteRegStr2} $1 "$0" "DisplayIcon" "$8\${FileMainEXE},0" 0
${WriteRegStr2} $1 "$0" "DisplayName" "${BrandFullNameInternal} ${AppVersion}$3 (${ARCH} ${AB_CD})" 0
${WriteRegStr2} $1 "$0" "DisplayName" "${BrandFullNameInternal}$3 (${ARCH} ${AB_CD})" 0
${WriteRegStr2} $1 "$0" "DisplayVersion" "${AppVersion}" 0
${WriteRegStr2} $1 "$0" "HelpLink" "${HelpLink}" 0
${WriteRegStr2} $1 "$0" "InstallLocation" "$8" 0
......
......@@ -19,6 +19,8 @@ policy-AppUpdateURL = Set custom app update URL.
policy-Authentication = Configure integrated authentication for websites that support it.
policy-AutoLaunchProtocolsFromOrigins = Define a list of external protocols that can be used from listed origins without prompting the user.
policy-BlockAboutAddons = Block access to the Add-ons Manager (about:addons).
policy-BlockAboutConfig = Block access to the about:config page.
......
---
GECKO_BASE_REPOSITORY: https://hg.mozilla.org/mozilla-unified
GECKO_HEAD_REPOSITORY: https://hg.mozilla.org/releases/mozilla-esr78
GECKO_HEAD_REF: FIREFOX_78_11_0esr_BUILD1
GECKO_HEAD_REV: 58d0b007bcedce2d87978431d472b1d81308ff36
GECKO_HEAD_REF: FIREFOX_78_12_0esr_BUILD1
GECKO_HEAD_REV: 3d3d5640bfac60507d42648dc4d9c20e9e0f84a8
### For comm-central
# GECKO_BASE_REPOSITORY: https://hg.mozilla.org/mozilla-unified
......
......@@ -1028,7 +1028,8 @@ icalcomponent* icalparser_add_line(icalparser* parser,
case ICAL_TRIGGER_PROPERTY:
/* Accept DATE-TIME */
if (value_kind != ICAL_DATETIME_VALUE)
if (value_kind != ICAL_DATETIME_VALUE &&
value_kind != ICAL_DURATION_VALUE)
value_err = illegal_type;
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment