Commit Graph

15898 Commits

Author SHA1 Message Date
Johann Hofmann
29d2c4832d Bug 1451486 - Part 1 - Ignore the storage attribute on indexedDB.open() by default. r=asuth,baku
MozReview-Commit-ID: 844FRkx3rKZ

--HG--
extra : rebase_source : 962cd1ade83b34561ebd6cd70365b44b85a3aa95
2018-04-10 23:00:30 +02:00
Kyle Machulis
14f66cea5d Bug 1452826 - Simplify vibrate permission handling; r=johannh
Vibration is the last user of permissions helper functions in
navigation, these can be simplified into the vibrate functionality.

MozReview-Commit-ID: CGA5WL7nObS

--HG--
extra : rebase_source : bdab714b0bd3a5774300ad71c07090a9565b75ea
2018-04-09 19:20:36 -07:00
Kyle Machulis
d2bad2c5cc Bug 1452826 - Remove unused permissions code from Navigator; r=johannh
Removing unused CheckPermission, HasWifiManagerSupport, and
HasWakeLockSupport calls from Navigator.

MozReview-Commit-ID: Ck4c9gS0sfA

--HG--
extra : rebase_source : 9b6e57f25da34afa20d1ac024b714ed1b607f47b
2018-04-09 18:31:13 -07:00
Andrew McCreight
1610f69376 Bug 1454724 - Add scalar telemetry for max ghost windows. r=chutten
Rather than recording how many leaked (ghost) windows we see at
various times, I think it will be more useful over all to record what
the maximum number of ghost windows we see during a single
ping. Hopefully this will show up in a way that generates automated
alerts better than GHOST_WINDOWS.

If this works out, I'll make this telemetry measure permanent and
remove GHOST_WINDOWS.

MozReview-Commit-ID: 11ma1lLGz5L

--HG--
extra : rebase_source : dc7705d288d3301fc0a1ec15f8dadfb66fe8820f
2018-04-18 11:56:53 -07:00
Noemi Erli
7e6ef531b7 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-19 12:58:43 +03:00
Xidorn Quan
e3471c9169 Bug 1452542 part 7 - Replace some uses of nsCSSPropList.h and nsCSSPropAliasList.h with ServoCSSPropList.h. r=emilio
MozReview-Commit-ID: 5TVYITjAYy7

--HG--
extra : rebase_source : a45a6b42a9847e6f2437e23dd841aafea12f647c
2018-04-17 16:57:04 +10:00
Andreea Pavel
1b610a02c9 Backed out 7 changesets (bug 1452542) for failing toolkit/content/tests/chrome/test_arrowpanel.xul on a CLOSED TREE
Backed out changeset f206acff283f (bug 1452542)
Backed out changeset be97e652391f (bug 1452542)
Backed out changeset 4d3a028edaed (bug 1452542)
Backed out changeset 5619bba37cdd (bug 1452542)
Backed out changeset e83a797bdc61 (bug 1452542)
Backed out changeset 255e2feff19f (bug 1452542)
Backed out changeset fac55b1a0706 (bug 1452542)
2018-04-18 20:10:35 +03:00
Xidorn Quan
018214f00b Bug 1452542 part 7 - Replace some uses of nsCSSPropList.h and nsCSSPropAliasList.h with ServoCSSPropList.h. r=emilio
MozReview-Commit-ID: 5TVYITjAYy7

--HG--
extra : rebase_source : 66b132aed72fa58ba8be1fa7aacd1c9035845458
2018-04-17 16:57:04 +10:00
Andrea Marchesini
423880eafd Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Boris Zbarsky
a517e45add Bug 1452183 part 4. Remove nsIDOMDocumentFragment. r=mccr8 2018-04-17 21:13:03 -04:00
Boris Zbarsky
38ecaf4bb7 Bug 1452183 part 3. Stop using nsIDOMDocumentFragment in C++. r=mccr8 2018-04-17 21:13:03 -04:00
Boris Zbarsky
0ac1ce2e6b Bug 1452183 part 2. Stop using nsIDOMDocumentFragment in JS. r=mccr8 2018-04-17 21:13:03 -04:00
Boris Zbarsky
d49151ed50 Bug 1452183 part 1. Stop using nsIDOMDocumentFragment in IDL files. r=mccr8 2018-04-17 21:13:03 -04:00
Nika Layzell
5e2e5fc993 Bug 1444991 - Part 5: Make some XPCOM methods more strongly typed, r=bz
This patch goes through and changes a bunch of places in our tree which mention
this bug to use the new feature, making the methods more strongly typed.

