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

55142 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 556a8f6ea1 Backed out 3 changesets (bug 1301301) for crashing
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Chris Pearce 22b3d81155 Bug 1300069 - Remove TrackBuffersManager::mIsEncrypted. r=jya
It's write only, so there's no point storing this, and it's not accurate
anyway, as it's actually tracking whether there's encrypted init data in
the media, not whether its got encrypted tracks.


MozReview-Commit-ID: 78iFUyXwRBV

--HG--
extra : rebase_source : f500b90d32da042a550172128a4c79c142048a98
extra : amend_source : c4e31f686e2c0f2c400225919c45c3a530373a8c
2016-09-28 13:45:25 +13:00
Chris Pearce fe7b5b55fe Bug 1300069 - Consider a media encrypted if it contains a track with crypto metadata, rather than only if the media contains encryption init data. r=jya
Some encrypted MP4 streams don't contain PSSH boxes in their MOOV boxes, but
they still have tracks with valid TENC boxes which we still parse. So we need
to consider media encrypted if any of its tracks have crypto meta data, rather
than only if the media has crypto init data.

The WebM demuxer's crypto init data is all the tracks' crypto meta data, so
WebM isn't broken by this change.


MozReview-Commit-ID: 1qOi4uTtCE3

--HG--
extra : amend_source : 0f266976a3d65fb8dc720cd40d70bd6da1712420
2016-09-28 13:34:57 +13:00
Chris Pearce f40bbc42f7 Bug 1305552 - Add telemetry to track uses of MediaKeySession.generateRequest. r=francois,gerald
This allows us to track how often EME CDMs are used, rather than just created.
The telemetry I added in bug 1304207 is reports whenever a CDM is created, but
some sites, such as the Shaka Player demo site, create CDMs without using them,
so that telemetry isn't a great measure in helping us detect when CDMs aren't
being used. Whereas the telemetry added here will report when the CDMs are used
to negotiate a license, i.e. when the CDMs are actually being used.


MozReview-Commit-ID: ExMIcIIBvS1
2016-09-27 15:01:06 +13:00
Masayuki Nakano 3b6cadf939 Bug 1305355 part.1 TextComposition::GetSelectionStartOffset() should query normal selection range when composition string is empty r=smaug
TextComposition::GetSelectionStartOffset() tries to query the start offset of the composition if there is a composition. Therefore, it tries to query first clause when it has some clause information of the composition string.  However, even if the composition string is empty, TextComposition::mRanges which refers CompositionEvent::mRanges of the last eCompositionChange event may have empty clause information.  In such case, this method tries to query not existing IME selection range.  Then, this returns UINT32_MAX and ContentCacheInChild will query character rects around the offset and ContentEventHandler::SetRangeFromFlatTextOffset() will meet odd case.

For avoiding this issue, TextComposition::GetSelectionStartOffset() should query normal selection when composition string in the editor is empty.  Note that TextComposition::mString will be updated after the editor completes updating its DOM contents.  Therefore, TextComposition should refer mLastData which is set before dispatching eCompositionChange in the tree.

MozReview-Commit-ID: F2UGCQLXLSz

--HG--
extra : rebase_source : 0349a74f20f0948afa9989552a88047788aa1585
2016-09-26 21:06:26 +09:00
James Cheng f3c8ec8fd7 Bug 1305679 - Fix CID 1373350: Uninitialized members (UNINIT_CTOR) in VideoDecoderChild r=mattwoodrow
MozReview-Commit-ID: 80fdud44CmE

--HG--
extra : rebase_source : 3be759c4dedbe6b1a8cd5bee87e20721bea0b074
2016-09-27 18:29:49 +08:00
Thomas Wisniewski fb058e68f6 Bug 1303121 - Do not fire one last progress event on XHR errors, to match a spec change. r=annevk 2016-09-15 14:19:23 -04:00
Xidorn Quan 52de92c14c Bug 1304692 - Make puppet widget get coordinate rounding from parent. r=smaug
MozReview-Commit-ID: A3ornUMDmt8
2016-09-27 16:37:07 +10:00
Lee Salzman 632d270fe0 Bug 1305312 - write putImageData pixels as opaque for opaque canvas. r=jrmuizel
MozReview-Commit-ID: 5mVzeNwY28u
2016-09-27 17:31:13 -04:00
James Andreou a47ce92ac2 Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans 2016-09-27 16:56:44 -04:00
Andrew McCreight 9d11cb0868 Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
This will let my later patch run code at the start and end of each CC.

This patch should not change any behavior.

MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Ryan VanderMeulen 10262ed0cb Backed out changeset 4bdbbae12cb3 (bug 918719) for causing webcompat issues.
--HG--
extra : rebase_source : 58d99de7d9ee9e32383b9d18e4fb80a1bc59d0ad
2016-09-27 15:58:01 -04:00
Kate McKinley c57d400961 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX

