Commit Graph

543 Commits

Author SHA1 Message Date
Andrea Marchesini
3aa189b5ff Bug 1163388 - patch 2 - get rid of nsIDOMFile, r=ehsan
--HG--
rename : dom/base/nsIDOMFile.idl => dom/base/nsIDOMBlob.idl
2015-05-18 14:52:26 +01:00
Andrea Marchesini
338c67e420 Bug 1163388 - patch 1 - make nsIDOMFile an empty interface, r=ehsan 2015-05-18 14:51:54 +01:00
Jean-Yves Avenard
54a681396b Bug 1163445: Part5. Replace dom::TimeRanges with TimeIntervals object. r=mattwoodrow 2015-05-18 16:15:47 +10:00
Andreas Pehrson
a0fcf04b67 Bug 1032848 - Part 2: Implement HTMLCanvasElement::CaptureStream. r=mt, r=jesup, r=jgilbert, r=gwright
--HG--
extra : transplant_source : o%13%2CuRJ2%21%B0%AE%5D%F0%B3%11%B30Y%5B%A3N
2015-05-13 14:04:41 +08:00
Andreas Pehrson
bbda919298 Bug 1032848 - Part 1: Implement WebIDL for HTMLCanvasElement::CaptureStream. r=smaug, r=mt
--HG--
extra : transplant_source : %A5o%A1%80w%7F%F7%B9%7B%FD%C7%94Rv%F6Q%F0%FF%A4/
2015-05-13 14:04:30 +08:00
Mark Capella
b470913851 Bug 988143 - Enable Gecko Touch in Fennec, SelectionController mods, r=ehsan 2015-05-14 22:06:12 -04:00
Eric Rahm
34f99e4b4c Bug 1163201 - Part 1: Remove instances of #ifdef PR_LOGGING in dom/. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:23 -07:00
Ehsan Akhgari
1a03395848 Bug 1154275 - Remove ise() in favor of is(); r=Ms2ger 2015-05-13 14:31:58 -04:00
Andrea Marchesini
f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini
368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
5ebaa0d07a Backed out changeset 5eec0168c916 (bug 1159401) because I backed out the thing this was following up 2015-05-11 15:21:41 -07:00
Josh Matthews
d8f37388bd Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Wes Kocher
983fcabeef Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Daniel Holbert
6b2f0bf79d Bug 1159401 followup: Annotate nsFSURLEncoded methods SupportsIsindexSubmission() & AddIsindex() as 'override'. rs=ehsan 2015-05-11 14:01:24 -07:00
Wes Kocher
6b003ab737 Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00
Andrea Marchesini
49a0ee6938 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-11 18:50:54 +01:00
Andrea Marchesini
91a8a35606 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
2390c704f8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE

--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini
48ecacaa74 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Wes Kocher
e8eda9f49a Backed out changeset c41fa4e8dfb2 (bug 1162765) for frequent mochitest-2 failures CLOSED TREE 2015-05-08 18:18:29 -07:00
Wes Kocher
271053cd40 Backed out 1 changesets (bug 1162765)
Backed out changeset 18886e5d06df (bug 1162765)
2015-05-08 18:18:03 -07:00
Ehsan Akhgari
612bad133c Bug 1162765 - Part 2: Convert nsGenericHTMLFormElement::mFieldSet to a strong reference; r=mccr8 2015-05-08 16:33:08 -04:00
Ehsan Akhgari
9bb0321b47 Bug 1162765 - Part 1: Convert nsGenericHTMLFormElement::mForm to a strong reference; r=mccr8 2015-05-08 16:33:07 -04:00
Sotaro Ikeda
1bf44ebad6 Bug 1162639 - Make consistent how to handle MediaStreamURI r=roc 2015-05-08 13:08:23 -07:00
Boris Zbarsky
c62b672fe3 Bug 1162835. Add some missing includes to nsFormSubmission and nsFormData. r=baku 2015-05-08 09:17:35 -04:00
Ehsan Akhgari
15c042b804 Bug 1162789 - Add a comment explaining why mForm is not set to null during unlink
Comment-only, landed on a CLOSED TREE, DONTBUILD
2015-05-07 23:13:13 -04:00
Christoph Kerschbaumer
f23a2ecf6f Bug 1038756 - Extending LoadInfo and storing LoadInfo on all channels created through NS_NewChannel - followup: removal of duplicate error check (r=sicking) 2015-05-04 17:02:38 -07:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Andrew McCreight
9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bobby Holley
75cd0709f1 Bug 1160064 - Give WatchManager an owner thread and make sure everything happens there. r=jww 2015-04-30 21:29:50 -07:00
Bobby Holley
987b0f6994 Bug 1160064 - Explicitly initialize logging at the right time. r=jww
The patches in this bug can cause us to log things before some of the Ensure*Log
macros are called. Let's just do this right.
2015-04-30 21:29:42 -07:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Bobby Holley
7ed6ae7327 Bug 1159558 - Redesign watching to use a manager. r=jww 2015-04-30 12:46:40 -07:00
Kevin Chen
41669c8fe2 Bug 1097479 - Allow nested content process to embed apps and add a nested pref check function. r=kanru
--HG--
extra : rebase_source : cffe31cb84bfd635458465774e77c4ff182839f0
2015-04-29 03:48:00 +02:00
Tooru Fujisawa
0edbeb71c8 Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Bob Owen
1fadbab407 Bug 1156059 Part 2: Ensure that META REFRESH is blocked by iframe sandbox. r=bz 2015-04-29 07:28:17 +01:00
JW Wang
ab2b51d624 Bug 1159144 - check (-1, -1) for invalid video size. r=jya. 2015-04-29 09:56:03 +08:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Boris Zbarsky
d36060dc11 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04:00
Boris Zbarsky
1540774b0c 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
Kyle Huey
0f81e8288a Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-25 07:23:54 -07:00
Wes Kocher
65b94d7a9d Backed out changeset 022beda1707c (bug 1158366) for wError build bustage 2015-04-24 16:52:52 -07:00
Kyle Huey
cdd7af4cfa Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan 2015-04-24 16:09:30 -07:00
Andrew McCreight
0c176ddcff Bug 1062479 - Use static strings for WeakReference type names. r=ehsan 2015-04-24 09:43:01 -07:00
Bobby Holley
fbc2c98020 Bug 1144481 - Use state mirroring for NextFrameStatus. r=jww 2015-04-23 11:55:14 -07:00
Bobby Holley
0867953797 Bug 1144486 - Use state watching machinery for mReadyState updates. r=jww 2015-04-22 21:38:11 -07:00
Boris Zbarsky
9cbb1e7539 Bug 1157451. Make nsCORSListenerProxy::Init take an enum, not a boolean, to indicate what to do with data: URIs. And make it required, not defaulted to disallowing. r=smaug 2015-04-22 20:30:10 -04:00
Boris Zbarsky
6e3069def0 Bug 1109693. More places that use CORS should in fact allow data: URIs. r=smaug 2015-04-22 20:30:10 -04:00
Andrea Marchesini
789ad8312d Bug 1156632 - Remove unused forward class declarations - patch 3 - dom/{events,xbl,xslt,xul} and others, r=ehsan 2015-04-22 08:29:18 +02:00
Ehsan Akhgari
399276d5fc Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0 Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE 2015-04-21 15:47:40 -07:00
Ehsan Akhgari
3d21a05904 Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Masayuki Nakano
d9544ae02d Bug 1128787 part.2 nsHTMLDocument should clear focus before making itself editable when designMode is enabled and it makes the focused content non-focusable r=smaug+enndeakin 2015-04-21 15:27:10 +09:00
Boris Zbarsky
ff8ef95ec2 Bug 1156197. Just use the return value of the cols DOM property for determining the default number of rendered columns for a textarea. r=ms2ger 2015-04-20 16:54:46 -04:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ehsan Akhgari
3f3e975f18 Bug 1155469 - Mark nsTextEditorState::mTextCtrlElement as MOZ_NON_OWNING_REF; r=baku 2015-04-17 11:14:46 -04:00
Valentin Gosu
f2c9e3a737 Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00
Geoff Brown
1fedc52d16 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
Ehsan Akhgari
e7830328c1 Bug 1154336 - Convert nsTextEditorState::mRestoringSelection into a strong reference; r=baku 2015-04-14 15:13:35 -04:00
Carsten "Tomcat" Book
807db18b59 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen
612dc2a6ee Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
51fd5c3de1 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Jean-Yves Avenard
01ed7a3eb9 Bug 1153049: Part5. Simplify retrieval of HTMLVideoElement dimensions. r=cpearce
--HG--
extra : rebase_source : f20080a613cf8dfb5a6aec4ec01923e7ad380282
2015-04-14 15:17:55 +10:00
Jean-Yves Avenard
4623f4873e Bug 1153049: Part4. Remove redundant mHasAudio/mHasVideo member. r=cpearce
--HG--
extra : rebase_source : f53f194f7e8c870024c39270a626bc41f2f79d0b
2015-04-14 15:17:51 +10:00
Jean-Yves Avenard
a7c51ce020 Bug 1153049: Part1. Merge MediaInfo and mp4_demuxer::TrackConfig. r=cpearce
--HG--
extra : rebase_source : 5387f4dbab91f354700361ff14daea33f3b56e2e
2015-04-14 15:15:46 +10:00
Jean-Yves Avenard
6efbf8c631 Bug 1153686: Remove redundant mMediaSize member. r=roc
--HG--
extra : rebase_source : ab88f07b315389cbeec2063ac87048021d8ae340
2015-04-14 15:15:46 +10:00
Alexandre Lissy
366fdcfa2e Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Nathan Froyd
2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Robert O'Callahan
1524dbeb74 Bug 1149494 - Part 1. Add a listener directly to the unblocked input stream that reports the size of the first non-empty frame seen. r=pehrsons
--HG--
extra : rebase_source : 79b92a9726670125cd028355e298e43a200785ab
2015-04-08 17:51:21 +12:00
Jed Davis
e05c60dc2e Bug 1149395 - Improve test case for mozSetFileArray recompartmenting. r=mrbkap
CLOSED TREE
2015-03-31 16:14:00 -04:00
Phil Ringnalda
fa3a91e936 Merge m-i to m-c, a=merge 2015-04-04 09:59:17 -07:00
Alexandre Lissy
9ae846113e Bug 1150490 - Disable B2G failing test on Mulet for green R6. r=ahal 2015-04-02 07:16:00 -04:00
Jed Davis
ae42a23a28 Bug 1143934 - Disallow mozSetFileNameArray in content processes. r=ehsan
Summary of rationale: it never entirely worked, in that the File objects
it created would cause form submission to fail, and the longer-term plan
for content-process system-principal scripts is to remove APIs that allow
direct filesystem access.
2015-03-31 20:47:00 -04:00
Jed Davis
5f05e21de0 Bug 1143934 - Fix assorted forms mochitests for e10s-compatibility. r=smaug
The bug 143220 test no longer attempts to read the chrome value property
from the input elements, because that would use PBlob::GetFilePath which
isn't allowed on B2G, and those checks aren't really necessary anymore.
2015-03-31 20:33:00 -04:00
Nathan Froyd
4c7234747e Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
Gerald Squelart
9c87262f4f Bug 1144409 - Encrypted event should be fired once per initData. r=cpearce 2015-04-01 03:36:00 -04:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Alastor Wu
5f4ff6530f Bug 1107534 - Using audio channels type to capture different stream. r=roc 2015-03-31 10:14:00 +08:00
Jed Davis
5335bb72d5 Bug 1146116 - Clone File objects passed to mozSetFileArray into receiver's global. r=sicking 2015-03-27 08:41:00 -04:00
Chris Double
12fa2513ff Bug 1148092 - Telemetry for EME playback success/failure - r=cpearce,bsmedberg 2015-03-28 12:49:55 +13:00
Blake Kaplan
5c1748cefe Bug 1086684 - Stash the full path for file inputs to avoid doing IPC at inopportune times. r=ehsan/bent/gps 2015-03-27 13:12:37 -07:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Geoff Brown
53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Steven Michaud
216c2a5923 Bug 1147521 - Cannot type into comment area of plugin crash UI. r=smaug 2015-03-26 19:38:13 -05:00
Chris Pearce
c3edca1d79 Bug 1147226 - Ensure media.eme.mse-only is honoured in HTMLMediaElement::MetadataLoaded(). r=edwin 2015-03-25 15:00:26 +13:00
Wes Kocher
af7c4c6606 Merge m-c to inbound a=merge CLOSED TREE 2015-03-24 18:35:30 -07:00
Matthew Noorenberghe
b2a7f5ef69 Bug 1120860 - Measure whether an <input type=password> is associated with a <form> in BindToTree. r=smaug
--HG--
extra : rebase_source : bbabe796a1ec1c6d545cec4dc61e51c3bba31624
2015-03-24 10:27:56 -07:00
Steven Michaud
85d045aa93 Bug 1137229 - Keyboard input can stop working in a window. r=smaug 2015-03-24 17:02:52 -05:00
Trevor Saunders
d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Wes Kocher
49bb55c007 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-23 16:47:58 -07:00
Ryan VanderMeulen
c072fb62c8 Bug 942411 - Re-enable test_ignoreuserfocus.html on B2G.
--HG--
extra : histedit_source : 26ca83c532d04c45c93fbe1df7a10f0b2333c5ae
2015-03-23 14:33:46 -04:00
Edwin Flores
d3bddb14f8 Bug 1134434 - Fix bustage on a CLOSED TREE - r=bustage 2015-03-23 16:44:20 +13:00
Edwin Flores
9a9b42ccdf Bug 1134434 - Fire loadedmetadata before encrypted event on encrypted MP4s - r=cpearce 2015-03-23 15:31:15 +13:00
Chris Double
7b81062b52 Bug 1145004 - Fix MSE Telemetry VIDEO_MSE_BUFFERING_COUNT - r=cpearce 2015-03-25 10:37:37 +13:00
Ryan VanderMeulen
4dd9a03e24 Backed out changeset cb2fce9d19c7 (bug 1137229) for OSX Werror bustage.
CLOSED TREE
2015-03-24 13:07:26 -04:00
Steven Michaud
f38180eace Bug 1137229 - Keyboard input can stop working in a window. r=smaug 2015-03-24 11:41:32 -05:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Alexandre Lissy
77d1e01b3c Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Alexandre Lissy
16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Boris Zbarsky
dc24477d79 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
Boris Zbarsky
d0ebde3bb7 Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.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/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Tooru Fujisawa
de4b4e39c8 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
Neil Deakin
e250f1ab8f Bug 942411, change the frame height to force a reflow and renable the test on Linux to see if it helps, r=smaug 2015-03-17 08:05:07 -04:00
Jean-Yves Avenard
66af51d5a7 Bug 1144980: Don't fire timeupdate event immediately after seeking event. r=karlt 2015-03-23 21:08:00 +11:00
Jean-Yves Avenard
ce6b914b45 Bug 1144509: Part1. Fire timeupdate before seeked event as per spec. r=karlt 2015-03-23 21:03:39 +11:00
Tooru Fujisawa
e44e20c93d Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug 2015-03-23 18:02:33 +09:00
Nikhil Marathe
508af070e6 Bug 739173 - Support FormData in workers. r=khuey,baku
--HG--
extra : rebase_source : 2ddd847d280e3aede963c51ed525170d86eebd3c
2015-01-27 15:16:21 -08:00
Nikhil Marathe
f51e8c8dbd Bug 1127150 - Use File's name instead of explicit file name in form submission related classes. r=baku
Our nsFormSubmission and subclasses accepted a third filename argument to
explicitly specify the filename. Since switching from nsIDOMBlob to File in Bug
1085283, we can read out the filename directly from the File. This simplifies
the code, but introduces a change in the way Firefox submits form data to
servers.

