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

15699 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 8a2f92ec95 Bug 1446568: Move a couple other methods from nsDocument to nsIDocument. r=smaug
Need to add an static_cast for nsIDOMDocument, but it'll be temporary, I'd
expect.

MozReview-Commit-ID: 1cSwlcQZL5N
2018-03-17 16:22:13 +01:00
Emilio Cobos Álvarez 55a1729e6a Bug 1446568: Move UseCounter stuff and IsSynthesized to nsIDocument. r=smaug
MozReview-Commit-ID: IeKzmi31e8d
2018-03-17 16:22:12 +01:00
Emilio Cobos Álvarez 3e33f2a705 Bug 1446568: Make SetScriptGlobalObject not pure virtual. r=smaug
MozReview-Commit-ID: 1kKPq7f50jC
2018-03-17 16:22:10 +01:00
Emilio Cobos Álvarez 6b3537c326 Bug 1446568: Make nsIDocument SetContentType / SetDocumentCharacterSet not pure virtual. r=smaug
No good reason for them to be.

MozReview-Commit-ID: 7bFVD8YFqo2
2018-03-17 16:22:08 +01:00
Emilio Cobos Álvarez 1bbc934001 Bug 1446568: Move a couple more stuff from nsDocument to nsIDocument. r=smaug
MozReview-Commit-ID: JC2nqzJEq7U
2018-03-17 16:22:06 +01:00
Emilio Cobos Álvarez 52742250dd Bug 1446568: Move a few of the remaining nsDocument members to nsIDocument. r=smaug
MozReview-Commit-ID: 3FdiyHLFOh
2018-03-17 16:22:04 +01:00
Emilio Cobos Álvarez 54dfa3c910 Bug 1446568: Remove an unneeded cast. r=smaug
MozReview-Commit-ID: ILtm9ybRwJ7
2018-03-17 16:22:02 +01:00
Emilio Cobos Álvarez ffa2f5a85d Bug 1446568: Move the blocked tracking nodes methods to nsIDocument. r=smaug
MozReview-Commit-ID: LuvoFP8UyNg
2018-03-17 16:22:00 +01:00
Emilio Cobos Álvarez c64ab0c766 Bug 1446568: Remove nsDocument::UnlockPointer. r=smaug
And remove some now-unneeded casts.

MozReview-Commit-ID: CFfkiC0xJ2C
2018-03-17 16:21:58 +01:00
Emilio Cobos Álvarez 9638946d77 Bug 1446568: Move Reset and ResetToURI to nsIDocument instead of nsDocument. r=smaug
Move also mListenerManager since it's used by ResetToURI.

MozReview-Commit-ID: CPj2NHwpOEy
2018-03-17 16:21:42 +01:00
Emilio Cobos Álvarez 23692dc720 Bug 1446568: Devirtualize nsIDocument::CreateElem. r=smaug
MozReview-Commit-ID: FO0mMHN6zvi
2018-03-17 16:14:29 +01:00
Emilio Cobos Álvarez 751c09d888 Bug 1443339: Stop observing the refresh driver when inserting into the BFCache. r=bz
The nsCSSFrameConstructor bits are now handled in PresShell::Destroy along with
the other refresh driver observers.

I cleaned up the nsRefreshDriver methods because they were using infallible
append anyway, and that simplified the logic.

MozReview-Commit-ID: 1eDUUXjUUS9
2018-03-17 16:11:52 +01:00
Bogdan Tara 4785e99532 Merge inbound to mozilla-central. a=merge 2018-03-17 12:29:57 +02:00
Boris Zbarsky 4fbe59c404 Bug 1445417 part 4. Remove nsIDOMDragEvent. r=mystor
MozReview-Commit-ID: 6hQ7mHLaLcx
2018-03-16 22:25:25 -04:00
Boris Zbarsky 20a96c6d59 Bug 1445417 part 1. Stop using nsIDOMDragEvent in nsIDroppedLinkHandler. r=mystor
MozReview-Commit-ID: DzLXJaTe4vx
2018-03-16 22:25:25 -04:00
Jeff Muizelaar b0c6c75854 Bug 1439006. Allow multiple kinds of WebRenderUserData on a DisplayItem. r=mstange
Currently we can only have one type of WebRenderUserData on an Item. We already
have a hash table of WebRenderUserData so it's not hard to include type in the
hash to support one per type.

MozReview-Commit-ID: geJ0BeWv8b
2018-03-16 19:15:27 -04:00
Bogdan Tara 7eb4cdd58d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-17 12:34:09 +02:00
Adrian Wielgosik 87a72d3f51 Bug 1446515 - Remove nsIDOMFileList. r=bz
MozReview-Commit-ID: 4ab1e6NTcOB

--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Gurzau Raul 3057041352 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-16 19:58:27 +02:00
Sylvestre Ledru fa45a3c670 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Sebastian Hengst f916563796 Backed out changeset 664c633802d4 (bug 1423220) for frequently failing mochitest dom/html/test/test_fullscreen-api-race.html (bug 1445330). a=backout 2018-03-16 12:55:59 +02:00
Tiberius Oros a4a2be52e8 Merge inbound to mozilla-central. a=merge 2018-03-16 11:53:43 +02:00
Brian Birtles ee9982905f Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro
This pref was introduced in case we encountered compatibility issues from
changing the return value of Animation.playState (bug 1412765). Now that the
change to Animation.playState has shipped to release channel without any known
problems we should drop this pref.

MozReview-Commit-ID: CwMWRRtIf6u

--HG--
extra : rebase_source : b26c59a51880406c2b94baad8da2eafeb3ae3202
2018-03-16 12:49:55 +09:00
Andrea Marchesini 0a2109c3e9 Bug 1445740 - Port EventSource in Web Workers to WorkerRef, r=smaug 2018-03-15 23:05:17 +01:00
Noemi Erli 4472289127 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-03-15 19:43:12 +02:00
Noemi Erli 6e96a3f1e4 Merge autoland to mozilla-central. a=merge 2018-03-15 19:38:46 +02:00
Emilio Cobos Álvarez 2738470e2b Bug 474655: Add a deprecation warning + use counter to GetPropertyCSSValue. r=bholley
The use counter comes built-in with the DeprecatedOperationList stuff.

MozReview-Commit-ID: 9Opag1NMp32
2018-03-15 18:22:32 +01:00
Andrea Marchesini 37ecc8fc55 Bug 1445681 - EventSource::close must do a sync call to CloseInternal, r=smaug 2018-03-15 11:16:04 +01:00
shindli 9bfc016707 Merge inbound to mozilla-central. a=merge 2018-03-15 12:15:17 +02:00
Kris Maglione 38156094a4 Bug 1445551: Part 5 - Remove add-on path service. r=aswan,mccr8
The path service was created to allow us to track resources that were part of
legacy add-ons, and to map URIs ponting to those resources to add-on IDs, so
that we could apply special behavior to them.

We have better ways to track resources belonging to WebExtensions, so this
code does not benefit them in any significant way.

The only remaining legacy extensions are system add-ons, which we control, and
do not need the path service in order to track.

MozReview-Commit-ID: BKXkcaM7jJx

--HG--
extra : rebase_source : c8cb0f7cec919b767bbcfe5433a6838523747676
2018-03-13 20:21:22 -07:00
Kris Maglione 83371fe0b5 Bug 1445551: Part 4 - Remove compartment-per-addon. r=mccr8
The compartment-per-addon code was added so that we could segregate at least
some of the code from system-privileged add-ons into tagged compartments, even
when it ran in browser windows. That allowed us to apply certain special
behavior to them, such as enabling e10s shims, and to track some performance
characteristics.

The only remaining chrome-privileged add-ons now are system add-ons controlled
by us, and the shim system and per-compartment performance metrics are gone,
it no longer serves a purpose.

MozReview-Commit-ID: Ap186bWAaqP

--HG--
extra : rebase_source : c5bf81b44dd42b7cebce2784b7dd98480b41b593
2018-03-13 19:43:30 -07:00
Kris Maglione 83957914cc Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT

--HG--
extra : rebase_source : f7b79ad5998f1138266e89767ee1b434e4797b30
2018-03-14 14:35:05 -07:00
Emilio Cobos Álvarez a4486328c8 Bug 1433671: Add MOZ_CAN_RUN_SCRIPT annotations to AccessibleCaret and other stuff. r=bz
MozReview-Commit-ID: Js0CF7WQM73
2018-03-14 23:32:22 +01:00
Andreea Pavel 363ad2007d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-03-15 00:11:42 +02:00
Andreea Pavel 067622ac36 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-15 00:07:17 +02:00
Andrea Marchesini a1747f6179 Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug 2018-03-14 17:37:34 +01:00
Nicholas Nethercote 23f8a3de52 Bug 1445142 - Move nsGkAtoms into xpcom/. r=froydnj
This list of atoms isn't particularly DOM-ish, and having it in xpcom/ will
help with the next patch.

