Commit Graph

39 Commits

Author SHA1 Message Date
Boris Zbarsky
a08e3cd0c5 Bug 1431774 part 6. de-COM the image loading content forceReload API. r=mystor
MozReview-Commit-ID: 4n5BFQcHopU
2018-01-19 14:19:39 -05:00
Boris Zbarsky
410ad0ad47 Bug 1431774 part 4. de-COM the image loading content observer APIs. r=mystor
MozReview-Commit-ID: KwWBFXNzWVx
2018-01-19 14:19:39 -05:00
Boris Zbarsky
ca91e3b7b4 Bug 1424474 part 3. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag
MozReview-Commit-ID: IjUEG5xwn5
2017-12-20 17:43:18 -05:00
Narcis Beleuzu
d9519f9913 Backed out 2 changesets (bug 1424474) for mochitest failures on test_bug494328.html r=backout on a CLOSED TREE
Backed out changeset 39d5991f02ba (bug 1424474)
Backed out changeset da3dec2fce06 (bug 1424474)
2017-12-21 02:55:27 +02:00
Boris Zbarsky
8ed3a61303 Bug 1424474 part 2. Make sure that we only pass non-system subject principals to setters/methods that later use that principal for loading security checks. r=kmag 2017-12-20 17:43:18 -05:00
Boris Zbarsky
0e5baea61e Bug 1419270 part 2. Use getter or setter specific NeedsSubjectPrincipal annotations more. r=qdot
MozReview-Commit-ID: KBwjFh3TMUg
2017-12-05 16:03:18 -05:00
Samael Wang
dc937d2114 Bug 1406253 - Part 2: Implement nsIImageLoadingContent.currentRequestFinalURI. r=bz
ImageLoadingContent.currentURI returns the "URI" of currentRequest, which is
the URI used to start that request.  Some consumers need to know the final URI
of that request instead.

If the image request gets redirected on loading (e.g. an add-on intercepts the
request), currentRequestFinalURI will be the redirected URI, while currentURI
would be the original URI before redirect.

MozReview-Commit-ID: 9lX063uAIp1
2017-11-14 18:20:03 +08:00
Noemi Erli
d38996e0ff Backed out 3 changesets (bug 1406253)for build bustage in dom/base/nsCopySupport.cpp r=backout on a CLOSED TREE
Backed out changeset 284f3cc2880c (bug 1406253)
Backed out changeset aecb3d509a39 (bug 1406253)
Backed out changeset 9ce01198e8a1 (bug 1406253)
2017-11-20 13:34:29 +02:00
Samael Wang
285be03a55 Bug 1406253 - Part 2: Implement nsIImageLoadingContent.currentRequestFinalURI. r=bz
ImageLoadingContent.currentURI returns the "URI" of currentRequest, which is
the URI used to start that request.  Some consumers need to know the final URI
of that request instead.

If the image request gets redirected on loading (e.g. an add-on intercepts the
request), currentRequestFinalURI will be the redirected URI, while currentURI
would be the original URI before redirect.