--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -04:00
Olli Pettay 588f79ddd9 Bug 1301777 - Use nsCOMPtr for stack variables. r=mccr8
--HG--
extra : rebase_source : cdbc82c57f3904ea98d5392a9587351447496763
2016-09-27 15:36:41 -04:00
Ehsan Akhgari 0baf8d2b40 Bug 1300908 - Avoid using expanded principals as the loading principal of XHR; r=smaug 2016-09-27 14:11:28 -04:00
Andrea Marchesini 7505d76cd1 Bug 1304910 - Adding a test about nsTemporaryFileInputStream and PSendStream, r=jdm
--HG--
rename : dom/media/test/test_mediarecorder_record_canvas_captureStream.html => dom/media/test/test_temporary_file_blob_video_plays.html
2016-09-27 16:39:47 +02:00
Paul Adenot cb690a7e56 Bug 1301648 - Add a pref to be able to control the AudioCallbackDriver requested latency. r=kinetik
MozReview-Commit-ID: 19BZUjyXFlq

--HG--
extra : rebase_source : 96df59a9b5c9f8bd7e5f8211a09b854d65833b3b
2016-09-09 15:21:50 +02:00
Olli Pettay bddafc48dd Bug 1305309, backout Bug 1214805, r=backout
--HG--
extra : rebase_source : d86f67ef53b26027d739725829a2ee736d71221e
2016-09-27 01:03:24 +03:00
Carsten "Tomcat" Book ceb8695fd3 Merge mozilla-central to mozilla-inbound 2016-09-27 11:26:17 +02:00
Carsten "Tomcat" Book 5bdd2876ae merge mozilla-inbound to mozilla-central a=merge 2016-09-27 11:21:25 +02:00
Matt Woodrow 204ff6e189 Bug 1305320 - Check if the PVideoDecoderManagerChild enpoint is valid before using it. r=dvander 2016-09-27 14:11:31 +13:00
Wes Kocher b20dd04b94 Backed out 13 changesets (bug 1247056) for WinXP bc7 failures in browser_decoderDoctor.js CLOSED TREE
Backed out changeset ff3538fd40fe (bug 1247056)
Backed out changeset a444d7cb1091 (bug 1247056)
Backed out changeset 03553484a062 (bug 1247056)
Backed out changeset 001b42631702 (bug 1247056)
Backed out changeset d0d71a80a029 (bug 1247056)
Backed out changeset cd40559e25d7 (bug 1247056)
Backed out changeset b8857adc4003 (bug 1247056)
Backed out changeset 1f3b037bfd1f (bug 1247056)
Backed out changeset c5cd9597ec02 (bug 1247056)
Backed out changeset 2bfe3aeb9f59 (bug 1247056)
Backed out changeset 934d7c9628f1 (bug 1247056)
Backed out changeset 63094a80bee7 (bug 1247056)
Backed out changeset 511ed53eee9a (bug 1247056)
2016-09-26 12:15:55 -07:00
Nils Ohlmeier [:drno] 5caad26b6e Bug 1293531: disable PcmaPcmu test on Android. r=dminor
MozReview-Commit-ID: 8YVOVcW3OKc

--HG--
extra : rebase_source : dc193ddc1ed57a5cc0a50463e2860b2435139a85
2016-09-25 22:44:38 -07:00
Gerald Squelart 0bb82ffd86 Bug 1247056 - Notify MediaDecoder about Decoder Doctor events from MDSM - r=jwwang
MozReview-Commit-ID: Jgt5a2yJugu

--HG--
extra : histedit_source : 64b8c1ba15ac5698836719e3096469edc33980c1
2016-09-19 03:38:06 -07:00
Gerald Squelart 540a33aa48 Bug 1247056 - Handle PulseAudio init error in DecDoc - r=jwwang
MozReview-Commit-ID: 8qa0MO35mRD

--HG--
extra : histedit_source : 536651a835fb98b511361d6d4108c599ebee012d
2016-09-18 19:41:36 -07:00
Gerald Squelart 75e81b329c Bug 1247056 - New DecoderDoctorNotificationType - r=smaug
MozReview-Commit-ID: H5EuLPNRlhu

--HG--
extra : histedit_source : e0fbbd851c4c354ffd9d46f36100a17c6b916b1f
2016-09-07 22:48:06 -07:00
Gerald Squelart b85fa6f0b2 Bug 1247056 - DecDoc::StoreEvent for singular playback issues/solutions - r=jwwang
MozReview-Commit-ID: GYoitdB8Sj0

--HG--
extra : histedit_source : d96c94105c85fb9bd05ac0ff2c603376c4434658
2016-09-18 19:50:01 -07:00
Gerald Squelart e2a781b6dd Bug 1247056 - Refactor ReportToConsole and ReportAnalysis to be static - r=jwwang
This will be useful to call them from outside of DecoderDoctorWatcher.

MozReview-Commit-ID: C7Hq8kwONQO

--HG--
extra : histedit_source : 785c370c638555ecd31fd64e59bf532d32547d4a
2016-09-07 19:22:25 -07:00
Gerald Squelart f03575180b Bug 1247056 - Fix DecoderDoctor logging - r=jwwang
MozReview-Commit-ID: FbRXn0CtKiZ

--HG--
extra : histedit_source : afa17fd0ced2781ddb400636a9ab13f33d9b4163
2016-09-06 22:36:36 -07:00
Gerald Squelart e46d041220 Bug 1247056 - Report specific cubeb-init error code - r=jwwang
MozReview-Commit-ID: AqR2jKKtNHL

--HG--
extra : histedit_source : a2789615fa45e191e04657e57f571362d86daf76
2016-09-07 21:26:01 -07:00
Xidorn Quan 2f49a48a09 Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
This commit is generated by the following commands with some minor
manual adjustment:

find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
  -e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
  -e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
  -e 's/StyleSheetHandle()/nullptr/g' \
  -e 's/->AsStyleSheet()//g' \
  -e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp

MozReview-Commit-ID: 7abdvlKHukd

--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
Xidorn Quan 1dc2955ab8 Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.

This commit is generated by the following command:

find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
  -e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
  -e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +

MozReview-Commit-ID: 54H5x27Pmso

--HG--
extra : source : e4fe253a8f82c3c58e5191d6af66fb0e85f2df19
2016-09-26 22:03:25 +10:00
Xidorn Quan f196d451ef Bug 1304302 part 7 - Break cycle reference between SRIMetadata.h and SRICheck.h. r=smaug
MozReview-Commit-ID: 8UpAEXURuSg

--HG--
extra : source : 50604098e9e374611b02d82d765fa0b230d71373
2016-09-26 22:03:25 +10:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Jamie Nicol 1ce29ff180 Bug 1245959 - Check video frame has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: 6PlWqE6is7Z
2016-09-25 21:34:11 +02:00
Jamie Nicol fc46f7198f Bug 1245959 - Check plugin has non-zero dimensions before sending image to compositor. r=nical
MozReview-Commit-ID: KEd5IBUGlo6
2016-09-25 21:34:06 +02:00
Sebastian Hengst 18fb75d3b3 Backed out changeset c633db465597 (bug 1245959) for frequent timeout in mda test test_video_dimensions.html. r=backout 2016-09-25 19:29:13 +02:00
Sebastian Hengst 6c06a32cb9 Backed out changeset ecd53c7be28e (bug 1245959) 2016-09-25 19:27:52 +02:00
Sebastian Hengst c4c650a082 Backed out changeset b0be7d1b7a9a (bug 1303196) for asserting in devtools test: top->mTabGroup == mTabGroup, at dom/base/nsGlobalWindow.cpp:14425. r=backout 2016-09-25 09:23:40 +02:00
Michael Layzell eb68349900 Bug 1303196 - Add TabGroup and DocGroup objects, r=billm
MozReview-Commit-ID: QHxYnXmuQN
2016-09-24 19:05:41 -04:00
Kershaw Chang ce09635b3d Bug 1268993 - Null check for mBuilder, r=smaug
---
 dom/presentation/ipc/PresentationBuilderChild.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-09-24 19:11:01 +02:00
Thomas Nguyen 1780aece77 Bug 1276836 - Update and add tests for same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=jdm
MozReview-Commit-ID: 9ISKTDHBSHP

--HG--
extra : rebase_source : ef3013b777aa77146cc941807afb0e8531fb1f74
2016-09-22 16:27:46 -07:00
Thomas Nguyen 8c6badef26 Bug 1276836 - Implement same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=mcmanus,jdm
MozReview-Commit-ID: 39AFT4RgHpl

--HG--
extra : rebase_source : 1512555cb0da30a0fbbfd58c27e4a4d48a93586e
2016-09-22 16:27:42 -07:00
JW Wang 5fd2401d63 Bug 1304336. Part 2 - remove unused canonical/mirror. r=kikuo
MozReview-Commit-ID: 9rQcTTrW4Cn

--HG--
extra : rebase_source : 5473db2bd2f7da5a6536368cd78deac1ea0cde8c
2016-09-21 18:11:00 +08:00
JW Wang 6f9627664f Bug 1304336. Part 1 - call DispatchSetPlaybackRate() to propagate playback rate changes instead of using a mirror. r=kikuo
MozReview-Commit-ID: 5C48bUItQus

--HG--
extra : rebase_source : 0d7a618fed6769a316fc033e5023dca98fc9ab33
2016-09-21 18:06:49 +08:00
JW Wang 51039411ec Bug 1304314. Part 3 - take mPlaybackRate into account. r=kikuo
MozReview-Commit-ID: 9AQSUJl82fA

--HG--
extra : rebase_source : 190ad1a8c49261f711a9c17e949d58f8363edcd7
2016-09-21 16:30:45 +08:00
JW Wang 41fe5431b3 Bug 1304314. Part 2 - split the code of HasLowDecodedData() into separate functions which will be reusable. r=kikuo
MozReview-Commit-ID: KwNOx1uTdjK

--HG--
extra : rebase_source : 4369922e41b673c2cb8ee15df99d6b11bac2d001
2016-09-21 16:27:40 +08:00
JW Wang 19bbed330b Bug 1304314. Part 1 - remove the parameter of HasLowDecodedData() for we always pass EXHAUSTED_DATA_MARGIN_USECS to it. r=kikuo
MozReview-Commit-ID: KMzy6S4hCB9

--HG--
extra : rebase_source : a0f1c9e5777d65ac7d77c811679adc93cdb50095
2016-09-21 16:20:38 +08:00
Kate McKinley 694c12c743 Bug 1242019 - Truncate data URIs in CSP log messages. r=ckerschb
MozReview-Commit-ID: DaiGESRI1rb