MozReview-Commit-ID: 1Y3Fhn9lNbh

--HG--
rename : dom/base/nsGkAtomList.h => xpcom/ds/nsGkAtomList.h
rename : dom/base/nsGkAtoms.cpp => xpcom/ds/nsGkAtoms.cpp
rename : dom/base/nsGkAtoms.h => xpcom/ds/nsGkAtoms.h
extra : rebase_source : 0a0f6ab4432e0d58ea4662299b750a8c52325ad5
2018-03-14 11:10:55 +11:00
Adrian Wielgosik 27009d1b15 Bug 1445408 - Remove nsIDOMClientRect. r=bz
MozReview-Commit-ID: HP4E3cADa8i

--HG--
extra : rebase_source : caffa42f22f6c25d62d080aa6f65e5105ad263e9
2018-03-13 14:19:17 +01:00
Andrea Marchesini 5a4303000d Bug 1445540 - Use IsCurrentThreadRunningWorker() instead of GetCurrentThreadWorkerPrivate() in dom/base and dom/promise, r=smaug 2018-03-14 15:25:47 +01:00
Emilio Cobos Álvarez 8c135989e9 Bug 1438210: another followup: Appease the static analysis. r=me
MozReview-Commit-ID: D2SvKWjOGeX
2018-03-14 11:57:41 +01:00
Emilio Cobos Álvarez c85500f1e5 Bug 1445588: Devirtualize nsIDocument::GetViewportInfo. r=smaug
Reviewers: smaug

Bug #: 1445588

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

MozReview-Commit-ID: 4bW2Yo784Z
2018-03-14 11:55:22 +01:00
Emilio Cobos Álvarez 7be5ad6f23 Bug 1438210: another followup: Avoid the previous patch busting new toolchains (sigh). r=me
MozReview-Commit-ID: 7PkoklZLCk7
2018-03-14 11:40:10 +01:00
Emilio Cobos Álvarez a527c6019f Bug 1438210: followup: Add a constructor to unbust builds on older toolchains. r=me
MozReview-Commit-ID: Cx0vnHt0OW6
2018-03-14 11:36:14 +01:00
arthur.iakab 5205dccc44 Merge mozilla-central to mozilla-inbound 2018-03-14 12:18:15 +02:00
arthur.iakab 8976abf9ca Merge inbound to mozilla-central. a=merge 2018-03-14 12:00:13 +02:00
Emilio Cobos Álvarez d44be89a37 Bug 1438210: Make slot assignment sound with layout after bug 1409975. r=smaug
Summary:
Before that bug, we carefully told layout about all distribution changes before
they happened, so layout could cleanup frames and styles synchronously properly
(since otherwise there's no way afterwards to figure out what the tree shape
was).

That bug made it not do it correctly, causing this.

I obviously need to write a bunch of tests for this...

Reviewers: smaug

Bug #: 1438210

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

MozReview-Commit-ID: 8uupNhoFwme
2018-03-14 10:54:28 +01:00
Nicholas Nethercote 5b4739162e Bug 1445114 - Move RDF atoms into nsGkAtoms. r=froydnj
There are only a handful of them, and two of them are duplicates of atoms
within nsGkAtoms anyway.

MozReview-Commit-ID: Cb90STdeGdK

--HG--
extra : rebase_source : 6ebc6996b129e70907f634e1876725c9e5da41ab
2018-03-14 10:27:34 +11:00
Nicholas Nethercote d41188c796 Bug 1445117 - Remove duplicates from nsGkAtoms. r=froydnj
In each case, the atom had an obvious name and a weird name. Where possible, I
kept the obvious name and commented out the weird name, viz:

- `mixed` over `_mixed` for "mixed"
- `el` over `el_` for "el"
- `other` over `other_` for "other"
- `remote` over `Remote` for "remote"

But for several of them I didn't do that, because the weird name is used
within the HTML5 parser -- which is a huge pain to modify because it involves
code generated by code from another repo -- so I kept the weird name and
commented out the obvious name, viz:

- `list_` over `list` for "list"
- `svgSwitch` over `_switch` for "switch"
- `set_` over `set` for "set"

MozReview-Commit-ID: Jp3CpdWXNDm

--HG--
extra : rebase_source : 421ce5316772f1951488307e81f2ceee696d363d
2018-03-14 10:27:25 +11:00
Gurzau Raul f785df755d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-14 00:44:06 +02:00
Boris Zbarsky 12b661df01 Bug 1445140 part 5. Remove nsIDOMDocumentType. r=mystor
MozReview-Commit-ID: B6iktNYbWn9
2018-03-13 16:24:01 -04:00
Boris Zbarsky 9fc39d5647 Bug 1445140 part 4. Remove nsIDOMDocumentType members. r=mystor
MozReview-Commit-ID: D9Xwt3qJQDI
2018-03-13 16:24:01 -04:00
Boris Zbarsky 7bbb9b0ced Bug 1445140 part 3. Pass a DocumentType to nsIContentSerializer::AppendDoctype. r=mystor
MozReview-Commit-ID: 5UjRSP6MoDI
2018-03-13 16:24:01 -04:00
Boris Zbarsky 27d1556d72 Bug 1445140 part 2. Change NS_NewDOMDocument to take a DocumentType. r=mystor
MozReview-Commit-ID: EGA6OOSbnWV
2018-03-13 16:24:01 -04:00
Boris Zbarsky 633cf0f02a Bug 1445140 part 1. Remove the XPCOM-ish version of NS_NewDOMDocumentType. r=mystor
MozReview-Commit-ID: 6sEFIfMgqet
2018-03-13 16:24:01 -04:00
Boris Zbarsky 9b800c10d6 Bug 1444686 part 12. Remove nsIDOMDataTransfer from nsIDroppedLinkHandler. r=mystor
MozReview-Commit-ID: 7hseR1dpfWG
2018-03-13 16:24:00 -04:00
Boris Zbarsky acad63d428 Bug 1444686 part 5. Get rid of nsIDOMDataTransfer::Get/SetEffectAllowedInt. r=mystor
MozReview-Commit-ID: GIzIU7nWP5j
2018-03-13 16:24:00 -04:00
Boris Zbarsky 0da7198eee Bug 1444686 part 4. Get rid of nsIDOMDataTransfer::Get/SetDropEffectInt. r=mystor
MozReview-Commit-ID: EQ8KXMf4mnR
2018-03-13 16:23:59 -04:00
Boris Zbarsky 55ed30a9c6 Bug 1444686 part 3. Get rid of nsIDOMDataTransfer::Get/SetMozCursor. r=mystor
MozReview-Commit-ID: G7vuh1uuWGv
2018-03-13 16:23:59 -04:00
Boris Zbarsky 6139d9be8f Bug 1444686 part 2. Get rid of nsIDOMDataTransfer::GetMozItemCount. r=mystor
MozReview-Commit-ID: 1eo6czER8Qw
2018-03-13 16:23:59 -04:00
Jonathan Kingston 10ebc30d5d Bug 1440701 - Adding in telemetry for upgrading display content. r=ckerschb,valentin
MozReview-Commit-ID: 7oEIith4Ehv

--HG--
extra : rebase_source : 454d56277aa5dc08bf8cfd7cd9c1e24d31014838
2018-03-04 14:33:33 +00:00
Andreea Pavel 46575fad3b Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-03-15 00:10:23 +02:00
Tom Ritter 6d43fef7f0 Bug 1443943 Do not clamp/jitter in the JS Engine if it's system context r=jorendorff,luke
MozReview-Commit-ID: LqL7xaYoHCT

--HG--
extra : rebase_source : 5e0e9de48d908d49468a40e0e067be4fdfc6a30e
2018-03-09 09:49:28 -06:00
Tom Ritter ba0e15150d Bug 1443943 Port the performance APIs only to only clamping/jittering on non-System Principal r=baku
MozReview-Commit-ID: FKYLI5Yc1kX

--HG--
extra : rebase_source : a50952a233eff12c523bb9d9006d3143fa744005
2018-03-09 09:29:33 -06:00
Adrian Wielgosik bb82957302 Bug 1445408 - Remove nsIDOMClientRectList. r=bz
MozReview-Commit-ID: 22sQNVs0wFP

--HG--
extra : rebase_source : f96617033678e372a32971517300182dd4c3ac57
2018-03-01 17:14:26 +01:00
Gijs Kruitbosch ca508d989b Bug 1371888 - cache plugin information in pluginreg.dat to avoid sync startup load, r=florian,mossop
This changes the pluginreg.dat format to include the blocklist state.

