Ehsan Akhgari
200d6ea9cc
Bug 836176 - Part 3: Remove nsIHTMLDocument; r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D32925
2019-06-04 17:27:43 +00:00
Emilio Cobos Álvarez
b56d5ba7d7
Bug 1553769 - Have a single way of requesting window focus and switching to a tab. r=NeilDeakin,snorp
...
Right now there's some duplicated code with the focus manager and the
DOMWindowFocus event.
Android didn't handle the new framefocusrequested event, so the test-cases in
bug 416771 still didn't work there.
I think using the focus manager codepath everywhere is preferable. I confirmed
manually that the stuff that sent DOMWindowFocus events still works as expected
with this patch (i.e., switching to the right tab when you click on a
notification, etc.).
This fixes it so that it works in Fennec, and it sends the focus events right in
GeckoView Example (i.e., we get here[1] properly).
The snippet that Snorp provided on IRC to implement the "bring activity to
front" stuff (`startActivity(getIntent())`) didn't actually work for me, but I
confirmed that the right message is sent when the focus is requested, and that
we get there.
[1]: https://searchfox.org/mozilla-central/rev/952521e6164ddffa3f34bc8cfa5a81afc5b859c4/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#503
Depends on D32353
Differential Revision: https://phabricator.services.mozilla.com/D32354
2019-06-03 19:42:28 +00:00
Emilio Cobos Álvarez
d134c6d9a2
Bug 1545499 - Remove dead code for threading accelerator state. r=NeilDeakin
...
It's only moved around, but not actually used anywhere.
I have no idea what this was supposed to control in the past but it doesn't seem
useful to keep it around.
Differential Revision: https://phabricator.services.mozilla.com/D33393
2019-06-03 15:29:06 +00:00
Jonathan Kingston
9ae59de314
Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer
...
Migrating to pure Cpp
Differential Revision: https://phabricator.services.mozilla.com/D29221
2019-06-03 12:37:12 +00:00
Valentin Gosu
2de9c32244
Bug 1536744 - Rename NS_NewURIOnAnyThread to NS_NewURI. r=baku
...
The only protocol that can't be created off the main thread at the moment is
moz-extension, and that can be handled at a later time.
Differential Revision: https://phabricator.services.mozilla.com/D30713
2019-05-28 14:17:04 +00:00
Ehsan Akhgari
4536b7d8f1
Bug 1554361 - Move the high-level storage access check APIs to mozilla/StorageAccess.h; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32556
2019-05-27 14:06:49 +00:00
Jean-Yves Avenard
b66b1a5a50
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-26 14:29:42 +00:00
Sylvestre Ledru
69746836db
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
2019-05-25 17:46:15 +00:00
Gurzau Raul
938877e121
Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
...
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422 )
Backed out changeset a16295296035 (bug 1550422 )
Backed out changeset 3b70307c0db5 (bug 1550422 )
Backed out changeset 69df7818d4a3 (bug 1550422 )
Backed out changeset d98dfc565927 (bug 1550422 )
Backed out changeset 6f0997976944 (bug 1550422 )
Backed out changeset 0edd264464c2 (bug 1550422 )
Backed out changeset 9ea6da7a74ec (bug 1550422 )
Backed out changeset f855f9309c8b (bug 1550422 )
Backed out changeset 1033546224a7 (bug 1550422 )
Backed out changeset ade7384c6186 (bug 1550422 )
Backed out changeset 75b04de7e99c (bug 1550422 )
Backed out changeset 91c3acdb2454 (bug 1550422 )
Backed out changeset 77d2f80257d1 (bug 1550422 )
Backed out changeset e0cd10d35327 (bug 1550422 )
Backed out changeset 097091082423 (bug 1550422 )
Backed out changeset 2f328853c1ab (bug 1550422 )
Backed out changeset f92f2cc29cb1 (bug 1550422 )
Backed out changeset 6dc82f88333d (bug 1550422 )
Backed out changeset c20f66494d69 (bug 1550422 )
Backed out changeset 2ba22cddeb6f (bug 1550422 )
Backed out changeset 3aa72f89e295 (bug 1550422 )
Backed out changeset ab4c4e806977 (bug 1550422 )
Backed out changeset 72e5de040dda (bug 1550422 )
Backed out changeset 7d3c2d486706 (bug 1550422 )
Backed out changeset 132e0b8d8468 (bug 1550422 )
Backed out changeset 54c85ac75dd0 (bug 1550422 )
Backed out changeset d7ba4a18dd54 (bug 1550422 )
2019-05-25 09:07:49 +03:00
Ehsan Akhgari
0891b9dec8
Bug 1547813 - Part 6: Return StorageAccess::ePartitionForeignOrDeny from storage access APIs when the antitracking backend mandates that; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29741
2019-05-25 01:25:39 +00:00
Ehsan Akhgari
5c9a251fe7
Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29739
2019-05-25 01:25:35 +00:00
Jean-Yves Avenard
3816a05854
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-25 00:03:32 +00:00
Brindusan Cristian
fded3907eb
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-05-25 00:54:26 +03:00
Boris Zbarsky
4b8dfcebea
Bug 1554195. Remove MSG_THIS_DOES_NOT_IMPLEMENT_INTERFACE. r=mccr8
...
I was clearly trying to do that in bug 882653 part 3 and failed to. Our
current behavior of passing two args to this error message (which only takes
one arg) is silly, and the only thing that makes it at all sane is that we only
use it in class hooks, which can never have the wrong sort of object, so it's
unreached code.
The comment cleanup is just to make the role of CGAbstractBindingMethod. and
the validity of the changes to it, clearer.
Differential Revision: https://phabricator.services.mozilla.com/D32478
2019-05-24 17:31:42 +00:00
Mihai Alexandru Michis
673d193aee
Backed out changeset e52d041dc3de (bug 1553378) for causing build bustages in ContentEventHandler.cpp. CLOSED TREE
2019-05-24 14:32:27 +03:00
arthur.iakab
699b884244
Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE
2019-05-24 14:26:01 +03:00
Cameron McCormack
04ea6e7dde
Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D32100
2019-05-24 08:10:55 +00:00
Sylvestre Ledru
10a773a4ca
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D30883
2019-05-24 09:59:17 +00:00
Razvan Maries
8ac19c8776
Backed out changeset 82b18d61da00 (bug 1553378) for build bustages. CLOSED TREE
2019-05-24 06:50:14 +03:00
Cameron McCormack
2db2a234a8
Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D32100
2019-05-24 03:18:44 +00:00
Paul Zuehlcke
f79db0c027
Bug 1428913 - Deny full-screen on right or middle mouse button. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D31481
2019-05-22 19:16:31 +00:00
Gurzau Raul
8d7b43d90a
Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
...
Backed out changeset 5dd10a365ba9 (bug 1550422 )
Backed out changeset 529f5be01ab9 (bug 1550422 )
Backed out changeset b6861d3badf8 (bug 1550422 )
Backed out changeset 059cff1a3dde (bug 1550422 )
Backed out changeset 6ada1116b241 (bug 1550422 )
Backed out changeset ca67e8e45262 (bug 1550422 )
Backed out changeset a1961a51ae44 (bug 1550422 )
Backed out changeset 1c90b9cb3ad4 (bug 1550422 )
Backed out changeset 285fa46e4f26 (bug 1550422 )
Backed out changeset e2938a444234 (bug 1550422 )
Backed out changeset 7a930fc51125 (bug 1550422 )
Backed out changeset 898ed02804fe (bug 1550422 )
Backed out changeset e1b7abc99ae9 (bug 1550422 )
Backed out changeset f781d415cef6 (bug 1550422 )
Backed out changeset 2fef10a7cce5 (bug 1550422 )
Backed out changeset ea64b4d8d4ff (bug 1550422 )
Backed out changeset 86a8ba1b755c (bug 1550422 )
Backed out changeset 9c0c9e80f309 (bug 1550422 )
Backed out changeset 10c153ddbaea (bug 1550422 )
Backed out changeset 60fe635ec2c9 (bug 1550422 )
Backed out changeset a38796266b28 (bug 1550422 )
Backed out changeset 2db647dcdf1c (bug 1550422 )
Backed out changeset 952ddac02972 (bug 1550422 )
Backed out changeset ba46b53643ec (bug 1550422 )
Backed out changeset ca47ef6c59f7 (bug 1550422 )
Backed out changeset f45f471a1a40 (bug 1550422 )
Backed out changeset 371b4da5b771 (bug 1550422 )
Backed out changeset 02fc78890032 (bug 1550422 )
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard
935940dd3f
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-22 12:43:42 +00:00
Cameron McCormack
8dec0f541b
Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D32100
2019-05-22 15:18:48 +10:00
Emilio Cobos Álvarez
f338c40bf4
Bug 416771 - Allow window.focus() to switch tabs. r=NeilDeakin,dao CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D31643
2019-05-22 17:21:29 +00:00
Bogdan Tara
a98b31ad18
Backed out changeset 5acccb49a668 (bug 416771) for gecko decision bustage CLOSED TREE
2019-05-22 20:38:33 +03:00
Emilio Cobos Álvarez
b8fe9ad62e
Bug 416771 - Allow window.focus() to switch tabs. r=NeilDeakin,dao
...
Differential Revision: https://phabricator.services.mozilla.com/D31643
2019-05-22 17:21:29 +00:00
Christoph Kerschbaumer
29451e9f5e
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
2019-05-21 23:14:27 +00:00
Noemi Erli
4470605646
Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
...
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
7d89a4434b
Bug 1547813 - Part 6: Return StorageAccess::ePartitionForeignOrDeny from storage access APIs when the antitracking backend mandates that; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29741
2019-05-08 20:13:23 +00:00
Ehsan Akhgari
273a815c66
Bug 1547813 - Part 4: Rename StorageAccess::ePartitionedOrDeny to ePartitionTrackersOrDeny; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29739
2019-05-08 19:37:52 +00:00
Boris Chiou
5b3ea02bf9
Bug 1545239 - Move GetNodeDepth into ResizeObserver.cpp r=dholbert
...
GetNodeDepth() is a special version for ResizeObserver to get the depth
of node (across Shadow DOM). Based on the comment in D27615, it's better
to move it into ResizeObserver.cpp.
Differential Revision: https://phabricator.services.mozilla.com/D28736
2019-05-08 20:52:51 +00:00
Thomas Nguyen
2b9a6d0f8d
Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D22786
2019-05-02 12:33:55 +00:00
Andrea Marchesini
a0fb2e2041
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.largeAllocation.forceEnable, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29527
2019-05-01 21:49:17 +00:00
Andrea Marchesini
65df0ac3d6
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom_presentation_testing_simulate_receiver, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29526
2019-05-01 21:48:55 +00:00
Andrea Marchesini
57beb75181
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.strategy, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29525
2019-05-01 21:11:48 +00:00
Andrea Marchesini
35d8de357b
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - browser.contentblocking.rejecttrackers.control-center.ui.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29524
2019-05-01 21:11:31 +00:00
Andrea Marchesini
02dd724e4f
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.script_loader.bytecode_cache.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29523
2019-05-01 21:11:17 +00:00
Andrea Marchesini
1b1a53edae
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - browser.autofocus, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29522
2019-05-01 21:10:56 +00:00
Andrea Marchesini
798ba543e7
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.placeholder.show_on_focus, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29521
2019-05-01 21:10:41 +00:00
Andrea Marchesini
365d1f89e5
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29520
2019-05-01 21:10:31 +00:00
Andrea Marchesini
dbec9c190a
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.requestIdleCallback.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29519
2019-05-01 21:10:13 +00:00
Andrea Marchesini
4ae9133c4c
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.input.skip_cursor_move_for_same_value_set, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29518
2019-05-01 21:10:08 +00:00
Andrea Marchesini
dfeacd64f2
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - layout.css.getBoxQuads.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29517
2019-05-01 21:09:58 +00:00
Andrea Marchesini
b4d8efa2bd
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.animations-api.core.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29516
2019-05-01 21:09:53 +00:00
Andrea Marchesini
d3357854b8
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - ui.use_activity_cursor, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29515
2019-05-01 21:09:49 +00:00
Andrea Marchesini
b21ade1a3c
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29514
2019-05-01 21:09:44 +00:00
Andrea Marchesini
084597577b
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.performance.enable_notify_performance_timing, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29513
2019-05-01 21:09:31 +00:00
Andrea Marchesini
0d251657af
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - dom.event.handling-user-input-time-limit, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29512
2019-05-01 21:09:14 +00:00
Andrea Marchesini
cc8837bed9
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.window.maxInnerWidth/Height, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29511
2019-05-01 21:09:09 +00:00