Consider the code:
var fd = new FormData();
fd.append("blob1", new Blob(["hi"]), ""); // explicit empty filename as third arg
fd.append("file1", new File(["hi"], "")); // File's name is empty, no third arg.
xhr.send(fd);

Previously, the request body had filename="" in the first case, and filename="blob" in the second.
This patch will change it to both cases result in filename=""

This behaviour isn't exactly specced anywhere, nor in the HTML spec [1], nor in
RFC 2388. In addition Blink (at least Chromium v40) has the same behaviour
introduced by this patch. So shipping it seems ok to me.

[1]: http://www.w3.org/html/wg/drafts/html/master/semantics.html#multipart/form-data-encoding-algorithm

--HG--
extra : rebase_source : 6631e6900fe1a9b991c397b76e5be6b913715c5a
2015-02-21 11:54:44 -08:00
Chris Double
1ef0fc9d78 Bug 1127646 - Report MSE Join Latency and MTBR in telemetry - r=cpearce,bsmedberg 2015-03-13 15:02:49 +13:00
Boris Zbarsky
820353b345 Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. r=sicking 2015-03-12 21:46:57 -04:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Robert O'Callahan
c7d1538273 Bug 1125767. Centralize code into nsStylePosition::IsFixedPosContainingBlock. r=mats
Also renames IsPositioned to IsAbsPosContainingBlock.

