Gijs Kruitbosch
b6b469004e
Bug 1446522 - don't return NS_ERROR_FAILURE for cut/copy/paste even when there's no selection, r=enndeakin+6102
...
MozReview-Commit-ID: AhToM4sAjJn
2018-03-26 20:18:05 +01:00
Adrian Wielgosik
3c7a24d734
Bug 1170771 - Remove now-empty nsDOMClassInfo. r=bz
...
MozReview-Commit-ID: 7XsiPD1kTt9
2018-04-05 14:20:44 +02:00
Xidorn Quan
ea8b8b1e74
Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
...
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet
Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
many places call into the methods with StyleSheet, so there are many
->AsServo() added to sheets
MozReview-Commit-ID: K4zYnuhOurA
2018-03-29 22:15:46 +11:00
Boris Zbarsky
9321f7b0d9
Bug 1444872. Remove support for the 'type' parameter to document.open. r=qdot
2018-03-28 18:01:46 -04:00
Xidorn Quan
c77f975241
Bug 1447828 part 6 - Have only a single nsLayoutStylesheetCache instance. r=emilio
...
MozReview-Commit-ID: BjCgc8MZjIq
2018-03-29 02:34:34 +11:00
Boris Zbarsky
2f03e52f54
Bug 1447890 part 5. Remove nsISelection::RemoveAllRanges. r=mystor
...
MozReview-Commit-ID: EeMje9KW6An
2018-03-27 00:35:23 -04:00
Boris Zbarsky
32b248d7cd
Bug 1447889 part 8. Remove nsIDOMRange::SelectNode/SelectNodeContents. r=mystor
...
MozReview-Commit-ID: 2hbF6pT31Xd
2018-03-27 00:35:21 -04:00
Hiroyuki Ikezoe
6807e67b10
Bug 1440523 - Bail out from nsHTMLDocument::EditingStateChanged if the docshell is being destroyed by FlushPendingNotifications call. r=masayuki
...
MozReview-Commit-ID: DlFXWdpB1Xv
2018-03-26 11:25:56 +09:00
Emilio Cobos Álvarez
ffd4d2dac6
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
Boris Zbarsky
4627e6ad5e
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
2ffd523b10
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
b754251396
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
Valentin Gosu
40fc96e930
Bug 1433958 - Change code that uses nsIURI.setHostAndPort() to use nsIURIMutator r=mayhemer
...
* Removes setHostAndPort from nsIURIMutator as it only has one use
* Instead, the consumer sets the port to -1 before calling setHostPort()
MozReview-Commit-ID: Jx9UMW440hq
2018-02-26 20:43:45 +01:00
Hiroyuki Ikezoe
b1da8534e8
Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug
...
It would be convenient to get nsPresContext from nsIDocument.
MozReview-Commit-ID: Ei6V3UE8XGr
2018-02-21 07:00:10 +09:00
Boris Zbarsky
41c46ec098
Bug 1418085 part 6. Remove nsIDOMHTMLElement. r=mystor
...
MozReview-Commit-ID: 5QUyFeAQYZQ
2018-01-30 00:25:36 -05:00
Boris Zbarsky
a86373f271
Bug 1418076 part 11. Eliminate the nsIDOMHTMLDocument interface. r=mystor
...
MozReview-Commit-ID: 4lEcUeenbg3
2018-01-26 01:03:25 -05:00
Boris Zbarsky
912dc2d7f0
Bug 1418076 part 8. Remove remaining, unused, nsIDOMHTMLDocument methods. r=mystor.
...
MozReview-Commit-ID: AshWkds4I8Z
2018-01-26 01:01:16 -05:00
Boris Zbarsky
67ffec5671
Bug 1418076 part 7. Get rid of nsIDOMHTMLDocument's color attributes. r=mystor
...
MozReview-Commit-ID: 4jgoGqWyymA
2018-01-26 01:01:08 -05:00
Boris Zbarsky
de487cc7e0
Bug 1418076 part 6. Get rid of nsIDOMHTMLDocument's queryCommand* methods. r=mystor
...
MozReview-Commit-ID: Jch0wfisBZa
2018-01-26 01:00:58 -05:00
Boris Zbarsky
abf95bbc4c
Bug 1418076 part 5. Get rid of nsIDOMHTMLDocument's designMode attribute. r=mystor
...
MozReview-Commit-ID: 8CB3OZBHa9q
2018-01-26 01:00:49 -05:00
Boris Zbarsky
cb65f7c8bb
Bug 1418076 part 4. Get rid of nsIDOMHTMLDocument's open/close/write/writeln methods. r=mystor
...
MozReview-Commit-ID: 4HbZljdQR2I
2018-01-26 01:00:41 -05:00
Boris Zbarsky
3e281aedbd
Bug 1418076 part 3. Get rid of nsIDOMHTMLDocument's head attribute. r=mystor
...
MozReview-Commit-ID: Cj7l9TqmAby
2018-01-26 01:00:33 -05:00
Boris Zbarsky
1fd1a65228
Bug 1418076 part 2. Get rid of nsIDOMHTMLDocument's cookie attribute. r=mystor
...
MozReview-Commit-ID: JLW7dFPbY3m
2018-01-26 01:00:20 -05:00
Boris Zbarsky
4b49594fcb
Bug 1418076 part 1. Get rid of nsIDOMHTMLDocument's domain attribute. r=mystor
...
MozReview-Commit-ID: Igf83iosX8L
2018-01-26 01:00:04 -05:00
Boris Zbarsky
e558432368
Bug 1276438 part 7. Get rid of nsIDOMHTMLDocument::GetBody. r=mystor
...
MozReview-Commit-ID: 5XyZc8hQndQ
2018-01-26 00:53:35 -05:00
Boris Zbarsky
06d6306e2a
Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument. r=mystor
...
MozReview-Commit-ID: EJAZfrXC0QJ
2018-01-26 00:36:57 -05:00
Boris Zbarsky
09e52eb431
Bug 1276438 part 1. Move the implementation of the .body getter from nsHTMLDocument to nsIDocument. r=mystor
...
MozReview-Commit-ID: BhQuGS1NdmQ
2018-01-25 06:55:47 -05:00
Andrea Marchesini
3faaf5a84b
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian
1153f2c09e
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
b434804b93
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Jonathan Watt
81d9b45e4b
Bug 1430619 part 3 - Remove nsIContentViewerContainer. r=smaug
...
MozReview-Commit-ID: BxpgH0DPKQw
2018-01-11 12:27:00 +00:00
Boris Zbarsky
b5b49f64bb
Bug 1426002. Bail out of document.open if beforeunload tears things down. r=mystor
...
MozReview-Commit-ID: GDozCq4Qbni
2017-12-21 15:08:49 -05:00
Masatoshi Kimura
0036fe0ee0
Bug 1071816 - Add a pref to fallback to UTF-8 for files from file: URLs. r=hsivonen
...
MozReview-Commit-ID: KFjIqYmgzTl
2017-11-30 20:55:07 +09:00
Alphan Chen
f742ba195a
Bug 980904 - Disable the Character Encoding menu when document is decoded as UTF-8 without errors. r=hsivonen,emk,Gijs
2017-11-23 15:03:41 +08:00
Csoregi Natalia
16a1261797
Merge inbound to mozilla-central r=merge a=merge
2017-11-14 00:57:47 +02:00
Ting-Yu Lin
b221c821e2
Bug 1416699 - Add a space between #include and comment. r=jeremychen
...
Skip files under intl/icu/ because they're imported from third party.
DONTBUILD because this is a whitespace-only change.
MozReview-Commit-ID: GSd6oeFSTO7
2017-11-13 17:54:18 +08:00
Boris Zbarsky
06cef90736
Bug 1415677 part 4. Remove nsIDOMHTMLDocument accessors that use nsIDOMHTMLCollection. r=qdot
...
MozReview-Commit-ID: Aq3rfMBQKmn
2017-11-13 10:39:09 -05:00
Henri Sivonen
d24b8ac365
Bug 1414490 - Permanently undefine the insertion point at EOF. r=smaug.
...
MozReview-Commit-ID: Kijs3Rxhq0X
2017-11-13 16:59:11 +02:00
Nika Layzell
d8c117bc28
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Sebastian Hengst
52ea9f8769
merge mozilla-inbound to mozilla-central. r=merge a=merge
2017-11-09 00:00:16 +02:00
Boris Zbarsky
67340e531a
Bug 1415176. Move getElementsByName from HTMLDocument to Document. r=mccr8
...
MozReview-Commit-ID: CRfrXC2x97S
2017-11-08 11:13:33 -05:00
Brad Werth
854e4b429a
Bug 1412173 Part 1: Implement the Document ignore-opens-during-unload counter required by spec. r=bz
...
MozReview-Commit-ID: IWfT5c0H3t
2017-11-02 11:47:21 -07:00
Phil Ringnalda
4a18322fed
Backed out 2 changesets (bug 1412173) for unexpected passes in wpt's /html/browsers/browsing-the-web/unloading-documents/003.html
...
Backed out changeset 68de62dd7a9b (bug 1412173)
Backed out changeset 97de1e0cd693 (bug 1412173)
MozReview-Commit-ID: HiASSDNl4DD
2017-11-06 19:32:05 -08:00
Brad Werth
1907051887
Bug 1412173 Part 1: Implement the Document ignore-opens-during-unload counter required by spec. r=bz
...
MozReview-Commit-ID: IWfT5c0H3t
2017-11-02 11:47:21 -07:00
Henri Sivonen
3618c1fd8a
Bug 1412866 - Use spec nomenclature for the ignore-destructive-writes counter. r=smaug
...
MozReview-Commit-ID: FKwbEZll95J
2017-10-30 17:45:09 +02:00
Jessica Jong
d5bb6a8632
Bug 1378079 - Part 2: Introduce throw-on-dynamic-markup-insertion counter. r=hsivonen
...
Per spec, document objects have a throw-on-dynamic-markup-insertion counter,
which is used in conjunction with the create an element for the token algorithm
to prevent custom element constructors from being able to use document.open(),
document.close(), and document.write() when they are invoked by the parser.
2017-10-26 14:08:35 +08:00
Nicholas Nethercote
7dbfdaf890
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
2017-10-03 09:05:19 +11:00
Olli Pettay
89a43da498
Bug 1398605, keep nsContentList objects alive for awhile when generating state keys so that new objects don't need to be created all the time, r=ehsan
2017-09-14 21:56:58 +03:00
Boris Zbarsky
c2e76ccc53
Bug 1393806 part 4. Rename the ErrorResult argument of nsHTMLDocument::Open to aError.
...
This makes it clear that it's not a local.
MozReview-Commit-ID: 5OwXRIIra93
2017-09-13 13:34:58 -04:00
Boris Zbarsky
2fcd5047d7
Bug 1393806 part 3. Change dom::ReparentWrapper to take an ErrorResult. r=peterv
...
This makes it easier for its consumers to avoid leaving a dangling exception on
the JSContext.
MozReview-Commit-ID: Xep7IkYxSx
2017-09-13 13:34:55 -04:00