Граф коммитов

665130 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez dea1e66fa8 Bug 1571530 - Cleanup initialization and usage of Loader::mSyncCallback. r=heycam
Little pet peeve o' mine.

Depends on D40687

Differential Revision: https://phabricator.services.mozilla.com/D40688

--HG--
extra : moz-landing-system : lando
2019-08-13 05:12:28 +00:00
Jon Coppeard 8b73371be0 Bug 1407593 - Report embedding leaks of JS GC things r=sfink,sfink?
Patch to report JS GC things that are live at shutdown as leaks by calling MOZ_LOG_CTOR for them. The JS engine now clears any remaining roots to prevent dangling pointers to freed memory after shutdown. I made XPCJSRuntime::Shutdown keep the weak pointer update callbacks as sometimes these tables have entries remaining at shutdown (if there are leaks) and we need the callbacks to update them.

This is looking more green on try now.

Differential Revision: https://phabricator.services.mozilla.com/D40449

--HG--
extra : moz-landing-system : lando
2019-08-13 08:31:49 +00:00
Emilio Cobos Álvarez 8abfa9f557 Bug 1571530 - Move Loader::Sheets out of line. r=heycam
I'm going to tweak it a bit.

Differential Revision: https://phabricator.services.mozilla.com/D40687

--HG--
extra : moz-landing-system : lando
2019-08-13 05:08:50 +00:00
Emilio Cobos Álvarez c3ee3ac3a8 Bug 1418624 - Allow mozilla::Result to be moved, make unwrap{,Err}() move, and add inspect() APIs that return references. r=froydnj
Also adjust some of the callers that were either calling unwrap() repeatedly on
the same result, or were doing silly copies, to use inspect().

We could try to use stuff like:

https://clang.llvm.org/docs/AttributeReference.html#consumed-annotation-checking

Differential Revision: https://phabricator.services.mozilla.com/D41425

--HG--
extra : moz-landing-system : lando
2019-08-13 08:26:18 +00:00
Mirko Brodesser 81a41b2d7d Bug 1573119: declare more methods around `HTMLEditor` `const`/`static`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D41524

--HG--
extra : moz-landing-system : lando
2019-08-13 07:34:11 +00:00
dlee 56a1409a1d Bug 1573176 - Fix SafeBrowsing doesn't use correct preference name for social tracking and cryptoming. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41645

--HG--
extra : moz-landing-system : lando
2019-08-13 07:51:50 +00:00
Sylvestre Ledru 5da36f02d4 Bug 1562642 - Part 5 - Add missing MPL2 headers in devtools/ r=jlast
Depends on D41566

Differential Revision: https://phabricator.services.mozilla.com/D41567

--HG--
extra : moz-landing-system : lando
2019-08-12 15:56:26 +00:00
Sylvestre Ledru ec62555094 Bug 1562642 - Add some devtools dirs to the list of thirdparty code r=jlast
Ride along: also add node_modules/ (generated by moz lint)

Differential Revision: https://phabricator.services.mozilla.com/D41566

--HG--
extra : moz-landing-system : lando
2019-08-12 15:58:10 +00:00
Dale Harvey fc976a5d25 Bug 1572469 - Add WebExtensions versions to new search engine config r=mkaply
Depends on D41556

Differential Revision: https://phabricator.services.mozilla.com/D41558

--HG--
extra : moz-landing-system : lando
2019-08-12 15:38:24 +00:00
Dale Harvey 62ba294e84 Bug 1572472 - Add allaannonser-sv-SE to new search engine config r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D41556

