Ehsan Akhgari
79bf7d73ec
Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-17 10:07:58 -04:00
Jan de Mooij
d227b4369d
Bug 722345 part 3 - Remove request API. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D4424
2018-08-28 09:53:30 +02:00
Ehsan Akhgari
398c2ae4c8
Bug 1486092 - Part 2: Make the reject tracker cookie behavior also depend on the browser.contentblocking.enabled pref; r=baku
...
The semantics implemented are as follows: the feature requires this new
pref to also be set to true, otherwise cookies from trackers will be
accepted.
2018-08-27 09:22:01 -04:00
Jeff Walden
a988632bd2
Bug 1484420 - Move locale-related functions into js/public/LocaleSensitive.h that isn't #include'd in jsapi.h. r=anba
2018-08-20 17:11:32 -05:00
Andreea Pavel
dd9a8d4042
Backed out 2 changesets (bug 1484420) for hazard failures on a CLOSED TREE
...
Backed out changeset d910e3c8372a (bug 1484420)
Backed out changeset d79cdb73c55f (bug 1484420)
2018-08-21 23:19:27 +03:00
Jeff Walden
53fd186974
Bug 1484420 - Move locale-related functions into js/public/LocaleSensitive.h that isn't #include'd in jsapi.h. r=anba
2018-08-20 17:11:32 -05:00
Andrea Marchesini
30d7732d9c
Bug 1480780 - Merge the privacy.3rdpartystorage.enabled pref with the network.cookie.cookieBehavior pref; r=ehsan
...
This patch introduces a new cookie behavior policy called
BEHAVIOR_REJECT_TRACKER. It also makes it possible to override that
behavior with cookie permissions similar to other cookie behaviors.
2018-08-13 16:01:16 -04:00
Brian Hackett
5cfad60829
Bug 1479547 Part 1 - Remove instrumentation related to non-deterministic GCs, r=mccr8.
2018-07-31 19:34:50 +00:00
Tooru Fujisawa
49c3f953b9
Bug 1317481 - Optimize away Generator/Promise handling for await in the topmost JS frame with already resolved/rejected Promise. r=anba,smaug
2018-08-02 16:11:57 +09:00
Brian Hackett
1a479b5239
Bug 1465294 Part 16 - Support web workers when recording/replaying, r=smaug.
2018-07-23 14:58:20 +00:00
Andrea Marchesini
4ad35af8e8
Bug 1432010 - Failures in PBackground channel creation must result in a error event in Web Workers, r=mrbkap
2018-07-18 12:07:14 +02:00
Andrea Marchesini
ad099acfe2
Bug 1473587 - CSP Violation events should have the correct sample for inline contexts, r=jorendorff, r=ckerschb
2018-07-16 17:58:04 +02:00
Andrea Marchesini
ab091b9f95
Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb
2018-07-10 17:40:21 +02:00
Andrea Marchesini
8ceb498367
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
Margareta Eliza Balazs
4249b7f60f
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
df3913e7f3
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
Jan de Mooij
253aa465a4
Bug 1472973 part 9 - Use JS::GetNonCCWObjectGlobal in worker wrap-callback. r=bz
2018-07-06 18:16:24 +02:00
Andrea Marchesini
e4ccc82e67
Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb
2018-07-05 08:21:04 +02:00
Emilio Cobos Álvarez
0348c342b8
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
f7ceeaf5cf
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
2018-06-17 22:43:11 -07:00
Tom Schuster
29d8ad23ad
Bug 1469540 - Remove option to disable Array.prototype.values. r=jandem
2018-06-05 14:57:13 +02:00
Andrea Marchesini
de5828e894
Bug 1468036 - Fix a warning in RuntimeService::ClampedHardwareConcurrency(), r=sylvestre
2018-06-13 11:33:31 -07:00
Karl Tomlinson
4b6d0c28fa
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
2018-05-10 17:04:12 +12:00
Jan de Mooij
1749c0b67e
Bug 1464772 part 1 - Make JS_GetIsSecureContext take a realm instead of compartment and move to JS namespace. r=bz
2018-06-03 12:22:28 +02:00
Emilio Cobos Álvarez
4b8b5e1717
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
Benjamin Bouvier
0511f8db02
Bug 1445272: Add a pref to enable wasm gc in the browser/shell; r=luke
...
And a builtin function to test if wasm gc is enabled or not, to make testing
easier.
2018-03-21 14:32:47 +01:00
Karl Tomlinson
6bb08c1ad7
bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
...
MozReview-Commit-ID: Cg4OBbm5CwA
2018-04-06 18:53:25 +12:00
Andrea Marchesini
1153ae03f6
Bug 1436784 - Use WorkerRef in BroadcastChannel and MessagePort, r=smaug
2018-03-13 21:16:54 +01:00
Olli Pettay
8d2a7b0ad2
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Csoregi Natalia
a7fb1721fe
Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
...
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Olli Pettay
6a1afb366a
Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis
2017-11-17 11:01:27 +08:00
Ben Kelly
d1e74e121d
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -08:00
Boris Zbarsky
be90e72263
Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
...
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.
The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.
MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Tom Schuster
45c2f23ace
Bug 1420101 - Add default enabled pref for Array.prototype.values. r=jandem,bz
2018-02-02 18:46:21 +01:00
shindli
6ac61e2fbd
Backed out changeset 22fe0145f9ed (bug 1434618) for Wd failures in /webdriver/tests/actions/mouse_dblclick.py on a CLOSED TREE
2018-02-06 02:46:08 +02:00
Andrea Marchesini
a4a2502afe
Bug 1434618 - Worker shutdown should start at xpcom-will-shutdown notification, r=smaug
2018-02-06 00:13:26 +01:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Sebastian Hengst
ed40bc35ce
Backed out changeset f31755ef4145 (bug 1434618) for webdriver failures, e.g. webdriver/tests/actions/mouse_dblclick.py. CLOSED TREE
2018-01-31 20:53:35 +02:00
Andrea Marchesini
cb76b86031
Bug 1434618 - Worker shutdown should start at xpcom-will-shutdown notification, r=smaug
2018-01-31 16:43:24 +01:00
Andrea Marchesini
f7ecc0f399
Bug 1432963 - Fixing workers headers - part 16 - JSSettings in a workerinternals namespace, r=smaug
2018-01-31 08:24:59 +01:00
Andrea Marchesini
98ac9eb616
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
5e357eed9f
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
086b21b5d0
Bug 1432963 - Fixing workers headers - part 2 - Get rid of WorkerCrossThreadDispatcher and WorkerTask, r=smaug
2018-01-31 08:19:29 +01:00
Andrea Marchesini
298aa0608e
Bug 1413112 - Fixing includes in dom/workers, r=bkelly
2018-01-30 10:14:00 +01:00
Andrea Marchesini
0c91e4d6f3
Bug 1413112 - Move WorkerLoadInfo into separate files, r=bkelly
2018-01-30 10:12:04 +01:00
Andrea Marchesini
a3138e9451
Bug 1433914 - When workers hang, let's log if the shutting down has started, r=smaug
2018-01-29 17:08:41 +01:00
Noemi Erli
0ba89809c9
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-01-26 23:55:29 +02:00
Ben Kelly
bcf3407d3d
Bug 1430139 P2 Make the tree compile again after moving the code to dom/serviceworkers. r=asuth
2018-01-26 13:08:58 -08:00
Markus Stange
babc166d79
Bug 1431184 - Register DOM Worker threads with the profiler for their entire lifetime, not just for the ranges during which they're running a worker script. r=froydnj
...
Our Web Worker code uses a thread pool where a single OS thread can be reused
for different worker scripts during its lifetime. Before this patch, we only
registered these threads with the profiler for the duration that they're
running a worker script. So the same OS thread could be registered with the
profiler during multiple disjoint time ranges, and we would expect the profiler
to treat those different registrations as different conceptual threads.
This had multiple advantages:
- The "thread name" of the conceptual thread can include the script URL:
"DOM Worker <scriptURL>". This allowed you to create thread filter which
match a part of the URL, so you had the option of profiling just the worker
threads you were interested in.
- We wouldn't waste time sampling a worker thread while it's idle and has no
script.
But it also had disadvantages:
- The profiler platform doesn't actually know how to deal with different
"conceptual threads" that share the same OS thread. This lead to surprising
breakage in different places. For example, the contents in the profiler
buffer are marked with ThreadId entries which use the OS thread id.
- What we show in the profiler UI didn't not match reality, and might be
confusing to some people.
I don't think the advantages are large enough to warrant teaching the rest of
the profiler platform to deal with conceptual threads. So this change makes us
stop doing the special thing and just register the OS threads for their entire
duration.
MozReview-Commit-ID: 82RtlRlwy3Y
2018-01-24 18:20:27 -05:00
Andrea Marchesini
6e2de4c558
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 21 - Get rid of WorkerPrefs.h, r=asuth
2018-01-08 14:05:07 +01:00