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

17958 Коммитов

Автор SHA1 Сообщение Дата
John Dai e65b6abd33 Bug 1513876 - Implement register a toplevel window global actor. r=nika
Implement register a toplevel window global actor.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 16:45:42 +00:00
Jorg K 64e5de9372 Bug 1353867 - Follow-up, take 2: revert rev c9a17c8a3c3f and add include of WindowProxyHolder.h where it was missing. r=bz 2019-01-03 09:11:00 +02:00
Ciure Andrei 7a748ae68f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-04 01:03:06 +02:00
Ciure Andrei a8af06aea2 Merge inbound to mozilla-central. a=merge 2019-01-04 00:04:46 +02:00
Daniel Varga 1234d893b3 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-01-03 18:26:38 +02:00
Daniel Varga 6475e7a21d Merge mozilla-inbound to mozilla-central. a=merge 2019-01-03 18:22:07 +02:00
Nika Layzell eded746df2 Bug 1513975 - Add ChromeUtils.releaseAssert for Chrome JS, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D15607

--HG--
extra : moz-landing-system : lando
2019-01-03 15:43:06 +00:00
Boris Zbarsky 058f83508f Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D15673

--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Tom Schuster 1ef618a06f Bug 571074 - Refactor nsContentUtils::TransferableToIPCTransferable to make error handling more obvious. r=smaug
While trying to handle a failed GetTransferData call I made some mistake, mostly because this function has incredibily
confusing control flow. I would actually assume some of its current behavior is not intentional.

For this we assume that data == nullptr <-> NS_FAILED(rv), this is probably not 100% correct, but doesn't seem to
matter in practice. (This is a change in behavior that is intentional, because we want to check return value)

