Commit Graph

74892 Commits

Author SHA1 Message Date
Noemi Erli
54db5253b6 Merge inbound to mozilla-central. a=merge 2018-06-01 00:51:37 +03:00
Andrea Marchesini
76819af4a3 Bug 1465734 Sync nsContentUtils::GetASCIIOrigin and nsContentUtils::GetUTFOrigin implementations for blobURLs, r=smaug 2018-05-31 15:19:43 +02:00
Andreas Farre
4997325757 Bug 1441972 - Add probe for counting docgroups per tabgroup. r=nika, data-review=chutten
Add ACTIVE_DOCGROUPS_PER_TABGROUP and TOTAL_DOCGROUPS_PER_TABGROUP to
collect data on how many docgroups a tabgroup has whenever a top level
content document associated with that tabgroup would hide. This gives
a fairly accurate estimate of the number of docgroups a site
uses. TOTAL_* counts all docgroups while ACTIVE_* only count docgroups
with at least one document not in the bfcache.
2018-05-30 05:48:00 +03:00
Andreea Pavel
9a2a34f9f9 Bug 1465370 - removed old osx 10.6 references in manifest files r=jmaher 2018-05-31 01:10:00 +03:00
Margareta Eliza Balazs
887efa0828 Backed out 5 changesets (bug 1413098) for frequent failure in toolkit/content/tests/browser/browser_autoplay_policy_user_gestures.js on a CLOSED TREE
Backed out changeset 3c186b3bb909 (bug 1413098)
Backed out changeset b12730d42016 (bug 1413098)
Backed out changeset 49ef875bd65e (bug 1413098)
Backed out changeset 747764af7143 (bug 1413098)
Backed out changeset 5031770d70fd (bug 1413098)
2018-05-31 15:21:15 +03:00
Bryce Van Dyk
c9d6056854 Bug 1465409 - Change lint rules for mediasource tests to prefer no spaces for array notation. r=jya
Change rules so we enforce ["foo", "bar"] rather than [ "foo", "bar" ].

MozReview-Commit-ID: KX6wJd8jmeJ

--HG--
extra : rebase_source : 6800cf4e701a33f246418e0deb35a206af8104f4
2018-05-30 08:18:54 -04:00
Nazım Can Altınova
361380987c Bug 1464496 - Part 1: Merge ServoDeclarationBlock and DeclarationBlock r=emilio
MozReview-Commit-ID: By9fV70Oq0K

--HG--
extra : rebase_source : 837afe9c33b21d7db41ff19d3aaf6cf3e9eedbdf
2018-05-30 18:15:25 +02:00
Arnaud Bienner
e1cac52f37 Bug 1460907 - Implement AudioParamMap definitions. r=karlt,qdot
MozReview-Commit-ID: AdsI9QU3VOX

--HG--
extra : rebase_source : b72d898550289f0637d7cb1c9796a12a7b4fc782
2018-05-13 16:16:23 +02:00
Andreea Pavel
bce82ccf82 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-05-31 13:05:59 +03:00
Andreea Pavel
38bcf897f1 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-31 13:04:21 +03:00
Emilio Cobos Álvarez
8587557096 Bug 1465478: followup: Fix an error while addressing review comments. r=me on a CLOSED TREE
MozReview-Commit-ID: KORYdu3cuX5
2018-05-31 03:05:02 +02:00
Emilio Cobos Álvarez
fe09ffd3af Bug 1465478: Introduce Element::FromNode. r=smaug
And use it in a couple places I noticed.

MozReview-Commit-ID: 8baSMrbdEbF
2018-05-31 02:46:10 +02:00
Johann Hofmann
ded334a8cb Bug 1444394 - Remove Element::UnsafeSetInnerHTML. r=bz,kmag
The last remaining user is already turned off and being removed
in bug 1444395 so that we can finally remove this unsafe code and
sleep a little better knowing that XSS through markup injections
will be impossible in chrome contexts.

MozReview-Commit-ID: KcZq8fRPiD4

--HG--
extra : rebase_source : 5def3abb50ed8f1b43e17072088e38a44394488b
2018-05-28 22:55:52 +02:00
Masayuki Nakano
99341a9445 Bug 1463985 - part 1: Rename EditAction to EditSubAction and related stuff r=m_kato
When we implement InputEvent.inputType, we need to set a stack class to record
which edit action is currently handled.  However, currently, we call smaller
jobs as edit action.  For example, when user types a character at selecting
some characters, then, EditAction::deleteSelection is performed first, then,
EditAction::insertText is performed.  However, for the InputEvent.inputType,
we need inserText information.  So, for making new enum EditAction, we need
to rename current EditAction to EditSubAction.

And also this renames related stuff:

EditorBase::mIsInEditAction -> EditorBase::mIsInEditSubAction
EditorBase::IsInEditAction() -> EditorBase::IsInEditSubAction()
EditorBase::mAction -> EditorBase::mTopLevelEditSubAction
TextEditRules::mTheAction -> TextEditRules::mTopLevelEditSubAction
EditorBase::StartOperation() ->
  EditorBase::OnStartToHandleTopLevelEditSubAction()