--HG--
extra : transplant_source : %EC%7B%3F%20O%3A%A7g%BAl%82%BC-Xg%23%84%E2%3C%EE
2016-09-12 14:30:43 -07:00
David Anderson 2735c8bee7 Support tab-switching in the GPU process. (bug 1298507, r=billm) 2016-09-23 18:12:45 -07:00
Gian-Carlo Pascutto 57506c3f2a Bug 1303713. r=tedd
--HG--
extra : rebase_source : 2cff361097a46e01b2a1e3aa6866aa58d7e0ff52
extra : histedit_source : 2a7c978f83d45f4a6f256fb671366091430d6473
2016-09-19 17:49:59 +02:00
Mantaroh Yoshinaga 3cccb89f5d Bug 1302007 part 3 - Add test of changing an ancestor's display property. r=hiro
MozReview-Commit-ID: BZHW77ECfrZ
2016-09-28 16:16:12 +09:00
Kate McKinley ed0b5f06ee Bug 1271796 use raw bytes to calculate SRI hash r=francois
MozReview-Commit-ID: F62t5CnsYlJ

--HG--
extra : rebase_source : 9c2148ffe99a51db5541ec6d9961597b578157ae
2016-09-05 12:55:25 +02:00
bechen f9c8932bf5 Bug 882674 - Implement "pending text track change notification flag". r=rillian
MozReview-Commit-ID: G1L1ECWvNnD

--HG--
extra : rebase_source : da8c88e6d1e3cb49b2c7c03951d1dcd8bf94e0da
2016-09-21 16:01:22 +08:00
Bryce Van Dyk d76674b2e8 Bug 1304961 - Retrieve buffered ranges in VideoPuppeteer. r=maja_zf
Update VideoPuppeteer and make small changes in YoutubePuppeteer to support
retrieval of buffered ranges for wrapped video element. This will help diagnose
test failures, particularly stalls we're having at the moment. Because the
namedtuple storing state has all its fields logged the __str__ methods of the
puppeteers don't need to be updated, the new field will be logged automatically.

MozReview-Commit-ID: LYwXJfB71RE

--HG--
extra : rebase_source : 5d9100e33b030a56330ccaf7459b6e9206142907
2016-09-23 17:52:57 +12:00
Bryce Van Dyk 3b4bc2a136 Bug 1304961 - Rename variables storing played ranges to be more specific. r=maja_zf
The played ranges being retrieved in VideoPuppeteer and YoutubePuppeteer were
often referenced as some variation of 'time ranges'. This patch makes that more
specific and references the played ranges as variations of 'played ranges'. This
removes ambiguity if other time ranges are retrieved in future, such as the
buffered ranges.

MozReview-Commit-ID: CInjDCCIQkV

--HG--
extra : rebase_source : cdf5572b830ecc11b9319e23400746755fa8149c
2016-09-23 17:24:40 +12:00
Boris Chiou cd6c2e6bff Bug 1304805 - Make spacing, iteration composite and effect composite work if the caller is chrome. r=hiro
MozReview-Commit-ID: 30BOUA8QPh8

--HG--
extra : rebase_source : 21af58ad6f27f47404affe2f87fb9a426f01b496
2016-09-23 14:31:34 +08:00
Carsten "Tomcat" Book 6029d72706 Merge mozilla-central to autoland 2016-09-23 12:48:43 +02:00
Carsten "Tomcat" Book a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
cku 396c4f78ef Bug 1304437 - Part 2. Crash test. r=heycam
MozReview-Commit-ID: AB4qLG1GGXo

--HG--
extra : rebase_source : 9e5883b00d87e9f94bec634e2d4583d52409c58a
2016-09-22 18:30:25 +08:00
Masayuki Nakano 97735168f1 Bug 1297013 part.2 Implement some helper methods to log constants related to event handling r=smaug
This patch implements some helper methods to log constants related to event handling.

ToString(KeyNameIndex) and ToString(CodeNameIndex) converts the enum itmes to human readable string.  They use WidgetKeyboardEvent's helper class which returns Unicode text.  Therefore, this need to convert from UTF16 to UTF8.  That's the reason why these methods don't return |const char*|.

GetDOMKeyCodeName(uint32_t) returns DOM keycode name if it's defined.  Otherwise, returns hexadecimal value.  For generating switch-case statement, VirtualKeyCodeList.h shouldn't include ",".  Therefore, this patch removes "," from VirtualKeyCodeList.h and append it at defining NS_DEFINE_VK.  Additionally, the last item of enum and array should not end with ",".  Therefore, this adds dummy last item at each of them.  Finally, some of the keyCode values are shared between 2 keys.  Therefore, it needs to support NS_DISALLOW_SAME_KEYCODE for switch-case generator.  See the comment in the file for more detail.

GetModifiersName(Modifiers) returns all modifier names included in the given value.

MozReview-Commit-ID: 9i2ftFOTpDn