If we trace the data == nullptr case through the old code, we realize that for aInSyncMessage we will just continue.
(This is because nullptr doesn't queryInterface to anything)

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

--HG--
extra : moz-landing-system : lando
2019-01-03 16:58:40 +00:00
Jeff Walden 87aba62a4a Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai 2019-01-03 15:37:01 -06:00
Jan de Mooij 3e7306f81a Bug 1514210 part 2 - Use the privileged junk scope's compartment for windows created with the system principal. r=bzbarsky
Depends on D15290

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

--HG--
extra : moz-landing-system : lando
2018-12-28 11:25:48 +00:00
Botond Ballo f179255747 Bug 1513232 - Avoid clamping the layout viewport size to be larger than the display size. r=kats
The clamping is intended to be a safeguard against extreme values in the
meta viewport tag. If the layout viewport is sized to the display size,
avoid the clamping, since the display size could legitimately be small
(e.g. in Android 8's picture-in-picture mode).

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

--HG--
extra : moz-landing-system : lando
2019-01-03 05:53:52 +00:00
Bogdan Tara 954395da08 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-01-02 23:41:59 +02:00
Olli Pettay 12ee1c0884 Bug 1517221, explicitly break down pending mutation record list, r=mccr8 2019-01-02 21:36:39 +02:00
Peter Van der Beken 066d891adb Bug 1353867 - Add cross-process proxies for WindowProxy. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12656

--HG--
extra : moz-landing-system : lando
2019-01-02 13:29:18 +00:00
Peter Van der Beken 05c586c0a9 Bug 1353867 - Split up PostMessage into two parts, one gathering information from the source and one gathering information from the target. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D12652

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:33 +00:00
Peter Van der Beken 58c7fc4d20 Bug 1353867 - Change WindowProxyHolder's native type to BrowsingContext. r=bzbarsky
Make the WindowProxyHolder hold a strong reference to a BrowsingContext, as in the future
we might not have a nsPIDOMWindowOuter (if the document is loaded in a different process).

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:27:05 +00:00
Peter Van der Beken a17049feac Bug 1353867 - Change WindowProxy type. r=bzbarsky
Add a WindowProxyHolder type and generate binding code that takes or returns it whenever
the WebIDL refers to the WindowProxy type. This patch just makes the WindowProxyHolder
hold a strong reference to a nsPIDOMWindowOuter.

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

--HG--
extra : moz-landing-system : lando
2019-01-02 13:26:56 +00:00
Sebastian Hengst 170b152315 No bug - Fix issue from merge conflict by adding '}'. CLOSED TREE 2019-01-04 19:44:01 +02:00
Cosmin Sabou 3b1edf526b Merge mozilla-central to mozilla-inbound.
--HG--
rename : toolkit/modules/Task.jsm => toolkit/modules/tests/modules/Task.jsm
extra : rebase_source : 52141f691cc72d4a80c7c5d4d35aad67a51b660d
2019-01-04 18:38:34 +02:00
Andrea Marchesini ab2574b4d1 Bug 1517368 - Expose PopupBlocker status via ChromeUtils, r=smaug 2019-01-04 16:16:59 +01:00
Andrea Marchesini 467a80d06b Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 2 - Cleanup Flash classification, r=dimi, r=edgar 2019-01-04 14:45:53 +01:00
Narcis Beleuzu 0ee0b63732 Merge inbound to mozilla-central. a=merge 2019-01-02 11:43:36 +02:00
longsonr ade1b15610 Bug 1517108 - Move nsSMILTimeContainer, nsSMILMilestone and nsSMILTargetIdentifier to the mozilla namespace r=bbirtles
--HG--
rename : dom/smil/nsSMILMilestone.h => dom/smil/SMILMilestone.h
rename : dom/smil/nsSMILTargetIdentifier.h => dom/smil/SMILTargetIdentifier.h
rename : dom/smil/nsSMILTimeContainer.cpp => dom/smil/SMILTimeContainer.cpp
rename : dom/smil/nsSMILTimeContainer.h => dom/smil/SMILTimeContainer.h
2019-01-02 07:21:13 +00:00
longsonr 477d3cab33 Bug 1516727 - Part 4 move SVGAngle to the mozilla namespace r=jwatt 2019-01-01 21:01:19 +00:00
Boris Zbarsky b7c8308871 Bug 1516560. Stop trying to do DOM proxy caching for DOM proxies with dynamic prototypes. r=jandem
This only affects Location.

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

--HG--
extra : moz-landing-system : lando
2018-12-31 16:16:00 +00:00
Daniel Varga 6aa9c556dc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-31 23:27:53 +02:00
Daniel Varga f6510e6ac9 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-31 23:24:52 +02:00
longsonr e6ae298fff Bug 1516727 - Part 3 rename nsSVGAngle to SVGAngle r=jwatt
--HG--
rename : dom/svg/nsSVGAngle.cpp => dom/svg/SVGAngle.cpp
rename : dom/svg/nsSVGAngle.h => dom/svg/SVGAngle.h
2018-12-31 19:00:42 +00:00
Olli Pettay b63ca79965 bug 1514802, break down MutationRecords list so that cycle collector can delete the objects sooner, r=mccr8 2018-12-31 19:13:13 +02:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Henri Sivonen 9b22c1e70e Bug 1512758. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14141

--HG--
extra : moz-landing-system : lando
2018-12-20 09:15:58 +00:00
longsonr d03099b507 Bug 1516921 - export things in the mozilla namespace properly r=jwatt 2018-12-31 11:56:52 +00:00
Cosmin Sabou fc229ed2c7 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-30 11:31:03 +02:00
Hiroyuki Ikezoe c8743de655 Bug 1516368 - Unite ChangeOrigin::eRestore and eOther as ChangeOrigin::eMainThread. r=botond
Depends on D15340

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

--HG--
extra : moz-landing-system : lando
2018-12-30 02:45:47 +00:00
Hiroyuki Ikezoe 529616ef3a Bug 1516368 - Change SetResolutionAndScaleTo to take an enum instead of an nsAtoms*. r=botond
There is no reason to use nsAtoms*, it's error prone, i.e. the function
can take arbitrary nsAtoms*.

Depends on D15339

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

--HG--
extra : moz-landing-system : lando
2018-12-30 02:16:42 +00:00
Hiroyuki Ikezoe 1cee88971a Bug 1516368 - Drop nsIDOMWindowUtils.isResolutionSet. r=botond
It's been unused since bug 1337325.

Depends on D15338

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

--HG--
extra : moz-landing-system : lando
2018-12-30 02:16:30 +00:00
Emilio Cobos Álvarez 006a4ab94a Bug 1516366 - Move nsOnloadBlocker and nsDocumentOnStack to nsDocument.cpp, and shrink nsDocument.h to the minimmum. r=smaug
This needs to add a few of includes in other places which were relying on the
massive (now gone) list in nsDocument.h.

I also needed to move an AnimationTimeline destructor out of line because it
relied on dom::Animation being defined, yet Animation.h includes
AnimationTimeline.h, so include hell.

Differential Revision: https://phabricator.services.mozilla.com/D15366
2018-12-29 20:41:42 +01:00
Emilio Cobos Álvarez b833919871 Bug 1516366 - Move CC / nsISupports bits to nsIDocument. r=smaug
This allows us to remove the MOZ_CRASH-ing implementation I added earlier in
this series.

Differential Revision: https://phabricator.services.mozilla.com/D15365
2018-12-29 20:41:41 +01:00
Emilio Cobos Álvarez e3568cb8ad Bug 1516366 - Move NS_DOCUMENT_NOTIFY_OBSERVERS to nsIDocument.h. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15364
2018-12-29 20:41:40 +01:00
Emilio Cobos Álvarez 1165f7d4ed Bug 1516366 - Move CloneDocHelper to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15363
2018-12-29 20:41:39 +01:00
Emilio Cobos Álvarez f7401d4d89 Bug 1516366 - Move Init, Destroy and RemovedFromDocShell to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15362
2018-12-29 20:41:38 +01:00
Emilio Cobos Álvarez 6d77395190 Bug 1516366 - Move BlockOnload and UnlockOnload to nsIDocument, and devirtualize them. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15361
2018-12-29 20:41:37 +01:00
Emilio Cobos Álvarez a9e10105d5 Bug 1516366 - Move EventTarget methods to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15360
2018-12-29 20:41:36 +01:00
Emilio Cobos Álvarez d66facd45a Bug 1516366 - Move various miscellaneous methods from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15359
2018-12-29 20:41:35 +01:00
Emilio Cobos Álvarez aab2c27c3e Bug 1516366 - Merge nsIDocument::DocAddSizeOfExcludingThis and nsDocument::DocAddSizeOfExcludingThis. r=smaug
No point in having both really.

Differential Revision: https://phabricator.services.mozilla.com/D15358
2018-12-29 20:41:34 +01:00
Emilio Cobos Álvarez e2c716a29d Bug 1516366 - Move mExpandoAndGeneration from nsDocument to nsIDocument. r=smaug
Now that bindgen can represent it properly (bug 1516365) we can do this.

Differential Revision: https://phabricator.services.mozilla.com/D15357
2018-12-29 20:41:33 +01:00
Emilio Cobos Álvarez 97ceb59666 Bug 1516366 - Move some setters from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15356
2018-12-29 20:41:32 +01:00
Emilio Cobos Álvarez 8dae1360c2 Bug 1516366 - Move some static functions from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15355
2018-12-29 20:41:31 +01:00
Emilio Cobos Álvarez dce45c2cad Bug 1516366 - Remove unused declaration. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15354
2018-12-29 20:41:30 +01:00
Emilio Cobos Álvarez 5952097059 Bug 1516366 - Remove unused mFirstBaseNodeWithHref member. r=smaug
This is done via SetBaseURIUsingFirstBaseWithHref now.

Differential Revision: https://phabricator.services.mozilla.com/D15353
2018-12-29 20:41:29 +01:00
Emilio Cobos Álvarez f131713362 Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
This is a big step in order to merge both.

Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.

Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Emilio Cobos Álvarez ecc88f298e Bug 1516366 - Remove uses of nsCOMArray<nsIDocument>. r=bzbarsky,smaug
Just use nsTArray. They're used to keep an array of strong references to
documents, and never use nsISupports-specific methods.

Plus they're are allocated on the stack so it should be safe to access them via
ranged for, so do that.

This is needed because nsCOMArray<T> depends on the cast from T to nsISupports
not to be ambiguous. I could fix that if needed, but it seems easier to just not
use it in these two cases.

Differential Revision: https://phabricator.services.mozilla.com/D15351
2018-12-29 20:41:20 +01:00
Bogdan Tara 6defca7262 Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)

--HG--
rename : toolkit/actors/AutoplayChild.jsm => toolkit/actors/AudibleAutoplayChild.jsm
2018-12-29 04:00:53 +02:00
alwu 8e9ac45c53 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 19:01:10 +00:00
alwu 6f035acde6 Bug 1513681 - part1 : dispatch 'GloballyAutoplayBlocked' event when site is permanent blocked. r=cpearce,smaug
This event is used to notify tab that this site is permanently blocked and we should show the blocking icon for it. Patch2 will handle following details.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:11:56 +00:00
Bogdan Tara fff0a1f4f9 Merge inbound to mozilla-central. a=merge 2018-12-28 23:50:12 +02:00
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
Boris Zbarsky d6876ebbfa Bug 1515999. Remove the unused JSContext argument from GetArrayIndexFromId. r=peterv 2018-12-26 13:45:15 -08:00
Razvan Maries 63ead0bfe3 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-12-24 23:59:51 +02:00
Eric Rahm 52398c4af6 Bug 1515821 - Remove verbose warning in IsThirdPartyWindowOrChannel. r=ehsan
--HG--
extra : rebase_source : 1fc29f769fc88a9e59a7c1383b4c14fe7f2a28a6
2018-12-21 15:00:26 -08:00
Jan de Mooij 9190590e09 Bug 1515590 part 3 - Fix some debugger tests by forcing separate compartments for the debugger and debuggee. r=ochameau
With same-compartment chrome globals these would end up in the same compartment.
We need to prevent that because the debugger doesn't support it.

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

--HG--
extra : moz-landing-system : lando
2018-12-22 21:39:56 +00:00
Coroiu Cristina 52c4a6e3ad Merge inbound to mozilla-central a=merge 2018-12-22 06:12:53 +02:00
Andrea Marchesini 301d9591cd Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan 2018-12-22 00:38:37 +01:00
Jan Henning 7fb92b8c44 Bug 1478776 - Part 10: Add internal VisualViewport resize/scroll events. r=botond,nika
The VisualViewport events are all nice and shiny, but unfortunately not quite
what is needed for the session store.

Firstly, the spec wants the "scroll" event to be fired only when the *relative*
offset between visual and layout viewport changes. The session store however
records the absolute offset and as such is interested in when *that* changes.

Secondly, again as per the spec the events don't bubble, and with the default
DOMEventTargetHelper implementation they don't escape the VisualViewport during
capturing, either. This means that any event listener must be added directly on
the VisualViewport itself in order to capture any events.

This might have been intended because the events use the same names as the
normal "scroll"/"resize" events, and as such you cannot specify separate event
listeners for VisualViewport and non-VisualViewport "scroll" events if both
events end up being dispatched to the same element (you can only try to filter
after the fact by looking at the originalTarget of the event).

At the same time, the VisualViewport is attached to the inner Window, and so
each time you navigate, you also get a different VisualViewport object.
All of this might be totally fine from the perspective of a page script, because
in that case you won't care anyway about what happens when the current page goes
away.

From the session store perspective on the other hand (especially Fennec's non-
e10s session store design), this is rather unfortunate because we don't want to
have to keep registering event listeners
a) manually for each subframe
b) each time the page navigates

The event target chain problem could be solved by letting the scroll events
escape the VisualViewport during the capturing phase (which the spec doesn't say
anything about), but this would mean that any scroll listener attached to a
window/browser/... that uses capturing will now catch both layout and visual
viewport scroll events.

In some cases this might even be beneficial, but in others (e.g. bug 1498812
comment 21) I'd like to specifically decide which kind of scroll event to
capture. Having to look at event.originalTarget to distinguish the two kinds
might be defensible in test code, but in case this distinction would be needed
in production code as well, given the existence of a C++-based filtering helper
in nsSessionStoreUtils for another use case where (scroll) events need to be
filtered, JS-based scroll event filtering might be a bad idea.

Additionally, in any case this wouldn't solve the fundamental conflict between
the spec and the session store about *when* the "scroll" event should be fired
in the first place.

Hence I'd like to introduce a separate set of events with distinct event names,
which will be dispatched according to the requirements of our internal users
(i.e. currently the session store). To avoid potential web compatibility issues
down the road, for now these events will be dispatched only to event listeners
registered in the system group (allowing *all* Chrome event listeners cannot be
done because checking the Chrome status of each event target might be too
expensive for frequently dispatched events).

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

--HG--
extra : moz-landing-system : lando
2018-12-20 22:14:42 +00:00
Jan Henning fb0460d033 Bug 1478776 - Part 9: Helper function for layout viewport scroll position in PresShell. r=botond
This changes the semantics of the relative visual viewport offset calculation in
the PresShell slightly, in that a missing root scroll frame will no longer
force the relative offset to zero, even if the visual viewport itself has a non-
zero scroll position [1].
On the other hand, the visual viewport's own relative offset calculations
already work that way today, in that layout and visual viewport scroll positions
are retrieved separately and then subtracted from one another regardless of
whether those values are actually valid or merely a fallback because the
PresShell/scroll frame weren't available.

[1] Though I'm not sure under what circumstances this could really be relevant.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:55 +00:00
Jan Henning 29e0e9331a Bug 1478776 - Part 7: Tune scroll events to only fire when the *relative* offset changes. r=botond
Internally, Gecko stores and updates the *absolute* offset between the visual
viewport and the page, however the spec demands that the scroll event be fired
whenever the *relative* offset between visual and layout viewport changes.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:38 +00:00
Jan Henning 6011bbb22c Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond
The event rate throttling mechanism is modelled on the logic for "scroll" events
in nsGfxScrollFrame.cpp.

That is
1. When a request to fire an event is posted to the VisualViewport, we create a
   new runnable for this and register it with the RefreshDriver. If we already
   have a pending runnable, calling VisualViewport->Post...Event() becomes a
   no-op.
2. When the RefreshDriver is ready, it executes the runnable, which in turn
   fires the actual event and then cleans itself up.

To keep this patch manageable, we simply fire a scroll event every time the
stored visual viewport offset is changed. Because we are storing the absolute
offset of the viewport relative to the page, this behaviour doesn't match the
spec, which demands that scroll events are fired only when the relative offset
between visual and layout viewport changes. We'll fix this up in the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:26 +00:00
Jan Henning af9bb8e48e Bug 1478776 - Part 5: Define Visual Viewport event handlers. r=botond,Ehsan
As per https://wicg.github.io/visual-viewport/#the-visualviewport-interface.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 17:08:47 +00:00
Gurzau Raul 55697e5bce Merge inbound to mozilla-central. a=merge 2018-12-21 18:36:36 +02:00
Emilio Cobos Álvarez 7cd760932e Bug 1513749 - Deduplicate NodesFromRect and Element(s)FromPoint. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D14358

--HG--
extra : moz-landing-system : lando
2018-12-21 11:00:47 +00:00
Emilio Cobos Álvarez 019dbe4244 Bug 1513749 - Rename and make nodesFromRect infallible. r=mats
This way it has a more WebIDL-like signature, which will be helpful in a second.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 11:00:38 +00:00
Emilio Cobos Álvarez c9c94f0ee1 Bug 1513749 - Move NodesFromRectHelper to DocumentOrShadowRoot. r=mats
We'll factor the commont bits out in a bit.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 11:30:28 +00:00
Emilio Cobos Álvarez 99521806a2 Bug 1513749 - Modernize a bit nsLayoutUtils::GetFrameForPoint / GetFrameForArea. r=mats
Also add an IsElement check in GetElementFromPoint in the APZ code since I think
the element cast is unsound in presence of Shadow DOM.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 11:22:07 +00:00
Emilio Cobos Álvarez b0bc11783b Bug 1513658 - Implement DocumentOrShadowRoot.node(s)FromPoint. r=smaug
ChromeOnly for now, needs tests that I'll make sure to land with.

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

--HG--
extra : moz-landing-system : lando
2018-12-24 12:33:22 +00:00
Kyle Machulis 7ce2d5568b Bug 1497995 - Make URI a constructor argument of nsDocShellLoadState; r=bzbarsky
We'll always need a URI for DocShellLoadState, and it should only
change is special circumstances. Construct the object with it, and
then follow up in Bug 1515433 for more cleanup.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 20:17:43 +00:00
Matthew Noorenberghe 1876ae8ede Bug 1330228 - Use HasBeenTypePassword when sanitizing a document for bfcache. r=baku
Check whether an input was ever type=password rather than just checking the current type to handle sites which toggle password visibility.

I haven't yet figured out what this code is used for so haven't made a test yet.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 16:45:19 +00:00
Matthew Noorenberghe 40455b7a34 Bug 1330228 - Use HasBeenTypePassword to skip saving to presentation state. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D15148

--HG--
extra : moz-landing-system : lando
2018-12-21 16:44:37 +00:00
Mark Banner 3414ce9b54 Bug 1515952 - Allow ESLint rule spaced-comment to accept source-map comments. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D15207

--HG--
extra : moz-landing-system : lando
2018-12-21 18:05:39 +00:00
Mark Banner 11134bf8a1 Bug 1515616 - Fix various DOM tests to use nsIFile.NORMAL_FILE_TYPE rather than the unknown nsIFile.FILE_TYPE. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15082

--HG--
extra : moz-landing-system : lando
2018-12-20 18:17:22 +00:00
arthur.iakab 6708bcc3dc Backed out changeset 185b7717cc2e (bug 1441168) for causing devtools leak failures on browser_webconsole_split.js CLOSED TREE 2018-12-20 18:53:20 +02:00
Mike Conley a94e1d38e2 Bug 1441168 - Make promiseDocumentFlushed reject if the DOM is modified in the callback. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14101

--HG--
extra : moz-landing-system : lando
2018-12-19 18:32:18 +00:00
Edgar Chen 8be8c51fb1 Bug 1512457 - Part 4: Add more tests for frameless shadow host; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14897

--HG--
extra : moz-landing-system : lando
2018-12-20 14:42:07 +00:00
Edgar Chen 9941a58c1c Bug 1512457 - Part 3: Ensure GetNextTabbableContentInScope returns only elements which have a frame; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14865

--HG--
extra : moz-landing-system : lando
2018-12-20 14:47:39 +00:00
Edgar Chen f0c04529af Bug 1512457 - Part 2: Enter into frameless shadow host scope during tree traversal; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14809

--HG--
extra : moz-landing-system : lando
2018-12-19 13:37:46 +00:00
Edgar Chen f2a996b941 Bug 1512457 - Part 1: Correctly handle the case that FocusManager could not find next content has frame in tree; r=smaug
In this case we should look for next highest tabindex or do end searching
handling, instead of just check the root content.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 13:23:20 +00:00
Razvan Maries f658ebcbab Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
Andrew McCreight 0507792161 Bug 1471989 - Clear JSStackFrame's JS object pointer when the window goes away. r=bzbarsky
JSStackFrames are C++ objects that are exposed to chrome JS and keep
alive content JS. This means that if chrome JS leaks a stack frame
then a window can be leaked.

The basic idea of this patch is to think of JSStackFrames as
cross-compartment wrappers, and do a "hueyfix" on them by dropping the
content JS reference when the associated content window is closed.

To do that, this patch modifies the realm private to keep a list of
all live JSStackFrames that have been created with objects in that
realm. When we nuke that realm, we also clear out all of the JS
pointers from the registered stack frames on that realm.

This adds a hash table lookup to the JSStackFrame ctor and dtor, which
is hopefully not too much overhead.

The test works by intentionally leaking a JSStackFrame from chrome JS
and making sure that the window still goes away.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 19:42:04 +00:00
Andreea Pavel f9260c6914 Backed out changeset b1fe3750580d (bug 1471989) for build bustages on a CLOSED TREE 2018-12-19 20:48:10 +02:00
Andrew McCreight 09534362bf Bug 1471989 - Clear JSStackFrame's JS object pointer when the window goes away. r=bzbarsky
JSStackFrames are C++ objects that are exposed to chrome JS and keep
alive content JS. This means that if chrome JS leaks a stack frame
then a window can be leaked.

The basic idea of this patch is to think of JSStackFrames as
cross-compartment wrappers, and do a "hueyfix" on them by dropping the
content JS reference when the associated content window is closed.

