Commit Graph

21747 Commits

Author SHA1 Message Date
James Cheng
0a71fb4e52 Bug 1321756 - Preference on media.decoder.recycle.enabled on Fennec. r=jya
MozReview-Commit-ID: GAjbykVSaqe

--HG--
extra : rebase_source : 66928272843aeccc5feedb4f490e975899e8384c
2016-12-02 15:24:15 +08:00
maliu
a3e84536ef Bug 1317326 - Pause media playing when headset unplugged, r=alwu,sebastian
MozReview-Commit-ID: GHdFWPgPum1

--HG--
extra : rebase_source : bcc8acf49da5ffb46732233da6106513eb8ad64b
2016-11-25 21:23:05 +08:00
Carsten "Tomcat" Book
fadc5a3e12 merge mozilla-inbound to mozilla-central a=merge 2016-12-02 09:23:52 +01:00
Wes Kocher
b9a8598f48 Merge m-c to inbound, a=merge 2016-12-01 15:46:23 -08:00
Wes Kocher
d360bdebf5 Merge inbound to central, a=merge 2016-12-01 15:31:47 -08:00
Jim Chen
8eb5680901 Bug 1321562 - Fix bugs in GeckoBundle.fromJSONObject; r=me
Fix a crash in GeckoBundle.fromJSONObject due to wrong values array
type. Also, fix a bug where the first element of a converted array is
repeated. r=me for trivial patch.
2016-12-01 12:25:22 -05:00
David Keeler
858957f033 bug 857627 - 2/4: remove nsIX509Cert.nickname r=Cykesiopka,jcj
In general, any code that was using nsIX509Cert.nickname should be able to use
the attribute displayName (if using nickname for display purposes) or the
attribute dbKey (if using nickname as a unique identifier for a certificate).

MozReview-Commit-ID: G9CfMJDfLqe

--HG--
extra : rebase_source : 1c464dab8f028568cedd5a42cf87428b8bb63fc0
2016-11-18 13:12:29 -08:00
Jan Henning
d67b48b711 Bug 1320987 - Stop leaking tabs during test_session_zombification. r=gbrown
A subtest's cleanup function only runs at the very end, after *all* subtests have finished. This means that we cannot use it to close the test tabs if we want to reuse the tab variables during following subtests. If we did, we'd be leaking those previous tabs, meaning they remain open at the end of the test and cause possible problems for following tests as well as lots of "Unable to restore focus" messages in the log.

MozReview-Commit-ID: H87JQ5gcIAg

--HG--
extra : rebase_source : 5e870acba4c8ee05557f1ac0175bda12606b4e28
2016-11-30 21:53:33 +01:00
Julian_Chu
374e6cda76 Bug 1314835: Add more debug information to TelemetryPingStore r=sebastian
So far still cannot find the reason of causing exception. To add more
debug information to make sure it is not permssion problem.

MozReview-Commit-ID: 7hhU7Et64Qs

--HG--
extra : rebase_source : 84ac7c066468bf613afe0513b2ce00081e16f62c
2016-11-15 14:35:59 +08:00
Ting-Yu Lin
81c457de9d Bug 1321491 Part 1 - Remove unnecessary "layout.accessiblecaret.enabled" for Fennec. r=mtseng
Fennec has touch support, so enabling
"layout.accessiblecaret.enabled_on_touch" in all.js is sufficient.

MozReview-Commit-ID: 4Aa3g5eqt2F

--HG--
extra : rebase_source : c5fe085fe3d643dcf9f9a3732986954032566837
2016-12-01 15:50:26 +08:00
James Cheng
2fca45e7dc Bug 1320618 - Check if codec supports adaptive playback to determine the decoder support recycling or not. r=jolin
MozReview-Commit-ID: C3pI9NCUgiP