There is now only the saved blocklist state in a plugin tag instance, rather than
looking it up from in there using the blocklist service, so it was renamed from
mCachedBlocklistState to mBlocklistState. We pass the 'right' state to the plugin
instance when the plugintag is constructed. If we don't have state, we mark it as
unblocked.

mCachedBlocklistStateChanged was never read so it's being removed.

Bug 1439519 adds a 'blocklist-loaded' notification that is fired once the blocklist is loaded.
The plugin host implementation will listen to this in the parent process and update the
blocklist state of all the plugins, and broadcast changes to the child process, just like when
we update the blocklist from the server. We now also avoid re-sending plugin content to the
content processes if the plugin state hasn't changed as a result of the blocklist having been
loaded.

Finally, because new plugins should still get an up-to-date blocklist state, and
telemetry should get up-to-date data about which plugins are and aren't enabled
once we have that data, we ensure that once we've loaded the blocklist async,
we schedule an idle task to parse it and consider it loaded.

All this means that plugin blocklist information could be mistaken between the points where
a new plugin is installed and we first run Firefox with the new plugin, and the point where
we load the blocklist. Given the trade-offs, that size of window (tiny) seems OK, also given
that there's already a much larger window in blocklist updates (which only happen once every 24h).

MozReview-Commit-ID: 1gsojRkUzTw

--HG--
extra : rebase_source : 4709916b4674ada54f8a495fd2d16fcef8c58d20
2018-02-20 16:53:48 +00:00
Narcis Beleuzu 298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00
Emilio Cobos Álvarez de099db7bd Bug 1444905: Remove scoped style support from the old style system. r=xidorn,smaug
Summary: It uses two node bits that can be better suited for something else.

Reviewers: xidorn, smaug

Bug #: 1444905

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

MozReview-Commit-ID: HIPDtHm6xpM
2018-03-13 10:26:13 +01:00
Emilio Cobos Álvarez 17f8b43bb3 Bug 1444908: Devirtualize nsIDocument::Get/SetXMLDeclaration. r=smaug
Summary: I missed these two.

Reviewers: smaug

Bug #: 1444908

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

MozReview-Commit-ID: 8JYhlQ9CiDz
2018-03-13 09:03:11 +01:00
Boris Zbarsky c35649f885 Bug 1444909 part 2. Change DOMTokenList.replace() to return a boolean and pull in the corresponding web platform test updates. r=qdot
The wpt changes come from https://github.com/w3c/web-platform-tests/pull/9920
and are needed to keep Element-classlist.html passing.

The change to testing/web-platform/mozilla/tests/dom/classList.html is pulling
those changes into our weird forked version of that test...

MozReview-Commit-ID: CvQlBRuieUY
2018-03-14 16:08:58 -04:00
Boris Zbarsky cbabf9ebea Bug 1444909 part 1. Fix DOMTokenList.replace() to not do the attr set when the old token was not found. r=qdot
This fixes upcoming tests that will check when we actually mutate the attribute.

MozReview-Commit-ID: 7r5ErK9wvir
2018-03-14 16:08:58 -04:00
arthur.iakab 6153368440 Merge mozilla-central to autoland 2018-03-14 12:16:00 +02:00
Coroiu Cristina 0f6841e0d2 Backed out 2 changesets (bug 1443080) for spidermonkey build bustage at build/src/js/src/jit/BaselineCacheIRCompiler.cpp
Backed out changeset 7d509bb8a35d (bug 1443080)
Backed out changeset 53bdcd5937cd (bug 1443080)

--HG--
extra : rebase_source : 59b5350d2959c0b065aedd34bfe8337216c0ea4b
2018-03-14 11:13:21 +02:00
Tarek Ziadé 86edd52973 Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj
Adds a PeformanceCounter class that is used in DocGroup and WorkerPrivate
to track runnables execution and dispatch counts.

MozReview-Commit-ID: 51DLj6ORD2O

--HG--
extra : rebase_source : b481c9aa3b735569722bb7472872ec2d22adcb89
2018-03-06 10:19:19 +01:00
Sylvestre Ledru c07eb73986 Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
MozReview-Commit-ID: JwHh4bzxuTR

--HG--
extra : rebase_source : 17c91bfd7241e3e522b1413b6e544df74f5361a0
2018-03-05 13:43:54 +01:00
Boris Zbarsky 46fc331568 Bug 1446097. Switch to "set" as the canonical nsGkAtoms name of the string "set", so it matches the actual tag name "set" in SVG. r=hsivonen,njn
Most of the noise is from the fact that clang-format on parser/html/*.{h,cpp}
reformatted all sorts of stuff.  Not running it caused lots of format changes
from the generator... I guess we changed the format rules since the last time
this got run?

MozReview-Commit-ID: IA2G87zUIKN
2018-03-16 11:26:06 -04:00
Coroiu Cristina 51fd916771 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-16 01:43:13 +02:00
Noemi Erli da9500ef7d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-15 19:44:05 +02:00
Tom Ritter 6ebcecc30e Bug 1440195 Add a random context seed to the Performance APIs r=baku
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.

WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.

DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.

MozReview-Commit-ID: GIv6biEo2jY

--HG--
extra : rebase_source : da2ad8d9d6e0172679c6af14dba72938e9d2012c
2018-03-13 12:36:34 -05:00
Hector Zhao 33a761b672 Bug 1340039 - Set contentPolicyType when copying image, and pass it between processes. r=smaug
MozReview-Commit-ID: CJj1a1Lj699

--HG--
extra : rebase_source : 63a033a64101f71b0b06fe68d037352fd637523f
2018-03-14 16:44:36 +08:00
Noemi Erli ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs d6d1b8a6a5 Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02:00
Emilio Cobos Álvarez 4224552ed9 Bug 1444580: Move mExpandoAndGeneration back to nsDocument for now. r=smaug
MozReview-Commit-ID: EArKdxEoXaJ
2018-03-12 12:27:06 +01:00
Emilio Cobos Álvarez a21c8d80eb Bug 1444580: Devirtualize CanSavePresentation. r=smaug
MozReview-Commit-ID: LjBA4gM71ir
2018-03-12 12:27:05 +01:00
Emilio Cobos Álvarez 5c17dca08f Bug 1444580: Devirtualize Sanitize. r=smaug
MozReview-Commit-ID: 4UMjAlqnRqu
2018-03-12 12:27:04 +01:00
Emilio Cobos Álvarez c5d1876218 Bug 1444580: Devirtualize GetLayoutHistoryState. r=smaug
MozReview-Commit-ID: AsPFJdDGeUE
2018-03-12 12:27:02 +01:00
Emilio Cobos Álvarez 094ff568ce Bug 1444580: Devirtualize WillDispatchMutationEvent / MutationEventDispatched. r=smaug
MozReview-Commit-ID: 4k2dEEah1FR
2018-03-12 12:27:00 +01:00
Emilio Cobos Álvarez 918097c54e Bug 1444580: Remove reference to non-existing nsDocument::UpdateScreenOrientation. r=smaug
MozReview-Commit-ID: ABDg1WQSgzC
2018-03-12 12:26:58 +01:00
Emilio Cobos Álvarez 3888b4d73c Bug 1444580: Devirtualize UnblockDOMContentLoaded. r=smaug
MozReview-Commit-ID: I7t9glmVE7q
2018-03-12 12:26:57 +01:00
Emilio Cobos Álvarez b9d38b736d Bug 1444580: Devirtualize frame loader stuff. r=smaug
MozReview-Commit-ID: As1MOpvoaI6
2018-03-12 12:26:55 +01:00
Emilio Cobos Álvarez c8428d3e7e Bug 1444580: Devirtualize FlushSkinBindings. r=smaug
MozReview-Commit-ID: 556Wpm4QZeM
2018-03-12 12:26:53 +01:00
Emilio Cobos Álvarez 6f4ed12e9c Bug 1444580: Devirtualize NodesFromRectHelper. r=smaug
MozReview-Commit-ID: CbVY8ysExfi
2018-03-12 12:26:51 +01:00
Emilio Cobos Álvarez e00ebeda6a Bug 1444580: Move OnPageShow / OnPageHide to nsIDocument, devirtualize OnPageHide. r=smaug
MozReview-Commit-ID: HlOpJ8Rg9IG
2018-03-12 12:26:50 +01:00
Emilio Cobos Álvarez b6a3264fba Bug 1444580: Devirtualize CreateShell / DeleteShell. r=smaug
MozReview-Commit-ID: 9eC2IyQ4bEf
2018-03-12 12:26:48 +01:00
Emilio Cobos Álvarez ea16720d46 Bug 1444580: Devirtualize GetChannel. r=smaug
MozReview-Commit-ID: CIavtPA3s10
2018-03-12 12:26:47 +01:00
Emilio Cobos Álvarez 6fe64ed9a5 Bug 1444580: Devirtualize pointer lock and screen orientation stuff. r=smaug
MozReview-Commit-ID: HzJcrHFCsOK
2018-03-12 12:26:46 +01:00
Emilio Cobos Álvarez b7609d9cce Bug 1444580: Devirtualize the external resource stuff. r=smaug
This one was non-trivial, required me to move around the definition of
ExternalResourceLoad and such.

Modulo that, and that I had to redefine nsSubDocEnumCb, the rest is just moving
code around.

MozReview-Commit-ID: E96XX8vo2D8
2018-03-12 12:26:43 +01:00
Emilio Cobos Álvarez e8288c7a9e Bug 1444580: Devirtualize GetTemplateContentsOwner. r=smaug
MozReview-Commit-ID: 9I9BCcSUSfJ
2018-03-12 12:26:41 +01:00
Emilio Cobos Álvarez 2e71f7e670 Bug 1444580: Devirtualize event handling suppression stuff. r=smaug
MozReview-Commit-ID: 3tHJkzTc4gU
2018-03-12 12:26:40 +01:00
Emilio Cobos Álvarez 54f085ea7b Bug 1444580: Devirtualize more animation stuff. r=smaug
MozReview-Commit-ID: 4U6oIg81Pdw
2018-03-12 12:26:39 +01:00
Emilio Cobos Álvarez 64c7ec5de6 Bug 1444580: Devirtualize GetAnonymousElementByAttribute. r=smaug
MozReview-Commit-ID: JrfJV0CZbtO
2018-03-12 12:26:38 +01:00
Emilio Cobos Álvarez 8722f6ee6a Bug 1444580: Devirtualize GetBoxObjectFor / ClearBoxObjectFor. r=smaug
MozReview-Commit-ID: KQJfJ43R0FI
2018-03-12 12:26:37 +01:00
Emilio Cobos Álvarez c88524fad4 Bug 1444580: Devirtualize the preload / preconnect stuff. r=smaug
MozReview-Commit-ID: 1aUlsZVOrEu
2018-03-12 12:26:34 +01:00
Emilio Cobos Álvarez 7e3e8b7ca3 Bug 1444580: Devirtualize GetCurrentContentSink. r=smaug
Another easy one.

MozReview-Commit-ID: DJnTRYTiHwH
2018-03-12 12:26:32 +01:00
Emilio Cobos Álvarez 50b16abb7e Bug 1444580: Devirtualize the scroll to ref stuff. r=smaug
MozReview-Commit-ID: AhtY8Y684A9
2018-03-12 12:26:30 +01:00
Emilio Cobos Álvarez 5c084a2cca Bug 1444580: Devirtualize ScriptLoader. r=smaug
MozReview-Commit-ID: JleR4vgjtgN
2018-03-12 12:26:28 +01:00
Emilio Cobos Álvarez ce0c1fef02 Bug 1444580: Devirtualize Web Animations stuff. r=smaug
MozReview-Commit-ID: F96vf9GyElA
2018-03-12 12:26:26 +01:00
Emilio Cobos Álvarez a6d9ec45e1 Bug 1444580: Devirtualize plugins stuff. r=smaug
MozReview-Commit-ID: HsB8ZlEFD54
2018-03-12 12:26:24 +01:00
Emilio Cobos Álvarez 288a10bc0b Bug 1444580: Devirtualize GetRootElementInternal, and move nsINode overrides to nsIDocument. r=smaug
MozReview-Commit-ID: IlgHXhETOIa
2018-03-12 12:26:23 +01:00
Emilio Cobos Álvarez f73bf76b95 Bug 1444580: Devirtualize subdocument stuff. r=smaug
MozReview-Commit-ID: Hbh3j85JPKm
2018-03-12 12:26:21 +01:00
Emilio Cobos Álvarez 48d7f1f02e Bug 1444580: Devirtualize NotifyLayerManagerRecreated. r=smaug
MozReview-Commit-ID: 9KQ5mzD11Dr
2018-03-12 12:26:18 +01:00
Emilio Cobos Álvarez 8b439d19e0 Bug 1444580: Devirtualize GetStateObject. r=smaug
MozReview-Commit-ID: 3e55Tfky6N3
2018-03-12 12:26:17 +01:00
Emilio Cobos Álvarez 87f132ff06 Bug 1444580: Devirtualize the responsive content stuff. r=smaug
MozReview-Commit-ID: LCz01o31RoC
2018-03-12 12:26:16 +01:00
Emilio Cobos Álvarez cde280f7f4 Bug 1444580: Devirtualize FindImageMap. r=smaug
MozReview-Commit-ID: 4J6Yc3vW1Vf
2018-03-12 12:26:15 +01:00
Emilio Cobos Álvarez 837af28813 Bug 1444580: Devirtualize nsIDocument::CreateElement / CreateElementNS. r=smaug
MozReview-Commit-ID: KSd1xNIT7te
2018-03-12 12:26:13 +01:00
Emilio Cobos Álvarez 32156dc752 Bug 1444580: Devirtualize the IdentifierMap stuff. r=smaug
MozReview-Commit-ID: 5IIp95VEtvk
2018-03-12 12:26:11 +01:00
Emilio Cobos Álvarez 5ffef03826 Bug 1444580: Devirtualize GetImplementation. r=smaug
MozReview-Commit-ID: 2nsR595RotH
2018-03-12 12:26:10 +01:00
Emilio Cobos Álvarez 6100eb8087 Bug 1444580: Devirtualize the fullscreen stuff. r=smaug
MozReview-Commit-ID: CgPENqExkQh
2018-03-12 12:26:09 +01:00
Emilio Cobos Álvarez 0f6e1aec50 Bug 1444580: Devirtualize the visibility state stuff. r=smaug
Also rename GetVisibilityState to ComputeVisibilityState, since that's what it
does, the getter is VisibilityState.

MozReview-Commit-ID: 9qfKvUmO0dW
2018-03-12 12:26:07 +01:00
Emilio Cobos Álvarez ac1848dee7 Bug 1444580: Mark nsIDocument::Dispatch final. r=smaug
MozReview-Commit-ID: 1xAE0WF8IFN
2018-03-12 12:26:05 +01:00
Emilio Cobos Álvarez ee333aaf7e Bug 1444580: Devirtualize the IntersectionObserver bits. r=smaug
MozReview-Commit-ID: 65WtMQPu7f4
2018-03-12 12:26:03 +01:00
Emilio Cobos Álvarez 842e5cdf17 Bug 1444580: Devirtualize a few other things. r=smaug
SetScriptHandlingObject / GetScopeObject / GetWindowInternal /
GetScriptHandlingObjectInternal / GetScriptHandlingObject

MozReview-Commit-ID: Bx7cCo7wc0Y
2018-03-12 12:26:00 +01:00
Emilio Cobos Álvarez 0591ec07c1 Bug 1444580: Devirtualize IsScriptEnabled. r=smaug
MozReview-Commit-ID: FEhddLUXnO4
2018-03-12 12:25:58 +01:00
Emilio Cobos Álvarez c72085c513 Bug 1444580: Devirtualize PaymentRequest stuff. r=smaug
This one was easy, the bit was already in the right place :)

MozReview-Commit-ID: 79KJNsIXIyb
2018-03-12 12:25:56 +01:00
Emilio Cobos Álvarez 07907b44d5 Bug 1444580: Devirtualize autofocus and navigation timing stuff. r=smaug
MozReview-Commit-ID: K5Y9lxSJgOG
2018-03-12 12:25:54 +01:00
Emilio Cobos Álvarez 92ca1ace1b Bug 1444580: Devirtualize more nsIDocument bits. r=smaug
MozReview-Commit-ID: 5y1FgNb2NMB
2018-03-12 12:25:52 +01:00
Christoph Kerschbaumer d5a80a58d9 Bug 1443110: Add NullCheck for loadinfo within InitCSP. r=smaug
--HG--
extra : rebase_source : b2094c7185a76ada87cf4b3f9efd3359a1866438
2018-03-09 15:54:02 +01:00
Noemi Erli 40b1baaab5 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Mike Conley 106d68a34a Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 75f51378401f0ca63384a9df52a5e5f04e00bb9d
2018-02-28 16:15:51 -05:00
Boris Zbarsky 84e524739b Bug 1442040. Remove unnecessary classinfo for the nsIDOMXUL* interfaces. r=peterv
MozReview-Commit-ID: C4brIXnpiV0
2018-03-09 16:04:11 -05:00
mmr 9cae88d7a9 Bug 1443425: Removed unused variable shellGrip. r=emilio
Reviewer note: `shell` is already a strong reference, so no need for it.

MozReview-Commit-ID: 8IbcFOZxoAz
2018-03-09 12:16:39 +01:00
Dorel Luca 30edeead7c Merge mozilla-central to mozilla-inbound. a=merge 2018-03-09 12:01:54 +02:00
Nicholas Nethercote 0e2f1f5ab8 Bug 1444031 - Rename nsStaticAtom::mAtom as mAtomp. r=froydnj
Because (a) that name better indicates that it's a pointer to a pointer, and
(b) because nsStaticAtom::mString is going to be renamed as mAtom in bug
1411469.

MozReview-Commit-ID: D5tuNOstMgr

--HG--
extra : rebase_source : 9344eeea0288c8c52c069ce21e8bc55f6e0f3f6f
2018-03-08 11:42:06 +11:00
Nicholas Nethercote 8ac9830be0 Bug 1444031 - Rename Is{Static,Dynamic,HTML5}Atom. r=froydnj
By removing the "Atom" suffix, which is redundant.

MozReview-Commit-ID: 4MCX9Icfjrw

--HG--
extra : rebase_source : c3c759a508a8938b59d36dbb20448d2964b98c91
2018-03-07 15:17:34 +11:00
Hiroyuki Ikezoe 93d38258f6 Bug 1442817 - Don't flush throttled animations on getAnimations(). r=birtles
If the element has throttled animations that will be affected by pending style
changes, the throttled animations will be updated though sequential tasks after
normal styling process.  E.g. UpdateEffectProperties, UpdateCascadeResults etc.
So we don't need to flush them in advance of the sequential tasks.

The first test case in this patch fails without this fix.

MozReview-Commit-ID: GystAqK2bQE

--HG--
extra : rebase_source : c01160e14bb5a2984dcc4d63ec44d4d465b829a2
2018-03-09 09:38:40 +09:00
Hiroyuki Ikezoe 78ac3dcdb4 Bug 1442817 - Add another variant of nsDocument::FlushPendingNotifications which are able to skip to flushing throttled animations. r=birtles,emilio
MozReview-Commit-ID: BZ9yAoAmWBB

--HG--
extra : rebase_source : 4f240b042992b3f13f296ce932c0d9795407932f
2018-03-09 06:41:30 +09:00
Csoregi Natalia 4698787c09 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-09 02:19:49 +02:00
Ben Kelly 5cf84a8b75 Bug 1438211 P9 Remove nsPIDOMWindowInner::GetServiceWorkerRegistration() and InvalidateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : a02d0490415c01f7c3330de17f9040344b4b96d4
2018-03-02 13:02:50 -08:00
Ben Kelly 9e928c88fb Bug 1438211 P2 Implement nsGlobalWindowInner::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 7fa79752d66f9955f574e49e094cdd7fff512306
2018-03-02 13:02:49 -08:00
Ben Kelly 0c368d6063 Bug 1438211 P1 Add nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 50aca93e94142ee42dc4446164aeec1cb2b06c52
2018-03-02 13:02:49 -08:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Narcis Beleuzu d069c08959 Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout 2018-03-08 19:48:58 +02:00
Boris Zbarsky 15f6ca70fd Backed out changeset 52d86f152c2d because it included bits that shouldn't have been in there leading to a CLOSED TREE.
MozReview-Commit-ID: KWl43hdIGN2
2018-03-07 23:35:48 -05:00
Emilio Cobos Álvarez f0d07cb595 Bug 1443966: Add missing include for nsIContent::IsInChromeDocument. r=dholbert
Also mark the function properly as inline.

MozReview-Commit-ID: GJDVLsyfuLN

--HG--
extra : rebase_source : 8dd0b44fa4305dc55b8a0887b2e97453c4c2dfb6
2018-03-08 00:59:25 +01:00
Emilio Cobos Álvarez ff7e6d9b24 Bug 1443756: Devirtualize style-related nsIDocument methods. r=smaug
Summary: They have no particular reason to be virtual.

Reviewers: smaug

Bug #: 1443756

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

MozReview-Commit-ID: JN8MtfXvw3D
2018-03-07 23:57:04 +01:00
Emilio Cobos Álvarez 577e15bc04 Bug 1443790: Cleanup non-overridden virtual nsIContent methods. r=smaug
Summary: They're never overridden, so no need to be virtual.

Reviewers: smaug

Bug #: 1443790

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

MozReview-Commit-ID: 8gnzLTXKqdB
2018-03-07 23:54:09 +01:00
Eric Rahm 38563e186d Bug 1442480 - Switch nsNodeInfoHash to a nsDataHashTable. r=smaug
This switches `nsNodeInfoHash` to a nsDataHashTable. The hash function and
equality operator are moved to NodeInfoInner so that they can be easily reused.

--HG--
extra : rebase_source : d2e42447a77ffdde620508da28554528ebd78bf8
2018-03-01 15:33:52 -08:00
Boris Zbarsky f524da36b5 Bug 1444004. Implement Event.prototype.srcElement as an alias for .target, nightly-only. r=smaug
MozReview-Commit-ID: 4UMNqUBfUnp
2018-03-07 23:15:32 -05:00
Mike Conley b797442465 Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 283c263a33b924e50170ae26f049d98b825f6f1d
2018-02-28 16:15:51 -05:00
Johann Hofmann 6fc9759b14 Bug 1442560 - Add a note for deprecating passing a storage option to indexedDB.open(). r=asuth
MozReview-Commit-ID: 44yCmYrPP26

--HG--
extra : rebase_source : f087aeb9fdd608fbd0f38b4f846c24fa01dcdfa6
2018-03-05 20:01:00 +01:00
Brian Grinstead f61f2a79b7 Bug 1440729 - Include use counters for the console API r=baku
MozReview-Commit-ID: 9A1lllxW7lM

--HG--
extra : rebase_source : ae88ad6542a7bd1843f4c14975f8825a7c419724
2018-02-23 16:11:16 -08:00
Emilio Cobos Álvarez 5caaf1c9f3 Bug 1445682: Make Shadow DOM account for stylesheet applicableness correctly. r=xidorn
Summary:
Also, make stuff sound in presence of CSSOM and what not.

The dirty: false thing is reverting an accidental change that landed in the
de-XBL stuff, which was harmless, but now wouldn't let me assert stuff properly.

Reviewers: xidorn

Bug #: 1445682

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

MozReview-Commit-ID: K0W2Rv0qK8X
2018-03-19 15:50:31 +01:00
Mike Conley caf6b09a12 Bug 1423220 - Enable tab warming by default for Nightly builds. r=dao
MozReview-Commit-ID: 8bz1U1WSzy5

--HG--
extra : rebase_source : 191b554a473754f04df808236985e37363c9c399
extra : source : 664c633802d4cd0e2c32a271a2d29107b5b43f38
2018-01-31 12:10:03 -05:00
Mike Conley d8329d02dd Bug 1423220 - Enable tab warming by default for Nightly builds. r=dao
MozReview-Commit-ID: 8bz1U1WSzy5

--HG--
extra : rebase_source : e5068c4a0a9ac9c302c139e7cbca11fa47527ddb
2018-01-31 12:10:03 -05:00
Cosmin Sabou 5d28a4b342 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-28 12:56:23 +03:00
Andrea Marchesini cb4b451b23 Bug 1441141 - Update the StructuredCloneAlgorithm to follow the latest version of the spec, r=smaug, r=sfink 2018-03-28 09:23:17 +02:00
Andrea Marchesini 3d7e8db1bc Bug 1441141 - MessagePort cannot be cloned/transferred if disentanged, r=smaug 2018-03-28 09:23:17 +02:00
Andrea Marchesini 5784769019 Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug 2018-03-13 06:40:38 +01:00
Boris Zbarsky 5d37a40578 Bug 1444231. Fix QI implementation for FragmentOrElement. r=mccr8
MozReview-Commit-ID: 9mPO2ezk2Y7
2018-03-13 00:59:23 -04:00
Boris Zbarsky fd6e65d19e Bug 1415588 part 4. Move the .anchors getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 2uqt9cdz6y7
2018-03-12 21:44:57 -04:00
Boris Zbarsky f6f85bb529 Bug 1415588 part 3. Move the .links getter from HTMLDocument to Document. r=mystor
The null-checks in MatchLinks were working around code in nsDocument::Destroy
that was removed a while back in bug 341730.

MozReview-Commit-ID: 2SMmGr83GCB
2018-03-12 21:44:56 -04:00
Boris Zbarsky d5f5a95c81 Bug 1415588 part 2. Move the .images, .embeds, .plugins, .forms, .scripts, .applets getters from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: Db7iazZUz8g
2018-03-12 21:44:56 -04:00
Boris Zbarsky f3daf97dc7 Bug 1415588 part 1. Move the .head getter from HTMLDocument to Document. r=mystor
MozReview-Commit-ID: 5SW47hfE9dl
2018-03-12 21:44:56 -04:00
Dave Townsend c70f34995e Bug 1421070: Always enable custom elements in chrome. r=smaug, rs=MattN
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.

MozReview-Commit-ID: CMiLzmp60jA

--HG--
extra : rebase_source : 735688061116c633b816f4f9d488712408df11a5
extra : source : 794ee6857d83dfe0b18629c12e96a622fc899586
2017-10-20 11:02:33 -07:00
Boris Zbarsky 20e0796330 Bug 1447472 part 3. Remove nsIDOMNSEvent. r=qdot
MozReview-Commit-ID: HT1gskFxEZL
2018-03-26 14:53:53 -04:00
Boris Zbarsky 37b111ac2a Bug 1447472 part 2. Remove nsIDOMCustomEvent. r=qdot
MozReview-Commit-ID: 3NPqLIU8cka
2018-03-26 14:53:51 -04:00
Boris Zbarsky 5b0b5358d6 Bug 1446527 part 6. Remove nsIDOMUIEvent. r=qdot
MozReview-Commit-ID: 7GbifGJQUtQ
2018-03-26 14:53:03 -04:00
Boris Zbarsky 52e43d31ed Bug 1447961. Fix the beta-and-release-only controllers shim code to actually compile. r=mystor
MozReview-Commit-ID: AreiVNKWg5L
2018-03-26 08:27:20 -04:00
Dave Townsend 2626e1c261 Bug 1421070: Always enable custom elements in chrome. r=smaug
This allows custom elements to work in any document in the parent process that
allows XUL and XBL. The test takes the easy option of moving the existing XUL
custom element test to a run with the custom element pref disabled.

MozReview-Commit-ID: CMiLzmp60jA

--HG--
extra : rebase_source : b9632de82cf79c1df15be09fadf1d25817c8a894
extra : amend_source : 235a76453d1d6782903d5051ee8e234b965dcc36
2017-10-20 11:02:33 -07:00
Ben Kelly 6c73c2345a Bug 1448012 P1 Add ServiceWorkerContainer::Create() factory method. r=asuth 2018-03-22 13:03:22 -07:00
Peter Van der Beken e673e5f508 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 5: Convert MessageManager globals to WebIDL. r=bz.
The change in browser_net_view-source-debugger.js is needed because we now use WebIDL callbacks for MessageListener, and they add async creation stack frames.

--HG--
extra : rebase_source : 0adb349b40a0c51bb3d8f4b9b7d98106a3929cbd
extra : source : a88d94ec010a12c1d829708aaf59a85609478477
2017-07-19 14:59:02 +02:00
Robert Longson 797f6cb1a6 Bug 1325320 part 3 - move GetPathLengthScale to SVGGeometryElement and convert callers of SVGPathElement methods to work on the base SVGGeometryElement class and work for all shapes, not just paths r=dholbert 2018-03-13 19:52:03 +00:00
Peter Van der Beken 5ad9618d7c Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 4: Convert MessageManager to WebIDL. r=bz.
--HG--
extra : rebase_source : aa7aa3a5f720b5a4f6ff88e41eb9e80ffb9092cd
2017-06-20 11:09:50 +02:00
Peter Van der Beken 50944763eb Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 3: Add message manager concrete classes for WebIDL. r=bz.
--HG--
extra : rebase_source : 15d951ed53530387235db2aa1f3dad69d16c9fa7
2017-06-14 16:44:17 +02:00
Tom Ritter af7fec51f8 Bug 1442940 Turn off jitter for dom/base/test/test_timeout_clamp.html which is (likely) causing intermittents r=baku
MozReview-Commit-ID: 9nfiBbqsATT

--HG--
extra : rebase_source : c164ddc0d284aa864fef328d41e6694ae0969bfe
2018-03-06 11:10:10 -06:00
Emilio Cobos Álvarez 57591e34dd Bug 1443553: Devirtualize BeginUpdate, FlushPendingNotifications, CreatorParserOrNull. r=smaug
MozReview-Commit-ID: FzPcHcyzJ02
2018-03-07 11:22:51 +01:00
Emilio Cobos Álvarez 44c8fa419b Bug 1443553: Devirtualize ContentStateChanged / DocumentStatesChanged / StyleRule*. r=smaug
MozReview-Commit-ID: RE6rrBQMMU
2018-03-07 11:21:51 +01:00
Emilio Cobos Álvarez cd0b749f03 Bug 1443553: Devirtualize nsIDocument::AddObserver / RemoveObserver. r=smaug
MozReview-Commit-ID: 8JeFLusnIQd
2018-03-07 11:20:43 +01:00
Emilio Cobos Álvarez c976615ed6 Bug 1024082: Remove PresShell::FrameManager(), use PresShell::FrameConstructor instead. r=dholbert
Unfortunately this means that we need to export a couple more headers, but that
should be ok.

In particular, we have to export some headers that are #included by
nsCSSFrameConstructor.h, because nsCSSFrameConstructor.h itself will now be
included in more places outside of layout/, by .cpp files that don't necessarily
have the ability to indirectly #include its other headers, unless we export
them.

MozReview-Commit-ID: 2n9KHW6Yjrd
2018-03-07 10:17:52 +01:00
Emilio Cobos Álvarez 043503a6d4 Bug 1024082: Remove most of the nsIPresShell::FrameManager calls. r=dholbert
Most of them just want GetRootFrame(), and there's no need to explicitly go
through the frame manager for that, we have a handy alias in the shell.

MozReview-Commit-ID: GriEqkasidY
2018-03-07 10:17:49 +01:00
Andreea Pavel 9b1570bb80 Backed out 3 changesets (bug 1326028) for wpt bustage in custom-elements/CustomElementRegistry.html on a CLOSED TREE
Backed out changeset 38057b774238 (bug 1326028)
Backed out changeset ab4ee52d5a81 (bug 1326028)
Backed out changeset 414efc66b026 (bug 1326028)
2018-03-07 08:07:28 +02:00
Xidorn Quan 61a8907506 Bug 1443483 followup - Fix lint warning about virtual function keywords. 2018-03-07 14:33:28 +11:00
Emilio Cobos Álvarez 41e05df804 Bug 1443483: FlushTarget doesn't really make sense. r=xidorn
Summary:
FlushTarget wants to decide whether we should flush the parent document or all
of them. However, the only point of flushing parent documents is that media
query changes could affect the document we really want to flush.

That's completely pointless if we actually don't flush the subdocument, so just
skip doing that. This case is already checked (see the DocumentNeedsRestyle
stuff, which is also somewhat poorly named, which walks up the document chain).

Reviewers: xidorn

Bug #: 1443483

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

MozReview-Commit-ID: LiI7IrUBeqq
2018-03-07 01:09:46 +01:00
Blake Kaplan 3b005f58b3 bug 1326028 - Upgrade elements in the right order. r=smaug
MozReview-Commit-ID: 4u5PipUqN0j

--HG--
extra : rebase_source : 9aa33ff7dddc16ed153ff4673d05fd74bdef9ac6
2018-02-21 16:43:09 -08:00
Dorel Luca 0e437cae41 Merge mozilla-central to mozilla-inbound 2018-03-06 20:46:45 +02:00
Dorel Luca 7c931df4f2 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-06 20:35:53 +02:00
Dorel Luca f3a72771ea Merge autoland to mozilla-central. a=merge 2018-03-06 20:33:50 +02:00
Stephen A Pohl 54c0a8cff6 Bug 1362303: Avoid crashes when dragging on macOS due to failed allocations of large shmem segments. r=glandium 2018-03-06 13:21:54 -05:00
Kartikaya Gupta 45d31fa895 Bug 1442627 - Stop exporting APZCTreeManager.h in mozilla/layers/. r=botond
MozReview-Commit-ID: GC5fSWOYtF5

--HG--
extra : rebase_source : e2dfe679595bf9208e082699a99375cd509b66e3
2018-03-06 10:25:39 -05:00
Cosmin Sabou 1611e7fc4f Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-06 06:31:37 +02:00
Olli Pettay 51b6aa1b21 Bug 1066965, make contentEditable and spellchecking to work in ShadowDOM, r=mrbkap 2018-03-06 09:34:40 +09:00
Tom Ritter 3c7ad292ee Bug 1443252 - Make nsGlobalWindowInner/Outer final to reduce build times. r=mystor
In Bug 1332680 we got a list of classes and methods we could mark 'final',
as suggested by an LTO build of gcc. One of the items on that list was
nsGlobalWindowInner and nsGlobalWindowOuter, with quite a lot of virtual
calls:

> dom/base/nsGlobalWindowInner.h:206:7: warning: Declaring type 'struct nsGlobalWindowInner' final would enable devirtualization of 483 calls
> dom/base/nsGlobalWindowOuter.h:164:7: warning: Declaring type 'struct nsGlobalWindowOuter' final would enable devirtualization of 143 calls

After trying it out, we saw a modest improvement to a single Talos tes
(displaylist mutate got 4-8.5% better). That's not the interesting
thing though.

For Linux and OSX (and some flavors of Android) build times were reduced
by half across the board. They're a bit variable of course, but 30-70%
improvements are shown by Talos. Windows and other flavors of Android
show 10-15% improvements.

MozReview-Commit-ID: GlEGBt2JOTt
2018-03-02 09:30:03 -06:00
Hiroyuki Ikezoe 0476fc2aa7 Bug 1442861 - Clear mNeedStyleFlush flag after ProcessPendingRestyles(). r=emilio
mNeedStyleFlush is also set by animation restyle request.  So it's possible
that the flag is set again in PostRestyleForThrottledAnimations() or in
sequential tasks for updating animations after the flag is cleared at the top
DoFlushPendingNotifications().

MozReview-Commit-ID: KPSS6cJb4HX

--HG--
extra : rebase_source : 31d839f12b654d52b352cd50e19bc1953c46b7c2
2018-03-06 06:34:02 +09:00
Christian Holler 0d3ff9caec Bug 1440627 - Use fallible setLength in StructuredCloneHolder. r=baku 2018-02-23 14:57:00 +01:00
Christian Holler a7aaab24d3 Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku 2018-02-23 14:51:26 +01:00
Zibi Braniecki 8313ce3a74 Bug 1363862 - Add Node.localize API as a fast-path for Fluent DOM localization. r=baku
MozReview-Commit-ID: 6mj0q21Nbey

--HG--
extra : rebase_source : 3da2ba3b712f4708f57cc859c28e3dd996208ca5
2018-02-21 14:07:53 -08:00
Christoph Kerschbaumer d0bbab23a2 Bug 1430751 - Apply unified behavior model for about: pages to about:privatebrowsing. r=gijs,mrbkap 2018-03-05 09:20:34 +01:00
Olli Pettay 2439836b37 Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
Olli Pettay 3faf40c897 Bug 1425864 - Ensure printing documents which have ShadowDOM works, r=mrbkap,emilio 2018-03-04 19:41:13 +09:00
Dorel Luca 86acaf1c1a Merge autoland to mozilla-central. a=merge 2018-03-04 12:02:42 +02:00
Tooru Fujisawa 499d3077f5 Bug 1442218 - Defer MicroTask checkpoint to the outside of loop in nsGlobalWindowInner::CallDocumentFlushedResolvers and nsGlobalWindowInner::CancelDocumentFlushedResolvers, and add observer if Promise callbacks adds document flushed resolvers. r=bz 2018-03-03 20:37:59 +09:00
Valentin Gosu f102a081b2 Bug 1434163 - Make all nsIURI attributes readonly r=mayhemer
MozReview-Commit-ID: KtjO8VWjPF5

--HG--
extra : rebase_source : 061a6db73e36b3a0b3732d44379bbc10e8268f9a
2018-02-27 00:07:48 +01:00
shindli 68a1ed26ac Merge autoland to mozilla-central. a=merge 2018-03-03 01:05:23 +02:00
Boris Zbarsky 908e366238 Back out rev b89286a88588 (bug 1442344) for hitting the MOZ_CRASH on Android opt builds.
MozReview-Commit-ID: F7zCmO5zDUq
2018-03-02 12:27:48 -05:00
Ciure Andrei 199c24a789 Merge inbound to mozilla-central. a=merge 2018-03-02 12:16:06 +02:00
Xidorn Quan 5b522decf1 Bug 1441729 - Remove aTextIsSignificant param from nsStyleUtil::IsSignificantChild and its friends. r=emilio
MozReview-Commit-ID: CEZmAwcnglg

--HG--
extra : rebase_source : 4b5526baaf6a5fdee658ae5bdecb46e719bb2d38
2018-02-28 12:54:01 +11:00
Kris Maglione 69844a6fbb Bug 1441333: Part 3 - Add helper to create a JS error with a saved stack. r=bz
There's no standard way to create a JS error with full stack and location
information from a saved stack. Since we need this functionality in order to
reject promises with useful Error objects, this patch adds a simple helper to
make that possible.

MozReview-Commit-ID: FyGuo4UjfsQ

--HG--
extra : rebase_source : 65ef11c56f23e04ea5eeb87b972bfc8e4867fdd2
2018-03-01 14:00:00 -08:00
Timothy Guan-tin Chien 5dbdc07e62 Bug 1439778 - Move XBL accessibility role="xul:panel" into XULMap.h r=surkov
MozReview-Commit-ID: LqdGEZqRTWA

--HG--
extra : rebase_source : 3c09fad59731eca97024bf52f68180c254c4e8ee
extra : source : adbe14b1537b1cb1ec3f390ed3703edbfeb799d8
2018-03-01 13:21:00 -08:00
Blake Kaplan eadd91cbee Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh

--HG--
extra : rebase_source : 4884a91ec9fc64107c3406d3199fe05857210997
2018-03-01 11:26:54 -08:00
Sebastian Hengst 118e03a936 merge mozilla-central to mozilla-inbound 2018-03-01 20:32:20 +02:00
Tiberius Oros 61d400da1c Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Csoregi Natalia 1fd0486e23 Backed out 7 changesets (bug 1193394) for browser-chrome failures on browser_ext_popup_background.js. CLOSED TREE
Backed out changeset 9683f24ff8ec (bug 1193394)
Backed out changeset 0e7140a7c841 (bug 1193394)
Backed out changeset a0e26f6b2784 (bug 1193394)
Backed out changeset 29e1fceaf48d (bug 1193394)
Backed out changeset b8632bbbd273 (bug 1193394)
Backed out changeset a54ef2d8f896 (bug 1193394)
Backed out changeset 55c94c05c57f (bug 1193394)
2018-03-01 16:29:02 +02:00
Sebastian Hengst 6098a3cc4d merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-03-01 12:29:42 +02:00
Sebastian Hengst 3a10644021 Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)

--HG--
extra : histedit_source : 791b22f6770f4fead2f909478a93d65d85829fe0%2Cbb387309e90f53e1dde45dcf8cf4ebedcc6e5c5e
2018-03-01 11:51:09 +02:00
Bobby Holley a584615963 Bug 1438974 - Separate synchronous stylesheet parsing into a separate path. r=bz
This will allow us to make the regular path fully asynchronous.

MozReview-Commit-ID: 6ZurtiNQPZK
2018-02-28 10:43:12 -08:00
Bobby Holley 2ba333893c Bug 1441896 - Pass an explicit parent SheetLoadData for child stylesheet loads. r=bz CLOSED TREE
MozReview-Commit-ID: 7XNu42NtITm
2018-02-28 10:09:00 +02:00
Florian Quèze f3ee8dd20b Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:35 +01:00
Florian Quèze c546946f86 Bug 1433175 - remove by hands some variations of Cc,Ci,Cu definitions, r=Standard8. 2018-02-28 18:51:34 +01:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Sebastian Hengst 769222fadf merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser.js
2018-02-28 12:54:12 +02:00
Sebastian Hengst 9b6b3d7b3b merge mozilla-central to autoland 2018-03-01 12:27:56 +02:00
Tooru Fujisawa 81d283c5de Bug 1435908 - Part 1: Get triggering principal before loop, and use URI fixup to create URI from given string. r=Gijs 2018-02-28 10:36:43 +09:00
Tooru Fujisawa 869b614794 Bug 1319157 - Check each URIs for home button. r=Gijs 2018-02-28 10:36:43 +09:00
Tooru Fujisawa dab0695a9b Bug 1435910 - Part 2: Open either URIs or single search when dropping multiple-line text. r=Gijs 2018-02-28 10:36:43 +09:00
Bogdan Tara 52316bbce3 Backed out changeset b235338be4d9 (bug 1404297) for build bustages on /builds/worker/workspace/build/src/dom/base/nsDocument.cpp a=backout CLOSED TREE 2018-02-28 01:42:50 +02:00
Blake Kaplan 4eb24aab7b Bug 1404297 - Change the way we iterate over our links to update. r=smaug
MozReview-Commit-ID: BTADrB9itjh

--HG--
extra : rebase_source : 858f50bdbe2c35541b6a1975b0814e560db254c8
2018-02-27 17:54:00 -05:00
Andreea Pavel fa0861e443 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-02-28 00:24:02 +02:00
Emilio Cobos Álvarez f3344c9f7b Bug 1425759: Update test expectations. r=smaug,xidorn
This is enough to get the stylo-enabled build green.

There's still some orange in WPT with stylo disabled (due to interfaces not
exposed and that) that I'll update tomorrow.

Will send a different patch on top of this for that, though I'll land together.

MozReview-Commit-ID: CsN5CM93RUz
2018-02-27 12:39:58 +01:00
Emilio Cobos Álvarez 6c417367d6 Bug 1425759: Make Shadow DOM not use XBL anymore. r=smaug,xidorn
More improvements to come. In particular, this still iterates through Shadow DOM
in each_xbl_cascade_data, but that should be changed later. That allows to
cleanup a bunch of stuff and finally fix Shadow DOM cascade order.

We still rely on the binding parent to be setup properly in the shadow tree, but
that requirement can go away later (we can walk the containing shadow chain
instead).

This mostly focuses on removing the XBL binding from the Shadow host.

It'd be nice to do EnumerateShadowRoots faster. I think that should also be a
followup, if needed.

MozReview-Commit-ID: Jf2iGvLC5de
2018-02-27 12:39:35 +01:00
Emilio Cobos Álvarez a38c782d93 Bug 1425759: Make ChildIterator handle Shadow DOM explicitly. r=smaug
I'll rename mIsXBLInvolved in a bit, since I plan to do more changes here in
bug 1422653.

MozReview-Commit-ID: JCeAgk2DoY4
2018-02-27 12:39:30 +01:00
Emilio Cobos Álvarez 0459204d7c Bug 1425759: Make Shadow DOM Stylo-only. r=smaug
I don't plan to fix this stuff up on the old style system.

MozReview-Commit-ID: E7Ayatwsw4E
2018-02-27 12:39:25 +01:00
Emilio Cobos Álvarez c03ffd9c62 Bug 1425759: Simplify the style backend type setup. r=bholley
Now that what we use to decide whether a document is styled by Servo are only
prefs and the doc principal, we don't need to inherit the style backend type,
since unless the pref has changed, the result will be the same.

MozReview-Commit-ID: KBmeBn1cRne
2018-02-27 12:39:20 +01:00
Peter Van der Beken 6cf0e1c871 Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
--HG--
extra : rebase_source : f6f781b04923f67f60718706a78b3c4de15eca94
2018-02-22 20:22:29 +01:00
Emilio Cobos Álvarez ac779f9004 Bug 1439395: Avoid leaving an stale restyle root if there's no servo data on it. r=bholley
If a single element is inserted in the document, from the lazy frame
construction path we mark it as the restyle root.

It has no restyle data, and we weren't calling ClearServoData when its parent
was being removed from ClearServoDataFromSubtree, thus leaving the stale restyle
root.

MozReview-Commit-ID: GY812b8tDk0

--HG--
extra : rebase_source : e6d1035e7d3a72b931aa53ac8dcbf7db58982479
2018-02-26 18:50:19 +01:00
Emilio Cobos Álvarez f3fc2e4852 Bug 1439395: Clear Servo data only when the DOM is in a consistent state. r=bholley
We used to do it this way effectively until I fixed it in bug 1400936.

Per the list of fuzz bugs that bug has in the "Depends on" field, some of those
without a super-clear fix, and others that aren't listed in there, and all the
complexity we had to deal with while receiving restyle requests mid-unbind, etc,
I think this is the right call.

This clears data on RestyleManager::ContentRemoved for non-anonymous nodes, and
on UnbindFromTree for subtrees rooted at anonymous nodes.

This will hopefully yield enforceable invariants.

MozReview-Commit-ID: IMwX5Uh1apv

--HG--
extra : rebase_source : 6cafc4499c9b80cbc96f1c4d1496e524f59e3c4d
2018-02-19 14:46:38 +01:00
Emilio Cobos Álvarez 9f26540cc4 Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
It's not intended to be mutated.

MozReview-Commit-ID: 5nkD1YkidlV

--HG--
extra : rebase_source : 810d429208fa3eaf30e220e77a7d27107cb77346
2018-02-27 15:30:27 +01:00
Valentin Gosu ed218f0a19 Bug 1433958 - Change code that sets nsIURI.scheme to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GgyIkZSG2y3

--HG--
extra : rebase_source : 5398a29d8cb910c909ed88e1a6cbd9fd63e6b745
2018-02-26 20:43:47 +01:00
Valentin Gosu 27e9e0be9f Bug 1433958 - Change code that sets nsIURI.host to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7T5gCu8WOfa

--HG--
extra : rebase_source : 752c34e5f9dde2e16fc9243c11860b987acbcb93
2018-02-26 20:43:47 +01:00
Valentin Gosu 7f3b09b694 Bug 1433958 - Change code that sets nsIURI.port to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7Lu7JJvDUGF

--HG--
extra : rebase_source : 8d5a9bb1c4a5a525f7c5bc8d07c1e7029d2029a3
2018-02-26 20:43:46 +01:00
Valentin Gosu 4c1c2d2005 Bug 1433958 - Change code that sets nsIURI.ref to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 4caicZFBkcQ

--HG--
extra : rebase_source : fe32f156392a9e0ce69fa6030278eaca43a69482
2018-02-26 20:43:46 +01:00
Valentin Gosu 55537212a8 Bug 1433958 - Change code that sets nsIURI.password to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: I8igxClMM5L

--HG--
extra : rebase_source : edca02a7b10ab2e9f5f5498a1164890b9aa75985
2018-02-26 20:43:46 +01:00
Valentin Gosu 8617010c5f Bug 1433958 - Change code that sets nsIURI.username to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: 7E63pAIOZCs

--HG--
extra : rebase_source : 54164efbc967146f4811552498aea5e5db1edfc2
2018-02-26 20:43:46 +01:00
Valentin Gosu 910fb72867 Bug 1433958 - Change code that calls nsIURI.setQueryWithEncoding to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: crYLGLcsk6

--HG--
extra : rebase_source : db2165ae51a39b852c640d677771109df6d1e579
2018-02-26 20:43:45 +01:00
Valentin Gosu 710c2e2fc9 Bug 1433958 - Change code that sets nsIURI.filePath to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: GYHpakKPEbe

--HG--
extra : rebase_source : 521966b446284fbe215dfc8518acafc5de9ded5c
2018-02-26 20:43:45 +01:00
Valentin Gosu 7bd0336d01 Bug 1433958 - Change code that sets nsIURI.pathQueryRef to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: HVyZ3E1XuLN

--HG--
extra : rebase_source : fd122b3122e0f3eb371d429bd86ad35d09dcfbf6
2018-02-26 20:43:45 +01:00
Valentin Gosu b563071323 Bug 1433958 - Change code that uses nsIURI.hostPort to use nsIURIMutator r=mayhemer
MozReview-Commit-ID: IuUurzUP5Rw

--HG--
extra : rebase_source : 5c1fd0938613247b6bb24ef11b57307f3bf24fae
2018-02-26 20:43:45 +01:00
Tom Ritter f98bfacba8 Bug 1376865 Automatically decline the canvas permission if it is not in response to user input r=baku
The canvas prompt is extremely annoying. It happens everyone, automatically. And in
99.9% (not scientific) of cases it is not triggered by user input, but my automatic
tracking scripts.

This commit will automatically decline the canvas read if it was not triggered by
user input.

Just in case this breaks something irrepairably, we have a cutoff pref.

We don't intend to keep this pref forever, and have asked anyone who sets it to
tell us why.

MozReview-Commit-ID: CxNkuraRWpV

--HG--
extra : rebase_source : 12cfc94cecbd378c0859ae50066c6338bcaa6692
2018-02-17 13:53:05 -06:00
Adrian Wielgosik 9dae626b64 Bug 659610 - Remove nsGenericHTMLElement::SetAttrHelper and related helper macros. r=qdot
The only remaining instance of NS_IMPL_BOOL_ATTR macro was expanded by hand.

MozReview-Commit-ID: DQ8fGGNTl3y

--HG--
extra : rebase_source : 9ab13bd3e0702b518f8ec8418f2a7a9861ad5062
2018-02-24 20:20:23 +01:00
Emilio Cobos Álvarez 02b71da95a Bug 1441014: Deindent / Simplify some code for slot removal. r=smaug
MozReview-Commit-ID: LcbZSXnbVLL

--HG--
extra : rebase_source : 4837bad53294892b7b625f565e99b14a75cb3a5c
2018-02-25 17:33:28 +01:00
Emilio Cobos Álvarez 0ad7abf15e Bug 1441009: Don't null-check OwnerDoc. r=smaug
Can't return null.

MozReview-Commit-ID: JzcNwmsCxIu
2018-02-26 00:31:42 +01:00
Xidorn Quan d6a3786a64 Bug 1440221 - Track stale computed values and style structs held by undisplayed maps in memory report. r=emilio,njn
MozReview-Commit-ID: 8eXowQvUjyi

--HG--
extra : rebase_source : cb5ba6598e90d9600983aad7f1fff4ff361e8af7
2018-02-22 23:19:50 +11:00