--HG--
extra : rebase_source : b412f6291d34e30e8d57e054645bd1e04f43593f
extra : histedit_source : 01a2bd57de4eec4ecf3f3712ee609d70ca14cda4
2015-03-12 16:21:01 +13:00
Josh Matthews
1566058f01 Bug 1142032 - Add a crashtest. 2015-03-11 09:31:57 -04:00
Josh Matthews
7836402845 Bug 1141260 - Null-check the responsive selector in images. r=jst 2015-03-10 17:38:30 -04:00
Wes Kocher
014849cca6 Merge m-c to inbound a=merge CLOSED TREE 2015-03-10 16:11:23 -07:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Alexandre Lissy
e8b4f395c0 Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal 2015-03-10 02:43:00 +01:00
Robert Longson
5eebaf0b04 Bug 1134561 - Use of the namespace when checking the tag name if HTMLPictureElement and HTMLSourceElement. r=jst 2015-03-10 10:23:14 -04:00
Patrick McManus
0110ebbcda bug 1135160 - implement link rel=preconnect r=smaug
--HG--
extra : rebase_source : 445d77480f9cd6ca8ce0bfd9e6596f92d459323a
2015-02-20 17:01:36 -05:00
Tooru Fujisawa
4874873409 Bug 949971 - Set longer timeout for test_input_typing_sanitization.html. r=RyanVM 2015-03-05 15:29:59 +09:00
Alastor Wu
36914534af Bug 1119936 - Audio from FM Radio or Music app ceases to play when switching between front/back camera. r=roc 2015-03-09 15:41:51 +08:00
Bill McCloskey
6bc764098f Bug 1139005 - Need to check the return value of AutoJSAPI.init in canvas EncodeCallback (r=ayang) 2015-03-05 22:03:22 -08:00
Wes Kocher
591b801503 Merge fx-team to m-c a=merge CLOSED TREE 2015-03-05 14:51:48 -08:00
Dave Townsend
3e934217ce Bug 1139099: Dispatch DOMDocElementInserted to match the document-element-inserted observer notification. r=mrbkap
--HG--
extra : rebase_source : e9eb26724c1889d893aa717fa6b4c7811099bc6b
2015-03-03 14:07:08 -08:00
Ryan VanderMeulen
0df6e6a284 Backed out 4 changesets (bug 1128357) for causing intermittent B2G mochitest asserts.
Backed out changeset da4499b52105 (bug 1128357)
Backed out changeset fa440c623c4d (bug 1128357)
Backed out changeset 36b8feee431e (bug 1128357)
Backed out changeset aaa85558f413 (bug 1128357)