MozReview-Commit-ID: 9lX063uAIp1
2017-11-14 18:20:03 +08:00
Kris Maglione
ce86c492cd Bug 1406278: Part 2c - Use subject principal as triggering principal in <img> "srcset" attribute. r=bz
MozReview-Commit-ID: 784EsgwBcS1
2017-10-02 21:30:34 -07:00
Kris Maglione
ae7452e40e Bug 1406278: Part 2b - Use subject principal as triggering principal in <img> "src" attribute. r=bz
MozReview-Commit-ID: DrblTjP99WJ
2017-10-02 20:28:32 -07:00
Boris Zbarsky
58e4289282 Bug 1380413 part 1. Remove unused nsIDOMHTMLImageElement bits. r=mccr8 2017-07-13 23:45:56 -04:00
johndai1984
871374f372 Bug 1340027 - Part 2: Add HTML CEReactions annotation. r=smaug 2017-06-29 10:26:00 -04:00
Swapnesh Kumar Sahoo
ce131543e8 Bug 1354331 - Remove network.http.enablePerElementReferrer usages. r=valentin r=baku 2017-05-01 00:12:34 +05:30
Edgar Chen
f7c0251c92 Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; r=bz
MozReview-Commit-ID: 1a2u7JUaFH2
2016-11-17 17:34:42 +08:00
Sebastian Hengst
be868aa9b1 Backed out changeset 32b1721d1125 (bug 1274159) 2016-12-14 13:27:18 +01:00
Edgar Chen
00069f8f0a Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; r=bz
MozReview-Commit-ID: 1a2u7JUaFH2
2016-11-17 17:34:42 +08:00
Edgar Chen
eaabbe4dea Bug 1306007 - Part 1: Remove srcset/picture feature control preference; r=jdm,smaug
MozReview-Commit-ID: BsyTHeqiGZL
2016-04-16 18:07:56 -04:00
Boris Zbarsky
ea2a869fda Bug 1304515. Remove the unused WebIDL version of ImageLoadingContent.loadImageWithChannel. r=ehsan 2016-09-22 16:58:35 +01:00
Franziskus Kiefer
aacb932dec Bug 1187357 - rename referrer attribute to referrerpolicy. r=hsivonen 2015-11-30 16:13:03 -08:00
Franziskus Kiefer
717a908373 Bug 1166910 - put referrer attribute behind pref in webidl, r=bz 2015-07-07 15:25:16 -07:00
Franziskus Kiefer
7a586a418e Bug 1166910 - Referrer attribute for img tag. r=ckerschb, r=hsivonen, r=bz 2015-06-05 15:25:24 -07:00
Carsten "Tomcat" Book
cb8e2da810 Backed out changeset f5f3827ffcf1 (bug 1166910) for bustage 2015-07-01 08:19:28 +02:00
Franziskus Kiefer
76b5864bfa Bug 1166910 - referrer attribute for img tag. r=hsivonen 2015-06-05 15:25:24 -07:00
John Schoenick
4c31f3ff16 Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
Ryan VanderMeulen
e613b6edac Backed out 4 changesets (bug 1139560) for update-the-source-set.html w-p-t failures.
Backed out changeset ffcb5e699ef5 (bug 1139560)
Backed out changeset a0ef86da9b15 (bug 1139560)
Backed out changeset dc2cd9c336c9 (bug 1139560)
Backed out changeset 1e8b305f26b0 (bug 1139560)

CLOSED TREE
2015-03-27 15:56:55 -04:00
John Schoenick
c40fa5e84b Bug 1139560 - <img>.currentSrc should be not be nullable. r=jst 2015-03-04 23:12:00 -05:00
John Schoenick
a1fa52f944 Bug 1055750 - Part 3 - Track image vs imageset request load type through ImageLoadingContent::LoadImage r=bz,tanvi 2014-10-24 14:00:14 -07:00
Boris Zbarsky
b83748a344 Bug 880997 part 3. Change crossOrigin reflection to allow null values and be a limited enumerated attribute. r=smaug 2014-09-05 22:42:33 -04:00
John Schoenick
369b51fd94 Bug 870022 - Part 4.1 - Add sizes to HTMLImageElement & atoms. r=jst, sr=jst 2014-06-25 11:47:47 -07:00
John Schoenick
27083f2cdc Bug 870021 - Followup, fix currentSrc visibility when pref'd off. r=bz 2014-06-03 15:12:38 -07:00
John Schoenick
d254a63e5d Bug 870021 - Part 6 - Add getCurrentSrc to HTMLImageElement. r=jst, sr=jst 2014-05-30 13:03:08 -07:00
John Schoenick
697b74e62b Bug 870021 - Part 1.3 - Add srcset to HTMLImageElement & atoms. r=jst, sr=jst 2014-05-30 13:03:04 -07:00
Ms2ger
a10860c033 Bug 878509 - Restore the HTMLImageElement.lowsrc, x, y attributes that were unintentionally removed; r=smaug 2013-06-02 17:38:25 +02:00
Boris Zbarsky
cfbbedc2a7 Bug 827158 part 10. Implement the WebIDL API for <object>. r=peterv,johns 2013-03-04 14:08:24 -05:00
Ehsan Akhgari
0dbd7fe1ce Bug 842376 - Update HTMLImageElement's named constructor to use optional arguments; r=bzbarsky 2013-02-19 18:26:44 -05:00
Boris Zbarsky
de8eb984f0 Bug 824237. Add support for "partial interface" to WebIDL parser. r=khuey 2013-01-10 10:49:07 -05:00
Ehsan Akhgari
176d1fd601 Bug 825527 - Part 4: Mirror the nsIImageLoadingContent API in HTMLImageElement for chrome callers; r=bzbarsky 2013-01-02 14:30:02 -05:00
Ehsan Akhgari
5975c5f8a3 Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky 2012-12-31 13:48:55 -05:00