EditorBase::EndOperation() ->
  EditorBase::OnEndHandlingTopLevelEditSubAction()
AutoRules -> AutoTopLevelEditSubActionNotifier
RulesInfo -> EditSubActionInfo

MozReview-Commit-ID: cvSkPUjFm1

--HG--
extra : rebase_source : baf527a3e353b7a8ebe9a46be2243b059c500234
2018-05-28 20:12:34 +09:00
Dan Glastonbury
5fe6ffd64b Bug 1457353 - P3: Disable failing SMIL tests. r=hiro,xidorn
Disable failing SMIL tests for lighting-color with currentcolor until
StyleComplexColor is extended to support addition.

MozReview-Commit-ID: 6tbDYPFI9ey

--HG--
extra : rebase_source : a8f1e363bd37c40ae2e48ef682a005aafaa27fe5
2018-05-30 14:12:08 +10:00
Steve Fink
0680fed494 Bug 1464266 - Rename GCForReason to NonIncrementalGC, r=jonco
--HG--
extra : topic : GCForReason
extra : rebase_source : e81bf7bb8ca0824f8b63f25a46ccbe26c4002325
2018-05-24 16:19:18 -07:00
arthur.iakab
f1046ac67f Merge mozilla-central to inbound 2018-05-31 01:08:35 +03:00
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Dorel Luca
bab970e397 Backed out 5 changesets (bug 1456265, bug 1456946) for breaking WPT test. CLOSED TREE
Backed out changeset ee0c4548a78a (bug 1456265)
Backed out changeset be22684cddb8 (bug 1456265)
Backed out changeset 91a4b9b7cfa8 (bug 1456946)
Backed out changeset 852233de6408 (bug 1456946)
Backed out changeset 0ae2e92fead5 (bug 1456265)
2018-05-30 21:04:36 +03:00
Andrea Marchesini
9023e7c7b4 Bug 1446937 - Have ContextForTopLevelLoad return already_AddRefed<nsISupports> within LoadInfo, r=qdot 2018-05-30 21:21:18 +02:00
Andrea Marchesini
1273dc5391 Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot 2018-05-30 21:21:17 +02:00
Andrea Marchesini
4dbf30fc68 Bug 1446922 - Remove the leading 'a' from variables within the various ::ShouldLoad() implementations, r=qdot 2018-05-30 21:21:17 +02:00
Andrea Marchesini
b0005ca281 Bug 1446921 - Get rid of 2 unused parameters in nsContentUtils::CanLoadImage, r=qdot 2018-05-30 21:21:17 +02:00
Jan de Mooij
45e968b1dd Bug 1464134 part 8 - Make IterateHeapUnbarriered and related code use realms instead of compartments. r=jonco 2018-05-30 20:14:19 +02:00
Paul Adenot
a69dd93b7a Bug 1456265 - Also update test_channelSplitterNodeWithVolume.html 2018-05-30 18:23:37 +02:00
Paul Adenot
4f90eaf94d Bug 1456946 - Properly reflect the channelCount when set in the ctor using the option object, on a ChannelSplitterNode. r=achronop
MozReview-Commit-ID: DrnadeBS8hi

--HG--
extra : rebase_source : 8c1863f7ad21f9b4f8e41232402fdb9825e7de90
2018-05-29 18:16:24 +02:00
Paul Adenot
a97337d7fc Bug 1456946 - Don't call AudioNode::Initialize on an ChannelSplitterNode during construction to avoid throwing. r=achronop
We initialize the channelCountMode and channelInterpretation (that cannot be
changed) appropriately in the C++ ctor, and the channelCount manually as well.

Then we check manually that the options for the channelCountMode, the
channelCount and channelInterpretation have not been passed, or are not
incorrect.

MozReview-Commit-ID: 4YdYfaGqKqn

--HG--
extra : rebase_source : 1133e35b74249f5457d1584601e8d4c64cb154cc
2018-05-29 18:15:29 +02:00
Paul Adenot
80a1f3c079 Bug 1456265 - Make ChannelSplitterNode have a channelCountMode of "explicit" and a channelIntepretation of "discrete" by default. r=achronop
MozReview-Commit-ID: 5pAdWn9zV9e

--HG--
extra : rebase_source : a2cc6582c66549e8c3ca7d661f114db58ec5cde0
extra : source : 42f845da213bcb73fb3400d6628e3ffc15b3992b
2018-05-29 17:18:39 +02:00
Dan Minor
a20dc982b3 Bug 1450658 - Add preference to disable focusing source; r=pehrsons
Focusing a source during a test run can cause Firefox to lose focus and
subsequent tests to timeout. This adds a preference which defaults to true
that allows the source to be focused. It is then set to false for tests that
involve screen sharing.

MozReview-Commit-ID: CNq2c87y8Ho

--HG--
extra : rebase_source : 805e2cbf9c09af419419a64d074e020784185b1d
2018-05-29 16:14:38 -04:00
Dan Minor
50a3ab6cd4 Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons
This adds a FocusOnSelectedSource method to PCameras and uses it to focus the
selected window while window sharing. We can't just focus the window as soon as
it is shared because we have a live preview in the getUserMedia permissions
prompt which would cause the prompt to lose focus. Instead, this only focuses the
window when the sharing is not done from a chrome context.


