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

815 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 1929f6c7c4 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd 2015-10-28 14:29:57 +09:00
Jean-Yves Avenard dd6214577c Bug 1188887: P3. Never throw an exception when seeking. r=jwwang
Per spec, no exception can ever be thrown when seeking.
Only leaving cases indicating a failure in one of the component (which other than a second to usec conversion overflow will never happen anyway).
2015-10-28 10:46:01 +11:00
Jean-Yves Avenard fb6bbafe09 Bug 1188887: P1. Allow seeking when readyState is HAVE_NOTHING. r=jwwang 2015-10-28 10:45:58 +11:00
Boris Zbarsky 216eb019ce Bug 1217270. Media documents loaded from file:// URIs should still fire onload. r=kinetik 2015-10-27 16:25:14 -04:00
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Bobby Holley 5e5b7d3713 Bug 1216308 - Followup for incomplete fix. r=me 2015-10-26 11:22:29 -07:00
Henri Sivonen 5e143ef9ca Bug 1202366 - Implement the encoder error mode "HTML" for nsFormSubmission without nsISaveAsCharset. r=NOT_emk.
--HG--
rename : intl/uconv/tests/test_big5_encoder.html => intl/uconv/tests/test_ncr_fallback.html
2015-10-22 11:12:42 +03:00
Ryan VanderMeulen 6fc25d5d88 Bug 495546 - Add crashtest.
--HG--
extra : rebase_source : 3911a4b705d660722713b7a7d94505566c732d84
2015-10-24 15:03:19 -04:00
Robert O'Callahan 0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan b09242d6c1 Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : LLiSI8usEMT
extra : rebase_source : 928b4fd451c28b57a43a873f05b7bf030ba13083
2015-10-21 10:23:17 +13:00
Jean-Yves Avenard 4b03031ba2 Bug 1217304: P2. Do not transition to HAVE_ENOUGH_DATA readyState until we do have data. r=jwwang
We must have at least a decoded frame available to transition to HAVE_ENOUGH_DATA, as otherwise canplay/canplaythrough will always be fired even if the data was invalid so long that it was small.
2015-10-23 23:34:05 +11:00
Jean-Yves Avenard 38486b8704 Bug 1217304: P1. Only fire loadeddata once the first frame has been decoded. r=jwwang
We can't determine otherwise if data is actually playable at the current position
2015-10-23 23:34:05 +11:00
Wes Kocher 5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book a58c789859 Merge m-c to b2g-inbound 2015-10-22 12:00:41 +02:00
Alastor Wu 5a7dd93588 Bug 1215447 - move flag setting from SeekStarted() to Seek(). r=roc.
--HG--
extra : transplant_source : f94M3%13%FA%B1%C3t%94%3B%E29%9A%19%07%FC%F4%3E
2015-10-22 11:37:16 +08:00
Guang-De Lin 5fc8c948b4 Bug 1150305 - sourcebuffer.buffered returns the same object if not changed. r=roc, r=bz, r=jya
--HG--
extra : rebase_source : ffacfcb39b567a6cd034b081f4330d88aacb98f4
2015-10-19 14:10:47 +08:00
Tooru Fujisawa 24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Xidorn Quan 5a106ab56a Bug 1203089 - Add test for fullscreen element in parent with perspective property. r=dholbert
--HG--
extra : rebase_source : 4f19451e2fe25495d3d9bbce6b291f133688c8ac
extra : source : b9dc969ee585ebca7038cac82272318a3597437b
2015-10-22 11:08:35 +11:00
Jonathan Watt 38abda8b15 Bug 1099103 - Prevent numbers input using a grouping separator from being mis-processed as if the separator was a decimal separator. r=dholbert
--HG--
extra : rebase_source : ae7f771134638e9d3988750de98a9e0a0374697a
2015-09-17 22:17:35 +01:00
Jonathan Watt b96e199943 Bug 1207088 - Don't show the "Choose folder..." button for a directory picking <input> on platforms that don't have a directory picker. r=jfkthame
--HG--
extra : rebase_source : 836a5eff5b37398af019f3a29848ee42092939dc
2015-09-16 11:42:27 +01:00
Carsten "Tomcat" Book 43610824f0 Backed out changeset 780061f96448 (bug 1213154)
--HG--
extra : rebase_source : 0d1ba1ee2f11faeedf93fa0baa4c06348deffdc4
2015-10-20 16:08:51 +02:00
Andrea Marchesini 7e6f1c0dce Bug 1127703 - "Support iteration on FormData" r=bz
--HG--
extra : rebase_source : a98ecef5346fd2936474e4056d2f99019162d13b
2015-10-20 04:06:00 +02:00
Andrea Marchesini ca59daf031 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
--HG--
extra : rebase_source : f9ee2ae4ea973b4c69633368cb5e0c5e6afa6540
2015-10-20 01:33:00 +02:00
Bobby Holley 3b14342481 Bug 1216308 - Hoist IsCallerChrome check in HTMLMediaElement::Play to API entry point. r=bz 2015-10-19 17:54:46 -07:00
Wes Kocher 4713742f00 Backed out changeset c159526f9145 (bug 1127703) for test_formSubmission.html failures 2015-10-19 16:02:06 -07:00
Andrea Marchesini c628603a97 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 19:23:52 +01:00
Wes Kocher db78fde55b Backed out changeset 736f0981762c (bug 1127703) for build bustage 2015-10-19 10:55:41 -07:00
Andrea Marchesini c94d30fc34 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 16:16:42 +01:00
Olli Pettay fee6bc69e2 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku 2015-10-18 14:14:22 +03:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Phil Ringnalda dc7a4cc45e Back out changeset 09e059daabae (bug 1215072) for adding a permaorange-on-b2g test
CLOSED TREE
2015-10-16 18:42:41 -07:00
Olli Pettay 2b21892477 Bug 1215072 - throw in case dictionary initialization fails in canvas.getContext, r=baku
--HG--
extra : rebase_source : 006bfed7cfec46e6150ee15135de08941283dbb7
2015-10-16 22:52:11 +03:00
Boris Zbarsky 8d9b5ee469 Bug 218093. Whitelist more mouse movement events to apply to disabled form controls. r=smaug 2015-10-16 14:36:19 -04:00
Carsten "Tomcat" Book 5207756269 Backed out changeset 97e9ac5785f5 (bug 1213154) for bc7 test failures
--HG--
extra : rebase_source : 5989b1677b925c6503290637e4c0fd4597d6f4e9
2015-10-16 12:03:40 +02:00
Andrea Marchesini bc1b4affc1 Bug 1213154 - tab-sound-icon should be supported by bfcache, r=roc
--HG--
extra : rebase_source : c75b227254aa5701eb728afef09a803e2698e600
2015-10-15 05:00:00 +02:00
Andrea Marchesini d92668f3a0 Bug 1214659 - HTMLMediaElement::UpdateAudioChannelPlayingState() should be easy to read, r=roc 2015-10-15 00:59:00 +02:00
Morris Tseng aba970f2a8 Bug 1214571 - Only create mContextObserver once. r=baku
--HG--
extra : commitid : JlT1u9F257B
extra : rebase_source : 7898e6c864c6851e05f47425462d5048483c9633
2015-10-16 10:01:53 +08:00
Boris Zbarsky b6743e865b Bug 1214819. Add support for @crossorigin to <link rel=prefetch> so resources can be prefetched via anonymous CORS, for example. r=hurley 2015-10-15 15:12:00 -04:00
JW Wang 5147e1f0af Bug 1214989. Part 3 - remove MediaDecoder::Init() and its callers. r=gerald. 2015-10-15 11:39:45 +08:00
JW Wang e868f91ff6 Bug 1214989. Part 2 - add MediaDecoderOwner to Clone() and overrides. r=gerald. 2015-10-15 11:37:47 +08:00
Boris Zbarsky 04e8705012 Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage. 2015-10-14 11:07:06 -04:00
JW Wang 1cc6677a90 Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik. 2015-10-14 11:46:27 +08:00
Nigel Babu a2f3106ede Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE
--HG--
extra : amend_source : 2ba50d75927848525041bea8ab3bbf371c72342d
2015-10-14 13:29:03 +05:30
Aryeh Gregor 73266dd62b Bug 1214164 - Don't honor all <option> descendants of <select>; r=bz
Per spec, we should only pay attention to options that are children of
the select, or of an optgroup child of the select.
2015-10-13 11:28:00 +02:00
Andrea Marchesini 94c0ba5263 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
extra : histedit_source : 194f9f7d34be735e8359d0e769dd4783d46b304c
2015-10-14 11:32:23 +05:30
Aryeh Gregor f8cdabf861 Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly.  For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
Carsten "Tomcat" Book 2b1a321946 merge mozilla-inbound to mozilla-central a=merge 2015-10-12 11:57:06 +02:00
Morris Tseng a8eab58fba Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
--HG--
extra : rebase_source : cc7761567d60d652b8d0bc9cab04cf310ef100e3
2015-10-12 11:21:03 +08:00