f6564808b1623f48275af1c514e005456d1a36b9: Bug 1334550 - Part 1 - Proxy moz-extension protocol requests to the parent process; r=jimm, r=mayhemer, r=kris draft
Haik Aftandilian <haftandilian@mozilla.com> - Wed, 21 Jun 2017 15:55:43 -0700 - rev 598659
Push 65276 by haftandilian@mozilla.com at Wed, 21 Jun 2017 23:51:45 +0000
Bug 1334550 - Part 1 - Proxy moz-extension protocol requests to the parent process; r=jimm, r=mayhemer, r=kris Changes ExtensionProtocolHandler to use remote streams for moz-extension loads of file and JAR URI's to allow for filesystem read-access sandboxing. Adds messaging to PNecko to allow child processes to request an input stream or file descriptor for moz-extension URI's. Add ExtensionProtocolHandler singleton so that NeckoParent can call methods directly and ExtensionProtocolHandler::NewFD can use a new member variable |mFileOpenerThread| to open files. Adds FileDescriptorFile, a limited implementation of nsIFile that wraps a file descriptor, to be sideloaded into nsJARChannels so that extension JAR files can be read using a file descriptor without accessing the filesystem directly. MozReview-Commit-ID: 1pcnIpjz2yR
aa8793a33ff1a1160e98be6fe4132249a209b681: Bug 1369436 - Listen for push messages once all windows have been restored. r?florian draft
Kit Cambridge <kit@yakshaving.ninja> - Wed, 21 Jun 2017 10:43:31 -0700 - rev 598658
Push 65275 by bmo:kit@mozilla.com at Wed, 21 Jun 2017 23:44:32 +0000
Bug 1369436 - Listen for push messages once all windows have been restored. r?florian MozReview-Commit-ID: Cy8z01fKZGK
905423ab70497c62653b2e135afa12426c8b0983: Bug 1369436 - Listen for push messages once all windows have been restored. r?florian draft
Kit Cambridge <kit@yakshaving.ninja> - Wed, 21 Jun 2017 10:43:31 -0700 - rev 598657
Push 65274 by bmo:kit@mozilla.com at Wed, 21 Jun 2017 23:41:46 +0000
Bug 1369436 - Listen for push messages once all windows have been restored. r?florian MozReview-Commit-ID: Cy8z01fKZGK
edd5740a2e21fb166c8bbe386f8786aada3e2bc5: Bug 1369436 - Alphabetize and lazily import push modules. r?florian draft
Kit Cambridge <kit@yakshaving.ninja> - Wed, 21 Jun 2017 10:42:33 -0700 - rev 598656
Push 65274 by bmo:kit@mozilla.com at Wed, 21 Jun 2017 23:41:46 +0000
Bug 1369436 - Alphabetize and lazily import push modules. r?florian MozReview-Commit-ID: 1VhxsxSwgAF
ee27ef1c33d268a2e65d5e2a807ec9503a71b294: Bug 1369436 - Listen for push messages once all windows have been restored. r?flo draft
Kit Cambridge <kit@yakshaving.ninja> - Wed, 21 Jun 2017 10:43:31 -0700 - rev 598655
Push 65273 by bmo:kit@mozilla.com at Wed, 21 Jun 2017 23:39:49 +0000
Bug 1369436 - Listen for push messages once all windows have been restored. r?flo MozReview-Commit-ID: Cy8z01fKZGK
cfbe6805e090f0de3af5991b32088d93eae70d11: Bug 1369436 - Alphabetize and lazily import push modules. r?flo draft
Kit Cambridge <kit@yakshaving.ninja> - Wed, 21 Jun 2017 10:42:33 -0700 - rev 598654
Push 65273 by bmo:kit@mozilla.com at Wed, 21 Jun 2017 23:39:49 +0000
Bug 1369436 - Alphabetize and lazily import push modules. r?flo MozReview-Commit-ID: 1VhxsxSwgAF
45385df6a824556b86298136a1831c226bba756f: Bug 1370719 - Shrink ElementData by moving pseudo count to type. r=bholley draft
J. Ryan Stinnett <jryans@gmail.com> - Tue, 20 Jun 2017 14:02:45 -0500 - rev 598653
Push 65272 by bmo:jryans@gmail.com at Wed, 21 Jun 2017 23:27:28 +0000
Bug 1370719 - Shrink ElementData by moving pseudo count to type. r=bholley `ElementStyles` holds an optional list of values for each eager pseudo-element. However, the type was declared as a slice instead of a fixed size array, so an extra 8 bytes were being allocated to hold the size, even though it never changes. Moving the constant size into the type reduces `ElementStyles` and `ElementData` by 8 bytes. MozReview-Commit-ID: GaO6DKFxUMo
2e3ed910b795dcefa37903412f6748f53c4ee478: Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley draft
J. Ryan Stinnett <jryans@gmail.com> - Tue, 13 Jun 2017 12:51:37 -0500 - rev 598652
Push 65272 by bmo:jryans@gmail.com at Wed, 21 Jun 2017 23:27:28 +0000
Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley Before this change, the `ComputedStyle` struct that is part of permanent style data per element holds 2 `StrongRuleNode`s (unvisited and visited) and 2 `Arc<ComputedValues>` (unvisited and visited). Both rule nodes and the visited values don't actually need to be here. This patch moves these 3 to new temporary storage in `CascadeInputs` on `CurrentElementInfo` during the match and cascade process. Rule nodes are pushed down inside the `ComputedValues` for later access after the cascade. (Visited values were already available there.) The permanent style data per element now has just the `Arc<ComputedValues>` for itself and eager pseudo-elements (plus the `RestyleHint`). MozReview-Commit-ID: 3wq52ERMpdi
74737553d376b46aa910d777315bd632df4aa12d: Bug 1375262 - Add the ability to pass sandbox options to SpecialPowers.loadChromeScript(). r=jmaher draft
Andrew McCreight <continuation@gmail.com> - Tue, 20 Jun 2017 15:50:20 -0700 - rev 598651
Push 65271 by bmo:continuation@gmail.com at Wed, 21 Jun 2017 23:25:29 +0000
Bug 1375262 - Add the ability to pass sandbox options to SpecialPowers.loadChromeScript(). r=jmaher SpecialPowers.loadChromeScript() sends a script to the child process, then creates a sandbox, and runs the script in that sandbox. There are various sandboxOptions that can be passed when creating a sandbox, and it would be nice to have that functionality for loadChromeScript. I just need this for wantGlobalProperties, but I might as well make it as general as possible. I'm not sure all of the types it can take can actually be serialized across processes, but I guess that's okay. MozReview-Commit-ID: GoJjXdjizFk
fbe27746de6c50db1262f9cec87f11c105949cb2: Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code. r=markh draft
Andrew McCreight <continuation@gmail.com> - Wed, 21 Jun 2017 09:56:57 -0700 - rev 598650
Push 65271 by bmo:continuation@gmail.com at Wed, 21 Jun 2017 23:25:29 +0000
Bug 1375133 - Remove unnecessary imports of btoa and atob in services/ code. r=markh There are a few places in services/ tests that import btoa and atob, but this is not necessary, because those are both defined on the XPCShell global (by glob_functions in XPCShellImpl.cpp). It sounds like it didn't work at some point on B2G (see bug 937114) but that isn't relevant any more. I want to fix this because the way these properties are imported will break with shared JSM globals. MozReview-Commit-ID: HoxqIS98p7B
b3765723062cb655f4e841ef79f848c608e38487: Bug 1375188 - Don't import TextEncoder from osfile.jsm in CoverageUtils.jsm. r=Gijs draft
Andrew McCreight <continuation@gmail.com> - Wed, 21 Jun 2017 09:28:52 -0700 - rev 598649
Push 65271 by bmo:continuation@gmail.com at Wed, 21 Jun 2017 23:25:29 +0000
Bug 1375188 - Don't import TextEncoder from osfile.jsm in CoverageUtils.jsm. r=Gijs This import is unnecessary, because the WebIDL interface for TextEncoder has Exposed=System, so it is available on the JSM global. I can revert some of the changes from bug 1348103 at the same time. I need to remove this import, because it will break with shared JSM globals. MozReview-Commit-ID: BKmaH8iTFnI
6208cda2ab3cc406aa176efc27194c5f3d77c81a: Don't serialize fields that throw FILE_INVALID_PATH draft
Andrew McCreight <continuation@gmail.com> - Sun, 28 May 2017 10:09:44 -0700 - rev 598648
Push 65271 by bmo:continuation@gmail.com at Wed, 21 Jun 2017 23:25:29 +0000
Don't serialize fields that throw FILE_INVALID_PATH With shared JSM globals, Services.appinfo can get QId to nsICrashReporter before serialization happens. Accessing some property on that interface throws NS_ERROR_FILE_INVALID_PATH, so just skip any properties that throw that. Hopefully this will be superceded by bug 1368195, which avoids serializing this object altogether. MozReview-Commit-ID: 1wTZ2qQ1fr0
4194719bac0c39151d93075c4c44f6a282ed499c: Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley draft
J. Ryan Stinnett <jryans@gmail.com> - Tue, 13 Jun 2017 12:51:37 -0500 - rev 598647
Push 65270 by bmo:jryans@gmail.com at Wed, 21 Jun 2017 23:22:56 +0000
Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley Before this change, the `ComputedStyle` struct that is part of permanent style data per element holds 2 `StrongRuleNode`s (unvisited and visited) and 2 `Arc<ComputedValues>` (unvisited and visited). Both rule nodes and the visited values don't actually need to be here. This patch moves these 3 to new temporary storage in `CascadeInputs` on `CurrentElementInfo` during the match and cascade process. Rule nodes are pushed down inside the `ComputedValues` for later access after the cascade. (Visited values were already available there.) The permanent style data per element now has just the `Arc<ComputedValues>` for itself and eager pseudo-elements (plus the `RestyleHint`). MozReview-Commit-ID: 3wq52ERMpdi
3af24b6905885eda186f3c0b155bc560a5fdb2e9: Bug 1371871 - Run the artifact tier during a tup artifact build. draft
Chris Manchester <cmanchester@mozilla.com> - Wed, 21 Jun 2017 16:20:18 -0700 - rev 598646
Push 65269 by bmo:cmanchester@mozilla.com at Wed, 21 Jun 2017 23:20:46 +0000
Bug 1371871 - Run the artifact tier during a tup artifact build. MozReview-Commit-ID: BIKtzjfu2SF
a5d66ebbe3692096b04535886aafaadb4619eb50: Bug 1371871 - Do not install unnecessary files in an artifact build. draft
Chris Manchester <cmanchester@mozilla.com> - Wed, 21 Jun 2017 16:20:18 -0700 - rev 598645
Push 65269 by bmo:cmanchester@mozilla.com at Wed, 21 Jun 2017 23:20:46 +0000
Bug 1371871 - Do not install unnecessary files in an artifact build. This prevents us from redundantly installing httpd.js and httpd.manifest from the test package during an artifact build, which interferes with the Tup backend's handling of these files as symlinks. MozReview-Commit-ID: LuMurUc1P36
cbce12ec8e2232811a0500a531d8a50ca6d08c4b: Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. draft
Chris Manchester <cmanchester@mozilla.com> - Wed, 21 Jun 2017 16:20:18 -0700 - rev 598644
Push 65269 by bmo:cmanchester@mozilla.com at Wed, 21 Jun 2017 23:20:46 +0000
Bug 1371871 - Do not process XPIDL in the tup backend during an artifact build. MozReview-Commit-ID: AtnXcv6iPRD
bd70e883329d5d5ccd49e753f4b6a4b9c5a27539: Bug 1371871 - Do not generate or attempt to install unnecessary files in artifact builds in the Tup backend. draft
Chris Manchester <cmanchester@mozilla.com> - Wed, 21 Jun 2017 16:20:18 -0700 - rev 598643
Push 65269 by bmo:cmanchester@mozilla.com at Wed, 21 Jun 2017 23:20:46 +0000
Bug 1371871 - Do not generate or attempt to install unnecessary files in artifact builds in the Tup backend. MozReview-Commit-ID: B2zyhKD4gVt
779f4c88788701df1a60ba2438b7130a992c891d: Bug 1319225 - Install generated FinalTargetFiles in the Tup backend. draft
Chris Manchester <cmanchester@mozilla.com> - Wed, 21 Jun 2017 16:19:16 -0700 - rev 598642
Push 65268 by bmo:cmanchester@mozilla.com at Wed, 21 Jun 2017 23:19:29 +0000
Bug 1319225 - Install generated FinalTargetFiles in the Tup backend. MozReview-Commit-ID: 8NLF11upDCn
303db0234c607a5b1e41b87c16afdff8ee2b66ba: Bug 1370719 - Shrink ElementData by moving pseudo count to type. r=bholley draft
J. Ryan Stinnett <jryans@gmail.com> - Tue, 20 Jun 2017 14:02:45 -0500 - rev 598641
Push 65267 by bmo:jryans@gmail.com at Wed, 21 Jun 2017 23:18:36 +0000
Bug 1370719 - Shrink ElementData by moving pseudo count to type. r=bholley `ElementValues` holds an optional list of values for each eager pseudo-element. However, the type was declared as a slice instead of a fixed size array, so an extra 8 bytes were being allocated to hold the size, even though it never changes. Moving the constant size into the type reduces `ElementValues` and `ElementData` by 8 bytes. MozReview-Commit-ID: GaO6DKFxUMo
e00e33ef9ffb43acd5819c7f7025b78b5212609f: Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley draft
J. Ryan Stinnett <jryans@gmail.com> - Tue, 13 Jun 2017 12:51:37 -0500 - rev 598640
Push 65267 by bmo:jryans@gmail.com at Wed, 21 Jun 2017 23:18:36 +0000
Bug 1370719 - Move match and cascade temporaries to CurrentElementInfo. r=bholley Before this change, the `ComputedStyle` struct that is part of permanent style data per element holds 2 `StrongRuleNode`s (unvisited and visited) and 2 `Arc<ComputedValues>` (unvisited and visited). Both rule nodes and the visited values don't actually need to be here. This patch moves these 3 to new temporary storage in `CascadeInputs` on `CurrentElementInfo` during the match and cascade process. Rule nodes are pushed down inside the `ComputedValues` for later access after the cascade. (Visited values were already available there.) The permanent style data per element now has just the `Arc<ComputedValues>` for itself and eager pseudo-elements (plus the `RestyleHint`). MozReview-Commit-ID: 3wq52ERMpdi
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip