Perry Jiang
2d9e107dee
Bug 1231213 - Only spawn Service Workers in non-web-extensions processes that won't imminently shutdown. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26176
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:35 +00:00
Perry Jiang
9f8937313f
Bug 1231213 - Implement cross-process ServiceWorkerGlobalScope.skipWaiting(). r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26175
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:28 +00:00
Perry Jiang
b1c2ec9ffc
Bug 1231213 - Implement ServiceWorkerPrivateImpl to dispatch operations to content processes and respond to their results. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26174
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:23 +00:00
Perry Jiang
caff417d00
Bug 1231213 - Let ServiceWorkerOpArgs be sent from the parent process to a content process. r=asuth
...
The args are sent from the parent process main thread to the parent process
background thread and then from the background thread to a content process
worker launcher thread.
Differential Revision: https://phabricator.services.mozilla.com/D26173
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:16 +00:00
Perry Jiang
bbc5dad9a8
Bug 1231213 - Implement ServiceWorkerOp and its subclasses. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26172
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:08 +00:00
Perry Jiang
5b603200f7
Bug 1231213 - Implement PFetchEventOp(Proxy) IPDL protocols and FetchEventOp(Proxy){Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26171
--HG--
extra : moz-landing-system : lando
2019-08-15 17:27:07 +00:00
Perry Jiang
200a71c58c
Bug 1231213 - Refactor RemoteWorkerChild to handle Service Workers' and Shared Workers' operations and to make its state data/transitions safer. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26170
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:58 +00:00
Perry Jiang
81d15b2970
Bug 1231213 - Refactor RemoteWorkerController to handle Service Workers' and Shared Workers' operations. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26169
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:51 +00:00
Perry Jiang
07c822e09b
Bug 1231213 - Implement PRemoteWorkerController IPDL protocol and RemoteWorkerController{Parent,Child}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26168
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:49 +00:00
Perry Jiang
deae3fab14
Bug 1231213 - Add OptionalServiceWorkerData to RemoteWorkerData. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26167
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:42 +00:00
Perry Jiang
b80e7b2c4a
Bug 1231213 - Have ServiceWorkerManager block shutdown on "profile-change-teardown" when in the parent process with parent intercept enabled. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26166
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:40 +00:00
Perry Jiang
7a582b1078
Bug 1231213 - Implement ServiceWorkerShutdownBlocker. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26165
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:29 +00:00
Perry Jiang
7ed1285f85
Bug 1231213 - Implement ServiceWorkerOp{Args,Promise,Result}, FetchEventRespondWith{Promise,Result}, and IPCFetchEventRespondWithResult. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26164
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:22 +00:00
Perry Jiang
8f13cfeaef
Bug 1231213 - Implement IPCInternal{Request,Response}. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26163
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:15 +00:00
Perry Jiang
4523453b91
Bug 1231213 - Avoid some assertions for ServiceWorkerManagers in child processes. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26162
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:13 +00:00
Perry Jiang
1cbbc0178e
Bug 1231213 - IPCStreamSource should not attempt to read from its stream if already closed. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26161
--HG--
extra : moz-landing-system : lando
2019-08-15 17:26:05 +00:00
Perry Jiang
4b70b87327
Bug 1231213 - Support IPCStreamSource on the Worker Launcher thread. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26160
--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:58 +00:00
Perry Jiang
8682aaf225
Bug 1231213 - Correctly choose nsBufferedStream's underlying nsIInputStream after initialization. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26159
--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:51 +00:00
Perry Jiang
f399d514b9
Bug 1231213 - Properly declare some dependencies so everything will compile with additional files. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D26158
--HG--
extra : moz-landing-system : lando
2019-08-15 17:25:44 +00:00
Mihai Tabara
87140adcdb
Bug 1567429 - remove checksums signing from release automation. r=tomprince
...
Remove individual checksums signing in favor of big fat checksums
Differential Revision: https://phabricator.services.mozilla.com/D40095
--HG--
extra : moz-landing-system : lando
2019-08-15 17:31:40 +00:00
Yura Zenevich
932dfb20d8
Bug 1573362 - update a copy for some of the text label checks messages. r=mtigley,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D41750
--HG--
extra : moz-landing-system : lando
2019-08-15 15:15:40 +00:00
Noemi Erli
6b80a780ed
Backed out changeset 067d47e20a94 (bug 1572811) for causing failures in CharacterData.cpp CLOSED TREE
2019-08-15 20:30:45 +03:00
Noemi Erli
99a4fa7494
Backed out changeset 8e9d1223d391 (bug 1572349) for causing build bustages in Document.cpp CLOSED TREE
2019-08-15 20:29:35 +03:00
Ting-Yu Lin
206960605d
Bug 1569701 Part 2 - Use ColumnSetWrapper's effective computed content block-size to impose constraint for ColumnSet. r=dbaron
...
Run broken-column-rule-1.html with column-span enabled because it was
regressed by Bug 1548100 Part 2, but fixed by this patch.
Differential Revision: https://phabricator.services.mozilla.com/D41907
--HG--
extra : moz-landing-system : lando
2019-08-15 16:59:13 +00:00
Ting-Yu Lin
0bc5f5330e
Bug 1569701 Part 1 - Make BlockReflowInput::mConsumedBSize a constant, and delete it assessor method. r=dbaron
...
We always pass consumed block-size into BlockReflowInput's constructor
in nsBlockFrame::Reflow(). By making mConsumedBSize a constant, its
assessor method becomes redundant.
Update the documentation to reflect the reality that ConsumedBSize()
accumulates content block-size from all previous *continuations*, which
was done in Bug 1506293 Part 2.
Differential Revision: https://phabricator.services.mozilla.com/D41906
--HG--
extra : moz-landing-system : lando
2019-08-15 16:49:14 +00:00
Ting-Yu Lin
e4c1298151
Bug 1569701 Part 0 - Use nscoord instead of int for contentBEnd in nsColumnSetFrame::ReflowChildren(). r=dbaron
...
Differential Revision: https://phabricator.services.mozilla.com/D41905
--HG--
extra : moz-landing-system : lando
2019-08-14 23:17:06 +00:00
Kagami Sascha Rosylight
b14e2b2516
Bug 1414372: Introduce interface mixins r=bzbarsky
...
Add IDLInterfaceMixin with a new superclass shared with existing IDLInterfaceOrNamespace.
Differential Revision: https://phabricator.services.mozilla.com/D38802
--HG--
extra : moz-landing-system : lando
2019-08-15 16:53:49 +00:00
Kagami Sascha Rosylight
65bd8bce7d
Bug 1572349 - Add Document::ResolveWithBaseURI r=bzbarsky
...
This adds a helper method that enables simpler code in D41047 and D36714.
Differential Revision: https://phabricator.services.mozilla.com/D41902
--HG--
extra : moz-landing-system : lando
2019-08-15 14:49:19 +00:00
Sebastian Streich
a71872d1de
Bug 1572032 - Provide Unknown-MIME-Type in case of Nosniff + no mime r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D41943
--HG--
extra : moz-landing-system : lando
2019-08-15 13:06:57 +00:00
Jon Coppeard
e58f93e27b
Bug 1571682 - Make allocationSiteGroup fail cleanly on OOM r=tcampbell,jandem
...
This should make this fail cleanly on OOM rather than crashing, which should make this crash go away (without reducing memory usage obviously). The problem was the lack of hasHash/ensureHash methods that we use to handle OOM when generating unique IDs for GC things. I also tidied the equivalent code for ObjectGroupRealm::NewEntry (FallibleHashMethods is already implemented for MovableCellHasher).
We could further improve this by giving each script an immutable hash code on creation if you think it's worth the tradeoff of storing this for every script.
Differential Revision: https://phabricator.services.mozilla.com/D41233
--HG--
extra : moz-landing-system : lando
2019-08-15 16:18:21 +00:00
Jan de Mooij
a5eeb9a2c0
Bug 1505689 part 9 - Use static const values instead of macros for magic BASELINE_*_SCRIPT and ION_*_SCRIPT values. r=tcampbell
...
This defines both |constexpr uintptr_t| and |const pointer| values. reinterpret_cast
in constexpr is not allowed and this way we can still use these values in static_asserts.
Differential Revision: https://phabricator.services.mozilla.com/D42109
--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:26 +00:00
Jan de Mooij
99d8816f1a
Bug 1505689 part 8 - Make JitScript::clear{Baseline,Ion}Script return the cleared script. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D42108
--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:16 +00:00
Jan de Mooij
fd8d7107b8
Bug 1505689 part 7 - Rename DestroyJitScripts to JSScript::releaseJitScriptOnFinalize. r=tcampbell
...
This is more consistent with the rest of the code.
Differential Revision: https://phabricator.services.mozilla.com/D41709
--HG--
extra : moz-landing-system : lando
2019-08-15 16:14:04 +00:00
Jan de Mooij
ac94ea55dd
Bug 1505689 part 6 - Merge TraceJitScripts into JitScript::trace. r=tcampbell
...
This also removes BaselineScript::Trace and IonScript::Trace that were just
forwarding to the non-static trace().
Differential Revision: https://phabricator.services.mozilla.com/D41708
--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:57 +00:00
Jan de Mooij
06546e9a5c
Bug 1505689 part 5 - Move BaselineScript and IonScript pointers from JSScript to JitScript. r=tcampbell
...
Differential Revision: https://phabricator.services.mozilla.com/D41582
--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:50 +00:00
Jan de Mooij
9b88308c65
Bug 1505689 part 4 - Add DisabledBaseline and DisabledIon flags to JSScript. r=tcampbell
...
We want to move BaselineScript and IonScript to JitScript, but JitScript can be
discarded on GC. These flags ensure this state is persisted when that happens.
Differential Revision: https://phabricator.services.mozilla.com/D41578
--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:45 +00:00
Jan de Mooij
5c4b52c9ce
Bug 1505689 part 3 - Clean up lazy linking code a bit, remove ION_PENDING_SCRIPT. r=tcampbell
...
ION_PENDING_SCRIPT didn't add anything over setting |ion| to nullptr.
Differential Revision: https://phabricator.services.mozilla.com/D41575
--HG--
extra : moz-landing-system : lando
2019-08-15 16:13:41 +00:00
Jan de Mooij
5e530af754
Bug 1505689 part 2 - Check for ION_DISABLED_SCRIPT in Baseline JIT code. r=tcampbell
...
This is more consistent with Baseline Interpreter -> Baseline JIT code and
avoids calling into C++ repeatedly when we disable Ion compilation for the
script after Baseline JIT compilation.
The inIon fix prevents an iloop when running jit-test/tests/ion/bug1324521.js
Differential Revision: https://phabricator.services.mozilla.com/D41574
--HG--
extra : moz-landing-system : lando
2019-08-15 16:12:37 +00:00
Jan de Mooij
b82195d4b7
Bug 1505689 part 1 - Tidy up JSScript BaselineScript/IonScript methods. r=tcampbell
...
The main goal was to abstract the special BASELINE_DISABLED_SCRIPT and
ION_*_SCRIPT values better. Each of these values now has its own setter
method instead of passing these values to setBaselineScript and setIonScript.
Differential Revision: https://phabricator.services.mozilla.com/D41573
--HG--
extra : moz-landing-system : lando
2019-08-15 16:12:25 +00:00
Logan Smyth
b5f7346637
Bug 1541631 - Part 8: Store breakable-line and breakpoint-position data in the source-actor store. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42033
--HG--
extra : moz-landing-system : lando
2019-08-15 16:29:44 +00:00
Logan Smyth
c4521e96b2
Bug 1541631 - Part 7: Convert memoizeableAction to be AsyncValue-based for easy interop. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42032
--HG--
extra : moz-landing-system : lando
2019-08-15 16:29:15 +00:00
Logan Smyth
5980499fff
Bug 1541631 - Part 6: Remove unused action return values. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42031
--HG--
extra : moz-landing-system : lando
2019-08-15 16:28:51 +00:00
Logan Smyth
00ed6331e2
Bug 1541631 - Part 5: Remove exitEarly option from memoizableAction since it isn't needed. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42030
--HG--
extra : moz-landing-system : lando
2019-08-15 16:28:25 +00:00
Logan Smyth
2fadd2279f
Bug 1541631 - Part 4: Use resource utility for SourceWithContent caching. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42029
--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:50 +00:00
Logan Smyth
25471c45a3
Bug 1541631 - Part 3: Merge 'content' onto the source itself and rely on query caching. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42028
--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:24 +00:00
Logan Smyth
320d0461f3
Bug 1541631 - Part 2: Convert Source to be a generic minimal Source interface. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42027
--HG--
extra : moz-landing-system : lando
2019-08-15 16:26:53 +00:00
Logan Smyth
8cac7dccec
Bug 1541631 - Part 1: Rename mock threadFront file to better name since it isn't a Front. r=jlast
...
Differential Revision: https://phabricator.services.mozilla.com/D42025
--HG--
rename : devtools/client/debugger/src/actions/tests/helpers/threadFront.js => devtools/client/debugger/src/actions/tests/helpers/mockCommandClient.js
extra : moz-landing-system : lando
2019-08-15 16:26:18 +00:00
singuliere
3fcd223b56
Bug 1563239 - Do not summarize builtin events to the "dynamic" process r=janerik
...
Check if the dynamic event is built-in or not before summarizing.
Differential Revision: https://phabricator.services.mozilla.com/D41924
--HG--
extra : moz-landing-system : lando
2019-08-15 16:27:54 +00:00
Jon Coppeard
1f8e589f72
Bug 1574119 - Add a test for bug 1568029 r=jandem
...
This adds a testcase for the fix in bug 1568029. This adds a testing function markObjectPropertiesUnknown() which will hopefully be useful for fuzzing.
Differential Revision: https://phabricator.services.mozilla.com/D42093
--HG--
extra : moz-landing-system : lando
2019-08-15 16:23:30 +00:00
Drew Willcoxon
3cbb9148a3
Bug 1571161 - Modify openViewOnFocus so that it doesn't open the view on the newtab page and in private windows. r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D40719
--HG--
extra : moz-landing-system : lando
2019-08-15 11:09:28 +00:00