Andrea Marchesini
a9f2438114
Bug 1559919 - Finish the WorkerHolder cleanup - part 7 - IPCWorkerRef in ClientManagerChild, r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D35226
--HG--
extra : moz-landing-system : lando
2019-07-12 11:17:46 +00:00
Ehsan Akhgari
98960a9c41
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
--HG--
extra : moz-landing-system : lando
2019-05-27 14:06:49 +00:00
Christoph Kerschbaumer
b282f81f84
Bug 965637: Move CSP from Principal into Client, part 2: worker changes. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27655
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:50 +00:00
Christoph Kerschbaumer
42672fde72
Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27871
--HG--
extra : moz-landing-system : lando
2019-04-23 14:37:40 +00:00
Dorel Luca
facaf244e4
Backed out changeset 7d3f2f4c53be (bug 1544863
) for eslint failure
2019-04-23 17:16:13 +03:00
Christoph Kerschbaumer
73a324ee2d
Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27871
--HG--
extra : moz-landing-system : lando
2019-04-23 13:02:40 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrea Marchesini
5993c288fc
Bug 1502802 - Implement PostMessageOptions for Client and ServiceWorker, r=smaug
2018-10-29 16:26:30 +01:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Ben Kelly
0ece66c8ff
Bug 1457157 P1 Use DOMMozPromiseRequestHolder in the clients API binding objects. r=baku
2018-05-02 06:29:26 -07:00
Andrew Sutherland
4d059b2890
Bug 1446225
- Ensure client id's are consistently {}-less UUIDs. r=catalinb
...
Our Client.id values were being normalized from "{uuid}" to "uuid", but not
our FetchEvent.clientId values. Because nsID::Parse accepts both forms,
this was not being caught by any tests.
Although there are ServiceWorker WPT tests that verify consistency of
returned Client.id values across multiple matchAll invocations (ex:
client-id.https.html), there are no tests that compare Client.id with
FetchEvent.clientId. All the tests largely use Clients.get() to verify
correctness/round-tripping. I looked into adding WPT tests, but we
quickly run into the test logistics problem where it's preferable to
avoid adding tests that involve effectively global state.
So, this patch:
- Changes Clients::Get() to explicitly treat client id's that start with a
"{" as invalid. This causes existing FetchEvent.clientId-related WPT
tests to fail, as we would hope.
- Duplicates the client id normalization logic that strips {} for the
FetchEvent.clientId to its point of origin in
ContinueDispatchFetchEventRunnable::Run.
- Augments our dom/serviceworkers/test/test_match_all_client_properties.html
test, which has been enforcing {}-less UUIDs for a while, to also test
FetchEvent.clientId to verify it conforms. I added some comments to the
test files too.
--HG--
extra : rebase_source : dd6d07ea880eb2c3115d8810ea246b4469ad5f96
2018-03-22 11:33:13 -04:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
a5bed23bd8
Bug 1432963 - Fixing workers headers - part 15 - static function in a workers namespace, r=smaug
2018-01-31 08:24:30 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Andrea Marchesini
528066218f
Bug 1432963 - Fixing workers headers - part 8 - WorkerTargetHolder without workers namespace, r=smaug
2018-01-31 08:21:27 +01:00
Ben Kelly
e71d8db226
Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth
2018-01-26 13:08:59 -08:00
Ben Kelly
cfb0e62f7b
Bug 1293277 P5 Switch bindings over to new Client and Clients classes. r=baku
2017-12-12 15:44:47 -05:00
Ben Kelly
4bede347d6
Bug 1293277 P4 Add Client and Clients DOM classes, but don't hook them into bindings yet. r=baku
2017-12-12 15:44:47 -05:00