--HG--
extra : rebase_source : c9da5d21ee76e660ea5a18f77b1ea6bccd14286d
2016-11-30 16:30:16 +08:00
Dylan Roeh
9ff1fe4af5 Bug 1235431 - Implement windowClient.focus() for Fennec. r=catalinb 2016-11-14 17:22:13 -06:00
Andrea Marchesini
8bbeee69cf Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 15:12:42 +01:00
Sebastian Hengst
2fff66aaac Backed out changeset d3ef6f3e9193 (bug 1321261) for build bustage (calling missing file BlobParent.h from dom/ipc/TabParent.cpp). r=backout on a CLOSED TREE
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/create_file_objects.js => dom/base/test/create_file_objects.js
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_mozfiledataurl_audio.ogg => dom/base/test/file_mozfiledataurl_audio.ogg
rename : dom/file/tests/file_mozfiledataurl_doc.html => dom/base/test/file_mozfiledataurl_doc.html
rename : dom/file/tests/file_mozfiledataurl_inner.html => dom/base/test/file_mozfiledataurl_inner.html
rename : dom/file/tests/file_mozfiledataurl_text.txt => dom/base/test/file_mozfiledataurl_text.txt
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileapi_chromeScript.js => dom/base/test/fileapi_chromeScript.js
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 12:27:28 +01:00
Andrea Marchesini
5fa67a1046 Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/create_file_objects.js => dom/file/tests/create_file_objects.js
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_mozfiledataurl_audio.ogg => dom/file/tests/file_mozfiledataurl_audio.ogg
rename : dom/base/test/file_mozfiledataurl_doc.html => dom/file/tests/file_mozfiledataurl_doc.html
rename : dom/base/test/file_mozfiledataurl_img.jpg => dom/file/tests/file_mozfiledataurl_img.jpg
rename : dom/base/test/file_mozfiledataurl_inner.html => dom/file/tests/file_mozfiledataurl_inner.html
rename : dom/base/test/file_mozfiledataurl_text.txt => dom/file/tests/file_mozfiledataurl_text.txt
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileapi_chromeScript.js => dom/file/tests/fileapi_chromeScript.js
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 11:43:18 +01:00
Sebastian Hengst
3d3ca51d8d Backed out changeset 806c3d121dd4 (bug 1321261) for timing out in test_fileapi.html, test_mozfiledataurl.html and test_nonascii_blob_url.html on Linux x64 asan and debug. r=backout
--HG--
rename : dom/file/BlobSet.cpp => dom/base/BlobSet.cpp
rename : dom/file/BlobSet.h => dom/base/BlobSet.h
rename : dom/file/File.cpp => dom/base/File.cpp
rename : dom/file/File.h => dom/base/File.h
rename : dom/file/FileList.cpp => dom/base/FileList.cpp
rename : dom/file/FileList.h => dom/base/FileList.h
rename : dom/file/FileReader.cpp => dom/base/FileReader.cpp
rename : dom/file/FileReader.h => dom/base/FileReader.h
rename : dom/file/MultipartBlobImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/file/MultipartBlobImpl.h => dom/base/MultipartBlobImpl.h
rename : dom/file/MutableBlobStorage.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/file/MutableBlobStorage.h => dom/base/MutableBlobStorage.h
rename : dom/file/MutableBlobStreamListener.cpp => dom/base/MutableBlobStreamListener.cpp
rename : dom/file/MutableBlobStreamListener.h => dom/base/MutableBlobStreamListener.h
rename : dom/file/nsHostObjectProtocolHandler.cpp => dom/base/nsHostObjectProtocolHandler.cpp
rename : dom/file/nsHostObjectProtocolHandler.h => dom/base/nsHostObjectProtocolHandler.h
rename : dom/file/nsHostObjectURI.cpp => dom/base/nsHostObjectURI.cpp
rename : dom/file/nsHostObjectURI.h => dom/base/nsHostObjectURI.h
rename : dom/file/nsIDOMBlob.idl => dom/base/nsIDOMBlob.idl
rename : dom/file/nsIDOMFileList.idl => dom/base/nsIDOMFileList.idl
rename : dom/file/tests/file_blobURL_expiring.html => dom/base/test/file_blobURL_expiring.html
rename : dom/file/tests/file_nonascii_blob_url.html => dom/base/test/file_nonascii_blob_url.html
rename : dom/file/tests/fileutils.js => dom/base/test/fileutils.js
rename : dom/file/tests/test_blobURL_expiring.html => dom/base/test/test_blobURL_expiring.html
rename : dom/file/tests/test_blob_fragment_and_query.html => dom/base/test/test_blob_fragment_and_query.html
rename : dom/file/tests/test_blobconstructor.html => dom/base/test/test_blobconstructor.html
rename : dom/file/tests/test_file_from_blob.html => dom/base/test/test_file_from_blob.html
rename : dom/file/tests/test_file_negative_date.html => dom/base/test/test_file_negative_date.html
rename : dom/file/tests/test_fileapi.html => dom/base/test/test_fileapi.html
rename : dom/file/tests/test_fileapi_slice.html => dom/base/test/test_fileapi_slice.html
rename : dom/file/tests/test_ipc_messagemanager_blob.html => dom/base/test/test_ipc_messagemanager_blob.html
rename : dom/file/tests/test_mozfiledataurl.html => dom/base/test/test_mozfiledataurl.html
rename : dom/file/tests/test_nonascii_blob_url.html => dom/base/test/test_nonascii_blob_url.html
rename : dom/file/ipc/Blob.cpp => dom/ipc/Blob.cpp
rename : dom/file/ipc/BlobChild.h => dom/ipc/BlobChild.h
rename : dom/file/ipc/BlobParent.h => dom/ipc/BlobParent.h
rename : dom/file/ipc/BlobTypes.ipdlh => dom/ipc/BlobTypes.ipdlh
rename : dom/file/ipc/PBlob.ipdl => dom/ipc/PBlob.ipdl
rename : dom/file/ipc/PBlobStream.ipdl => dom/ipc/PBlobStream.ipdl
rename : dom/file/ipc/nsIRemoteBlob.h => dom/ipc/nsIRemoteBlob.h
2016-12-01 11:05:56 +01:00
Andrea Marchesini
0606c6006d Bug 1321261 - create dom/file for File APIs, r=qdot
--HG--
rename : dom/base/BlobSet.cpp => dom/file/BlobSet.cpp
rename : dom/base/BlobSet.h => dom/file/BlobSet.h
rename : dom/base/File.cpp => dom/file/File.cpp
rename : dom/base/File.h => dom/file/File.h
rename : dom/base/FileList.cpp => dom/file/FileList.cpp
rename : dom/base/FileList.h => dom/file/FileList.h
rename : dom/base/FileReader.cpp => dom/file/FileReader.cpp
rename : dom/base/FileReader.h => dom/file/FileReader.h
rename : dom/base/MultipartBlobImpl.cpp => dom/file/MultipartBlobImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/file/MultipartBlobImpl.h
rename : dom/base/MutableBlobStorage.cpp => dom/file/MutableBlobStorage.cpp
rename : dom/base/MutableBlobStorage.h => dom/file/MutableBlobStorage.h
rename : dom/base/MutableBlobStreamListener.cpp => dom/file/MutableBlobStreamListener.cpp
rename : dom/base/MutableBlobStreamListener.h => dom/file/MutableBlobStreamListener.h
rename : dom/ipc/Blob.cpp => dom/file/ipc/Blob.cpp
rename : dom/ipc/BlobChild.h => dom/file/ipc/BlobChild.h
rename : dom/ipc/BlobParent.h => dom/file/ipc/BlobParent.h
rename : dom/ipc/BlobTypes.ipdlh => dom/file/ipc/BlobTypes.ipdlh
rename : dom/ipc/PBlob.ipdl => dom/file/ipc/PBlob.ipdl
rename : dom/ipc/PBlobStream.ipdl => dom/file/ipc/PBlobStream.ipdl
rename : dom/ipc/nsIRemoteBlob.h => dom/file/ipc/nsIRemoteBlob.h
rename : dom/base/nsHostObjectProtocolHandler.cpp => dom/file/nsHostObjectProtocolHandler.cpp
rename : dom/base/nsHostObjectProtocolHandler.h => dom/file/nsHostObjectProtocolHandler.h
rename : dom/base/nsHostObjectURI.cpp => dom/file/nsHostObjectURI.cpp
rename : dom/base/nsHostObjectURI.h => dom/file/nsHostObjectURI.h
rename : dom/base/nsIDOMBlob.idl => dom/file/nsIDOMBlob.idl
rename : dom/base/nsIDOMFileList.idl => dom/file/nsIDOMFileList.idl
rename : dom/base/test/file_blobURL_expiring.html => dom/file/tests/file_blobURL_expiring.html
rename : dom/base/test/file_nonascii_blob_url.html => dom/file/tests/file_nonascii_blob_url.html
rename : dom/base/test/fileutils.js => dom/file/tests/fileutils.js
rename : dom/base/test/test_blobURL_expiring.html => dom/file/tests/test_blobURL_expiring.html
rename : dom/base/test/test_blob_fragment_and_query.html => dom/file/tests/test_blob_fragment_and_query.html
rename : dom/base/test/test_blobconstructor.html => dom/file/tests/test_blobconstructor.html
rename : dom/base/test/test_file_from_blob.html => dom/file/tests/test_file_from_blob.html
rename : dom/base/test/test_file_negative_date.html => dom/file/tests/test_file_negative_date.html
rename : dom/base/test/test_fileapi.html => dom/file/tests/test_fileapi.html
rename : dom/base/test/test_fileapi_slice.html => dom/file/tests/test_fileapi_slice.html
rename : dom/base/test/test_ipc_messagemanager_blob.html => dom/file/tests/test_ipc_messagemanager_blob.html
rename : dom/base/test/test_mozfiledataurl.html => dom/file/tests/test_mozfiledataurl.html
rename : dom/base/test/test_nonascii_blob_url.html => dom/file/tests/test_nonascii_blob_url.html
2016-12-01 09:21:54 +01:00
Phil Ringnalda
9d4fa3ee74 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP

--HG--
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15-gradle/nightly-artifact
rename : mobile/android/config/mozconfigs/android-api-15-gradle/nightly => mobile/android/config/mozconfigs/android-api-15/nightly-artifact
2016-11-30 19:17:54 -08:00
Wes Kocher
68fb4b9d24 Merge inbound to central, a=merge 2016-11-30 16:12:21 -08:00
Ryan VanderMeulen
7af8f38714 Merge m-c to autoland on a CLOSED TREE. a=merge 2016-11-30 13:27:46 -05:00
Nathan Froyd
0fec2a74f2 Bug 1321073 - follow-up - don't --enable-rust for android-api-15-frontend; r=me 2016-11-30 09:27:27 -05:00
Jim Chen
c1989b166e Bug 1320603 - Revert to global EventDispatcher for certain events; r=sebastian
These events are not accessed through GeckoApp, and should therefore use
the global EventDispatcher rather than the per-GeckoApp/GeckoView
EventDispatcher. Otherwise, we could run into situations where we end up
registering / unregistering the same event using different
EventDispatcher instances, causing exceptions like this one.
2016-11-30 14:01:20 -05:00
Phil Ringnalda
430ec9a870 Merge m-c to autoland 2016-11-29 19:31:34 -08:00
Phil Ringnalda
ef3cede9a5 Merge m-i to m-c, a=merge
MozReview-Commit-ID: DAm5uRF7n91
2016-11-29 19:28:12 -08:00
Ralph Giles
cd67cdf6df Bug 1320960 - Add x86 target to tooltool rust android-cross. r=mshal
Update the tooltool manifests for the android builds to include
support for the i686-linux-android target.