MozReview-Commit-ID: 5jre75E3JLi

--HG--
extra : rebase_source : 5f5154fc9fc7590cc02eb25146e5bc20b2243fa3
2018-05-08 15:55:36 -04:00
Panos Astithas
f041fb6e3c Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : f0da66755c92d2937f5fad1f5784f9a81829c951
2018-05-15 16:44:44 -07:00
Gurzau Raul
bcd412f2a9 Backed out changeset 602bdd9d5a96 (bug 1461851) for linting failures on /checkouts/gecko/build/appini_header.py on a CLOSED TREE 2018-05-30 19:03:50 +03:00
Panos Astithas
9be1c58dd1 Bug 1461851 - Properly add the source URL in the profiler metadata. r=glandium
MozReview-Commit-ID: 53M4bGolmJk

--HG--
extra : rebase_source : 17c2f3922d04b1ee7e168837f4440bb1b0abc218
2018-05-15 16:44:44 -07:00
Andreas Pehrson
9e6a6da509 Bug 1282262 - Reduce number of (slow) gUM requests in test_gUM_mediaStreamClone. r=padenot
MozReview-Commit-ID: 1By46JEdXj6

--HG--
extra : rebase_source : 738ff1be92d618f5a6fe7dab8d3f63749d7b8cb6
2018-05-30 14:45:38 +02:00
Paul Adenot
aaba3722d4 Bug 1413098 - Part 5 - Allow starting an AudioContext when gUM has been allowed. r=pehrsons
MozReview-Commit-ID: E0fcpIbLhYJ

--HG--
extra : rebase_source : c77efbfade3ff8edc4c6fa65e3b7964596b21c5e
extra : histedit_source : ae374a3d53c6af0a1fe617ab7d03c61d5741afbc
2018-04-27 19:13:40 +02:00
Dan Glastonbury
68881da7dd Bug 1457353 - P1: Change nscolor to StyleComplexColor. r=xidorn
Change mStopColor, mFloodColor, and mLightingColor in nsStyleSVGReset.

MozReview-Commit-ID: KMRMtHk1jNK

--HG--
extra : rebase_source : c0c12fa811d17ab6fe0a5ceb31ff32ec585314e0
2018-04-27 12:07:20 +10:00
Hiroyuki Ikezoe
1d990aba9c Bug 1413370 - Drop isAndroid variable in file_restyles.html. r=birtles,boris
It's no longer used since bug 1458841.

MozReview-Commit-ID: 38UlQjtOVvo

--HG--
extra : rebase_source : 30ba69a8bad21c619b3f9ce139bd5a882bdf98b1
2018-05-30 18:21:18 +09:00
arthur.iakab
2649bf8a95 Merge mozilla-central to autoland 2018-05-31 01:07:47 +03:00
Matthew Gregan
29d47f27a7 Bug 1465299 - Update AudioIPC pref defaults in CubebUtils.cpp to match actual defaults in all.js. r=padenot
MozReview-Commit-ID: 16fC71RT0AB

--HG--
extra : rebase_source : f85f04494d32afa24baeb7de89247b5360aea7bc
2018-05-30 14:02:13 +12:00
Csoregi Natalia
83a923ef7a Merge inbound to mozilla-central. a=merge 2018-05-30 12:25:03 +03:00
Boris Zbarsky
cb08b0de7d Bug 1455676 part 21. Remove nsIDOMNode. r=qdot 2018-05-29 22:58:51 -04:00
Boris Zbarsky
115f652b0b Bug 1455676 part 20. Remove now-unused AsDOMNode methods. r=qdot 2018-05-29 22:58:50 -04:00
Boris Zbarsky
8b9400c98b Bug 1455676 part 19. Remove some remaining nsIDOMNode uses. r=qdot 2018-05-29 22:58:50 -04:00
Boris Zbarsky
a7ede892a2 Bug 1455676 part 18. Stop using getInterface as the primary API for the indexeddb permission notifications. r=mrbkap 2018-05-29 22:58:50 -04:00
Boris Zbarsky
bea3100e53 Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot 2018-05-29 22:58:49 -04:00
Boris Zbarsky
931b9e37ad Bug 1455676 part 10. Remove use of nsIDOMNode from remaining xpidl. r=qdot 2018-05-29 22:58:49 -04:00
Boris Zbarsky
9748db120d Bug 1455676 part 8. Remove nsIDOMNode usage from layout/. r=qdot 2018-05-29 22:58:48 -04:00
Boris Zbarsky
dd184e287a Bug 1455676 part 5. Remove nsIDOMNode usage from netwerk/. r=qdot 2018-05-29 22:58:48 -04:00
Boris Zbarsky
317d43647c Bug 1455676 part 4. Remove nsIDOMNode usage from uriloader/. r=qdot 2018-05-29 22:58:48 -04:00
Boris Zbarsky
6213894581 Bug 1455676 part 3. Remove nsIDOMNode usage from widget/. r=qdot 2018-05-29 22:58:48 -04:00