There are probably more places in tree which could be changed, but I didn't try
to find them.
2018-04-17 19:21:05 -04:00
Nika Layzell
c29896177a Bug 1444745 - Part 2: Add the xptshim and xptshimfile attributes to xpidl, r=mccr8
In the previous patch, one of the files which was deleted is ShimInterfaceInfo.
This is an implementor of nsIInterfaceInfo which exists for legacy reasons, in
order to allow Components.interfaces.nsIDOM* to have the correct constants and
IIDs associated with them.

As that file was deleted, this information now has to be stored in the typelib.
To do this, the information is moved to the xptshim and xptshimfile attributes
on the relevant xpcom interfaces.

xptshim(...) means that this xpcom interface is a shim for the WebIDL interface
with the specified name.

xptshimfile(...) is for use when the webidl interface is declared in another
interface's .webidl file, (in our case, MessageManager.webidl). It contains the
name of the parent binding, such that we can #include the correct file in our
generated code.

This patch does not add the code which uses these changes, only the parsing
logic.
2018-04-17 19:20:51 -04:00
Tiberius Oros
78bac61f63 Backed out 7 changesets (bug 1450644, bug 1454633) for for failing browser_storage_permission.js on a CLOSED TREE
Backed out changeset f4989e0da221 (bug 1454633)
Backed out changeset 08239799d43e (bug 1450644)
Backed out changeset cbe3ad4833b6 (bug 1450644)
Backed out changeset 0d2088370d0c (bug 1450644)
Backed out changeset 246fb3ee14cd (bug 1450644)
Backed out changeset 629e499c0f75 (bug 1450644)
Backed out changeset ed93e3547096 (bug 1450644)
2018-04-18 01:10:26 +03:00
Andrea Marchesini
848a6e4716 Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Brindusan Cristian
8bcf097e09 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-17 13:10:25 +03:00
Emilio Cobos Álvarez
a54fb3300f Bug 1452143: Fix dom / style tests. r=bholley
MozReview-Commit-ID: 95JfwBVDdRD
2018-04-17 11:24:47 +02:00
shindli
805cb19c1d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-17 01:45:58 +03:00
Ben Kelly
4bdb579005 Bug 1451913 P10 Make the inner window explicitly disconnect the IDBFactory. r=baku 2018-04-16 06:08:53 -07:00
Ben Kelly
1d58ed46c7 Bug 1451913 P5 Migrate the IDBFactory to the new window on document.open(). r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly
e7d4b26777 Bug 1451913 P4 Don't manually create a new Performance object on document.open() since we are rebinding the old Performance to the new global. r=smaug 2018-04-16 06:08:52 -07:00
Ben Kelly
968dd21f15 Bug 1451913 P0 Delay rebinding and freeing the old inner window until after set the new inner window. r=smaug 2018-04-16 06:08:51 -07:00
Boris Zbarsky
ecac16fefa Bug 1453339. Make it harder to mess up Promise::All. r=peterv
MozReview-Commit-ID: UO4wssYHj7
2018-04-13 19:31:42 -04:00
Jeff Walden
821db93ccc Bug 1453456 - Replace nsCRT::IsAscii{Alpha,Digit} with mfbt/TextUtils.h versions. r=froydnj
--HG--
extra : rebase_source : b31986c0e6828be79442cfb0cf369eb80c232139
2018-04-12 20:19:30 -07:00
Emilio Cobos Álvarez
867f00f2bb Bug 1453206: Look in XBL anon content too for stale style data. r=smaug
This would've caught it earlier. Need to do the GetFirstNode(), ... dance
because well, <content>.

MozReview-Commit-ID: 8F35GRO99M4
2018-04-14 19:54:20 +02:00
Ryan VanderMeulen
effc958e89 Backed out changeset 91406356569c (bug 1453339) for landing without review. 2018-04-14 10:25:15 -04:00
Boris Zbarsky
a0ee72689e Bug 1453339 - Make it harder to mess up Promise::All. r=peterv
MozReview-Commit-ID: UO4wssYHj7
2018-04-12 17:03:49 -04:00
Emilio Cobos Álvarez
2cd5aa6eeb Bug 1281745, bug 1453206: Add a comment pointing out why shadow root checks are needed. r=me
As requested by Blake in bug 1281745.

DONTBUILD, because comment-only.
MozReview-Commit-ID: 1LX4ZlAedOh
2018-04-14 12:05:18 +02:00
Emilio Cobos Álvarez
9083c33e83 Bug 1453206: Fix IsInAnonymousSubtree to account for XBL in Shadow DOM. r=smaug
MozReview-Commit-ID: B2aYury8K7i
2018-04-14 11:59:06 +02:00
Noemi Erli
1b65998665 Merge inbound to mozilla-central. a=merge 2018-04-14 12:49:03 +03:00
Andrea Marchesini
c30c0c3678 Bug 1448328 - Implement getOrigin for blobURL without nsIURIWithPrincipal, r=smaug 2018-04-14 01:08:41 +02:00
Cameron McCormack
7498850f28 Bug 1453877 - Remove unused RestyleHintData struct. r=xidorn
And fix a comment mentioning nsCSSSelectorList that I came across.

MozReview-Commit-ID: 1BOcDqV5dUr

--HG--
extra : rebase_source : 5fbdae6da74cf4fac145fbdd721723e81839e4b3
2018-04-13 15:16:13 +10:00
Emilio Cobos Álvarez
9509cd7e32 Bug 1453789: Remove Element.createShadowRoot. r=smaug
MozReview-Commit-ID: Hgxbp1Icgvh
2018-04-13 20:51:55 +02:00
Zibi Braniecki
416257ec6b Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug on a CLOSED TREE
MozReview-Commit-ID: H47PYERTGxr

--HG--
extra : source : 623b37fe0fe82d6eff6634cda655252f95b4f8b1
extra : amend_source : 94e620deedc1459f0d4ce9e083ece78c478c6f5b
2018-04-12 22:58:09 -07:00
Coroiu Cristina
7e1be34a07 Backed out 4 changesets (bug 1453480) for failing browser-chrome at browser/components/preferences/in-content/tests/browser_search_subdialogs_within_preferences_site_data.js on a CLOSED TREE
Backed out changeset 623b37fe0fe8 (bug 1453480)
Backed out changeset a3c36fa7ac0c (bug 1453480)
Backed out changeset 46a634d6853c (bug 1453480)
Backed out changeset 658fedb903d0 (bug 1453480)
2018-04-13 19:49:14 +03:00
Zibi Braniecki
4ab107723d Bug 1453480 - Update Node.localize API to renamed attrs->attributes in fluent-dom 0.2.0. r=smaug
MozReview-Commit-ID: H47PYERTGxr

--HG--
extra : rebase_source : 2ad4db6dbd46305da755044fb2bd739d7f53c3e2
2018-04-12 22:58:09 -07:00
Sebastian Hengst
82f65475ee merge mozilla-central to autoland 2018-04-13 16:04:29 +03:00
Sebastian Hengst
0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Jan de Mooij
0ea16094d3 Bug 1452982 part 6 - Remove ZoneGroup. r=jonco 2018-04-13 08:45:13 +02:00
Sebastian Hengst
0eb9d87997 merge mozilla-inbound to mozilla-central. a=merge 2018-04-12 22:20:13 +03:00
arthur.iakab
691e26b1b6 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-04-13 12:55:46 +03:00
Alex Gaynor
4d30d44b55 Bug 1453016 - user safer enum serialization for gfx::SurfaceFormat in IPC; r=kats
MozReview-Commit-ID: Fhyg8e5lyW6

--HG--
extra : rebase_source : b6bba81a0ca586075517dc1f12e14ce32b5866be
2018-04-10 11:53:44 -04:00
Margareta Eliza Balazs
1c0306e497 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-12 12:45:41 +03:00
Margareta Eliza Balazs
8ca418adb9 Merge inbound to mozilla-central. a=merge 2018-04-12 12:38:56 +03:00
Cameron McCormack
9e26b4d88e Bug 1375536 - Remove nsStyleVariables. r=emilio,xidorn
MozReview-Commit-ID: BqyhXc4W4Aq

--HG--
extra : rebase_source : f2e00ba1e52437a9e7041aa35e2095038812fc4d
2018-04-10 15:11:12 +10:00
Karl Tomlinson
3481a11d87 bug 1328964 add CycleCollectedJSContext::IsSystemCaller() to make ThreadsafeIsSystemCaller() safe for worklets r=baku
MozReview-Commit-ID: Cg4OBbm5CwA

--HG--
extra : rebase_source : 9a113cf0f945bd48207e81f9fa08bcba1f35303c
2018-04-06 18:53:25 +12:00
Boris Zbarsky
a730b3a9ad Bug 1453053 part 1. Remove useless QIs to nsIDOMNode. r=qdot
MozReview-Commit-ID: GokPD2buxzN
2018-04-12 00:06:25 -04:00
shindli
108a654fb8 Merge inbound to mozilla-central. a=merge 2018-04-12 02:45:34 +03:00