Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Andreea Pavel
a21531022b
Merge mozilla-inbound to mozilla-central. a=merge
...
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Kris Maglione
dc8ba3688b
Bug 1456035: Part 1 - Add helper to generate native QueryInterface callbacks. r=bz
...
MozReview-Commit-ID: JpV6zYOdvHu
--HG--
extra : rebase_source : 4aeda7c2c612dd9c7dbb7b6f4fdd33b8b289b702
2018-04-22 20:32:11 -07:00
Emilio Cobos Álvarez
5f526b4a81
Bug 1455559: Make FromNode work for references. r=bz,Nika
...
MozReview-Commit-ID: 1ldU1aKeMzs
--HG--
extra : rebase_source : 70a2537ab56d040f33acd84d4fd0c3d9de392198
2018-04-20 11:10:12 +02:00
Gurzau Raul
d4fd165bfc
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-04-25 12:38:44 +03:00
Gurzau Raul
faeb9b7ddd
Merge inbound to mozilla-central. a=merge
2018-04-25 12:36:04 +03:00
Emilio Cobos Álvarez
f8233b4454
Bug 1456471: Remove nsCSSParser.h. r=xidorn
...
MozReview-Commit-ID: 4qa7llzCXeR
2018-04-25 10:38:37 +02:00
Brindusan Cristian
9265429dcd
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-25 00:57:49 +03:00
Tarek Ziadé
90bafd1f42
Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
...
PerformanceCounters are currently disabled in two ways:
- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA
In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.
The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.
MozReview-Commit-ID: 47t2M1O13aH
--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
Boris Zbarsky
1790f0fa04
Bug 1453828. Fix IsContainerNode to not claim true for doctype nodes. r=mccr8
...
MozReview-Commit-ID: BC1iBI38wfJ
2018-04-24 11:57:21 -04:00
Dragana Damjanovic
d9148a8a51
Bug 1441246 - Move preload cod from nsStyleLinkElement to HTMLLinkElement. r=smaug
...
--HG--
extra : rebase_source : 01cb8b69aa1187abb83b36098d81df1d96c7d79c
2018-04-20 12:47:00 +03:00
Dão Gottwald
adc758e47b
Bug 1455596 - Remove support for <panel backdrag="true"/>. r=enn,ehsan
2018-04-24 22:07:20 +02:00
Olli Pettay
fa90e156dd
Bug 1453693 - Ensure sequential focus navigation works in Shadow DOM and add some tests, r=mrbkap
2018-04-22 14:25:38 +03:00
Cosmin Sabou
fcd5cb3515
Merge autoland to mozilla-central. a=merge
2018-04-22 12:47:37 +03:00
Andrea Marchesini
6cb16a934c
Bug 1455057 - EventSource::Dispatch can fail if the worker is shutting down, r=asuth
2018-04-22 09:20:45 +02:00
Noemi Erli
eb4ef9681c
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-22 00:46:44 +03:00
Kartikaya Gupta
697a7719d0
Bug 1455691 - Make the transaction id a struct instead of a uint64_t. r=mattwoodrow
...
MozReview-Commit-ID: 9yZknygQvFr
--HG--
extra : rebase_source : 8b7a2398bdabf52f2de1c5dbd30b6868c1e0bed0
2018-04-20 15:13:06 -04:00
Emilio Cobos Álvarez
1c74b688f7
Bug 1455492: Remove redundant ParseSheet arguments. r=bholley
...
For the async caller, pretty much everything can be extracted out of the loader
/ loadData.
For the sync callers, we need to be a bit more careful because ReparseSheet
tries to get its line number on its own.
I changed the compat mode passed to the reparse stuff to be the document's one
in this case, but that seems a bug fix.
MozReview-Commit-ID: 2wi5HPRAlPi
2018-04-21 12:08:44 +02:00
Andreea Pavel
5743b5b700
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-21 12:31:28 +03:00
Emilio Cobos Álvarez
5b2e86b4fb
Bug 1455551: Move NS_IMPL_FROMNODE_HELPER and friends to nsINode.h. r=bz
...
MozReview-Commit-ID: 5PajqKEyFEW
2018-04-21 08:35:39 +02:00
Boris Zbarsky
71a7545cf3
Bug 1455026. Remove support for weak references from DOMParser. r=qdot
...
MozReview-Commit-ID: GYCJ2fu2ZI9
2018-04-20 23:04:46 -04:00
Boris Zbarsky
edb98511f4
Bug 1453869 part 16. Add a way to create a DOMParser directly from C++. r=mrbkap
...
Thunderbird uses DOMParser from C++ for now. They should ideally migrate that into JS, but we can give them something that works for the moment.
MozReview-Commit-ID: C4D6QuFdbn8
2018-04-20 23:04:46 -04:00
Boris Zbarsky
91fa78892d
Bug 1453869 part 15. Remove nsIDOMParser. r=mrbkap
...
MozReview-Commit-ID: 8gGb1qO56gu
2018-04-20 23:04:46 -04:00
Boris Zbarsky
f8f22a4ffe
Bug 1453869 part 14. Make the document and base URIs arguments to the DOMParser constructor. r=mrbkap
...
Init() is no longer needed, and the mAttemptedInit machinery can all go away.
MozReview-Commit-ID: 3wNavKLGdlc
2018-04-20 23:04:45 -04:00
Boris Zbarsky
9c8b0407da
Bug 1453869 part 13. Make DOMParser store an nsIGlobalObject* as mOwner. r=mrbkap
...
Incidentally, we can remove mScriptHandlingObject, because mOwner is always the same object anyway.
MozReview-Commit-ID: 1txkjkKvBsi
2018-04-20 23:04:45 -04:00
Boris Zbarsky
32b5faa035
Bug 1453869 part 12. Make the DOMParser constructor require a principal. r=mrbkap
...
We always have one now. So we can remove all the codepaths that attempted to
handle the !mPrincipal case.
We can also remove the nsContentUtils::IsSystemPrincipal(mPrincipal) codepaths,
because that can never happen: DOMParser::Constructor never creates a DOMParser
with a system principal.
MozReview-Commit-ID: EUrGoiI0o3u
2018-04-20 23:04:45 -04:00
Boris Zbarsky
c1040dfa6b
Bug 1453869 part 11. Inline DOMParser::InitInternal into its one caller. r=mrbkap
...
The other caller went away all the way back in part 1 of bug 1453869.
MozReview-Commit-ID: pJttjegpBm
2018-04-20 23:04:45 -04:00
Boris Zbarsky
1df89947b2
Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
...
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Boris Zbarsky
c2c06950b8
Bug 1453869 part 7. Make the DOMParser WebIDL constructor use a nullprincipal for the document if the caller is system-principal. r=mrbkap
...
In our test suite, we only run into two calls to this constructor with a system
principal, and both are in test code.
After this, calling the WebIDL constructor from system code is _almost_
equivalent to creating by contract. The one difference is that the resulting
DOMParser (and the documents it creates) will have its script handling object
set to the global the constructor came from instead of being null.
MozReview-Commit-ID: Fe2yMeqoYnB
2018-04-20 23:01:25 -04:00
Boris Zbarsky
df6591442f
Bug 1453869 part 6. Remove nsIDOMParser::ParseFromStream. r=mrbkap
...
MozReview-Commit-ID: L2QKWgDE6UM
2018-04-20 23:01:25 -04:00
Boris Zbarsky
54fbc1b396
Bug 1453869 part 5. Remove nsIDOMParser::ParseFromBuffer. r=mrbkap
...
MozReview-Commit-ID: 4KuM0HRI2BC
2018-04-20 23:01:25 -04:00
Boris Zbarsky
af62ed5dc8
Bug 1453869 part 4. Remove nsIDOMParser::ParseFromString. r=mrbkap
...
MozReview-Commit-ID: CoepOZNb0DU
2018-04-20 23:01:25 -04:00
Boris Zbarsky
4527d58c1c
Bug 1453869 part 3. Remove the used-only-in-tests DOMParser.init method. r=mrbkap
...
Some DOM unit tests rely on being able to parse XUL via DOMParser. That was allowed due to them calling init() with a system subject principal. It can be more narrowly allowed by adding an explicit setter for being able to parse XUL/XBL.
MozReview-Commit-ID: 3h0WWGHmYOn
2018-04-20 23:01:24 -04:00
Boris Zbarsky
2cb41e7954
Bug 1453869 part 2. Get rid of the unused nsIDOMParser::Init method. r=mrbkap
...
MozReview-Commit-ID: B3HVscqYE6G
2018-04-20 23:01:24 -04:00
Boris Zbarsky
bada81a4e5
Bug 1453869 part 1. Remove the unused 3-arg constructor from DOMParser. r=mrbkap
...
MozReview-Commit-ID: 1fWzq6rMWf1
2018-04-20 23:01:24 -04:00
Dorel Luca
65669dae30
Merge mozilla-inbound to mozilla-central. a=merge
2018-04-21 02:00:04 +03:00
Dorel Luca
644bf34f8b
Backed out 8 changesets (bug 1453011, bug 1452981, bug 1146316) For xpcshell and mochitest failures on multiple files. CLOSED TREE
...
Backed out changeset 033299f27339 (bug 1453011)
Backed out changeset 4464997475c1 (bug 1453011)
Backed out changeset cae243fb2a3c (bug 1453011)
Backed out changeset adf56a83131b (bug 1453011)
Backed out changeset 80abe3305b24 (bug 1452981)
Backed out changeset 02178545f255 (bug 1452981)
Backed out changeset 719f7596c208 (bug 1146316)
Backed out changeset 1316c78daeb6 (bug 1146316)
2018-04-20 21:40:24 +03:00
Boris Zbarsky
367b5456ea
Bug 1455052 part 11. Remove nsIDOMEvent::InternalDOMEvent. r=masayuki
...
MozReview-Commit-ID: 2ytv7CjkPGz
2018-04-20 12:55:31 -04:00
Boris Zbarsky
a81bb92f43
Bug 1455052 part 10. Remove various unused nsIDOMEvent bits. r=masayuki
...
MozReview-Commit-ID: Fzckal7RGUv
2018-04-20 12:55:31 -04:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Boris Zbarsky
79bd05835f
Bug 1455052 part 4. Stop using nsIDOMEvent in xpidl interfaces. r=masayuki
...
MozReview-Commit-ID: GIs8DVfduKe
2018-04-20 12:53:17 -04:00
Peter Van der Beken
b1be86e036
Bug 1453011 - Remove some unused nsIXPCScriptable flags. r=bz.
...
--HG--
extra : rebase_source : d3f5d9b6d994bbcf55976b3a1aed404d273415f3
2018-03-22 10:37:43 +01:00
Dorel Luca
3409e8f9fb
Merge mozilla-central to autoland
...
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Brian Grinstead
37febf2987
Bug 1455680 - Notify document-element-inserted in XUL documents;r=bz
...
We'll want to use this event to inject scripts before other scripts run
in XUL documents. It already fires in HTML documents.
MozReview-Commit-ID: 7FW0R8r9o9G
--HG--
extra : rebase_source : 28fe9b6a4bcbb6ecf8966a0c059d867bf66285bf
2018-04-20 13:55:51 -07:00
Xidorn Quan
348e4616cd
Bug 1448757
part 3 - Remove nsDOMWindowUtils::GetAnimationTypeForLonghand and nsStyleAnimType. r=hiro
...
MozReview-Commit-ID: 8KsNSaDfsbN
--HG--
extra : rebase_source : 914d158d2ab227d725cd6c3d9a9b22cfe54690b6
2018-04-20 14:38:46 +10:00
Cosmin Sabou
5e9d16a446
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-20 01:37:07 +03:00
Cosmin Sabou
4595d43d3a
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : browser/modules/offlineAppCache.jsm => toolkit/modules/offlineAppCache.jsm
2018-04-20 01:29:10 +03:00
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