This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Localized | |
id="create-account" | |
confirm={ | |
<button onClick={createAccount}></button> | |
} | |
cancel={ | |
<Link to="/"></Link> | |
}> | |
<p>{'<confirm>Create account</confirm> or <cancel>go back</cancel>.'}</p> | |
</Localized> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp | |
--- a/dom/base/nsDocument.cpp | |
+++ b/dom/base/nsDocument.cpp | |
@@ -3360,6 +3360,12 @@ nsIDocument::LocalizationLinkAdded(Eleme | |
AutoTArray<nsString, 1> resourceIds; | |
resourceIds.AppendElement(href); | |
mDocumentL10n->AddResourceIds(resourceIds); | |
+ } else if (mReadyState == READYSTATE_COMPLETE) { | |
+ // Otherwise, if the document has already been parsed | |
+ // we need to lazily initialize the localization. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp | |
--- a/dom/base/nsDocument.cpp | |
+++ b/dom/base/nsDocument.cpp | |
@@ -3360,6 +3360,13 @@ nsIDocument::LocalizationLinkAdded(Eleme | |
AutoTArray<nsString, 1> resourceIds; | |
resourceIds.AppendElement(href); | |
mDocumentL10n->AddResourceIds(resourceIds); | |
+ } else if (mReadyState == READYSTATE_COMPLETE) { | |
+ // Otherwise, if the document has already been parsed | |
+ // we need to lazily initialize the localization. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/mozilla-unified central ⍉ | |
▶ ./mach build -j80 | |
0:00.49 /home/zbraniecki/.mozbuild/tup/tup upd /home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/<default> --debug-logging -j80 | |
0:00.49 [ tup ] [0.001s] Scanning filesystem... | |
0:01.79 [ tup ] [1.296s] Reading in new environment variables... | |
0:01.79 [ tup ] [1.296s] No Tupfiles to parse. | |
0:01.79 [ tup ] [1.296s] No files to delete. | |
0:01.86 [ tup ] [1.367s] Executing Commands... | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/toolkit/components/extensions/Extension.jsm b/toolkit/components/extensions/Extension.jsm | |
--- a/toolkit/components/extensions/Extension.jsm | |
+++ b/toolkit/components/extensions/Extension.jsm | |
@@ -2007,6 +2007,11 @@ class Langpack extends ExtensionData { | |
} | |
async startup(reason) { | |
+ if (reason === "APP_STARTUP" && AppConstants.platform === "XP_WIN") { | |
+ if (!(await OS.File.exists(this.rootURI))) { | |
+ return false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "main", | |
"id": "2b63fdad-5039-406a-8ead-19a69bb88d9f", | |
"creationDate": "2018-09-21T00:22:15.807Z", | |
"version": 4, | |
"application": { | |
"architecture": "x86-64", | |
"buildId": "20180913100107", | |
"name": "Firefox", | |
"version": "64.0a1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/mozilla-unified central ⍉ | |
▶ ./mach build | |
Build configuration changed. Regenerating backend. | |
0:00.37 /home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/_virtualenvs/init/bin/python /home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/config.status | |
Reticulating splines... | |
0:00.76 File already read. Skipping: /home/zbraniecki/projects/mozilla-unified/security/pkix/moz.build | |
0:01.80 File already read. Skipping: /home/zbraniecki/projects/mozilla-unified/gfx/angle/targets/angle_common/moz.build | |
0:07.82 /usr/bin/cargo build --build-plan -Z unstable-options --release --frozen --manifest-path /home/zbraniecki/projects/mozilla-unified/js/src/rust/Cargo.toml --lib --target=x86_64-unknown-linux-gnu | |
Traceback (most recent call last): | |
File "/home/zbraniecki/projects/mozilla-unified/obj-x86_64-pc-linux-gnu-opt/config.status", line 1297, in <module> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
▶ /usr/bin/cargo build --build-plan -Z unstable-options --release --frozen --manifest-path /home/zbraniecki/projects/mozilla-unified/js/src/rust/Cargo.toml --lib --target=x86_64-unknown-linux-gnu | |
Updating git repository `https://github.com/servo/serde` | |
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index` | |
Caused by: | |
failed to load source for a dependency on `serde_derive` | |
Caused by: | |
Unable to update https://github.com/servo/serde?branch=deserialize_from_enums8#c4457d80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"do-not-track-description": "Send websites a “Do Not Track” signal that you don’t want to be tracked", | |
"do-not-track-learn-more": "Learn more", | |
"do-not-track-option-default": { | |
"attrs": { | |
"label": "Only when using Tracking Protection" | |
} | |
}, | |
"do-not-track-option-default-content-blocking": { | |
"attrs": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github.com/AlDanial/cloc v 1.80 T=0.23 s (4.3 files/s, 4.3 lines/s) | |
------------------------------------------------------------------------------- | |
Language files blank comment code | |
------------------------------------------------------------------------------- | |
C++ | |
same 1 7 13 86 | |
modified 2 0 2 83 | |
added 16 442 284 2789 | |
removed 15 453 453 2318 | |
JavaScript |