MozReview-Commit-ID: EyALhnfG4Kz

--HG--
extra : rebase_source : a85b8c1509458e1f5a8f8eae163e38edd1c363ce
2016-11-29 08:01:56 -08:00
Tom Klein
e9ce8f8488 Bug 1321002 - Reduce total space at top and bottom of tabs grid panels. r=sebastian
Previously for the spacing at the top and bottom of the tabs grid panel we had
the total desired vertical spacing set on the RecyclerView padding, but then
there was also an additional half spacing coming from the ItemDecoration padding
in the top and bottom rows.  Here we decrease the RecyclerView vertical padding
to account for the ItemDecoration vertical padding.

The alternative route of keeping full RecyclerView padding and then having the
ItemDecoration adjust itself depending on its position turned out to not "just
work": for example, if span count is three and you have four tabs, then the
first three tabs have half padding along their bottoms (since there are two
rows), but then when you close tab 4, there's now only one row and so the three
tabs should have no padding along their bottoms (since the RecyclerView already
has its own full padding), *but only tab 3 gets its ItemDecoration updated
automatically*, so it gets 0 bottom padding, but its row still has other tabs
with half bottom padding, so a) there's still too much bottom padding in that
row coming from tabs 1 and 2, and b) tab 3 sits too far down in its space
because it doesn't have the bottom padding that tabs 1 and 2 do.