To do that, this patch modifies the realm private to keep a list of
all live JSStackFrames that have been created with objects in that
realm. When we nuke that realm, we also clear out all of the JS
pointers from the registered stack frames on that realm.

This adds a hash table lookup to the JSStackFrame ctor and dtor, which
is hopefully not too much overhead.

The test works by intentionally leaking a JSStackFrame from chrome JS
and making sure that the window still goes away.

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

--HG--
extra : moz-landing-system : lando
2018-12-19 16:46:25 +00:00
Margareta Eliza Balazs da52cd7623 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-19 18:02:55 +02:00
Brian Hackett 490b175062 Bug 1044074 - Don't run resize or scroll events while documents have events suppressed, r=smaug.
--HG--
extra : rebase_source : 47b98b215d3131fa3e6e88948fdd67aaf41524a9
2018-12-18 15:38:45 -10:00
Jan Varga f1c68bcc8c Bug 1513859 - Followup fix to make eslint happy; r=bustage CLOSED TREE 2018-12-19 13:08:42 +01:00
Jan Varga 849998a8e0 Bug 1513859 - CPOWs can still cause a hang with LSNG enabled; r=asuth 2018-12-19 12:38:23 +01:00
Ehsan Akhgari 88f52ec120 Bug 1514762 - Delay modifying the observer list until we hit the event loop; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14830

--HG--
extra : moz-landing-system : lando
2018-12-19 14:15:57 +00:00
Boris Zbarsky 829ee4b10c Bug 1514251 part 2. Update naming in ReparentWrapper to reflect reality. r=peterv
We're not changing parents; we're changing globals.  Let's be clear about that.
2018-12-19 11:52:31 -08:00
Bogdan Tara b13992b643 Backed out changeset 82ca028b0524 (bug 1503984) for StaticPrefList failures CLOSED TREE 2018-12-18 22:06:19 +02:00
Felipe Gomes 72585dea54 Bug 1503984 - Add a pref to block chrome code from accessing content subframes. r=nika
The pref dom.chrome_frame_access.enabled will default to true. When false, it will block various methods that chrome code can use to traverse subframes. The initial list is:
  iframe.contentWindow
  iframe.contentDocument
  window.top
  window.parent
  window.opener
  window.frames[i]
  window.frames.length
  MessageEvent.source

More blocks are likely to be added in the future.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:53:24 +00:00
Andrea Marchesini 975c1db894 Bug 1512047 - Deprecate AddSearchProvider, r=mkaply 2018-12-18 08:56:19 +01:00
Jonathan Kingston 943bc1976a Bug 903372 - Removal of xml:base. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13457
2018-12-13 15:16:52 +00:00
Ehsan Akhgari c695475926 Bug 1511477 - Ensure that the GeckoView API always reports the URI and type of all blocked trackers r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D14607

--HG--
extra : moz-landing-system : lando
2018-12-14 23:55:54 +00:00
Luca Greco 420d7d08e5 Bug 1506614 - Fix ChromeUtils.shallowClone behavior on objects with getters and/or setters. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D11655

--HG--
extra : moz-landing-system : lando
2018-12-17 15:19:27 +00:00
Andrea Marchesini 9cc643f6d3 Bug 1513895 - Unify PopupBlocker algorithm in 1 single file, r=smaug 2018-12-16 10:21:16 +01:00
Cosmin Sabou 945cf611d2 Merge mozilla-central to autoland. 2018-12-15 04:57:48 +02:00
Timothy Guan-tin Chien 3913ded230 Bug 1510848 - Do not unattach UA Widget Shadow Root if the element is already re-attached to the tree r=emilio,smaug
This patch moves all UA Widget calls to helper functions in Element.cpp. The helper function AttachAndSetUAShadowRoot sets the shadow root in a runnable, so that it is in the same order of NotifyUAWidget* runnables.

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

--HG--
extra : moz-landing-system : lando
2018-12-15 02:48:46 +00:00
Cosmin Sabou b30ca1fd33 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-15 04:47:12 +02:00
Edgar Chen 7f5019defb Bug 1512043 - Ensure traverse all nodes owned by the top level shadow host; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D14143

--HG--
extra : moz-landing-system : lando
2018-12-14 18:14:52 +00:00
Brian Hackett d0f7b1b700 Bug 801304 Part 1 - Keep track of suspended event queues in nsIDocument, r=smaug.
--HG--
extra : rebase_source : 312b0e15d40c7e11ba2c4a6bdadcfefb1300999f
2018-12-14 06:47:40 -10:00
Sylvestre Ledru 6f45c666bc Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-14 18:10:35 +00:00
Andrea Marchesini 6b9fe3a6cf Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi 2018-12-14 12:40:17 +01:00
Andrea Marchesini cdd5a7b12c Bug 1511436 - Cleanup URL-Classifier code - part 0 - use of StaticPrefs, r=dimi 2018-12-14 12:40:16 +01:00
Gijs Kruitbosch 70281bf326 Bug 1499092 - rename/move code from 'feeds' and 'web content' to more appropriate/obvious versions for registerProtocolHandler, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13699

