зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311. MozReview-Commit-ID: 4tUZ24HKBWy --HG-- extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
This commit is contained in:
Родитель
3743387579
Коммит
0264cdf6be
|
@ -23,7 +23,7 @@ DEFAULT_COMMON_PREFS = {
|
|||
'extensions.update.notifyUser' : False,
|
||||
|
||||
# From:
|
||||
# http://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l372
|
||||
# https://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l372
|
||||
# Only load extensions from the application and user profile.
|
||||
# AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
|
||||
'extensions.enabledScopes' : 5,
|
||||
|
@ -115,7 +115,7 @@ DEFAULT_FIREFOX_PREFS = {
|
|||
'devtools.chrome.enabled' : True,
|
||||
|
||||
# From:
|
||||
# http://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l388
|
||||
# https://hg.mozilla.org/mozilla-central/file/1dd81c324ac7/build/automation.py.in#l388
|
||||
# Make url-classifier updates so rare that they won't affect tests.
|
||||
'urlclassifier.updateinterval' : 172800,
|
||||
# Point the url-classifier to a nonexistent local URL for fast failures.
|
||||
|
|
|
@ -4797,7 +4797,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -4797,7 +4797,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -4798,7 +4798,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -4797,7 +4797,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -4798,7 +4798,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# 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/.
|
||||
|
||||
# originally from http://hg.mozilla.org/build/tools/file/4ab9c1a4e05b/scripts/release/compare-mozconfigs.py
|
||||
# originally from https://hg.mozilla.org/build/tools/file/4ab9c1a4e05b/scripts/release/compare-mozconfigs.py
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ promise_test(function(t) {
|
|||
|
||||
// we have to wait at least 200ms because this animation is
|
||||
// unthrottled on every 200ms.
|
||||
// See http://hg.mozilla.org/mozilla-central/file/cafb1c90f794/layout/style/AnimationCommon.cpp#l863
|
||||
// See https://hg.mozilla.org/mozilla-central/file/cafb1c90f794/layout/style/AnimationCommon.cpp#l863
|
||||
if (window.performance.now() - timeAtStart > 200) {
|
||||
resolve();
|
||||
return;
|
||||
|
|
|
@ -17,7 +17,7 @@ EncMetaUtf16=A meta tag was used to declare the character encoding as UTF-16. Th
|
|||
EncMetaUserDefined=A meta tag was used to declare the character encoding as x-user-defined. This was interpreted as a windows-1252 declaration instead for compatibility with intentionally mis-encoded legacy fonts. This site should migrate to Unicode.
|
||||
|
||||
# The bulk of the messages below are derived from
|
||||
# http://hg.mozilla.org/projects/htmlparser/file/1f633cef7de7/src/nu/validator/htmlparser/impl/ErrorReportingTokenizer.java
|
||||
# https://hg.mozilla.org/projects/htmlparser/file/1f633cef7de7/src/nu/validator/htmlparser/impl/ErrorReportingTokenizer.java
|
||||
# which is available under the MIT license.
|
||||
|
||||
# Tokenizer errors
|
||||
|
|
|
@ -130,9 +130,9 @@ If touch events were not dispatched, and since the **Compositor** is not listeni
|
|||
The **GeckoTouchDispatcher** handles this case by always forcing the **Compositor** to listen to vsync events while touch events are occurring.
|
||||
|
||||
###Widget, Compositor, CompositorVsyncDispatcher, GeckoTouchDispatcher Shutdown Procedure
|
||||
When the [nsBaseWidget shuts down](http://hg.mozilla.org/mozilla-central/file/0df249a0e4d3/widget/nsBaseWidget.cpp#l182) - It calls nsBaseWidget::DestroyCompositor on the *Gecko Main Thread*.
|
||||
When the [nsBaseWidget shuts down](https://hg.mozilla.org/mozilla-central/file/0df249a0e4d3/widget/nsBaseWidget.cpp#l182) - It calls nsBaseWidget::DestroyCompositor on the *Gecko Main Thread*.
|
||||
During nsBaseWidget::DestroyCompositor, it first destroys the CompositorBridgeChild.
|
||||
CompositorBridgeChild sends a sync IPC call to CompositorBridgeParent::RecvStop, which calls [CompositorBridgeParent::Destroy](http://hg.mozilla.org/mozilla-central/file/ab0490972e1e/gfx/layers/ipc/CompositorBridgeParent.cpp#l509).
|
||||
CompositorBridgeChild sends a sync IPC call to CompositorBridgeParent::RecvStop, which calls [CompositorBridgeParent::Destroy](https://hg.mozilla.org/mozilla-central/file/ab0490972e1e/gfx/layers/ipc/CompositorBridgeParent.cpp#l509).
|
||||
During this time, the *main thread* is blocked on the parent process.
|
||||
CompositorBridgeParent::RecvStop runs on the *Compositor thread* and cleans up some resources, including setting the **CompositorVsyncScheduler::Observer** to nullptr.
|
||||
CompositorBridgeParent::RecvStop also explicitly keeps the CompositorBridgeParent alive and posts another task to run CompositorBridgeParent::DeferredDestroy on the Compositor loop so that all ipdl code can finish executing.
|
||||
|
@ -141,7 +141,7 @@ Once CompositorBridgeParent::RecvStop finishes, the *main thread* in the parent
|
|||
|
||||
At the same time, the *Compositor thread* is executing tasks until CompositorBridgeParent::DeferredDestroy runs, which flushes the compositor message loop.
|
||||
Now we have two tasks as both the nsBaseWidget releases a reference to the Compositor on the *main thread* during destruction and the CompositorBridgeParent::DeferredDestroy releases a reference to the CompositorBridgeParent on the *Compositor Thread*.
|
||||
Finally, the CompositorBridgeParent itself is destroyed on the *main thread* once both references are gone due to explicit [main thread destruction](http://hg.mozilla.org/mozilla-central/file/50b95032152c/gfx/layers/ipc/CompositorBridgeParent.h#l148).
|
||||
Finally, the CompositorBridgeParent itself is destroyed on the *main thread* once both references are gone due to explicit [main thread destruction](https://hg.mozilla.org/mozilla-central/file/50b95032152c/gfx/layers/ipc/CompositorBridgeParent.h#l148).
|
||||
|
||||
With the **CompositorVsyncScheduler::Observer**, any accesses to the widget after nsBaseWidget::DestroyCompositor executes are invalid.
|
||||
Any accesses to the compositor between the time the nsBaseWidget::DestroyCompositor runs and the CompositorVsyncScheduler::Observer's destructor runs aren't safe yet a hardware vsync event could occur between these times.
|
||||
|
@ -152,11 +152,11 @@ Thus, we explicitly shut down vsync events in the **CompositorVsyncDispatcher**
|
|||
|
||||
The **CompositorVsyncDispatcher** may be destroyed on either the *main thread* or *Compositor Thread*, since both the nsBaseWidget and **CompositorVsyncScheduler::Observer** race to destroy on different threads.
|
||||
nsBaseWidget is destroyed on the *main thread* and releases a reference to the **CompositorVsyncDispatcher** during destruction.
|
||||
The **CompositorVsyncScheduler::Observer** has a race to be destroyed either during CompositorBridgeParent shutdown or from the **GeckoTouchDispatcher** which is destroyed on the main thread with [ClearOnShutdown](http://hg.mozilla.org/mozilla-central/file/21567e9a6e40/xpcom/base/ClearOnShutdown.h#l15).
|
||||
The **CompositorVsyncScheduler::Observer** has a race to be destroyed either during CompositorBridgeParent shutdown or from the **GeckoTouchDispatcher** which is destroyed on the main thread with [ClearOnShutdown](https://hg.mozilla.org/mozilla-central/file/21567e9a6e40/xpcom/base/ClearOnShutdown.h#l15).
|
||||
Whichever object, the CompositorBridgeParent or the **GeckoTouchDispatcher** is destroyed last will hold the last reference to the **CompositorVsyncDispatcher**, which destroys the object.
|
||||
|
||||
#Refresh Driver
|
||||
The Refresh Driver is ticked from a [single active timer](http://hg.mozilla.org/mozilla-central/file/ab0490972e1e/layout/base/nsRefreshDriver.cpp#l11).
|
||||
The Refresh Driver is ticked from a [single active timer](https://hg.mozilla.org/mozilla-central/file/ab0490972e1e/layout/base/nsRefreshDriver.cpp#l11).
|
||||
The assumption is that there are multiple **RefreshDrivers** connected to a single **RefreshTimer**.
|
||||
There are two **RefreshTimers**: an active and an inactive **RefreshTimer**.
|
||||
Each Tab has its own **RefreshDriver**, which connects to one of the global **RefreshTimers**.
|
||||
|
|
|
@ -184,7 +184,7 @@ INSTALL_EOF
|
|||
This directory contains SpiderMonkey ${MOZJS_MAJOR_VERSION}.
|
||||
|
||||
This release is based on a revision of Mozilla ${MOZJS_MAJOR_VERSION}:
|
||||
http://hg.mozilla.org/releases/
|
||||
https://hg.mozilla.org/releases/
|
||||
The changes in the patches/ directory were applied.
|
||||
|
||||
MDN hosts the latest SpiderMonkey ${MOZJS_MAJOR_VERSION} release notes:
|
||||
|
|
|
@ -53,9 +53,9 @@ class WidgetTouchEvent;
|
|||
// "layout.accessiblecaret.use_long_tap_injector" for the fake long-tap events.
|
||||
//
|
||||
// State transition diagram:
|
||||
// http://hg.mozilla.org/mozilla-central/raw-file/default/layout/base/doc/AccessibleCaretEventHubStates.png
|
||||
// https://hg.mozilla.org/mozilla-central/raw-file/default/layout/base/doc/AccessibleCaretEventHubStates.png
|
||||
// Source code of the diagram:
|
||||
// http://hg.mozilla.org/mozilla-central/file/default/layout/base/doc/AccessibleCaretEventHubStates.dot
|
||||
// https://hg.mozilla.org/mozilla-central/file/default/layout/base/doc/AccessibleCaretEventHubStates.dot
|
||||
//
|
||||
// Please see the wiki page for more information.
|
||||
// https://wiki.mozilla.org/AccessibleCaret
|
||||
|
|
|
@ -2152,7 +2152,7 @@ SetupImageLayerClip(nsCSSRendering::ImageLayerClipState& aClipState,
|
|||
|
||||
if (bgAreaGfx.IsEmpty()) {
|
||||
// I think it's become possible to hit this since
|
||||
// http://hg.mozilla.org/mozilla-central/rev/50e934e4979b landed.
|
||||
// https://hg.mozilla.org/mozilla-central/rev/50e934e4979b landed.
|
||||
NS_WARNING("converted background area should not be empty");
|
||||
// Make our caller not do anything.
|
||||
aClipState.mDirtyRectGfx.SizeTo(gfxSize(0.0, 0.0));
|
||||
|
@ -2193,7 +2193,7 @@ DrawBackgroundColor(nsCSSRendering::ImageLayerClipState& aClipState,
|
|||
|
||||
if (bgAreaGfx.IsEmpty()) {
|
||||
// I think it's become possible to hit this since
|
||||
// http://hg.mozilla.org/mozilla-central/rev/50e934e4979b landed.
|
||||
// https://hg.mozilla.org/mozilla-central/rev/50e934e4979b landed.
|
||||
NS_WARNING("converted background area should not be empty");
|
||||
// Make our caller not do anything.
|
||||
aClipState.mDirtyRectGfx.SizeTo(gfxSize(0.0, 0.0));
|
||||
|
|
|
@ -4374,7 +4374,7 @@ Tab.prototype = {
|
|||
// If reader mode, get the base domain for the original url.
|
||||
let strippedURI = this._stripAboutReaderURL(documentURI);
|
||||
|
||||
// Borrowed from desktop Firefox: http://hg.mozilla.org/mozilla-central/annotate/72835344333f/browser/base/content/urlbarBindings.xml#l236
|
||||
// Borrowed from desktop Firefox: https://hg.mozilla.org/mozilla-central/annotate/72835344333f/browser/base/content/urlbarBindings.xml#l236
|
||||
let matchedURL = strippedURI.match(/^((?:[a-z]+:\/\/)?(?:[^\/]+@)?)(.+?)(?::\d+)?(?:\/|$)/);
|
||||
let baseDomain = "";
|
||||
if (matchedURL) {
|
||||
|
|
|
@ -189,7 +189,7 @@ public class PasswordRecord extends Record {
|
|||
* See toolkit/components/passwordmgr/storage-mozStorage.js for the
|
||||
* definitions:
|
||||
*
|
||||
* http://hg.mozilla.org/mozilla-central/file/00955d61cc94/toolkit/components/passwordmgr/storage-mozStorage.js#l98
|
||||
* https://hg.mozilla.org/mozilla-central/file/00955d61cc94/toolkit/components/passwordmgr/storage-mozStorage.js#l98
|
||||
*/
|
||||
public boolean isValid() {
|
||||
if (this.deleted) {
|
||||
|
|
|
@ -258,7 +258,7 @@ ac_add_options --enable-application=xulrunner
|
|||
<p>Therefore the XULRunner version for this Firefox version is : 1.8.1.9</p>
|
||||
<h3 id="Fetching_Sources_from_Mercurial">Fetching Sources from Mercurial</h3>
|
||||
<p>As with all other Mozilla products, one would fetch recent sources from Mercurial. For example, to build XULRunner with the top of the tree:</p>
|
||||
<pre>hg clone http://hg.mozilla.org/mozilla-central/ src
|
||||
<pre>hg clone https://hg.mozilla.org/mozilla-central/ src
|
||||
cd src
|
||||
echo ". \$topsrcdir/xulrunner/config/mozconfig" > .mozconfig
|
||||
make -f client.mk build
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Mozilla has modified this file - see http://hg.mozilla.org/ for details.
|
||||
// Mozilla has modified this file - see https://hg.mozilla.org/ for details.
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
|
@ -4976,7 +4976,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
/**
|
||||
* Interface for exposing the internal state of the HTML5 tree builder.
|
||||
* For more documentation, please see
|
||||
* http://hg.mozilla.org/projects/htmlparser/file/tip/src/nu/validator/htmlparser/impl/StateSnapshot.java
|
||||
* https://hg.mozilla.org/projects/htmlparser/file/tip/src/nu/validator/htmlparser/impl/StateSnapshot.java
|
||||
*/
|
||||
class nsAHtml5TreeBuilderState {
|
||||
public:
|
||||
|
|
|
@ -140,7 +140,7 @@ class nsHtml5StreamParser : public nsICharsetDetectionObserver {
|
|||
NS_IMETHOD Notify(const char* aCharset, nsDetectionConfident aConf) override;
|
||||
|
||||
// EncodingDeclarationHandler
|
||||
// http://hg.mozilla.org/projects/htmlparser/file/tip/src/nu/validator/htmlparser/common/EncodingDeclarationHandler.java
|
||||
// https://hg.mozilla.org/projects/htmlparser/file/tip/src/nu/validator/htmlparser/common/EncodingDeclarationHandler.java
|
||||
/**
|
||||
* Tree builder uses this to report a late <meta charset>
|
||||
*/
|
||||
|
|
|
@ -4966,7 +4966,7 @@ nsHttpHeaders.prototype =
|
|||
|
||||
// The following three headers are stored as arrays because their real-world
|
||||
// syntax prevents joining individual headers into a single header using
|
||||
// ",". See also <http://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
// ",". See also <https://hg.mozilla.org/mozilla-central/diff/9b2a99adc05e/netwerk/protocol/http/src/nsHttpHeaderArray.cpp#l77>
|
||||
if (merge && name in this._headers)
|
||||
{
|
||||
if (name === "www-authenticate" ||
|
||||
|
|
|
@ -326,7 +326,7 @@ The following is a partial list of collected preferences.
|
|||
|
||||
- ``browser.zoom.full`` (deprecated): True if zoom is enabled for both text and images, that is if "Zoom Text Only" is not enabled. Defaults to true. This preference was collected in Firefox 50 to 52 (`Bug 979323 <https://bugzilla.mozilla.org/show_bug.cgi?id=979323>`_).
|
||||
|
||||
- ``security.sandbox.content.level``: The meanings of the values are OS dependent, but 0 means not sandboxed for all OS. Details of the meanings can be found in the `Firefox prefs file <http://hg.mozilla.org/mozilla-central/file/tip/browser/app/profile/firefox.js>`_.
|
||||
- ``security.sandbox.content.level``: The meanings of the values are OS dependent, but 0 means not sandboxed for all OS. Details of the meanings can be found in the `Firefox prefs file <https://hg.mozilla.org/mozilla-central/file/tip/browser/app/profile/firefox.js>`_.
|
||||
|
||||
attribution
|
||||
~~~~~~~~~~~
|
||||
|
@ -342,7 +342,7 @@ partner
|
|||
|
||||
If the user is using a partner repack, this contains information identifying the repack being used, otherwise "partnerNames" will be an empty array and other entries will be null. The information may be missing when the profile just becomes available. In Firefox for desktop, the information along with other customizations defined in distribution.ini are processed later in the startup phase, and will be fully applied when "distribution-customization-complete" notification is sent.
|
||||
|
||||
Distributions are most reliably identified by the ``distributionId`` field. Partner information can be found in the `partner repacks <https://github.com/mozilla-partners>`_ (`the old one <http://hg.mozilla.org/build/partner-repacks/>`_ is deprecated): it contains one private repository per partner.
|
||||
Distributions are most reliably identified by the ``distributionId`` field. Partner information can be found in the `partner repacks <https://github.com/mozilla-partners>`_ (`the old one <https://hg.mozilla.org/build/partner-repacks/>`_ is deprecated): it contains one private repository per partner.
|
||||
Important values for ``distributionId`` include:
|
||||
|
||||
- "MozillaOnline" for the Mozilla China repack.
|
||||
|
|
|
@ -142,7 +142,7 @@ class Type(object):
|
|||
# WideStringWithSizeTypeDescriptor
|
||||
'WideStringWithSize',
|
||||
# XXX: These are also SimpleTypes (but not in the spec)
|
||||
# http://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/tools/xpt_dump.c#l69
|
||||
# https://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/tools/xpt_dump.c#l69
|
||||
'UTF8String',
|
||||
'CString',
|
||||
'AString',
|
||||
|
@ -619,7 +619,7 @@ class Param(object):
|
|||
'shared': bool(byte & 0x10),
|
||||
'dipper': bool(byte & 0x08),
|
||||
# XXX: Not in the spec, see:
|
||||
# http://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/public/xpt_struct.h#l456
|
||||
# https://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/public/xpt_struct.h#l456
|
||||
'optional': bool(byte & 0x04),
|
||||
}
|
||||
|
||||
|
@ -780,7 +780,7 @@ class Method(object):
|
|||
'constructor': bool(byte & 0x10),
|
||||
'hidden': bool(byte & 0x08),
|
||||
# Not in the spec, see
|
||||
# http://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/public/xpt_struct.h#l489
|
||||
# https://hg.mozilla.org/mozilla-central/annotate/0e0e2516f04e/xpcom/typelib/xpt/public/xpt_struct.h#l489
|
||||
'optargc': bool(byte & 0x04),
|
||||
'implicit_jscontext': bool(byte & 0x02),
|
||||
}
|
||||
|
@ -865,7 +865,7 @@ class Constant(object):
|
|||
_descriptorstart = struct.Struct(">I")
|
||||
# Actual value is restricted to this set of types
|
||||
# XXX: the spec lies, the source allows a bunch more
|
||||
# http://hg.mozilla.org/mozilla-central/annotate/9c85f9aaec8c/xpcom/typelib/xpt/src/xpt_struct.c#l689
|
||||
# https://hg.mozilla.org/mozilla-central/annotate/9c85f9aaec8c/xpcom/typelib/xpt/src/xpt_struct.c#l689
|
||||
typemap = {Type.Tags.int16: '>h',
|
||||
Type.Tags.uint16: '>H',
|
||||
Type.Tags.int32: '>i',
|
||||
|
|
Загрузка…
Ссылка в новой задаче