Jeremy Chen
e18b390d40
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
2016-05-23 11:26:03 +08:00
Boris Zbarsky
da1b7b9d44
Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham
2016-05-20 23:13:17 -04:00
Thomas Nguyen
4ed2def6a9
Bug 1261298 - W3C referrer policy attribute is not passed to image. r=jdm
...
MozReview-Commit-ID: 3S642wheFu1
2016-05-11 09:38:05 +08:00
Edgar Chen
8cf4fa9947
Bug 1264467 - Force a reload only when crossOrigin's state is really changed. r=jdm
...
MozReview-Commit-ID: F0wvy4TkPiQ
2016-04-14 18:53:44 -04:00
Aryeh Gregor
065ff1dee3
Bug 881000 - Reflect img.lowsrc as a URL, not string; r=bz
2016-05-05 21:29:54 +03:00
Kyle Huey
b972c94d0f
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Edgar Chen
aeed512b76
Bug 1193349 - Part 2: Force a reload only when a source/img is really removed from a picture; r=jdm
...
MozReview-Commit-ID: 96ui8rQf4uz
2016-04-22 22:36:54 +08:00
Edgar Chen
db0868d04c
Bug 1193349 - Part 1: Force a reload only when a source/img is really inserted into a picture; r=jdm
...
MozReview-Commit-ID: 4FfTwg1nRFO
2016-05-04 10:21:45 +08:00
Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Josh Matthews
6119192126
Bug 1134194 - Ensure that load events are dispatched for all cases when a responsive source updates. r=johns
...
MozReview-Commit-ID: DZmJCAIuhQb
2016-01-06 15:40:09 -05:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Edgar Chen
795f06d105
Bug 1264825 - Fix remaining failures in update-the-source-set.html; r=jdm
...
MozReview-Commit-ID: CO6z83SS3Nb
2016-03-18 22:16:00 +08:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Josh Matthews
7dd3fd3633
Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns
2016-03-30 12:39:59 -04:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Olli Pettay
ac62904551
Bug 1233259, only in-document images should respond to viewport changes, r=mystor
2015-12-18 03:48:47 +02:00
Andrew McCreight
2564b6bce5
Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
2015-12-03 14:03:12 -08:00
Wes Kocher
aa5d55b53d
Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
...
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)
2015-12-03 15:38:04 -08:00
Andrew McCreight
44d08333b8
Bug 1230110 - HTMLImageElement should call its superclass's DestroyContent(). r=smaug
2015-12-03 14:03:12 -08:00
Bobby Holley
2458093fc1
Bug 773429 - Remove dom.disable_image_src_set. r=khuey
2015-11-23 14:08:34 -08:00
Michael Layzell
2bf048f526
Bug 1166138 - Make img srcset react to resize/viewport changes, r=jdm
2015-11-12 09:39:23 -05:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Ms2ger
8251e83cfd
Bug 1193637 - Use IsMap() in HTMLImageElement::PreHandleEvent; r=mrbkap
2015-09-10 13:49:19 +02:00
Nathan Froyd
fa9b239f05
Bug 968923 - part 5b - add nsIDOMWindowUtils::forceUseCounterFlush; r=bz
...
Use counter submission normally happens at document destruction. For
testing use counters, however, we need to have use counters updated in
telemetry at deterministic points. Therefore, we provide a method on
nsIDOMWindowUtils that forces use counters out to telemetry so we can
examine them.
2015-03-17 15:25:35 -04:00
Robert O'Callahan
e53ead4eb4
Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
...
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Boris Zbarsky
47e7889ec7
Bug 1184647. Cloning an image should ensure that the clone tries to load the src, if any. r=smaug
2015-07-22 13:21:25 -04:00
John Schoenick
ddf9006491
Bug 1160819 - ResponsiveImageSelector - improve some over-aggressive assertions
2015-07-05 18:03:00 -07:00
Dragana Damjanovic
f5e3e71a6d
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02: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
Karl Tomlinson
67eaa5d6c6
bug 1171785 use nsContentUtils::RunInStableState() r=bholley
2015-06-11 14:36:12 +12:00
Josh Matthews
51dbdd345c
Bug 1163911 - Make responsive images block the document load event while the load task is queued. r=jst
2015-06-06 09:21:56 -04:00
Josh Matthews
f89eb2321e
Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns
2015-05-11 18:07:49 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Tooru Fujisawa
1ebc0fcbe0
Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug
2015-03-23 18:02:33 +09:00
Boris Zbarsky
3a822d99b4
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Tooru Fujisawa
1df47134f9
Bug 1141455 - Do not treat an element with tabindex as an interactive content in label. r=smaug
2015-03-18 05:42:14 +09:00
Josh Matthews
5cd5b5b9fe
Bug 1141260 - Null-check the responsive selector in images. r=jst
2015-03-10 17:38:30 -04:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Dhi Aurrahman
4eea7d7fd0
Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky
2015-02-13 08:27:39 +07:00
Robert Longson
5fb72bf71f
Bug 1134131 r=jst
2015-02-19 11:43:42 +00:00
John Schoenick
73294b7f47
Bug 1067345 - Part 2 - Add HTMLImageElement::SelectSourceForTagWithAttrs to do <picture> source selection without a DOM
2014-12-10 18:53:00 -05:00
John Schoenick
0bff235275
Bug 1067345 - Part 1.3 - ResponsiveImageSelector should resolve the URL at selection time, store unresolved strings for candidates
2014-12-10 18:53:00 -05:00
Olli Pettay
250d9e6457
Bug 1133104, null check parent node before checking whether it is <picture>, r=bz
2015-02-14 13:02:47 +02:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Boris Zbarsky
3fae5e0244
Bug 608261. Set img.complete to false while the image has a pending request. r=sicking
2015-02-04 21:05:17 -05:00