That issue could be fixed by updating all ItemDecorations after each close, but
the patch here is both simpler and leads to less runtime work.

MozReview-Commit-ID: 2WeZ6QdfIF4

--HG--
extra : rebase_source : 85aec8adfdaacac7062827e273cf697c09167d63
2016-11-28 14:58:09 -06:00
Nathan Froyd
d82a3032cd Bug 1321073 - enable Rust on Android builds; r=mshal 2016-11-30 05:38:17 -05:00
Phil Ringnalda
4f2b77776e Merge m-c to m-i
MozReview-Commit-ID: IQH3p0Fs2su
2016-11-29 19:32:37 -08:00
Geoff Brown
dbd190562a Bug 1318171 - Catch all throwables in SearchEngineManager.createEngineFromLocale; r=sebastian 2016-11-29 16:51:31 -07:00
André Bargull
440601a995 Bug 1320143 - Remove String generics uses in mobile/android/chrome/content. r=sebastian
--HG--
extra : rebase_source : ff926dec0ab0aa1d79a13d7312808607652d1364
2016-11-24 13:18:09 -08:00
Swaroop Rao
d383686ac1 Bug 1316023 - Version 2 of fixes. Removed unreachable statements. r=sebastian
MozReview-Commit-ID: 5gQEJVmboOr

--HG--
extra : rebase_source : 12ca03e482f0328ef3e12533ca020974983c7f1d
2016-11-21 20:00:31 -05:00
Shan
6a492b92d9 Bug 1316012 - Remove unnecessary boxing/unboxing; r=sebastian
MozReview-Commit-ID: 6k9d86ioK70

--HG--
extra : rebase_source : 0730a48d7a13a6f65ec8bac7a04b775e1eff9ad7
2016-11-26 11:24:00 +05:30
Carsten "Tomcat" Book
9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Tomislav Jurin
8473a479e6 Bug 1316009 - Adding 'final' keyword to static fields where appropriate. r=sebastian 2016-11-25 20:02:44 +01:00
Andrew Overholt
0f5f9f1124 Bug 1311610 - Add EditorUtils.* to package-manifest; r=enndeakin 2016-11-28 11:40:54 -05:00
Jan Henning
c7fd475af5 Bug 1320449 - Enable keyboard text prediction on the awesome bar during normal browsing. r=sebastian
MozReview-Commit-ID: 17xMoyDhYmn

--HG--
extra : rebase_source : 64ee68c411c830dc5e89197e7d7fc62a50f14978
2016-11-26 15:14:22 +01:00
Sebastian Kaspari
1f07de1fd2 Bug 1320079 - Update tooltool manifests with findbugs deps. r=ahunt,maliu
MozReview-Commit-ID: 4Vu860y3Czm

--HG--
extra : rebase_source : b6fc5cf646ac7bac8ccbe59d0b445a272ebd3580
2016-11-24 20:09:03 +01:00
Sebastian Kaspari
f284d603a9 Bug 1320176 - Findbugs: Add exclude configuration for unfixed classes of bugs. r=ahunt,maliu
MozReview-Commit-ID: FXZzcht1c7A

--HG--
extra : rebase_source : af491486e2946dbcee45add115370940a34f5daa
2016-11-25 12:13:32 +01:00
Sebastian Kaspari
7bd57daa59 Bug 1320078 - Print findbugs report link for automation. r=ahunt,maliu
MozReview-Commit-ID: KKMYtDyNMkR

--HG--
extra : rebase_source : 6e96cd1f3a2b236ebe47fc0c3c39b9b54c7c9de4
2016-11-24 19:15:28 +01:00
James Cheng
9c50104423 Bug 1320271 - Some tweaks related to MediaDrmBridge. r=jchen
MozReview-Commit-ID: Nt5FEmd1p6