--HG--
extra : rebase_source : 458a4d28624dc10dd4454f2e7708d746d1fcb045
2016-09-15 00:48:47 +09:00
Jeff Gilbert (:jgilbert) d2726dd4d7 Bug 1300946 - TF test passes on Windows.
MozReview-Commit-ID: UenZOpwe9c
2016-09-22 19:13:23 -07:00
Jeff Gilbert (:jgilbert) f349254d5d Bug 1300946 - Only clear TFO indexed bindings on delete if TFO is inactive. - r=ethlin
MozReview-Commit-ID: JNG2I3saqva
2016-09-22 19:13:22 -07:00
Jeff Gilbert (:jgilbert) 517321c8c8 Bug 1300946 - Binding a deleted TFO should be INVALID_OP. - r=ethlin
MozReview-Commit-ID: 6TZsKiGHc5v
2016-09-22 19:13:22 -07:00
Jeff Gilbert (:jgilbert) baf5383538 Bug 1300946 - Forbid simultaneous binding to TF and non-TF bind points. - r=jrmuizel 2016-09-22 19:13:21 -07:00
Jeff Gilbert 6b423ece44 Bug 1300946 - Implement transform feedback. - r=jrmuizel
MozReview-Commit-ID: 1xrEX4Srij1
2016-09-22 19:13:21 -07:00
Jeff Gilbert 9f5c1ddc1d Bug 1300946 - GetCurrentBinding is the wrong approach. - r=jrmuizel
MozReview-Commit-ID: 866FkuUMMob
2016-09-22 19:13:20 -07:00
Jeff Gilbert (:jgilbert) 85fc358b50 Bug 1303879 - WebGL1 draw-buffers ext test passes on OSX.
MozReview-Commit-ID: 7a73AnIByi4
2016-09-22 19:13:20 -07:00
Jeff Gilbert 9527a1fad7 Bug 1303879 - Refresh DrawBuffers and ReadBuffer to handle GL4.0 and below. - r=mtseng
GL4.0 and below requires that framebuffers are incomplete if any DrawBuffers/ReadBuffer-selected
buffers have no image attached.

MozReview-Commit-ID: 8SFiy2tvgPT
2016-09-22 19:13:20 -07:00
Jeff Gilbert 29c556989a Bug 1303879 - Explicitly nuke attachment points. - r=mtseng
MozReview-Commit-ID: Gd9tFq3ZAtm
2016-09-22 19:13:19 -07:00
Jeff Gilbert 9cf1f83f01 Bug 1303879 - Use explicit ctors. - r=mtseng
MozReview-Commit-ID: Hs4V81pFAc8
2016-09-22 19:13:19 -07:00
Jeff Gilbert 98e4b9e9f2 Bug 1303879 - Disallow NONE GetFramebufferAttachmentParameter. - r=mtseng
MozReview-Commit-ID: GizkMvHb7FG
2016-09-22 19:13:18 -07:00
Jeff Gilbert 1f4f2d7e46 Bug 1303879 - fb->ReadBuffer(BACK) is INVALID_OP. - r=mtseng
MozReview-Commit-ID: F3T4qZcETr5
2016-09-22 19:13:18 -07:00
Jeff Gilbert 3cdd326b85 Bug 1303879 - FramebufferTexture2D doesn't always accept DEPTH_STENCIL. - r=mtseng
MozReview-Commit-ID: 4f4r3CtmPde
2016-09-22 19:13:17 -07:00
Jeff Gilbert 9021ce93eb Bug 1303879 - Validate attachments inside ScopedResolveTextures. - r=mtseng
MozReview-Commit-ID: 7HLiUV9QcY4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 15fd350886 Bug 1303879 - Refactor framebuffer funcs and completeness caching. - r=mtseng
MozReview-Commit-ID: Hi3uEwpmWF4
2016-09-22 19:13:17 -07:00
Jeff Gilbert 5ca4e283fa Bug 1303878 - Fix todos in WebGL. - r=mtseng
MozReview-Commit-ID: D15kLfHERAI
2016-09-22 19:13:16 -07:00
Terrence Cole 02f5e80db6 Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Matt Woodrow cedd3bc438 Bug 1302918 - Add PVideoBridge to share textures with the compositor. r=dvander,nical 2016-09-23 09:44:26 +12:00
Markus Stange 3003c70285 Bug 1298552 - Call UpdateFilter whenever the canvas's IsWriteOnly state changes. r=jrmuizel
MozReview-Commit-ID: 2CqWhmyzUZc

--HG--
extra : rebase_source : df8b033263e16e36daca32437ac009800ca520b0
2016-08-26 20:21:34 -04:00
Bob Owen 9ce88c03d5 Bug 1300083 - Initialize Plugin Tags correctly. r=jimm
--HG--
extra : rebase_source : bfbd9cb8f04ff07dd2a9dbec163f37d8e35ae845
2016-09-02 13:23:18 +01:00
Andrea Marchesini 0563a867cb Bug 1299686 - Fix crash in nsScriptLoader.cpp. r=smaug
--HG--
extra : rebase_source : 9ba5328cd6d907dec2a4c95b5d557cad0317e44e
2016-09-22 16:58:46 -04:00
Cameron McCormack 39b463d574 Bug 1304814 - Make test_bug1295852.html survive Web Animations being disabled. r=boris
MozReview-Commit-ID: DrZ1Lm0raSg

--HG--
extra : rebase_source : b9f37f5cff3cb50ef8a68b335299099dd9de0afa
2016-09-23 10:14:37 +08:00
James Cheng 2e79d305fc Bug 1302881 - Undefined behavior in GeckoMediaPluginServiceParent::RemoveOnGMPThread(). r=cpearce
MozReview-Commit-ID: KgMYm936lbL

--HG--
extra : rebase_source : 0d1a533ef0d9aacb27f2e3ae830d61fd59e8d67f
2016-09-23 07:24:21 +08:00
Andi-Bogdan Postelnicu 0a7e6c2c05 Bug 1302442 - Add ignore-initialization-check annotation to class member variables constructed by Codegen. r=peterv
MozReview-Commit-ID: 2vd6EELGSSj

