Valentin Gosu
84b854ce2c
Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
...
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.
MozReview-Commit-ID: 3cK5HeyzjFE
--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +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
a55742105b
Bug 1436589 - Use nsIFileURLMutator::SetFile in nsWebBrowserPersist.cpp r=baku,mayhemer
...
* Uses NS_MutateURI in order to call nsIFileURLMutator::SetFile
* After changing the URL to append the correct file extension it also changes
the nsWebBrowserPersist::mURIMap entry to reflect these changes
MozReview-Commit-ID: GCBK5hBurGd
--HG--
extra : rebase_source : 1328bbc94d5ad0aabc340536386834fafbfbbf78
2018-02-26 20:28:20 +01:00
Adrian Wielgosik
2d4df58ad8
Bug 1439751 - Remove all members from nsIDOMHTMLInputElement. r=qdot
...
MozReview-Commit-ID: JVagEzvSONN
--HG--
extra : rebase_source : a7e1cf2e5ccc1925f3a11c7d935438ef6307c70c
2018-02-20 23:10:44 +01:00
Valentin Gosu
55a7a824c6
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
--HG--
extra : rebase_source : f2a17aee7bb66a7ba8652817d43b9aa7ec7ef710
2018-02-21 01:00:54 +01:00
nbeleuzu@mozilla.com
01eef6aff1
Backed out changeset c9dcce0a1068 (bug 1435671) for build bustages on nsIURIMutator.h. CLOSED TREE
2018-02-21 00:06:46 +02:00
Valentin Gosu
f1850e9354
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
--HG--
extra : rebase_source : 592d13349a8c4627c7ce3146ec592f577b39f3cc
2018-02-20 22:39:40 +01:00
Kyle Machulis
384f6ede78
Bug 1407040 - Change nsIDOMHTMLMediaElement QIs to Media/Video type checks; r=bz
...
Change all QIs or instanceof checks against nsIDOMHTMLMediaElement to
check against HTMLVideoElement/HTMLAudioElement.
MozReview-Commit-ID: EpywwFGK33C
--HG--
extra : rebase_source : 3eff2df9580074ed0a71c8fa6750d84a4750fde8
2018-02-14 21:14:06 -08:00
Valentin Gosu
4aade813b4
Bug 1435772 - File extensions are stripped out from saved web page source, leading to 404 errors r=me
...
Backs out the part of part of changeset a20fbbe7b948 (Bug 1432602) that uses nsIURIMutator instead of calling nsIFileURL::SetFile()
MozReview-Commit-ID: 9mC3fv85pUl
2018-02-07 17:30:13 +01:00
Boris Zbarsky
7a9f022f1a
Bug 1434819 part 7. Remove the SHOW_* constants from nsIDOMNodeFilter. r=qdot
...
MozReview-Commit-ID: 7E2KZkLfbSI
2018-02-01 14:26:12 -05:00
Boris Zbarsky
7946bcf30a
Bug 1434819 part 3. Stop using XPCOM treewalker bits in webbrowserpersist. r=qdot
...
MozReview-Commit-ID: GmY7L4p00D1
2018-02-01 14:26:12 -05:00
Boris Zbarsky
478687c2e8
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Valentin Gosu
033570496c
Bug 1432602 - Add nsIFileURLMutator.setFile() r=mayhemer
...
MozReview-Commit-ID: EF2vVYoN8bg
--HG--
extra : rebase_source : 5d2b6fa353f0a0eb189fd08f9fda2bbf1ced30bb
2018-01-31 22:40:45 +01:00
Boris Zbarsky
0935ca9973
Bug 1434318 part 12. Remove nsIDOMDocument's contentType attribute. r=mystor
...
MozReview-Commit-ID: DAXrxIxiac4
2018-01-31 15:18:11 -05:00
Boris Zbarsky
d42eaf220e
Bug 1434318 part 9. Remove nsIDOMDocument::CreateTreeWalker. r=mystor
...
MozReview-Commit-ID: 53JPEy7AQtp
2018-01-31 15:18:10 -05:00
Valentin Gosu
7183e543b2
Bug 1432320 - (Part 2) Change calls to nsIURL.{fileName,fileBaseName,fileExtension} setters to use nsIURLMutator r=mayhemer
...
MozReview-Commit-ID: D5aTl1i14gI
--HG--
extra : rebase_source : 6d4a8606da971426c554c31d188567cf1e6c8741
2018-01-31 02:33:06 +01:00
Boris Zbarsky
9da3878bc9
Bug 1418076 part 11. Eliminate the nsIDOMHTMLDocument interface. r=mystor
...
MozReview-Commit-ID: 4lEcUeenbg3
2018-01-26 01:03:25 -05:00
Boris Zbarsky
151487a675
Bug 1432944 part 10. Remove nsIDOMElement::SetAttribute. r=mccr8
...
MozReview-Commit-ID: 6eIdX8iA5Rg
2018-01-29 23:28:00 -05:00
Boris Zbarsky
f60fd673d6
Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8
...
MozReview-Commit-ID: KvKjeKIOB9K
2018-01-29 23:10:53 -05:00
Boris Zbarsky
37aaea3c1f
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05:00
Boris Zbarsky
cc90b5dd5b
Bug 1432186 part 7. Remove nsIDOMNode's textContent attribute. r=mccr8
...
MozReview-Commit-ID: I5cIxa5WAk
2018-01-29 23:10:50 -05:00
Boris Zbarsky
abfab07da3
Bug 1432186 part 5. Remove nsIDOMNode's nodeType attribute. r=mccr8
...
MozReview-Commit-ID: LKsBgKcqtBS
2018-01-29 23:10:50 -05:00
Andrea Marchesini
c6da271117
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian
368c3d5b6b
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
6480b95ba3
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Boris Zbarsky
f1d64479e7
Bug 1431964 part 10. Remove nsIDOMAttr. r=mccr8
...
MozReview-Commit-ID: xj4QeXBF9V
2018-01-21 12:07:31 -05:00
Boris Zbarsky
e38dec29f4
Bug 1431964 part 8. Remove nsIDOMMozNamedAttrMap. r=mccr8
...
MozReview-Commit-ID: C7z0hcjC0Tg
2018-01-20 20:57:26 -05:00
Boris Zbarsky
79df7d2aec
Bug 1431964 part 4. Remove nsIDOMMozNamedAttrMap::GetNamedItemNS. r=mccr8
...
MozReview-Commit-ID: 7l8CcT1ntL7
2018-01-20 18:33:06 -05:00
Boris Zbarsky
6d32b469ca
Bug 1431964 part 3. Remove nsIDOMMozNamedAttrMap::GetNamedItem. r=mccr8
...
MozReview-Commit-ID: 8eXx6IdmZ4W
2018-01-20 18:26:41 -05:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Boris Zbarsky
87c6b14c1a
Bug 1415677 part 6. Remove nsIDOMHTMLCollection. r=qdot
...
MozReview-Commit-ID: E8P9o0bv63L
2017-11-13 10:41:33 -05:00
Kyle Machulis
ea86e1d617
Bug 1416069 - Remove nsIDOMHTMLHtmlElement and nsIDOMHTMLBaseElement; r=bz
...
MozReview-Commit-ID: 7qUw7cLeTpe
2017-11-10 13:10:02 -08:00
Kyle Machulis
f25f505bc5
Bug 1415747 - Remove nsIDOMHTMLScriptElement; r=bz
...
MozReview-Commit-ID: 3I7qVTsKFJC
2017-11-10 13:10:00 -08:00
Kyle Machulis
dacb51138d
Bug 1415716 - Remove nsIDOMHTMLOptionElement; r=bz
...
MozReview-Commit-ID: JGxQxeFBQlO
--HG--
extra : rebase_source : 86c8b72862e84f17920d45b375c0db704ebe2eb3
2017-11-08 17:43:09 -08:00
Kyle Machulis
7308e0e9fe
Bug 1412414 - Remove nsIDOMHTMLSourceElement; r=bz
...
MozReview-Commit-ID: 3ZK1GremntX
--HG--
extra : rebase_source : c25b1a449596130ec8d2e7936f52cc651988af85
2017-10-27 15:00:42 -07:00
Kyle Machulis
be815f3caf
Bug 1412437 - Remove nsIDOMHTMLTextAreaElement; r=bz
...
MozReview-Commit-ID: JAON7Rd7IAo
2017-11-01 14:28:22 -07:00
Andrea Marchesini
ec610d5b7e
Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug
2017-10-24 14:38:23 +02:00
Andrea Marchesini
6626e900f9
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-19 11:39:30 +02:00
Kyle Machulis
1cc8b01353
Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
...
MozReview-Commit-ID: GCATWRt6qMo
--HG--
extra : rebase_source : 29854f1374c6ad318da0b5b68be23507667c3be4
2017-10-06 13:27:23 -07:00
Kyle Machulis
669ff05b49
Bug 1406525 - Remove nsIDOMHTMLLinkElement; r=bz
...
MozReview-Commit-ID: 4xUSQ8SiIqX
2017-10-09 16:09:38 -07:00
Kyle Machulis
2090426dc0
Bug 1405792
- Remove nsIDOMHTMLIFrameElement r=bz
...
MozReview-Commit-ID: 1u9C66X8j59
--HG--
extra : rebase_source : 5d87fe933170e32fbb44e24ec843623e143164d2
2017-10-04 20:41:24 -07:00
Kyle Machulis
e54a4653ba
Bug 1404079
- Remove nsIDOMHTMLFrameElement; r=bz
...
MozReview-Commit-ID: GSvMwRpl7g4
--HG--
extra : rebase_source : a5e8ee45bae90eaa9ecdcc6f0bac0c9dac0ce2c8
2017-09-28 19:06:14 -07:00
Kyle Machulis
e6d0a7ad13
Bug 1402180 - Remove nsIDOMHTMLAreaElement; r=bz
...
Removes the XPCOM interface for nsIDOMHTMLAreaElement, replacing it
with binding class usage.
MozReview-Commit-ID: IaX4JFTPZn6
--HG--
extra : rebase_source : 79f9200c6ff9e081a5d9bc21eaa605f88caa99e9
2017-09-21 17:52:28 -07:00
Kyle Machulis
a3876f104a
Bug 1389650 - Remove nsIDOMHTMLAnchorElement; r=bz
...
Removes the XPCOM interface for nsIDOMHTMLAnchorElement, replacing it
with binding class usage.
MozReview-Commit-ID: 7v0bKlY7Fax
2017-09-26 11:41:28 -07:00
Sebastian Hengst
5ed0b93c50
Backed out changeset 26805294a547 (bug 1389650)
2017-09-26 10:47:41 +02:00
Kyle Machulis
e2ace7d91f
Bug 1389650 - Remove nsIDOMHTMLAnchorElement; r=bz
...
Removes the XPCOM interface for nsIDOMHTMLAnchorElement, replacing it
with binding class usage.
MozReview-Commit-ID: 7v0bKlY7Fax
2017-09-25 23:12:44 -07:00
Amy Chung
9b6f4f8fbc
Bug 1360603 - Mark the save channel as throttleable. r=baku
2017-09-24 00:38:32 +08:00
Kyle Machulis
9b4ac7e03f
Bug 1402102 - Remove nsIDOMHTMLObjectElement; r=bz
...
Removes the nsIDOMHTMLObjectElement XPCOM interface, replacing it with
HTMLObjectElement and FromContent conversion usage.
MozReview-Commit-ID: dmsjSO97uh
--HG--
extra : rebase_source : 9b2c25b8681f754bc34233afccdb6fc5d38f0804
2017-09-22 17:05:12 -07:00
Kris Maglione
90f1e3558c
Bug 1391110: Part 3 - Add nsIWebBrowserPersistable to FrameLoader bindings. r=smaug
...
MozReview-Commit-ID: 8mBNbgmrXBV
--HG--
extra : rebase_source : d553bca30c3fa4affc9e6ee9e65e5b4000e0cac2
2017-08-19 14:16:16 -07:00
Kyle Machulis
649634a721
Bug 1387184 - Remove nsIDOMHTMLEmbedElement; r=bz
...
Removes nsIDOMHTMLEmbedElement and all references. HTML elements are
now handled by WebIDL. With the deprecation of extensions, XPCOM
interfaces to HTML elements are no longer needed.
MozReview-Commit-ID: DI4XVvdgPDI
--HG--
extra : rebase_source : 74bd92619e3d1db04c3dd40ec3022474fe1d647c
2017-08-09 12:05:08 -07:00