Kris Maglione
eb14dd1d2c
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : d89ac470241cb6f6a43c29c6e90b1c0e4fc78028
extra : source : b0444e0bc801f828b49f9953a73498cf5ff5024b
2018-12-16 17:27:58 -08:00
arthur.iakab
c1fae83952
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
586d1722ec
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : 4de6207229742168f534f618fe4881f19e3135c9
extra : absorb_source : 63106bea2b2a9c9a90e2d8cd08429b5de0f2cd09
extra : histedit_source : 02a263131b092b1d1ac4901f1a37a1b842b3103f
2018-12-16 17:27:58 -08:00
Zibi Braniecki
51cb6c2749
Bug 1518252 - Block layout on Fluent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17334
--HG--
extra : moz-landing-system : lando
2019-01-25 23:14:03 +00:00
Cosmin Sabou
d4afc5310c
Backed out 2 changesets (bug 1518252) for frequent clipboard failures on browser_jsterm_middle_click_paste.
...
Backed out changeset b6f80451898e (bug 1518252)
Backed out changeset 06114c66901f (bug 1518252)
--HG--
extra : rebase_source : 795b3a29b1344ce224207c4034f13d3d7f1a5c53
2019-01-24 02:50:54 +02:00
Zibi Braniecki
5e38c8a5a5
Bug 1518252 - Block layout on Fluent. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D17334
--HG--
extra : moz-landing-system : lando
2019-01-23 21:29:15 +00: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
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
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Dragana Damjanovic
9cadc84486
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Gurzau Raul
07d30b811f
Backed out changeset dc225279994a (bug 1473736) for web platform leaks
2018-09-21 04:30:10 +03:00
Dragana Damjanovic
70e0646d75
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Noemi Erli
efdd6a208a
Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js
2018-09-18 22:07:58 +03:00
Dragana Damjanovic
f000a5b4b0
Bug 1473736 - Implement necko part of ESNI r=mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Mike Hommey
117e48720c
Bug 1489363 - Replace some string.Assign* with AssignLiteral. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D5224
--HG--
extra : moz-landing-system : lando
2018-09-07 22:12:01 +00:00
Valentin Gosu
7937c7c4cc
Bug 1476928 - Remove nsIURI.CloneIgnoringRef and nsIURI.CloneWithNewRef r=JuniorHsu
...
The patch introduces NS_GetURIWithNewRef and NS_GetURIWithNewRef which perform the same function.
Differential Revision: https://phabricator.services.mozilla.com/D2239
--HG--
extra : moz-landing-system : lando
2018-07-23 11:28:47 +00:00
Emilio Cobos Álvarez
c7d35aa526
Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
...
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
Markus Stange
a9789fd094
Bug 1464909 - Add a dynamic profiler label to nsContentSink::StartLayout that includes the document URL. r=bz
...
MozReview-Commit-ID: 4DpJxV4Wn49
--HG--
extra : rebase_source : 019b4c2804d48cdb4c62a3a7a504f7ef9b3c2015
2018-05-28 17:49:44 -04:00
Noemi Erli
7bfa96a42b
Backed out 4 changesets (bug 1464909) for failures in devtools/client/performance/test/unit/test_tree-model-08.js r=mstange on a CLOSED TREE
...
Backed out changeset 119c2055e002 (bug 1464909)
Backed out changeset 562aeeced55b (bug 1464909)
Backed out changeset c1e1d74ad27e (bug 1464909)
Backed out changeset 11670c51f572 (bug 1464909)
2018-06-01 01:23:49 +03:00
Markus Stange
094a623d1a
Bug 1464909 - Add a dynamic profiler label to nsContentSink::StartLayout that includes the document URL. r=bz
...
MozReview-Commit-ID: 4DpJxV4Wn49
--HG--
extra : rebase_source : 28f9ffba0d1d3ccfe014c8ac15f2d0b5cc3def07
2018-05-28 17:49:44 -04:00
Boris Zbarsky
bea3100e53
Bug 1455676 part 14. Remove most use of nsIDOMNode in dom/. r=qdot
2018-05-29 22:58:49 -04:00
Boris Zbarsky
317d43647c
Bug 1455676 part 4. Remove nsIDOMNode usage from uriloader/. r=qdot
2018-05-29 22:58:48 -04:00
Emilio Cobos Álvarez
11794a944d
Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug
...
MozReview-Commit-ID: 33iBMZqnkAc
2018-05-15 18:47:16 +02:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Adrian Wielgosik
5c8a9e8239
Bug 1460940 - Remove nsIDOMDocument uses in uriloader/. r=bz
...
MozReview-Commit-ID: LnXwludmiAn
--HG--
extra : rebase_source : 7acfeda4eb85992d53f90a533ec2c638cefcdd0f
2018-05-11 19:46:15 +02:00
Emilio Cobos Álvarez
9509853a38
Bug 1459498: Rename nsIStyleSheetLinkingElement::StyleSheetInfo to SheetInfo. r=heycam
...
MozReview-Commit-ID: FeOmISAxWBk
2018-05-08 10:07:46 +02:00
Emilio Cobos Álvarez
91b6cb40dc
Bug 1459498: Use StyleSheetInfo more. r=heycam
...
Not as much as I'd like, because we have all the internal loads and child
sheets, but...
MozReview-Commit-ID: 7402w8vxCel
2018-05-08 10:07:43 +02:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Emilio Cobos Álvarez
8239c1300e
Bug 1386840: Defer loading and don't block rendering for non-matching stylesheets. r=bz,heycam
...
MozReview-Commit-ID: 24UJZDooGmn
2018-04-26 16:44:03 +02:00
Emilio Cobos Álvarez
31aff796a0
Bug 1456435: Make the loader a bit less outparam-happy. r=heycam
...
Returning the same type and UpdateStyleSheet.
This hopefully helps seeing how the data flows between the methods, instead of
the messy bits we had before.
MozReview-Commit-ID: C6THNRi8bbg
2018-04-26 16:43:58 +02:00
Emilio Cobos Álvarez
5618bcfb59
Bug 1456435: Less bool outparam in Loader too. r=heycam
...
MozReview-Commit-ID: D5A2BxwHGjn
2018-04-26 16:43:54 +02:00
Dragana Damjanovic
d9148a8a51
Bug 1441246 - Move preload cod from nsStyleLinkElement to HTMLLinkElement. r=smaug
...
--HG--
extra : rebase_source : 01cb8b69aa1187abb83b36098d81df1d96c7d79c
2018-04-20 12:47:00 +03:00
Brian Grinstead
37febf2987
Bug 1455680 - Notify document-element-inserted in XUL documents;r=bz
...
We'll want to use this event to inject scripts before other scripts run
in XUL documents. It already fires in HTML documents.
MozReview-Commit-ID: 7FW0R8r9o9G
--HG--
extra : rebase_source : 28fe9b6a4bcbb6ecf8966a0c059d867bf66285bf
2018-04-20 13:55:51 -07:00
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
Emilio Cobos Álvarez
432d45b460
Bug 1439027: Simplify PresShell::Initialize. r=bz
...
Most of the callers pass the already-existing pres-context visible area. The few
that don't can set it themselves.
MozReview-Commit-ID: KRi4ShrgOrE
2018-02-21 12:42:17 +01:00
Hiroyuki Ikezoe
befb3a6212
Bug 1432396 - Call UnblockOnload only if we've already blocked load event. r=bz
...
When the window is destroyed in unload event callbacks for the previous
document, we haven't started loading, i.e. we haven't called BlockOnload()
for the new document in nsContentSink::WillBuildModelImpl, so if we called
nsDocument::StopDocumentLoad() in such cases, UnblockOnload calls will mismatch
BlockOnload calls.
MozReview-Commit-ID: HjLtmGGvXKS
--HG--
extra : rebase_source : 8d81afd5cd7988cb165d9fee5dcfbf5fbf702331
2018-02-16 06:15:01 +09:00
Nika Layzell
a0d1f16079
Bug 1383876 - Part 1: Remove GroupedSHistory and Prerendering logic from C++ code, r=freesamael, r=smaug
...
MozReview-Commit-ID: 2aHA6NcQPGk
2018-01-12 17:52:52 -05:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Boris Zbarsky
bc51214e31
Bug 1426234 part 3. Simplify ProcessStyleLink now that it's only called for Link headers. r=mystor
...
MozReview-Commit-ID: 2Gn3AsYwVmI
2017-12-21 16:43:24 -05:00
Boris Zbarsky
a86a2a0f8f
Bug 1426234 part 1. Fix preexisting bug where disabling prefetch/preload would turn off HTTP Link headers for stylesheets. r=mystor
...
MozReview-Commit-ID: 6FcW21tODIZ
2017-12-21 16:43:24 -05:00
Ben Kelly
0240c2751f
Bug 1426253 P3 Use the window/document GetController() method. r=asuth
2017-12-20 10:53:18 -05:00
Dragana Damjanovic
d022b3db46
Bug 1414209 - Truncate as value after each link header. r=smaug
2017-12-04 17:48:56 +01:00
Nika Layzell
b5701b1266
Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
...
MozReview-Commit-ID: 3j9jfLv7MO2
2017-11-01 11:06:26 -04:00
Kris Maglione
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Kris Maglione
9c145b38f6
Bug 1406278: Part 8b - Use subject principal as triggering principal in style <link> "href" attribute. r=bz
...
MozReview-Commit-ID: LWMkBcB4WIg
--HG--
extra : rebase_source : fa2daf25c58190cee7e55798347d4eaffa0d5250
extra : histedit_source : f2887c9e53c572aa5e675600cd1aeb6c5a72becc%2Ce7a84ac505319ca24e65c73a4df13014a0a0cdc0
2017-10-05 19:40:48 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Catalin Badea
f8162c4bfd
Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv
2017-10-03 11:09:08 +01:00