--HG--
rename : browser/components/feeds/WebContentConverter.js => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : browser/components/feeds/moz.build => browser/components/protocolhandler/moz.build
rename : browser/components/feeds/test/.eslintrc.js => browser/components/protocolhandler/test/.eslintrc.js
rename : browser/components/feeds/test/browser/.eslintrc.js => browser/components/protocolhandler/test/browser/.eslintrc.js
rename : browser/components/feeds/test/browser/browser.ini => browser/components/protocolhandler/test/browser/browser.ini
rename : browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.html => browser/components/protocolhandler/test/browser/browser_registerProtocolHandler_notification.html
rename : browser/components/feeds/test/browser/browser_registerProtocolHandler_notification.js => browser/components/protocolhandler/test/browser/browser_registerProtocolHandler_notification.js
rename : browser/components/feeds/test/mochitest.ini => browser/components/protocolhandler/test/mochitest.ini
rename : browser/components/feeds/test/test_registerHandler.html => browser/components/protocolhandler/test/test_registerHandler.html
rename : browser/components/feeds/test/test_registerHandler_disabled.html => browser/components/protocolhandler/test/test_registerHandler_disabled.html
rename : dom/interfaces/sidebar/nsIWebContentHandlerRegistrar.idl => dom/interfaces/sidebar/nsIWebProtocolHandlerRegistrar.idl
extra : moz-landing-system : lando
2018-12-13 13:34:11 +00:00
Gijs Kruitbosch 7ab8abdd16 Bug 1499092 - move bulk of registerProtocolHandler checks into compiled code so we don't need a dedicated component in the child process, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D13697

--HG--
extra : moz-landing-system : lando
2018-12-13 13:47:39 +00:00
Jon Coppeard f008add28c Bug 1342012 - Support import from timeout handlers by associating the initiating script with the compiled JSScript r=smaug 2018-12-06 16:52:18 -05:00
Jon Coppeard e6bd951e8e Bug 1342012 - Refactor nsJSUtils::ExecutionContext to separate compilation and execution steps and allow extraction of compiled JSScript r=nbp r=smaug 2018-12-06 16:52:16 -05:00
mordax b0156a5d8a Bug 1508983 - Enable ESLint for dom/base/test/unit (manual changes) r=Standard8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D13134

--HG--
extra : moz-landing-system : lando
2018-12-11 22:55:53 +00:00
mordax f17847223e Bug 1508983 - Enable ESLint for dom/base/test/unit (automatic changes) r=Standard8,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D13130

--HG--
extra : moz-landing-system : lando
2018-12-11 23:01:55 +00:00
mordax 632c7423fc Bug 1508983 - Enable ESLint for dom/base/test/chrome/ (manual changes) r=Standard8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D13129

--HG--
extra : moz-landing-system : lando
2018-12-12 14:56:54 +00:00
mordax e45d6338be Bug 1508983 - Enable ESLint for dom/base/test/chrome (automatic changes) r=Standard8,smaug
Differential Revision: https://phabricator.services.mozilla.com/D13128

--HG--
extra : moz-landing-system : lando
2018-12-11 22:54:23 +00:00
Emilio Cobos Álvarez d3b4072acd Bug 1517241 - Fix some gcc / msvc bustage.
In a CLOSED TREE, since apparently I pushed the wrong revision to do all the
builds on try.
2019-01-03 18:37:33 +01:00
Emilio Cobos Álvarez b98f7193d9 Bug 1517241 - Fix some Android / non-unified bustage.
CLOSED TREE
2019-01-03 18:22:59 +01:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Razvan Maries cef33be47c Merge mozilla-inbound to mozilla-central a=merge 2018-12-12 18:32:14 +02:00
Jan de Mooij b8a316aca4 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 08:02:30 +00:00
Ciure Andrei 12adcc1edd Backed out changeset a8dd01db9f92 (bug 1512260) requsted by owner (missing test) CLOSED TREE 2018-12-12 09:14:53 +02:00
Jan de Mooij 89da963b10 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 06:39:38 +00:00
Coroiu Cristina 3160ddc1f0 Merge inbound to mozilla-central a=merge 2018-12-12 07:12:07 +02:00
Andrea Marchesini 294ac3e81c Bug 1459264 - Allow just 1 FilePicker per event, r=smaug 2018-12-12 01:00:05 +01:00
Andrea Marchesini 45041939bf Bug 167475 - iframes should load just URLs able to return data, r=smaug
This is done in order to block external protocol URLs in iframes, which cannot
be used to create documents, and they could exec external apps or show prompt
dialogs.
2018-12-12 00:59:47 +01:00
Cameron McCormack 6a4128de00 Bug 1513361 - Add missing space to layout/element-data-objects memory reporter r=njn
Differential Revision: https://phabricator.services.mozilla.com/D14191