--HG--
extra : rebase_source : 810b61ea983b8a2636130f488c13b1ee61996aef
2016-09-20 15:11:08 +03:00
Nils Ohlmeier [:drno] 62fb4d5bc8 Bug 1304269: lets promise ice from now on. r=bwc
MozReview-Commit-ID: 7Oi4rDbGv09

--HG--
extra : rebase_source : c3bf738d323f8386bbf25d63e04472cc78a29539
2016-09-21 16:42:22 -07:00
Kilik Kuo a9eb354248 Bug 1302331 - [Part3] Create CryptoInfo from MediaRawData and deliver it to MediaCodecDataDecoder or remote codec decoder. r=jchen,jolin
MozReview-Commit-ID: 9pHHrhQPs9m

--HG--
extra : rebase_source : 34829208221e4787b25e29ad75b57d113f7e94c0
2016-09-20 16:44:30 +08:00
Carsten "Tomcat" Book cae9054451 Merge mozilla-central to autoland 2016-09-22 13:44:33 +02:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Carsten "Tomcat" Book cce863628d merge fx-team to mozilla-central a=merge 2016-09-22 11:54:05 +02:00
John Dai 18aca2998b Bug 1275838 - Implement CustomElementsRegistry get function. r=smaug, r=wchen 2016-09-21 19:40:00 -04:00
JW Wang 504d6fa09c Bug 1304298. Part 4 - remove the call to waitTil(). r=kamidphish
We want to resume video-decoding as soon as possible so playback is less likely to reach the end before finishing all tests.

MozReview-Commit-ID: 4NrbejT8LgI

--HG--
extra : rebase_source : 5c3151a212a1a797cd3d71cfae5510e494af1041
2016-09-21 15:23:54 +08:00
JW Wang fce9ae316e Bug 1304298. Part 3 - reduce suspend-timeout to 100ms so playback is less likely to reach the end before finishing all tests. r=kamidphish
MozReview-Commit-ID: 2hxC8UGZfPe

--HG--
extra : rebase_source : a763d21c2bde5bfe84ce9195b4229339289d97eb
2016-09-21 15:20:14 +08:00
JW Wang 37be2ffa27 Bug 1304298. Part 2 - remove finished elements from the DOM tree. r=kamidphish
When a test case times out, it will dump debugging info for each media element in the tree.
We would like to remove the ones that pass the test to avoid noise.

MozReview-Commit-ID: HgyvUfpyCqA

--HG--
extra : rebase_source : 4a1187db14c13bdd976179ba3d2b25123c9acb78
2016-09-21 15:17:04 +08:00
JW Wang edcfbf1bee Bug 1304298. Part 1 - log |token| in testDelay() so we have a better idea which file fails the test. r=kamidphish
MozReview-Commit-ID: x1izpH93cQ

--HG--
extra : rebase_source : 9ddaba7aabf1018fc1dd60ecc33f0950dcd33be2
2016-09-21 15:13:05 +08:00
Phil Ringnalda fa1e0afddb Backed out changeset b82fa1825412 (bug 1279612) for static analysis bustage
CLOSED TREE
2016-09-21 20:46:01 -07:00
Eric Faust 121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Thomas Wisniewski 3c6249dd4b Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-21 13:48:05 -04:00
Wes Kocher 4fec8fe947 Backed out changeset 7e898928c51b (bug 838954) for lint failures a=backout CLOSED TREE 2016-09-21 12:44:31 -07:00
John Dai 2e88ad8701 Bug 1275832 - Implement custom element name validation for custom elements. r=wchen
--HG--
extra : rebase_source : e3c3adef09a3b5ae6f8ecb508ef782a9b39998c0
2016-09-20 23:26:00 -04:00
Cervantes Yu 4cbbce3d03 Bug 1279612 - Block xpcom-will-shutdown before GMPServiceParent instances are shut down. r=gerald
MozReview-Commit-ID: HdF1RDxVXv1

