Commit Graph

4 Commits

Author SHA1 Message Date
Jan-Erik Rediger
4abf3e3621 Bug 1466490 - Add multi-process xpcshell test for scalar semantics. r=Dexter
This follows the documentation example:

* Scalar deserialization is started
* “test” scalar is incremented by “10” by the application -> The operation [test, add, 10] is recorded into the list.
* The state of the “test” scalar is loaded off the persistence file, and the value “14” is set.
* Deserialization is finished and the pending operations are applied.
* The “test” scalar is incremented by “10”, the value is now “24”

It does that in both the parent and the content process.

MozReview-Commit-ID: CnzDcJ5o7jJ
2018-06-14 16:05:27 -07:00
Cosmin Sabou
7529a0435b Backed out 3 changesets (bug 1466490) for ESlint failures on test_GeckoView_ScalarSemantics. CLOSED TREE
Backed out changeset 5f13ed9de8a3 (bug 1466490)
Backed out changeset 95048dd368eb (bug 1466490)
Backed out changeset e3891caf027f (bug 1466490)
2018-06-15 22:34:01 +03:00
Jan-Erik Rediger
aa901120be Bug 1466490 - Add multi-process xpcshell test for scalar semantics. r=Dexter
This follows the documentation example:

* Scalar deserialization is started
* “test” scalar is incremented by “10” by the application -> The operation [test, add, 10] is recorded into the list.
* The state of the “test” scalar is loaded off the persistence file, and the value “14” is set.
* Deserialization is finished and the pending operations are applied.
* The “test” scalar is incremented by “10”, the value is now “24”

It does that in both the parent and the content process.

MozReview-Commit-ID: FSIkuW2xYjD
2018-06-14 16:05:27 -07:00
Alessio Placitelli
852435261f Bug 1461965 - Enable xpcshell test coverage for GeckoView Telemetry. r=chutten,froydnj,janerik
This patch introduces the nsITelemetryGeckoViewTesting IDL interface which
allows to control the Telemetry GeckoView persistence feature. This is
useful to enable xpcshell test coverage for GeckoView code on all platforms.

MozReview-Commit-ID: Hh0oq4qdqrX
2018-06-05 17:01:04 +02:00