--HG--
extra : rebase_source : fc06dc57f57159aa6224ff0d454d1bf85752061e
2016-11-25 16:28:27 +08:00
maliu
a31c77fe3c Bug 1318663 - Don't skip load start tab during tab restore if incoming action of intent is VIEW with non-external URL. r=JanH,sebastian
MozReview-Commit-ID: 4DAYikBnzz2

--HG--
extra : rebase_source : 680137c3f2110a71ee4ff8ad9a848324f6599ee4
2016-11-29 02:25:29 +08:00
Jan Henning
0dcdc37035 Bug 1320564 - Fix the default value logic for "selected" when creating a new tab. r=sebastian
The idea is that cancelling edit mode when opening a new tab implies that we want to select it as well, otherwise we wouldn't have to cancel edit mode in the first place.

MozReview-Commit-ID: Gova1ymzlHn

--HG--
extra : rebase_source : a1d957de82a5e1ec9bf9162e1f01641e34e16ab4
2016-11-27 18:46:53 +01:00
Jim Chen
2f2df764d8 Bug 1319496 - 5. Change prompt response to use GeckoBundle; r=sebastian
Change prompt response from using JSONObject/String to using
GeckoBundle. The GeckoBundle is automatically translated to a JS object,
like before, when dispatched to JS code.
2016-11-29 12:25:53 -05:00
Jim Chen
ee7152f6a6 Bug 1319496 - 4. Fix context menu item IDs; r=sebastian
Context menu items used UUIDs as their prompt list item IDs. However,
prompt list items only support integers as IDs. This error didn't show
up before because JSONObject was silently ignoring the error. This patch
changes to using an incremental integer as the ID and fixes the error.
2016-11-29 12:25:53 -05:00
Jim Chen
edb09e5551 Bug 1319496 - 3. Convert prompts to BundleEventListener; r=sebastian
Convert prompts to use BundleEventListener and GeckoBundle.

DefaultDoorHanger.setOptions accepts a JSONObject argument, but if we
converted it to GeckoBundle, it would involve a lot of extra changes in
the other doorhanger code. So this patch adds GeckoBundle.fromJSONObject
and converts JSONObject to GeckoBundle within
DefaultDoorHanger.setOptions. In the future, another patch would convert
all doorhanger code to use GeckoBundle instead of JSONObject.
2016-11-29 12:25:53 -05:00
Jim Chen
ba7b253f47 Bug 1319496 - 2. Add more GeckoBundle tests in testEventDispatcher; r=snorp
Add more tests for edge cases in testEventDispatcher, such as null
arrays, nonexistent values, and object arrays containing only nulls.
2016-11-29 12:25:53 -05:00
Jim Chen
cc57abd3cd Bug 1319496 - 1. Fix GeckoBundle array handling; r=snorp
Fix several bugs when handling arrays in GeckoBundle.

1. Correctly return null when getting an array that is not in the
   bundle, instead of crashing.

2. Convert object arrays to GeckoBundle arrays in EventDispatcher
   instead of leaving it as a single GeckoBundle with integer keys, due
   to lack of object array support in NativeJSObject.toBundle.

3. Return error when trying to convert a JS array of arrays to
   GeckoBundle, instead of crashing.

4. Add convenience methods for setting arrays; for example, setting
   boolean arrays from Boolean[] and Collection<Boolean>.
2016-11-29 12:25:52 -05:00
Tomislav Jurin
1dff4f4f76 Bug 1316005 - fixed unused methods, made methods use actual signature and added @Override; r=sebastian 2016-11-24 22:30:04 +01:00
Nevin Chen
ca744407b1 Bug 1318222 - Updated the unit test,added more test r=sebastian
MozReview-Commit-ID: 8PvSoPJQ88n

--HG--
extra : rebase_source : 928448d1965259d1cece43f53aaf1870c6190d89
2016-11-17 16:29:23 +08:00
Nevin Chen
0da1e0220d Bug 1318222 - Add a unit test r=sebastian
MozReview-Commit-ID: Fv1e2dtPKut

--HG--
extra : rebase_source : d410228beecea6c6389f1980f849738745d81631
2016-11-17 14:44:10 +08:00