CLOSED TREE
2015-03-04 12:53:06 -05:00
Sotaro Ikeda
b3535ec3a6 Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 17:33:40 -08:00
JW Wang
600d021a05 Bug 1138557 - Add null check to mLoadingSrc. r=karlt
--HG--
extra : rebase_source : 521a2570029605e7c9e5388feb627ef3a30841a7
2015-03-03 02:14:00 -05:00
Sotaro Ikeda
e311d8a1c2 Bug 1128357 Patch 2: Don't dispatch seeking/seeked events when coming out of dormant mode r=cpearce 2015-03-04 06:37:04 -08:00
Chris Pearce
32709762d8 Bug 1139316 - Add pref to enable EME outside of MSE. r=edwin 2015-03-04 23:07:30 +13:00
Ehsan Akhgari
3cf3794589 Bug 1125963 - Part 1: Fix serialization of the pre-wrap elements that Thunderbird relies on; r=bzbarsky
This ensures that the plaintext serializer doesn't use the preformatted
text code path if we have encountered a pre-wrap element that
Thunderbird uses (which means setting white-space: pre-wrap and width:
NNch on the body element.)

It also ensures that we use 0 as the wrap column number passed down to
the plaintext serializer, instead of -1, which this code seems to be
unable to handle properly.
2015-03-04 00:50:17 -05:00
Andrea Marchesini
aa050b2336 Bug 1134280 - Get rid of Tag() - patch 5 - nsGenericHTMLElement::IsHTMLElement, r=smaug 2015-03-03 11:09:01 +00:00
Andrea Marchesini
76dd8edccb Bug 1134280 - Get rid of Tag() - patch 2.8 - dom/html - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f 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
Andreas Pehrson
9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
c39201e0d2 Bug 1129263 - Part 4. Use MediaInfo instead of mHasAudio/Video in media element. r=roc 2015-02-09 14:51:17 +08:00
Anthony Jones
69c0b09ad3 Bug 1138253 - Count dropped frames directly; r=cpearce 2015-03-03 17:46:48 +13:00
Edwin Flores
19d0abeb47 Bug 1131392 - Restrict EME to MSE only - r=cpearce 2015-03-03 11:02:36 +13:00
Tooru Fujisawa
b0d7ebd80f Bug 1108382 - Part 6: Do not use non-standard flag argument of String.prototype.replace in dom/. r=peterv 2015-03-01 09:51:33 +09:00
Olli Pettay
556df42aa4 Bug 1037687, load iframes in shadow DOM, r=wchen
--HG--
extra : rebase_source : 4db8f02b4e35c36100ee96b251ac6b405a70ba7d
2015-02-24 16:41:43 +02:00
Nikhil Marathe
21320ed8f5 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku
--HG--
extra : transplant_source : %60FDw%85%90%8Ee%AF%FEN5%B4%839%06%87%A3%D5%DE
extra : histedit_source : 7eac70682c37a31de12f1d062de080d38ad797ff
2015-01-28 17:04:28 -08:00
Gabor Krizsanits
827f87aa22 Bug 1109007 - Adding htmlimports.enabled pref flag. r=wchen 2015-02-23 13:06:28 +01:00
Ryan VanderMeulen
ec1e3cb1c9 Backed out 2 changesets (bug 1127150, bug 1085283) for w-p-t failures.
Backed out changeset cc77a5165615 (bug 1127150)
Backed out changeset ef51eb31fa09 (bug 1085283)
2015-02-21 15:47:04 -05:00
Nikhil Marathe
3f2d124490 Bug 1127150 - Fix FormData File filename. r=baku
--HG--
extra : amend_source : 14536665b8b324224005d10b00814bfaefac039c
extra : transplant_source : %3C%F5%C7%A6%18%DE%A4%B4%5E%8E%FB%D7%96%BC/%CA%BD%85%E7u
2015-02-21 11:54:44 -08:00
Nikhil Marathe
dc95b34087 Bug 1085283 - Patch 1 Implement FormData manipulation methods. r=baku
--HG--
extra : rebase_source : 203ff081d07fc8e25b2d49d0923799aca0c53ab4
2015-01-28 17:04:28 -08:00
Steven Michaud
68e8327d5b Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
Dhi Aurrahman
3d354b6e25 Bug 835800 - Convert more DOM attribute reflectors to DOMString. r=bzbarsky 2015-02-13 08:27:39 +07:00
Chris Double
3fc47297c7 Bug 1119947 - Add telemetry for MSE video playback - r=cpearce,bsmedberg
This adds telemetry to record the state of the video playback
when the user exits. We are interested in knowing if the video
was buffering, paused, seeking, ended or other.