--HG--
extra : moz-landing-system : lando
2018-12-11 21:48:33 +00:00
Emilio Cobos Álvarez 10e4c5c339 Bug 1513141 - Really minor nsFocusManager cleanup. r=edgar
I was skimming over the patch in bug 1512043 and wrote this. I think it should
not really affect that patch in any meaningful way, so I may as well land it.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 11:25:02 +00:00
Emilio Cobos Álvarez b6deca5eb0 Bug 1442466 - Fix bogus IsInNativeAnonymousSubtree function in nsWebBrowserFind. r=bzbarsky
This is ultimately the root cause of the issue. I'm landing a test to ensure we
notice the behavior change if we make it, in addition to a test for this issue
itself, to ensure that we don't get stuck, since after bug 1510485 we don't
return such nodes from nsFind when window.find is called anyway.

This code made no sense, it only returned true if the binding parent is the node
itself, which as far as I can tell cannot happen, so it was just a very
expensive way to return false.

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

--HG--
extra : moz-landing-system : lando
2018-12-11 04:18:11 +00:00
Emilio Cobos Álvarez 4591031b65 Bug 1513012 - Move overflow to use cbindgen. r=heycam
It's one of the most annoying / hacky mako bits we have.

Differential Revision: https://phabricator.services.mozilla.com/D14084
2018-12-11 03:07:08 +01:00
Brindusan Cristian 989d78f3d0 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-11 00:10:08 +02:00
Neil Deakin 2ceb209681 Bug 1492326, revert some of bug 1478372, so that callers need to get the custom interface from a custom element without using QueryInterface, r=peterv 2018-12-04 11:33:06 -05:00
Neil Deakin 09ecdaf662 Bug 1492326, don't use QueryInterface to get nsIBrowser as it may be implemented in a custom element, r=paolo 2018-12-04 11:33:06 -05:00
Neil Deakin ef24d6e37e Bug 1492326, use Element helper methods in dom/layout instead of QueryInterface to get interface implementations that might be implemented by custom elements, r=paolo 2018-12-04 11:33:05 -05:00
Neil Deakin 90cfd345ef Bug 1492326, add helpers to Element to get nsIDOMXUL* and nsIBrowser interfaces implented by custom elements, r=peterv 2018-12-04 11:25:42 -05:00
Brindusan Cristian c706eee030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-09 11:38:48 +02:00
Ehsan Akhgari 7040d79ff9 Bug 1510275 - Make sure that we only ever dispatch a single STATE_COOKIES_LOADED notification per top-level document r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13849

--HG--
extra : moz-landing-system : lando
2018-12-08 20:19:16 +00:00
Noemi Erli a5c0369219 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-08 00:18:17 +02:00
Emilio Cobos Álvarez 6729b2a1c2 Bug 1511138 - Fix / update tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13550
2018-12-07 14:23:31 -05:00
arthur.iakab 168846ee68 Backed out 5 changesets (bug 1511138) for causing eslint failure on SelectChild.jsm CLOSED TREE
Backed out changeset daee82295b3c (bug 1511138)
Backed out changeset d23c9c3e1566 (bug 1511138)
Backed out changeset a99600391704 (bug 1511138)
Backed out changeset 4ef293b90887 (bug 1511138)
Backed out changeset 4df286b234b3 (bug 1511138)
2018-12-07 20:55:24 +02:00
Emilio Cobos Álvarez 3767b3a6d1 Bug 1511138 - Fix / update tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13550
2018-12-07 13:01:01 -05:00
Ehsan Akhgari e283953da8 Bug 1512179 - Fix a nullptr deref crash in ContentPermissionRequestBase::GetPrincipal() r=baku
Differential Revision: https://phabricator.services.mozilla.com/D13852

--HG--
extra : moz-landing-system : lando
2018-12-07 18:02:56 +00:00
Gijs Kruitbosch 0ad3fd36fa Bug 1503887 - clear focused window when Blur() is called and there's no docshell, presshell, or the focused element is no longer in the composed document r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D13655

--HG--
extra : moz-landing-system : lando
2018-12-07 09:00:28 +00:00
Cosmin Sabou 42dba8ce7d Backed out 5 changesets (bug 1511138) for browser chrome failures on browser_selectpopup_colors.js. CLOSED TREE
Backed out changeset 65e99e6399b9 (bug 1511138)
Backed out changeset 5f5d1c50a342 (bug 1511138)
Backed out changeset e03afbff55f3 (bug 1511138)
Backed out changeset d2d3e7a822b5 (bug 1511138)
Backed out changeset e601a2fbd077 (bug 1511138)
2018-12-06 20:14:00 +02:00
Csoregi Natalia f5599eb934 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-12-06 17:43:26 +02:00
Emilio Cobos Álvarez 8da7cb1c9b Bug 1511138 - Fix / update tests. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13550
2018-12-06 10:33:29 -05:00
Olli Pettay 1ceeb71b80 Bug 1512256 - Move FragmentOrElement::mAttrs to Element, r=ehsan 2018-12-06 15:58:40 +02:00