--HG--
extra : rebase_source : caf2279eb5aa57a74a035c45d81fcb4ee29ef42f
2016-09-08 11:08:27 +08:00
Florian Quèze 6f480b3e80 Bug 1299783 - change the name of the temporary permission from 'camera' to something not exposed in the UI, r=gcp. 2016-09-21 17:19:07 +02:00
Carsten "Tomcat" Book 4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Carsten "Tomcat" Book f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matthew Gregan 8a99e587f7 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian
MozReview-Commit-ID: Jl69N9VQTXR
2016-09-21 17:45:47 +12:00
Matt Woodrow 3fda415233 Bug 1288618 - Part 15: Add media code interface RemoteVideoDecoder. r=cpearce,dvander
--HG--
extra : rebase_source : 54a983d25885722ec24a8c68fda54b08b2820a7c
2016-09-21 15:36:41 +12:00
Matt Woodrow bd0f6ed588 Bug 1288618 - Part 14: Add PVideoDecoder protocol for individual decoders. r=cpearce,dvander
--HG--
extra : rebase_source : 547708bb8d2f3502f1fe89378afe8da6def42005
2016-09-21 15:36:41 +12:00
Matt Woodrow c4fcc19e35 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Matt Woodrow 3689c6beb9 Bug 1288618 - Part 11: Add a pref to enable GPU process video decoding. r=cpearce
--HG--
extra : rebase_source : 41d489b9e8d0450d01ba5c3afa50c90aabeccf25
2016-09-21 15:36:10 +12:00
Matt Woodrow 8702620c57 Bug 1288618 - Part 5: Add IPC serialization helpers for some media structs/enums. r=dvander
--HG--
extra : rebase_source : 6660c2c20b5f92765fab9ce4ed2d94478d5f0e01
2016-09-21 15:36:09 +12:00
Matt Woodrow f1a988d8b3 Bug 1288618 - Part 4: Fix some namespace collisions in media code. r=jya
--HG--
extra : rebase_source : 1dc38db46d939be4b96d087101f99e8fb45b81b5
2016-09-21 15:36:09 +12:00
Matt Woodrow 56fc7b3464 Bug 1288618 - Part 3: Avoid accessing MediaPrefs from the GPU process within WMF code. r=cpearce
--HG--
extra : rebase_source : 8c8d88ed1b858d59555e2c698f7faf653c8a75e6
2016-09-21 15:36:09 +12:00
Matt Woodrow 30d2768a45 Bug 1288618 - Part 2: Allow allocating D3D9/11 Images when we don't have a recycling allocator available. r=nical
--HG--
extra : rebase_source : 23db70f7fed43217f8e8a27b0ab73435cdd3b895
2016-09-21 15:36:09 +12:00
Chris Pearce 7e7b3c9f0f Bug 1280829 - Only block non-MSE content which is encrypted once it reaches load metadata. r=jya
Previously, we'd block loading of non-MSE content when there was a MediaKeys
attached, that is, we'd assume that all content was EME content if a MediaKeys
was attached. But some sites attach a MediaKeys and then load non-MSE non-EME
content, and that (despite being a bit silly) shouldn't fail.


MozReview-Commit-ID: 9LupWaehXim

--HG--
extra : rebase_source : 6db281feb27a61b49dc565d4d4562a3d2366fc89
2016-09-21 13:04:01 +12:00
JW Wang 60028eead2 Bug 1303666 - Move the code of StepDecoding() into Decodingstate::Step(). r=kikuo
MozReview-Commit-ID: FW7BVyrRA7s

--HG--
extra : rebase_source : 224fccec46a5e47eefad0416294b818392b9a3be
2016-09-06 17:36:53 +08:00
JW Wang 27301d20dd Bug 1303665. Part 2 - Move mSentPlaybackEndedEvent into CompletedState. r=kikuo
MozReview-Commit-ID: 3JJ25POozsk

--HG--
extra : rebase_source : 0efec67ff5be62168979b29b1bd1b2e8aa42bc46
2016-09-06 17:33:12 +08:00
JW Wang 67ca3ec64c Bug 1303665. Part 1 - Move StepCompleted() into CompletedState::Step(). r=kikuo
MozReview-Commit-ID: Gm2osCqwPMS

--HG--
extra : rebase_source : fe632a712f6139265ac6d88d7f7a57b199eecf93
2016-09-06 17:28:08 +08:00
Cervantes Yu a703779628 Bug 1279612 - Block xpcom-will-shutdown before GMPServiceParent instances are shut down. r=gerald
MozReview-Commit-ID: HdF1RDxVXv1

--HG--
extra : rebase_source : f532fd60bd07ab91c6e089822258a0e3d7102a7b
2016-09-08 11:08:27 +08:00
Jeff Gilbert (:jgilbert) 80826a7490 Bug 1303814 - WebGL 2 isn't Nightly-only. - r=mrbkap
MozReview-Commit-ID: I059mORhrn4

--HG--
extra : rebase_source : 6876fa88903a8b2a1dd9268a7a7155450c103c7a
2016-09-19 18:51:09 -07:00
Chris Pearce 3d1e5d28dd Bug 1304207 - Add telemetry to track when EME CDMs are instantiated. r=francois,gerald
Add opt-out telemetry probe to track which EME CDMs are being instantiated.
This will enable us to determine when it's safe to remove the Adobe CDM.


MozReview-Commit-ID: iEPSTk7UtP

--HG--
extra : rebase_source : fb51d77f4c15fe2d9ef0adf3c87f6125bb758b9c
2016-09-21 10:45:02 +12:00
Matthew Woodrow cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Iris Hsiao a2a48a3de7 Backed out changeset 6fb622c938de (bug 884693) for crashed @mozilla::dom::XMLHttpRequestMainThread
CLOSED TREE
2016-09-21 13:00:50 +08:00
Iris Hsiao 2b06627798 Backed out changeset 85cacbef3243 (bug 1303247) for GTest Assertion failures
CLOSED TREE
2016-09-21 12:25:36 +08:00
Matthew Gregan 1b172c6726 Bug 1303247 - Add a dev-only pref to treat mismatches between Rust and Stagefright as a fatal error. r=rillian 2016-09-19 14:31:45 +12:00
Bill McCloskey 26c5049b5a Bug 1303967 - Don't set mIPCOpen until TabChild is initialized (r=mrbkap) 2016-09-20 19:20:42 -07:00
David Parks 2e014f8e84 Bug 1303755 - Flash code using GetKeyState crashes attempting IPC from non-main thread. r=jimm
On Windows, when not already running on the main thread, post GetKeyState calls to main thread and wait for result with a semaphore.

--HG--
extra : rebase_source : 38c3b2fa678d2eb05681139de521177253942ff7
2016-09-19 13:41:45 -07:00
Thomas Wisniewski d65949bf5c Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-19 19:36:03 -04:00
Arthur Edelstein dfebfaa34a Bug 1268726 - isolate shared worker by first party domain. r=baku
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>

