Граф коммитов

72 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru cccdda3c2a Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D15426

--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Jean-Yves Avenard c028a5a443 Bug 1515021 - Interrupt steps if shutdown. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15008

--HG--
extra : moz-landing-system : lando
2018-12-19 20:25:55 +00:00
Jean-Yves Avenard 03276c5356 Bug 1443429 - P3. Don't use WebVTTListener while in stable state. r=smaug
WebVTTListener is a JS wrapper around vtt.js.

Differential Revision: https://phabricator.services.mozilla.com/D14282

--HG--
extra : moz-landing-system : lando
2018-12-13 20:06:02 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Brian Grinstead 35b0511c9a Bug 1425874 - Implement HTMLMarqueeElement r=bzbarsky
This adds a new class for the marquee tag, instead of overloading HTMLDivElement.
It removes some of the XBL that was used to expose properties to web content.

Differential Revision: https://phabricator.services.mozilla.com/D3824

--HG--
extra : moz-landing-system : lando
2018-11-14 05:29:11 +00:00
Nathan Froyd 846d8789ee Bug 1492894 - part 1 - make the node hierarchy consistently constructed with NodeInfo&&; r=mccr8
Various places in dom/ use the pattern:

  already_AddRefed<NodeInfo> ni = ...;

which is supposed to be disallowed by our static analysis code, but
isn't, for whatever reason.  To fix our static analysis code, we need to
eliminate instances of the above pattern.

Unfortunately, eliminating this pattern requires restructuring how Nodes
are created.  Most Node subclasses take `already_AddRefed<NodeInfo>&` in
their constructors, and a few accept `already_AddRefed<NodeInfo>&&`.  We
need to enforce the latter pattern consistently, which requires changing
dozens of source files.
2018-09-21 16:45:49 -04:00
Emilio Cobos Álvarez 8f34c12e14 Bug 1479860: Remove unused aCompileEventHandlers argument from BindToTree. r=bz
Mostly automatic via sed. Only parts which I touched manually (apart from a
couple ones where I fixed indentation or which had mispelled arguments) are the
callers. I may have removed a couple redundant `virtual` keywords as well when
I started to do it manually, I can revert those if wanted.

Most of them are just removing the argument, but in Element.cpp I also added an
assertion for GetBindingParent when binding the ShadowRoot's kids (the binding
parent is set from the ShadowRoot constructor, and I don't think we bind a
shadow tree during unlink or what not which could cause a behavior difference).

Differential Revision: https://phabricator.services.mozilla.com/D2574

MozReview-Commit-ID: 2oIgatty2HU
2018-08-01 10:42:54 +02:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Emilio Cobos Álvarez c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Boris Zbarsky 597b4545d2 Bug 1429903 part 4. Remove nsIDOMEventTarget. r=mccr8
MozReview-Commit-ID: 9XuenUHxfPx
2018-04-20 00:49:30 -04:00
Emilio Cobos Álvarez 81856604ef Bug 1454238: Remove nsINode::eMEDIA. r=bz
MozReview-Commit-ID: LPutL6PlrgG
2018-04-20 01:30:12 +02:00
Emilio Cobos Álvarez f7522ae728 Bug 1447358: Unifdef the old style system code. r=jwatt
Summary:
This has been automatically generated using:

  http://dotat.at/prog/unifdef/

And:

find $OBJDIR -type f -name '*.h' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
  echo "$FILE"
  unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done

MozReview-Commit-ID: I4NdKqbMXzJ

Reviewers: jwatt

Bug #: 1447358

Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Kyle Machulis 4040ae7b11 Bug 1407040 - Remove C++ usage of nsIDOMHTMLMediaElement; r=bz
MozReview-Commit-ID: 6MGS4UqKwrU

--HG--
extra : rebase_source : 19fe880afb9a7a0a7ff2405c8144cdb96b9fd5aa
2018-02-14 21:22:38 -08:00
Cameron McCormack d02e54b79b Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
MozReview-Commit-ID: CIHyPdF7Exl

--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Andrea Marchesini c6da271117 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian 368c3d5b6b Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini 6480b95ba3 Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug 2018-01-24 17:17:31 +01:00
Kris Maglione 1c66345e09 Bug 1415352: Part 1a - Pass subject principal through to ParseAttribute. r=bz
This is necessary in order to parse style attributes using the subject
principal of the caller, rather than defaulting to the page principal.

MozReview-Commit-ID: GIshajQ28la

--HG--
extra : rebase_source : 5dba46f61d70ec647cae16383b62961ac72d2f47
2017-11-01 20:35:52 -07:00
David Major 34919e275a Bug 1408695 - Work around a VS2017 constexpr pointer math bug in HTMLTrackElement.cpp. r=gerald 2017-10-14 21:09:05 -04:00
Nicholas Nethercote d225f7151b Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Kyle Machulis 6842f6f2a4 Bug 1405169 - Fix/Simplify Refcount and CC macros for HTML Element classes; r=bz
MozReview-Commit-ID: CV77bM0Pq1e

--HG--
extra : rebase_source : e7c6572e07234938a1baaec30f267a73d8fad542
2017-10-02 16:42:09 -07:00
Andrew McCreight 78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Bevis Tseng a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
bechen f82170d314 Bug 1343798 - Label runnables for HTMLTrackElement. r=jwwang
MozReview-Commit-ID: El7LXJFAHiM