More telemetry will be added in bug 1127646.
2015-02-20 13:46:56 +13:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Robert Longson
d3bccc4332 Bug 1134131 r=jst 2015-02-19 11:43:42 +00:00
Masayuki Nakano
019965a1f6 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Jeff Lu
2881077b96 Bug 1098415 - Skip DNS prefetch for local resources. r=sworkman 2015-02-12 15:21:00 +01:00
Josh Matthews
03913d3a48 Bug 1017875 and 1018389 - Update WPT expectations. 2015-02-17 10:21:16 -05:00
John Schoenick
7cbfeaf2a5 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
9a3d9de427 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
Alfredo Yang
7237654e96 Bug 1130920 - don't set preload to none when src is MSE. r=cpearce 2015-02-15 18:38:00 +01:00
Olli Pettay
62064bcb83 Bug 1133104, null check parent node before checking whether it is <picture>, r=bz 2015-02-14 13:02:47 +02:00
Boris Zbarsky
f69290eaf6 Bug 1131801 part 2. Get rid of the now-useless RescueOrphansInScope. r=peterv 2015-02-13 14:34:53 -05:00
Wes Kocher
8319eb47c6 Backed out changeset be654bd9e20d (bug 1131801) 2015-02-13 13:25:38 -08:00
Boris Zbarsky
3868298fd6 Bug 1131801 part 2. Get rid of the now-useless RescueOrphansInScope. r=peterv 2015-02-13 14:34:53 -05:00
Boris Zbarsky
436b43b3ce Bug 1132655. Don't allow conversions from DOMString to const XPCOM string references, since it's meant to be an outparam only. r=smaug 2015-02-12 18:39:26 -05:00
Robert Longson
1feca4bc89 Bug 1108887 - Backout part 2 of bug 949435 (SVG iframe). r=bzbarsky 2015-02-11 11:20:50 +00:00
Ting-Yu Chou
534f594bd0 Bug 1127189 part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru 2015-02-09 15:04:18 +08:00
William Chen
bf1efa0c19 Bug 1087460 - Part 1: Make GetComposedDoc() work in UnbindFromTree. r=smaug 2015-02-09 10:01:23 -08:00
JW Wang
b956fb2561 Bug 1130906 - remove HTMLMediaElement.waitingFor for spec. changes. r=cpearce. r=bz. 2015-02-10 11:00:35 +08:00
Nicholas Nethercote
242708cf72 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Jean-Yves Avenard
67411f1d5e Bug 1129732: Part1. Dynamically adjust calculations using timestampoffset. r=mattwoodrow
Timestamp Offset calculations are now done exclusively by the Media Source
components which allow to recalculate them on the fly. By abstracting those
offsets it remove the need for the sub-decoders to handle them (which allows
to add WebM support).
2015-02-09 23:28:59 +11:00
Carsten "Tomcat" Book
c6dca3bc4f Backed out changeset 2f31942e18b5 (bug 1127189) 2015-02-09 13:22:25 +01:00
Ting-Yu Chou
ee9b619e7d Bug 1127189 - part 2 - Initialize browser API directly to get rid of nsBrowserElement observers. r=kanru
--HG--
extra : rebase_source : 84f091ace43aebdb1c71e3060aa5a8220561977d
2015-02-09 15:04:18 +08:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Tom Schuster
811d8614fd Bug 1124935 - Remove LookupProperty from JS_GetPropertyDescriptor. r=efaust,bz 2015-02-06 15:43:20 +01:00
JW Wang
fdb1cf711c Bug 868866 - only stop delaying the load event when media fetch has stalled is MSE case. r=cpearce 2015-02-01 18:21:00 +01:00
Ryan VanderMeulen
b83ba6b825 Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Nicholas Nethercote
d34f0301b8 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Deian Stefan
88942a6436 Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug 2015-02-03 23:45:00 +01:00
Boris Zbarsky
013f9a6875 Bug 608261. Set img.complete to false while the image has a pending request. r=sicking 2015-02-04 21:05:17 -05:00
David Keeler
dcc3953291 bug 832837 - move insecure form submission warning from nsSecureBrowserUIImpl to the HTML form implementation r=mrbkap r=phlsa
As a result, we can remove nsSecurityWarningDialogs completely, which this patch also does.
2015-01-15 11:01:10 -08:00
Chris Double
e018144486 Bug 1128742 - Prevent pages with MSE content from being stored in bfcache - r=roc 2015-02-04 13:01:59 +13:00
Bill McCloskey
aa5986fb0f Bug 1126245 - Add test (r=bent) 2015-02-03 09:20:50 -08:00
Boris Zbarsky
ff09f6fedb Bug 1128153. When a number input contains a non-number (possibly empty) value, the validation message should be about the value not being a number, not about there being no value. r=jwatt 2015-02-02 15:42:40 -05:00
Ryan VanderMeulen
661f1f36a2 Backed out changeset 714ddf32db74 (bug 1128153) for mochitest failures. 2015-02-02 16:56:47 -05:00
Boris Zbarsky
472aa76c40 Bug 1128153. When a number input contains a non-number (possibly empty) value, the validation message should be about the value not being a number, not about there being no value. r=jwatt 2015-02-02 15:42:40 -05:00
Gijs Kruitbosch
d1ba63acaf Bug 1127416 - add observer service notification for EME video, r=cpearce
--HG--
extra : amend_source : f633a98394075e9cc19044776e10823ad262791b
2015-02-01 15:20:57 +00:00
Mike Hommey
a35dbaeebf Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Bobby Holley
419b834c80 Bug 1127203 - Rename aError to aTolerance. r=mattwoodrow
aError is a really misleading name.
2015-01-30 17:45:49 -08:00
David Keeler
718bcfa712 backout cd0ec3afca5a (bug 832837) for mochitest bustage 2015-01-30 11:25:24 -08:00
David Keeler
11b9c65608 bug 832837 - move insecure form submission warning from nsSecureBrowserUIImpl to the HTML form implementation r=mrbkap r=phlsa
As a result, we can remove nsSecurityWarningDialogs completely, which this patch also does.
2015-01-15 11:01:10 -08:00
JW Wang
99e95e2eff Bug 1127171 - Put mozCaptureStream operations in the same lock. r=roc 2015-01-28 18:57:00 -05:00
Chris Double
068ea7f2a6 Bug 1112424 Part 1 - Add moz specific methods to retrieve debug data to media object IDL - r=bz
Bug 1112424 adds an about:media page that gives debug information about HTMLMediaElements
and in particular MediaSource objects that are live inside tabs. This patch adds
methods to the MediaSource and HTMLMediaElement object to return the debug data as a string
that gets displayed directly in the about:media page, inside a <pre> element.