review tweaks
2016-09-19 21:13:00 -04:00
Marcos Caceres f72da28539 Bug 1290980 - Fix intermittent e10s issue with oninstall. r=mconley 2016-09-18 21:28:00 -04:00
Horatiu 6b0f543b92 Bug 1292299 - Combine tests for bug 704320 into a single file. r=jdm 2016-08-11 08:45:48 -04:00
Nathan Froyd 817fe1571d Bug 1304017 - improve MultipartBlobImpl refcounting; r=baku
MultipartBlobImpl always requires copying the incoming BlobImpl array.
This copying, and its associated refcounting, is unnecessary in many
cases, as we're just going to delete the copied-from array anyway.  We
might as well pass in ownership when creating the multipart blob and
avoid all the overhead associated with copying and refcounting.
2016-09-20 21:29:28 -04:00
Nathan Froyd 9709651f99 Bug 1303910 - remove superfluous FallibleTArray in Blob.cpp; r=baku
This array only exists to be initialized fallibly so we can swap it into
the infallible array we actually want to use.  But we can fallibly
initialize the infallible array directly, so let's do that.
2016-09-20 21:29:28 -04:00
Domenic Denicola 8052df3b1f Bug 230307. When cloning a <textarea>, preserve the current value just like we do for <input>. r=ehsan
The web platform test is just lifted wholesale from
<https://github.com/w3c/web-platform-tests/pull/3734>.
2016-09-15 13:52:37 -04:00
Boris Zbarsky 4d0f8a0705 Bug 1302858. Remove unnecessary JS_WrapValue from dom::MaybeWrapObjectValue. r=peterv 2016-09-20 13:25:05 +01:00
Boris Zbarsky 87d24a4a1d Bug 1297304. Fix our named property DOM proxy code to handle deletion correctly when expandos are involved. r=peterv 2016-09-20 13:24:34 +01:00
Boris Zbarsky ca48a2a2c0 Bug 1303397. nsScriptLoader should just use nsContentUtils::CheckForBOM instead of rolling its own copy. r=bkelly 2016-09-20 13:24:06 +01:00
Andrea Marchesini 72d886f7a3 Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug 2016-09-20 14:03:05 +02:00
Andrea Marchesini 3d45a22bac Bug 1301254 - nsINode::GetBaseURI() should be fallible, r=smaug 2016-09-20 14:02:33 +02:00
Carsten "Tomcat" Book 17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Carsten "Tomcat" Book 8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
JW Wang 58c8cdaad6 Bug 1302040 - don't enter buffering while prerolling. r=cpearce
MozReview-Commit-ID: Br9wC8PNorA

--HG--
extra : rebase_source : b8f878a25d168f040e63833afa0f436c090ba684
2016-09-12 15:45:36 +08:00
JW Wang 65f9a58156 Bug 1302006. Part 4 - Let StateObject handle dormant request. r=kikuo
MozReview-Commit-ID: FK3UwbYDexV

--HG--
extra : rebase_source : 3cf984cc0b7a82e88cf6eb6297976f7fc47dcfa8
2016-09-12 10:49:46 +08:00
JW Wang 2034a55895 Bug 1302006. Part 3 - Let SeekingState handle dormant request. r=kikuo
MozReview-Commit-ID: ADVsUSpE8Az

--HG--
extra : rebase_source : 6038bbd56567ac051d5a7738c6890548e8d36e46
2016-09-12 10:41:20 +08:00
JW Wang 5696ce5c1f Bug 1302006. Part 2 - Let ShutdownState handle dormant request. r=kikuo
MozReview-Commit-ID: 1uw7YjQps0i

--HG--
extra : rebase_source : 1f65ba000d86f5d8ddc5a76b3e6d08d7b10e25c1
2016-09-12 10:34:35 +08:00
Aaron Klotz b9b9c1ca1f Bug 1297549: Part 2 - Propagate changes in tab native window down to content for a11y; r=jimm
MozReview-Commit-ID: 4akhzCtYciq
2016-09-15 13:37:04 -06:00
Chris H-C 140f722c49 bug 1218576 - Turn canRecordExtended on for browser_use_counters.js r=gfritzsche
With the content accumulations now being aggregated in the parent, both the
child and parent must be allowed to record for Telemetry accumulations to work.

MozReview-Commit-ID: 2j9YZIPqbZr
2016-09-19 13:30:25 -04:00
Chris H-C 2079cedba0 bug 1218576 - Update test browser_use_counters.js to use aggregated child telemetry r=gfritzsche
waitOnCondition is used to wait for the telemetry batch to be processed
(roughly every 2s). It resolves and rejects to the same value as there are a
couple of xfail tests that need the wrong answer.

MozReview-Commit-ID: I1JqEXQSL7d
2016-09-19 13:30:25 -04:00
Chris H-C 7876f2ef1e bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-19 13:30:25 -04:00
Andrea Marchesini 34c6a13c4c Bug 1303517 - File CTOR for chrome must be fully thread-safe, r=bz 2016-09-19 16:02:40 +02:00
Andrea Marchesini 5994c71158 Bug 1301251 - Handle GetSpec() failure in nsContentUtils::GetWrapperSafeScriptFilename(), r=smaug 2016-09-19 15:50:22 +02:00