Граф коммитов

334 Коммитов

Автор SHA1 Сообщение Дата
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