--HG--
extra : rebase_source : d655dc3d30a26846b965ceeda4849745aab7bef5
2015-01-29 15:35:55 +13:00
Jonathan Watt
930c032cf0 Bug 1064430, part 3 - Update <input type=email> validity tests to check both typeMismatch and badInput. r=smaug 2015-01-28 23:01:41 +00:00
Jonathan Watt
d6c594fbfd Bug 1064430, pat 2 - Don't set the 'badInput' state on <input type=email> for punycode encoding failures. r=bz 2015-01-28 23:01:37 +00:00
Jonathan Watt
11206c2541 Bug 1064430, part 1 - When punycode encoding <input type=email> content, only encode the domain labels. r=bz 2015-01-28 23:01:33 +00:00
Edwin Flores
592f17b93a Bug 1101304 - Handle CORS in EME - r=cpearce 2015-01-29 20:30:38 +13:00
Ehsan Akhgari
f732005cac Bug 1108547 - Part 3: Automated tests; r=jdm 2015-01-27 23:17:38 -05:00
Ehsan Akhgari
b1f6ca76ad Bug 1108547 - Part 2: Create a dummy channel for accessing the document's cookie when we don't have one already; r=jdm
This ensures that the cookie service can know which cookie database
to query from.  This is a gross hack, please see the discussion on
the bug as to why we did this.
2015-01-27 23:17:35 -05:00
Tooru Fujisawa
22c2568415 Bug 1069416 - Part 7: Remove JS_HAS_SYMBOLS from dom. r=smaug 2015-01-28 13:06:38 +09:00
Edwin Flores
28fbe0a0ef Bug 1124491 - Add HTMLMediaElement.isEncrypted attribute - r=cpearce,bz 2015-01-27 19:10:11 +13:00
Jed Davis
e64e389f2a Bug 1068838 - Fix file input element tests to open files in the parent process. r=sicking
The dom/base tests changed here use SpecialPowers.loadChromeScript to
construct a DOM File in the parent and send it to the child, using the
existing remote-blob infrastructure.  The dom/html tests don't need a
real file, so they now construct in-memory files.

As a convenient side-effect, these tests are now enabled for desktop
e10s (they were already being run out-of-process on B2G); most of them
failed before this change due to the code that's being moved/removed.
2015-01-26 16:23:00 -08:00