--HG--
extra : moz-landing-system : lando
2019-08-12 15:38:50 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D41559

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Makoto Kato 609348ba4d Bug 1543312 - Tear down editor when PresShell is destroyed. r=masayuki
When browsing reported site (https://minecraft.curseforge.com/), user that uses Android cannot set caret on some editable contents.

GV's IME code uses `NOTIFY_IME_OF_SELECTION_CHANGE` to update selection on native IME.  But GV doesn't receives this notification on this reported site. This notification is fired by editor's selection listener, but when this occurs, this notification is no logner fired unfortunately.  Because selection listener isn't registered by current selection.

At first, editor registers selection listener by `EditorBase::Init`. But like test case, if PresShell is destroyed after editor is created, this registration is no longer used, and we have to register it by new selection again. So we should tear down editor when PresShell is destroyed. (or we have to add a way to re-initialize selection listener?)

This isn't related to Android. Android's IME code depends on this notification, so this occurs easily.

Also, `PresShell::SetCaretEnabled` only works when caret is valid (`PresShell::GetCaret` has caret).  If caret is nothing, it hits assertion.

And, attached test case is reproduced sample.

Differential Revision: https://phabricator.services.mozilla.com/D41356

--HG--
extra : moz-landing-system : lando
2019-08-13 02:00:00 +00:00
Paul Zuehlcke 474a734442 Bug 1572670 - Adjusted identity/protections popup heading color and font weight. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41527

--HG--
extra : moz-landing-system : lando
2019-08-12 19:58:53 +00:00
Cosmin Sabou 9862d82970 Bug 1573038 - Update test expectation for release or beta. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D41583

--HG--
extra : moz-landing-system : lando
2019-08-13 05:44:43 +00:00
Mike Hommey 1339663971 Bug 1573355 - Fix openh264 builds. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D41689

--HG--
extra : moz-landing-system : lando
2019-08-13 04:59:49 +00:00
Narcis Beleuzu f53affe1cb Backed out 22 changesets (bug 1231213) for build bustages on RemoteWorkerChild.cpp . CLOSED TREE
Backed out changeset 6f25a7e73fe2 (bug 1231213)
Backed out changeset 5e88c3855fb6 (bug 1231213)
Backed out changeset a78d7b3e44af (bug 1231213)
Backed out changeset eb7f3a9b0a42 (bug 1231213)
Backed out changeset 87575a180ad5 (bug 1231213)
Backed out changeset 4e8369314e87 (bug 1231213)
Backed out changeset 039c34bc043c (bug 1231213)
Backed out changeset 0528ab68d94e (bug 1231213)
Backed out changeset 670e7d61d95c (bug 1231213)
Backed out changeset d61b9d65bd0a (bug 1231213)
Backed out changeset 9042ea694d40 (bug 1231213)
Backed out changeset bc0607e0d50b (bug 1231213)
Backed out changeset 196ee18781cb (bug 1231213)
Backed out changeset 4b588dec466b (bug 1231213)
Backed out changeset be6031a6fca7 (bug 1231213)
Backed out changeset 12e04c22f52f (bug 1231213)
Backed out changeset fd146f327f2d (bug 1231213)
Backed out changeset f2af7b66f50d (bug 1231213)
Backed out changeset 71d93fc98d3f (bug 1231213)
Backed out changeset 280271806864 (bug 1231213)
Backed out changeset ca4e828345a2 (bug 1231213)
Backed out changeset e41b984510ad (bug 1231213)
2019-08-13 07:47:05 +03:00
Perry Jiang 9f7e12ee62 Bug 1231213 - Various changes to existing tests. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D32078

--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:58 +00:00
Perry Jiang 700b91039e Bug 1231213 - Temporarily disable devtools tests for Service Workers e10s. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26179

--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:51 +00:00
Perry Jiang da4c995001 Bug 1231213 - Update the update algorithm to better match the spec r=asuth
- Throw a TypeError when a registration isn't found in the "scope to registration map"
- Synchronously (before enqueuing a job) check for an existing newest worker
- Synchronously check if an installing worker is attempting to update itself

Differential Revision: https://phabricator.services.mozilla.com/D41618

--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:49 +00:00
Perry Jiang 925d502585 Bug 1231213 - Allow the delayed ServiceWorkerRegistration.update() mechanism to handle multiple simultaneous requests without timing out. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26178

--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:39 +00:00
Perry Jiang a981db8c7e Bug 1231213 - Make ServiceWorkerPrivate use ServiceWorkerPrivateImpl when parent-intercept is enabled. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26177

--HG--
extra : moz-landing-system : lando
2019-08-13 04:04:32 +00:00
Perry Jiang ce813cf4ca 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-13 04:04:30 +00:00
Perry Jiang 8809a0886e 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-13 04:04:23 +00:00
Perry Jiang 8937d778cd 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-13 04:04:16 +00:00
Perry Jiang ba996dcb78 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-13 04:04:14 +00:00
Perry Jiang d19b151fac 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-13 04:04:05 +00:00
Perry Jiang 7e8cc2fc96 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-13 04:03:58 +00:00
Perry Jiang 0aef3f0bc4 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-13 04:03:49 +00:00
Perry Jiang 076a15f0b0 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-13 04:03:47 +00:00
Perry Jiang 54be8635e5 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-13 04:03:40 +00:00
Perry Jiang c0f155ab87 Bug 1231213 - Add OptionalServiceWorkerData to RemoteWorkerData. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26167

--HG--
extra : moz-landing-system : lando
2019-08-13 04:03:38 +00:00
Perry Jiang fd40d59375 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-13 04:03:31 +00:00
Perry Jiang c0587f86af Bug 1231213 - Implement ServiceWorkerShutdownBlocker. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26165

--HG--
extra : moz-landing-system : lando
2019-08-13 04:03:29 +00:00
Perry Jiang 71adc78bc1 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-13 04:03:27 +00:00
Perry Jiang 64a6439893 Bug 1231213 - Implement IPCInternal{Request,Response}. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26163

--HG--
extra : moz-landing-system : lando
2019-08-13 04:03:20 +00:00
Perry Jiang c04720d92d 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-13 04:03:18 +00:00
Perry Jiang 2800c29537 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-13 04:03:16 +00:00
Perry Jiang e459bdeff1 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-13 04:03:14 +00:00
Perry Jiang 166ecc9374 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-13 04:03:12 +00:00
Perry Jiang 931915402d 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-13 04:03:11 +00:00
Mike Hommey dff4165f31 Bug 1573314 - Add a dependency between 'target-shared' and 'target' targets in the same directory. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D41685

--HG--
extra : moz-landing-system : lando
2019-08-13 03:00:43 +00:00
Ed Lee ca11959d3e Bug 1573174 - Add Pocket footers, Monitor adjustments and bug fixes to New Tab Page r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D41669

--HG--
extra : moz-landing-system : lando
2019-08-13 02:22:39 +00:00
Junior Hsu 645c8b23f7 Bug 1543066 - P2 Do not obtain a cross-origin opener-policy through non-HTTPS r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40671

--HG--
extra : moz-landing-system : lando
2019-08-13 02:03:32 +00:00
Junior Hsu 122ebb1e31 Bug 1543066 - P1 Implement COOP:unsafe-inherit r=nika
Differential Revision: https://phabricator.services.mozilla.com/D40356

--HG--
extra : moz-landing-system : lando
2019-08-10 23:24:41 +00:00
Ryan Hunt 772a0b5c03 Bug 1559963 - Wasm: Add basic tests for declared element segments. r=bbouvier
Testing declared segments is a bit tricky until we support
'ref.func'. For now, I've written some basic tests.

Differential Revision: https://phabricator.services.mozilla.com/D40585

--HG--
extra : moz-landing-system : lando
2019-08-12 22:27:49 +00:00
Ryan Hunt 79bfc8c3be Bug 1559963 - Wasm: Update spec tests for bulk-memory#98. r=bbouvier
As the following commit explained, this change isn't backwards compatible with
the existing implementation and the spec tests needed to be modified.

I've written a stub commit to the spec interpreter to encode/decode element
segments well enough to pass the current spec tests, and did another
import of the tests. The commit can be found here [1] [2].

[1] https://github.com/eqrion/spec/tree/spidermonkey-tree-tests
[2] d81e3cfe6e

Differential Revision: https://phabricator.services.mozilla.com/D40584

--HG--
extra : moz-landing-system : lando
2019-08-12 22:30:15 +00:00
Ryan Hunt 563bbf7b09 Bug 1559963 - Wasm: Update in-tree tests for bulk-memory#98. r=bbouvier
The element segment changes are backwards compatible with the MVP, but not the
existing implementation. Some tests needed to update their expectations or
binary encoding.

Differential Revision: https://phabricator.services.mozilla.com/D40583

--HG--
extra : moz-landing-system : lando
2019-08-12 22:21:21 +00:00
Ryan Hunt f6fe16593e Bug 1559963 - Wasm: Update wasmTextToBinary for bulk-memory#98. r=bbouvier
Issue: https://github.com/WebAssembly/bulk-memory-operations/issues/98

This commit updates the encoding of element segments to the latest bulk-memory
proposal. This is backwards compatible with the MVP, but a breaking change from
the previously implemented bulk-memory spec.

The following semantic differences are made with the new encoding.
  1. The introduction of 'Declared' segments
    * Declared segments allow a Wasm module to forward declare which
      functions are aliasable by ref.func. See reference-types#31 for more
      information.
  2. Whether an element expression or function indices are encoded now depends
     on an independent flag from the 'kind' of an element segment.
  3. The definition kind or element expression type is now explicitly encoded
     in the element segment.

Differential Revision: https://phabricator.services.mozilla.com/D40582

--HG--
extra : moz-landing-system : lando
2019-08-12 22:31:17 +00:00
Ryan Hunt da9af79283 Bug 1559963 - Wasm: Update decoding of element segments for bulk-memory#98. r=bbouvier
Issue: https://github.com/WebAssembly/bulk-memory-operations/issues/98

This commit updates the decoding of element segments to the latest bulk-memory
proposal. This is backwards compatible with the MVP, but a breaking change from
the previously implemented bulk-memory spec.

The following semantic differences are made with the new encoding.
  1. The introduction of 'Declared' segments
    * Declared segments allow a Wasm module to forward declare which
      functions are aliasable by ref.func. See reference-types#31 for more
      information.
  2. Whether an element expression or function indices are encoded now depends
     on an independent flag from the 'kind' of an element segment.
  3. The definition kind or element expression type is now explicitly encoded
     in the element segment.

A following commit will update the in-tree wat2wasm encoder.

Differential Revision: https://phabricator.services.mozilla.com/D40581

--HG--
extra : moz-landing-system : lando
2019-08-12 22:37:15 +00:00
Brindusan Cristian a8a9f04996 Backed out changeset 58dd47c5aa51 (bug 1573111) for build bustages at TestBaseProfiler.cpp:875:51. CLOSED TREE 2019-08-13 06:21:16 +03:00