Andrea Marchesini
bc5414c5f3
Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap
2018-07-12 19:33:41 +02:00
Boris Zbarsky
9f65fcc29a
Bug 1474045
. Make nsIScriptGlobalObject::HandleScriptError non-virtual. r=qdot
2018-07-11 14:17:01 -07:00
Cosmin Sabou
26e792fe42
Merge autoland to mozilla-central. a=merge
2018-07-11 00:50:32 +03:00
Andrea Marchesini
8fe4d55300
Bug 1472927 - Fix CSP violation events in workers, r=asuth, r=ckerschb
2018-07-10 18:53:03 +02:00
Andreea Pavel
41fc51d32b
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-07-10 19:38:34 +03:00
Andreea Pavel
a80651653f
Merge mozilla-inbound to mozilla-central. a=merge
2018-07-10 19:33:22 +03:00
Andrea Marchesini
5fff1762ad
Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb
2018-07-10 17:40:21 +02:00
Andrea Marchesini
d983dd1bcd
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
8afcfe8e31
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 4 - workers, r=ehsan
2018-07-10 10:09:59 +02:00
Tarek Ziadé
47344f4b4a
Bug 1474253 - Improve ReportPerformanceInfo() - r=baku
...
- modifies how we get the top window id, adds isTopLevel
- renames pwid to windowId, worker to isWorker
- removes the wid field
- uses the url in case the host is empty
It also fixes PerformanceInfoDictionary.host type
MozReview-Commit-ID: 4AzO3UnJ2LM
--HG--
extra : rebase_source : 5dee8a650064fd45e7a9e694c2593d517f74d766
2018-07-10 09:58:48 +02:00
Jan de Mooij
50c616a988
Bug 1473865 part 3 - Inline nsJSUtils::GetStaticScriptGlobal into its callers. r=bz
2018-07-09 12:26:59 +02:00
Andrea Marchesini
44f395a924
Bug 1452153 - Fixing a DOM Worker assertion related to frozen/thrown windows, r=smaug
2018-07-08 21:37:52 +02:00
Margareta Eliza Balazs
c37b51f523
Backed out 9 changesets (bug 1469993) for causing bustage in build/srcdom/base/nsGlobalWindowInner.cpp on a CLOSED TREE
...
Backed out changeset e89192032fe2 (bug 1469993)
Backed out changeset 4b261595099d (bug 1469993)
Backed out changeset 37182cfe869c (bug 1469993)
Backed out changeset 5b9870995c73 (bug 1469993)
Backed out changeset 55499fcd9738 (bug 1469993)
Backed out changeset 8c1c838d54ba (bug 1469993)
Backed out changeset 12b9c8bfa41f (bug 1469993)
Backed out changeset 04ab7d6c169a (bug 1469993)
Backed out changeset 53885d61244e (bug 1469993)
2018-07-10 11:32:34 +03:00
Andrea Marchesini
dd80ba24d3
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan
2018-07-10 10:09:59 +02:00
Andrea Marchesini
a8d6a7382d
Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 4 - workers, r=ehsan
2018-07-10 10:09:59 +02:00
Andreea Pavel
3e043423dd
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-07-10 19:36:46 +03:00
Tarek Ziadé
0538cd57e2
Bug 1472668 - Don't reset performance counters when reading their values - r=baku
...
We're changing the counters behavior since they are not notifications anymore.
In the new behavior they don't get reset when they are retrieved,
so we can have several consumers via the promise.
If the values overflow, we let the wrapping occur (unsigned values).
MozReview-Commit-ID: 1adkszScYo4
--HG--
extra : rebase_source : cd554ad4cfa643b09f75bb07e38b5d35e08cf470
2018-07-10 10:06:41 +02:00
Bogdan Tara
f06fbe92ac
Merge inbound to mozilla-central. a=merge
2018-07-07 01:00:41 +03:00
Tarek Ziadé
bcf6f4c256
Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
...
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.
MozReview-Commit-ID: CYKukBOC8yh
--HG--
extra : rebase_source : 1e27524726ace0bfed5297d48af8be268c5b4945
2018-07-05 16:32:03 +02:00
Margareta Eliza Balazs
9974f39b66
Backed out changeset f177b4c9bdcd (bug 1471517) for causing failures in netwerk/test/browser/browser_test_io_activity.js on a CLOSED TREE
2018-07-06 11:02:21 +03:00
Tarek Ziadé
80d44a0d4e
Bug 1471517 - Converts ChromeUtils.requestPerformanceMetrics as Promise - r=baku
...
This ChromeUtils API now returns a promise that gets resolved once all the data
has been collected via IPDL and the main process. The existing notification
design and its related XPCOM classes are removed.
MozReview-Commit-ID: CYKukBOC8yh
--HG--
extra : rebase_source : 1e27524726ace0bfed5297d48af8be268c5b4945
2018-07-05 16:32:03 +02:00
Jan de Mooij
2de712fd5c
Bug 1472973 part 9 - Use JS::GetNonCCWObjectGlobal in worker wrap-callback. r=bz
2018-07-06 18:16:24 +02:00
Andrea Marchesini
d1b2b16ba7
Bug 1473024 - CSP should throw EvalError when blocking eval(), r=ckerschb
2018-07-05 08:21:04 +02:00
Andrea Marchesini
14d462eeb3
Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb
2018-07-05 08:21:04 +02:00
Thomas Wisniewski
4f6c8c85c1
Bug 1403027 - Do not throw from PerformanceObserver.observe when none of the entryTypes are known (log a JS console warning instead); r=bz
...
MozReview-Commit-ID: Lx2cjWDX8sh
--HG--
extra : rebase_source : 0305286f0fde08356c72acc71fb6095238270ead
2018-01-24 20:59:04 -05:00
Jean-Yves Avenard
83a8e7725c
Bug 1409664 - P1. Add MediaCapabilities skeleton IDL. r=bz
...
Summary:
As per https://wicg.github.io/media-capabilities/#idl-index
Placed behind user pref media.mediacapabilities.enabled that is disabled by default
Tags: #secure-revision
Bug #: 1409664
Differential Revision: https://phabricator.services.mozilla.com/D1613
2018-07-03 11:45:15 -07:00
Ben Kelly
083c06c238
Bug 1462772 P1 Add a fallible nsIGlobalObject::GetServiceWorkerRegistration() method. r=mrbkap
2018-07-02 07:44:18 -07: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
c7d35aa526
Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
...
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Ben Kelly
05c034e494
Bug 1468853 Note inherited controller in the parent process when the service worker e10s pref is flipped. r=mrbkap
2018-06-22 07:22:59 -07:00
Tom Schuster
7c01dffca0
Bug 1469540 - Remove option to disable Array.prototype.values. r=jandem
...
--HG--
extra : rebase_source : 5b935db0e58c076b289a7b5a3a8a43fe6e9446b3
2018-06-05 14:57:13 +02:00
Andreea Pavel
3c701634e0
Merge mozilla-inbound to mozilla-central. a=merge
2018-06-20 14:28:15 +03:00
Andrea Marchesini
cd29b72ceb
Bug 1469579 - WorkerRef in ScriptLoader, r=bkelly
2018-06-19 13:08:12 -04:00
Tarek Ziadé
a895a7efea
Bug 1464571 - fixes DOM Worker performance counters - r=baku,froydnj
...
Now uses StaticPrefs instead of DOMPrefs, and how we count dispatches for Workers.
MozReview-Commit-ID: DTumwcI5bG
--HG--
extra : rebase_source : 0cf5312e714fb260c01df647b2cd1fcc28ffc415
2018-06-19 16:14:06 +02:00
Andrea Marchesini
657f34f500
Bug 1455242 - Get rid of SimpleHolder and replace it with WorkerRef, r=asuth
2018-06-18 16:37:21 -04:00
Andrea Marchesini
037d3a703f
Bug 1455256 - Port more components to WorkerRef - part 1 - WorkerProxyToMainThreadRunnable, r=asuth
2018-06-18 16:37:21 -04:00
Andrea Marchesini
78739a1b5e
Bug 1468036 - Fix a warning in RuntimeService::ClampedHardwareConcurrency(), r=sylvestre
2018-06-13 11:33:31 -07:00
Andrea Marchesini
d4762606f4
Bug 1466061 - unknown blob URLs, when opened as top-level domain, should show an error page - fixing tests, r=me
2018-06-13 10:03:55 -07:00
Joel Maher
50b91c0a14
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Narcis Beleuzu
cf464eabfe
Merge inbound to mozilla-central. a=merge
2018-06-06 20:00:09 +03:00
Karl Tomlinson
9e0c1c7c2b
bug 1442776 make CycleCollectedJSContext accessible from JSContext private r=peterv
...
Inheriting PerThreadAtomCache on CycleCollectedJSContext permits use of
static_cast, avoiding one level of indirection compared to adding a
CycleCollectedJSContext* to PerThreadAtomCache.
PerThreadAtomCache is over 18kB, and so WorkerJSContext and WorkletJSContext
are moved from the stack to the heap.
MozReview-Commit-ID: 6jdJeZcviK4
--HG--
extra : rebase_source : 3c2accb71faf3f017a44c405ae0484e57aaf039c
2018-05-10 17:04:12 +12:00
Jan de Mooij
9389383f2c
Bug 1466083 part 7 - Replace GetCompartmentZone with GetRealmZone. r=luke
2018-06-06 12:55:50 +02:00
Ben Kelly
4f4a0da820
Bug 1465670 P8 Convert WorkerPrivate::LoadScriptAsPartOfLoadingServiceWorkerScript() to simply IsLoadWorkerScript(). r=asuth
2018-06-05 10:49:13 -07:00
Ben Kelly
dc04aba511
Bug 1465670 P1 Make importScripts() called in a service worker script after install throw NetworkError. r=asuth
2018-06-05 10:49:11 -07:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
shindli
936dd8d764
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-06-04 01:07:15 +03:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Andreea Pavel
4ced6e8b2d
Merge mozilla-central to autoland. a=merge
2018-06-03 07:27:01 +03:00