--HG--
extra : rebase_source : 1f23f3d7cd09e30be9cfa191f6627bf1bacc115c
2017-03-08 10:10:35 +08:00
bechen da4381687d Bug 1334112 -part3 : Trigger UpdateReadyState after unbind TrackElement's and TextTrack::SetReadyState. r=rillian
MozReview-Commit-ID: pEeOzZSpak

--HG--
extra : rebase_source : cf7759c746f3fa9221dcda03327fd6b3c5997ee7
2017-02-21 15:44:10 +08:00
Henry Chang 0d744f462c Bug 1313711 - Fix track element CORS bug. r=dveditz
MozReview-Commit-ID: SRWbiIuUdt

--HG--
extra : rebase_source : ecdedf2599205e547fbf6cafd12d154b2d7d26bc
2017-02-14 11:47:14 +08:00
bechen 2e9466d27e Bug 1308862 - Null check for the innerWindow. r=jwwang
MozReview-Commit-ID: DXrN3cnqV7U

--HG--
extra : rebase_source : a77e55182e9265ebec8a42d3770df7c41c69b286
2016-10-12 17:26:20 +08:00
Ralph Giles ac2fb54670 Bug 1300805 - Remove media.webvtt.enabled pref. r=kinetik,smaug
This API has been deployed to release for some time. There isi
no longer value to being able to quickly disable it.

MozReview-Commit-ID: Jj6CyWzP93g

--HG--
extra : rebase_source : 2dc0547229b53865a4f7cfcf7ca417eb3dec0356
2016-09-15 14:10:17 -07:00
Jeremy Chen e42a48e81d Bug 1297306 - part5:create enum constructors for EnumTable. r=baku
Enable nsAttrValue::EnumTable to be initialized with enum. So, we could get rid
of the castings in EnumTable. Fix EnumTable initialization comment.

For those untyped enumerations, declare them with uint8_t, as to other typed
enumerations with type size larger than int16_t, force casting to int16_t.

Use {nullptr,0} instead of {0} to represent the last entry.

MozReview-Commit-ID: 7Dma3Apkmxj

--HG--
extra : rebase_source : b2289866c4c33d80c8e170727bf109d018d92f67
2016-09-07 10:20:17 +08:00
bechen 8630c02c7e Bug 1295097 - Ensure HTMLTrackElement create only one WindowDestroyedObserver. r=rillian
MozReview-Commit-ID: FdfpjO58BWw
2016-08-17 09:11:42 +08:00
Alastor Wu c45a13bb5a Bug 1295023 - ignore to set the same value for the ready state. r=rillian
MozReview-Commit-ID: 9OWJfnWAwj9

--HG--
extra : rebase_source : 2679535cb78587a685604312e0e105c53c52a135
2016-08-18 19:10:31 +08:00
bechen 9168d358f4 Bug 1286751 - Close the channel when window destroyed. r=rillian
MozReview-Commit-ID: 4FSPOfT5F6R

--HG--
extra : transplant_source : %FCx%D2-%5D%98%3B%DE%F5%29%06%E0%13%DB%F4%82U%D3%D4s
2016-08-05 15:13:36 +08:00
bechen f37d302b58 Bug 1281418 - Release and reload the vtt resource when the src attribute of TrackElement changed. r=rillian
MozReview-Commit-ID: B8wdOxP3HId

--HG--
extra : transplant_source : %85%F3R%10%D3h%C8tSN%12%09%B5%12%91%DBT%19t%14
2016-07-21 16:49:24 +08:00
bechen ae902d5599 Bug 871747 - Load the TrackElement outside the document. r=rillian
MozReview-Commit-ID: Cql1YAZnnnL

--HG--
extra : transplant_source : %FA%21%D1%8A%14%E6%BA%8A%91H%F0%EE%CB%7B%AB9%19%20%2A%C2
2016-07-11 15:03:53 +08:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
bechen d1ed19f21d Bug 1242599 - Create TextTrack before LoadResource(). r=rillian
MozReview-Commit-ID: 7deLCeKc0lc

--HG--
extra : rebase_source : 889478ab87392ea19fc04855e9e2e11fc847d255
2016-06-02 15:37:14 +08:00
bechen 4f3a1d8df5 Bug 1242594 - Don't remove the textTrack if it's parent is not null. r=rillian
MozReview-Commit-ID: 3nIE1XFFT99

--HG--
extra : transplant_source : %DD%B4%FF%22%28p%A0%CFwK%14%12%8E%0BK%AF-%B6%DB%E1
2016-04-26 16:38:24 +08:00
Carsten "Tomcat" Book 40c39189ef Merge mozilla-central to fx-team 2016-05-09 11:20:26 +02:00
dimi 65b7131b71 Bug 1262406 - P1. Track element doesn't use the URL classifier. r=francois
MozReview-Commit-ID: 1YJgcRrrwqj

--HG--
extra : transplant_source : j%07U%CF%25%C7T%9D%85%FD%7B%99%DE%C7%D8%ADVm6%CB
2016-05-09 09:32:40 +08:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Aryeh Gregor b607cb2e71 Bug 1269712 - <track kind=invalid> should behave like metadata, not subtitles; r=bz
This follows a spec change <https://github.com/whatwg/html/issues/293>,
which AFAIK no other browser has implemented, so it has some regression
potential.

The web-platform tests changed are out-of-date and match the old spec,
so I'm changing them here to match the new spec.
2016-05-08 14:46:20 +03:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
sajitk 5fb2c53074 Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini 2015-11-23 11:09:25 -08:00