Commit Graph

1382 Commits

Author SHA1 Message Date
John Dai
e05f13cdbb Bug 1088761 - Remove redundant trailing spaces. r=smaug
From b52ed31558ac41e31b7a885a988475b07f3aa3fe Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 42f91a3fa39a277c486342baad523d95e044b309
2016-04-12 19:02:42 +08:00
Xidorn Quan
2addb968ed Bug 1270648 part 5 - Setup the sandboxed fullscreen flag and make it work properly. r=smaug
MozReview-Commit-ID: 3EKRbOyXwNi

--HG--
extra : source : 03b0ee1a3ba13b252cb3276adc098266979c3741
2016-05-18 09:08:12 +10:00
Xidorn Quan
0bcdce79ef Bug 1270648 part 2 - Merge nsContentUtils::ParseSandboxAttributeToFlags into HTMLIFrameElement::GetSandboxFlags. r=smaug
nsContentUtils::ParseSandboxAttributeToFlags is not used anywhere else,
and given that sandbox flags would also be affected by allowfullscreen
attribute, this function alone could be misused.

MozReview-Commit-ID: EzlGQ7iY8WG

--HG--
extra : source : 3d58c6e5372e360706045e23c601604c49fc3b43
2016-05-18 09:08:12 +10:00
Xidorn Quan
e0aa1f5add Bug 1270648 part 1 - Move #include out from sandbox keyword list. r=smaug
MozReview-Commit-ID: 18GeTZTcZPp

--HG--
extra : source : 21021768b091a48ca639c0b222211c385e680d7f
2016-05-18 09:08:12 +10:00
Trevor Saunders
256fff4fc9 bug 1271436 - add nsIDocShell::GetCommandManager() r=smaug 2016-05-17 18:16:07 -04:00
Trevor Saunders
72bac46477 bug 1271436 - use nsIDocShellTreeItem::GetWindow() more r=smaug 2016-05-17 18:16:07 -04:00
Jessica Jong
eb72222ba6 Bug 1265968 - fire change event after selected item is changed in dropdown. r=smaug 2016-05-17 12:50:50 -07:00
Wes Kocher
8bcdb6ce30 Backed out changeset 77c60a79313d (bug 1261693) for breaking test_basic.html on at least Android CLOSED TREE 2016-05-23 12:46:34 -07:00
Wes Kocher
e089e1ab3e Backed out changeset 17e20404362d (bug 1258489) 2016-05-23 12:46:05 -07:00
Andrea Marchesini
6586afe162 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-05-23 17:02:18 +02:00
Andrea Marchesini
d076c7faec Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-23 17:00:45 +02:00
Sebastian Hengst
8cd2f85f26 Backed out changeset 1ed74da8c8bb (bug 1228601) 2016-05-23 14:23:51 +02:00
Sebastian Hengst
683bf9f5fb Backed out changeset fcc6d738ce2f (bug 1228601) 2016-05-23 14:23:37 +02:00
Kilik Kuo
2e0f7ed44e Bug 1228601 - [Part3] Add 2 reftests for video rotation of both directly playing and <video>.; r=mattwoodrow
MozReview-Commit-ID: 5CmrpFHsbtA

--HG--
extra : transplant_source : %0C%05%AE%DF%ACI%D8%BF%DA%C9%09%03%93%9F%FA%BA1q%A8%ED
2016-05-19 21:22:57 +08:00
Kilik Kuo
650f34aa50 Bug 1228601 - [Part2] Swap width,height if necessary and apply rotation matrix while building layer.; r=mattwoodrow
MozReview-Commit-ID: Jlh6oRa32fj

--HG--
extra : transplant_source : %C2%A5%8C%DA4TF%0C%D4%C9%C6%9C%98%25t%3C%B9%90%E8%B2
2016-05-12 01:54:52 +08:00
Jeremy Chen
685cf4c3d8 Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
MozReview-Commit-ID: IIOT9jq8hOl

--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
Christoph Kerschbaumer
d7757bf8dd Bug 1273364 - Trying to set a CSP on a SystemPrincipal should return NS_ERROR (r=njn) 2016-05-21 19:36:24 +02:00
Boris Zbarsky
2b85094faf Bug 909633. Remove the HTML Microdata API, since no one else ended up implementing it and now it's been removed from the spec. r=bkelly,jgraham 2016-05-20 23:13:17 -04:00
Olli Pettay
2eab9bb421 Bug 1273202, make sure to not keep objects alive too long because of some useless event dispatching, r=jwatt
--HG--
extra : rebase_source : 687d28c00589327d00a8fb0e652e8adb5aa6101b
2016-05-16 21:42:24 +03:00
Masayuki Nakano
8a70a17c6a Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.

MozReview-Commit-ID: JMT614copjG

--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano
3359bad586 Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Andrea Marchesini
6f820b5dd7 Bug 1272298 - nsFormSubmission should support "\0" input string, r=smaug 2016-05-13 22:48:03 +02:00
Andrea Marchesini
c2b21ae750 Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug 2016-05-13 13:12:34 +02:00
Andrea Marchesini
6441b9d372 Bug 1258490 - Implement file.webkitrelativepath, r=smaug 2016-05-13 13:11:38 +02:00
Sebastian Hengst
acc64686c7 Backed out changeset 3ff28843a8f8 (bug 1088761) for failing form-validation-reportValidity.html on OSX 10.10 debug. r=backout 2016-05-12 13:19:22 +02:00
Sebastian Hengst
bf7ef7a9a1 Backed out changeset 403d9c085544 (bug 1088761) 2016-05-12 13:19:15 +02:00
Sebastian Hengst
64bc0da725 Backed out changeset f757f585e618 (bug 1088761) 2016-05-12 13:19:08 +02:00
John Dai
4971a1fd72 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
--HG--
extra : rebase_source : 027f8d8e7aa2ebbec5561dd83149b19c16814665
2016-05-11 04:26:00 +02:00
John Dai
def16ce1d5 Bug 1088761 - Support reportValidity() for form controls. r=smaug
--HG--
extra : rebase_source : 56206e694b413ad1afdd7ded5dd12ef3a0d296f1
2016-05-11 04:24:00 +02:00
John Dai
b0ac1b27cb Bug 1088761 - Remove redundant trailing spaces. r=smaug
--HG--
extra : rebase_source : aea196343737511284cbe3ea2c7fc052987a8c85
2016-05-11 04:23:00 +02:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Thomas Nguyen
7a6cb90bcf Bug 1261298 - W3C referrer policy attribute is not passed to image. r=jdm
MozReview-Commit-ID: 3S642wheFu1

--HG--
extra : transplant_source : 8%5B%3Eu%40%D2%26%F4%C4%BF4%A2%EDu%0C%D1.%19%C5%86
2016-05-11 09:38:05 +08:00
Jean-Yves Avenard
d4512b29ea Bug 1270154: P1. Forget the media element's media-resource-specific tracks when error occurs. r=jwwang
MozReview-Commit-ID: BFpw2sS7aa7

--HG--
extra : rebase_source : 70dc3a468341c57cef1baefefea66902e66b07ae
2016-05-11 21:18:46 +10:00
Xidorn Quan
efc89967ed Bug 1269157 - Add Document.fullscreen attribute. r=smaug
MozReview-Commit-ID: 7mMjGoc7cvA

--HG--
extra : source : 0a5755272461d84a6a8082ca706d10b1ece84bc6
2016-05-12 10:28:56 +10:00
Xidorn Quan
adac331402 Bug 1268798 part 4 - Mark Document.fullscreenElement and fullscreenEnabled with LenientSetter. r=smaug
MozReview-Commit-ID: B2F2sCLm0G8

--HG--
extra : source : be1844a64bb5207f84692a9a2ed73c2dacb45aa9
2016-05-12 10:28:56 +10:00
Dan Glastonbury
9f98a19f8c Bug 1224973 - Part 2: Set MediaDecoder visibility via NotifyOwnerActivityChanged. r=cpearce,jwwang
Make MediaDecoder::SetElementVisibility private.

MozReview-Commit-ID: GjCuSNPalkE
2016-05-12 09:53:02 +10:00
Ben Tian
1d3df2ccde Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey 2016-05-06 16:09:03 +08:00
Boris Zbarsky
08254285a1 Bug 1190641 part 2. Add the sandboxed modals flag to iframe sandboxing. r=ckerschb
Automated testing for this seems rather difficult; I've done manual testing.
2016-05-06 13:56:36 -04:00
bechen
4f3a1d8df5 Bug 1242594 - Don't remove the textTrack if it's parent is not null. r=rillian
MozReview-Commit-ID: 3nIE1XFFT99

--HG--
extra : transplant_source : %DD%B4%FF%22%28p%A0%CFwK%14%12%8E%0BK%AF-%B6%DB%E1
2016-04-26 16:38:24 +08:00
Carsten "Tomcat" Book
e07e80ac43 merge mozilla-inbound to mozilla-central a=merge 2016-05-10 12:05:56 +02:00
Ryan VanderMeulen
3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Boris Zbarsky
59de5a530f Bug 1270349 part 5. Use LegacyUnenumerableNamedProperties instead of passing flags to GetSupportedNames to determine whether named props on DOM proxies should be reflected in ownPropertyKeys. r=peterv 2016-05-09 22:25:40 -04:00
Boris Zbarsky
76180fb5a7 Bug 1270349 part 4. Use LegacyUnenumerableNamedProperties instead of NameIsEnumerable() calls to determine whether named props on DOM proxies should be enumerable. r=peterv 2016-05-09 22:25:40 -04:00
Carsten "Tomcat" Book
40c39189ef Merge mozilla-central to fx-team 2016-05-09 11:20:26 +02:00
dimi
65b7131b71 Bug 1262406 - P1. Track element doesn't use the URL classifier. r=francois
MozReview-Commit-ID: 1YJgcRrrwqj

--HG--
extra : transplant_source : j%07U%CF%25%C7T%9D%85%FD%7B%99%DE%C7%D8%ADVm6%CB
2016-05-09 09:32:40 +08:00
Edgar Chen
ba0d0471ef Bug 1264467 - Force a reload only when crossOrigin's state is really changed. r=jdm
MozReview-Commit-ID: F0wvy4TkPiQ
2016-04-14 18:53:44 -04:00
Aryeh Gregor
b607cb2e71 Bug 1269712 - <track kind=invalid> should behave like metadata, not subtitles; r=bz
This follows a spec change <https://github.com/whatwg/html/issues/293>,
which AFAIK no other browser has implemented, so it has some regression
potential.

The web-platform tests changed are out-of-date and match the old spec,
so I'm changing them here to match the new spec.
2016-05-08 14:46:20 +03:00
Joel Maher
ffec923436 Bug 1269872 - convert webgl related crashtests to mochitest. r=jgilbert
MozReview-Commit-ID: KaCuwJJPTmO

--HG--
extra : rebase_source : d6bffff07096c19c5bb4fd94004bec5f16e33fe9
extra : amend_source : 7cb1b494bf72c31b72c990e46b4dc9a89a072ac1
2016-05-05 10:22:33 -04:00
Ralph Giles
91ac5a0657 Bug 1270614 - Rename ReportMSETelemetry(). r=SingingTree
This function is no longer MSE-specific, so use a more general
ReportTelemetry() name for it.

MozReview-Commit-ID: JU7S4pEFLWk

--HG--
extra : rebase_source : 2a8a9e2e3d07df51c32c98796ebedb6f64c9fef4
2016-05-05 12:48:45 -07:00
Ralph Giles
68b4c267db Bug 1261955 - Re-activate the VIDEO_UNLOAD_STATE telemetry probe. r=SingingTree,bsmedberg
Rename the VIDEO_MSE_UNLOAD_STATE telemetry probe to just
VIDEO_UNLOAD STATE and reactivate it. We were using this
to track MSE deployment success and would now like to
generalize it to all media playback.

We can remove this probe from histogram-whitelists.json because
we now define alert emails and bug numbers.

MozReview-Commit-ID: Jwmdkgl8CC3
2016-05-05 12:45:59 -07:00
Ralph Giles
d7723aa39c Bug 1261955 - Re-activate VIDEO_PLAY_TIME_MS telemetry probe. r=SingingTree,bsmedberg
Rename the VIDEO_MSE_PLAY_TIME_MS telemetry probe to just
VIDEO_PLAY_TIME_MS and make it active for all video playback.

We were using this to track MSE deployment success. Now we'd
like to do something similar for video playback in general,
regardless of the origin. This allows us to simplify the
collection code somewhat.

MozReview-Commit-ID: 7s8pOQWipf4
2016-05-05 12:45:59 -07:00
Ralph Giles
d463fdaec4 Bug 1261955 - Remove VIDEO_MSE_BUFFERING_COUNT telemetry probe. r=SingingTree
This is no longer necessary.

MozReview-Commit-ID: 8017y0v7VEc
2016-05-05 12:45:59 -07:00
Ralph Giles
d47d281bc4 Bug 1261955 - Remove VIDEO_MSE_JOIN_LATENCY_MS telemetry probe. r=SingingTree
This is no longer necessary.

MozReview-Commit-ID: 81pF9cSvKab
2016-05-05 12:45:59 -07:00
Aryeh Gregor
9aba692542 Bug 1270499 - Setting reflected unsigned long to out-of-range value should set to default; r=bz
This changes to match the spec, which also aligns the behavior of get
and set (get already maps out-of-range values to the default value).
There is currently no interoperable behavior here, but this aligns us
with IE -- tested in 11, hopefully true for Edge too.

On the way, I also fixed the fact that video's height and width were
being treated as signed.
2016-05-05 21:29:54 +03:00
Aryeh Gregor
ccf82a74c7 Bug 881000 - Reflect img.lowsrc as a URL, not string; r=bz 2016-05-05 21:29:54 +03:00
Aryeh Gregor
4f9767021b Bug 1270459 - Limit td/th.scope to known values; r=bz 2016-05-05 21:29:54 +03:00
Aryeh Gregor
7ab958ba96 Bug 1270518 - Make object.code reflect as string, not URL; r=bz 2016-05-05 21:29:54 +03:00
Aryeh Gregor
86ae6362c9 Bug 1269415 - Allow negative <pre width> values; r=jst
This aligns with the spec and all other UAs, although it's less logical.
2016-05-05 20:20:42 +03:00
Alastor Wu
9771068fea Bug 1235612 - Part 5: Rename NotifyAudibleStateChanged. r=jwwang
MozReview-Commit-ID: LRikTbqoOch

--HG--
extra : rebase_source : 1d69b9d55c232d2723cf9f7159087ec6795b6e19
2016-05-03 17:59:43 +08:00
Alastor Wu
b5d99318b3 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm

--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Andreas Pehrson
27ef6e83d4 Bug 1266926 - Move CaptureStreamTrackSource cleanup to Destroy method. r=jesup
--HG--
extra : rebase_source : f8eb4a11ac8a0e7d6f49c72a52b40498f213037c
2016-05-09 11:52:53 +02:00
Xidorn Quan
960af35678 Bug 1205938 part 2 - Enable fullscreen-api-race test on e10s and OS X. r=smaug
MozReview-Commit-ID: 6CGfvSuyhVc

--HG--
extra : rebase_source : 67da86633797c341b8e30d66101296ff9a9cca0b
2015-09-18 11:10:04 +08:00
Boris Zbarsky
63d528aa43 Bug 1257849 part 4. Pass in the right set of supported tokens to the <link> relList implementation. r=bkelly 2016-05-04 23:41:24 -04:00
Boris Zbarsky
cb9d4995fc Bug 1257849 part 3. Pass in the right set of supported tokens to the anchor relList implementation. r=bkelly 2016-05-04 23:41:24 -04:00
Boris Zbarsky
00cfdef4b1 Bug 1257849 part 2. Pass in the right set of supported tokens to the sandbox tokenlist implementation. r=bkelly 2016-05-04 23:41:24 -04:00
Edgar Chen
04da4dcd33 Bug 1193349 - Part 2: Force a reload only when a source/img is really removed from a picture; r=jdm
MozReview-Commit-ID: 96ui8rQf4uz

--HG--
extra : rebase_source : 11c38886f7f3e61460bf8c6a6ca35ee051dead0a
2016-04-22 22:36:54 +08:00
Edgar Chen
914003c3ec Bug 1193349 - Part 1: Force a reload only when a source/img is really inserted into a picture; r=jdm
MozReview-Commit-ID: 4FfTwg1nRFO

--HG--
extra : rebase_source : e6b71dff9e4bee8cc81622b0895fed5aefffd2e6
2016-05-04 10:21:45 +08:00
Alastor Wu
63caf69104 Bug 1242874 - part5 : add test. r=baku, r=ehsan
MozReview-Commit-ID: 7xo6gMX0bR7

--HG--
extra : rebase_source : e7f2548b98a5c383ffe65c74ffd548c039c6b6dd
2016-05-03 09:52:53 +08:00
Alastor Wu
c8fae1998b Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu

--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu
30466d68e1 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: HHYX29gbLwk

--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu
40bc1f6803 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse

--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Xidorn Quan
6d755304f4 Bug 1268749 part 6 - Add test for behavior when unprefixed api is disabled. r=smaug
MozReview-Commit-ID: EUaoiTsVJK9

--HG--
extra : rebase_source : 5dce9bd6bc53fdefd1668908fe433e6f9b592e95
2016-05-02 15:36:53 +10:00
Xidorn Quan
80715b9c70 Bug 1268749 part 1 - Add pref to disable unprefixed fullscreen api. r=smaug
MozReview-Commit-ID: 4NjbHgDfvBM

--HG--
extra : rebase_source : b2da0b2063a5e2a2af3bdda5dbe26e3fb6aa1935
2016-05-02 14:14:36 +10:00
Ralph Giles
0aa89fc17e Bug 1269475 - Fix uninitialized variable warning. r=jdm
Initialize rv at declaration to handle the !hrefURI case.

MozReview-Commit-ID: 65tEvO4hNEA
2016-05-02 16:47:36 -07:00
Kyle Machulis
85146b9ee1 Bug 1263696 - Block embed content loading when ancestor of object element with content; r=bz 2016-05-02 09:54:16 -07:00
Aryeh Gregor
f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Henri Sivonen
7d6b2afbac Bug 1221856 - Infer b/f cache restoration of MediaDocument from readyState. r=smaug. 2016-04-29 10:56:53 +03:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Machulis
bb87072fdb Backout of 541618e4babd (bug 1263696) due to performance timeline test bustage 2016-04-28 14:48:14 -07:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Machulis
58d9018e54 Bug 1263696 - Block content loading for embed nodes that are ancestors of objects with data; r=bz 2016-04-28 13:08:12 -07:00
Carsten "Tomcat" Book
7fcba36865 Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js 2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book
b4a55fdcfc Backed out changeset d09b20eeb382 (bug 1242874) 2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book
0a62793b79 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Carsten "Tomcat" Book
5ee6035efc Backed out changeset bd757c7d0bad (bug 1242874) 2016-04-28 13:59:01 +02:00
Alastor Wu
75cb7468c7 bug 1242874 - part5 : add test. r=baku, r=ehsan
MozReview-Commit-ID: 1X7xAbiKhC3

--HG--
extra : transplant_source : i%7FRV%07%3C%5EW%EE%95%C366%EEs%02%BA%8C%8B%93
2016-04-28 00:23:52 +08:00
Alastor Wu
4e7da2f687 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: GRjxz1E0C9r

--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu
daaa9802c9 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: Co4avRLWGRK

--HG--
extra : transplant_source : b%17%81%60%94_%F1%C2%5D%B1%B3%D5%F3%5C%7D4p%7F%03%EB
2016-04-28 00:23:42 +08:00
Alastor Wu
14fb7102ce Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: 1RJvbzMOCpu

--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
Jessica Jong
9066685a11 Bug 1206616 - Part 1: Fire input event for type=checkbox,radio,file. r=smaug 2016-04-25 19:52:00 +02:00
Henry Chang
7ec95c63c9 Bug 1178337 - Part 1: Supports all referrer policies for element atrributes. r=sicking, r=Gijs, r=mcmanus
--HG--
extra : source : 6948efdbc5187e754d5bddd6391a7b67a30222a5
2016-04-27 10:26:57 +08:00
Boris Zbarsky
907c772eb9 Bug 1266851. Make <xmp> and <listing> use HTMLPreElement as their primary interface, per <https://github.com/whatwg/html/issues/1015>. r=peterv 2016-04-26 12:50:30 -04:00
Boris Zbarsky
906512279d Bug 1266831 part 1. Remove the unnecessary (and incorrect, in the XML case) innerHTML getter override from <xmp> and <plaintext>. r=smaug 2016-04-26 12:50:24 -04:00
Christoph Kerschbaumer
232720eac5 Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz 2016-04-26 11:48:29 +02:00
ctai
4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai
5d4238b60d Bug 1266644 - Simple refactoring. r=jesup r=pehrsons
Update some comments, rename.

MozReview-Commit-ID: A747Fd8mH3D
2016-04-07 11:44:00 +08:00
Josh Matthews
4c6d253f1d Bug 1134194 - Ensure that load events are dispatched for all cases when a responsive source updates. r=johns
MozReview-Commit-ID: DZmJCAIuhQb

--HG--
extra : transplant_source : %AF%A1%2C%08FB%D1Q%26%0D%E4%9B%D3%FAf%CDDH%05%AD
extra : histedit_source : a3e049c9842d69a348ab8d33c69c2f14704ef401
2016-01-06 15:40:09 -05:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jean-Yves Avenard
e6d396075d Bug 1267036: Force recalculation of readyState when download is progressing. r=jwwang
Under some circumstances, the MP3Demuxer is unable to calculate the buffered range which would prevent the readyState value to be recalculated. To get around this we force recalculation when the progress event is fired.

MozReview-Commit-ID: DTaxJjOX4JU

--HG--
extra : rebase_source : 83389805b14c88061e492525abaada1d63b4d5ea
2016-04-24 23:34:23 +10:00
Boris Zbarsky
b66f459c87 Bug 1266077. Fix <base> href getter to follow the spec; it should be using the fallback base URI to resolve against, not the document URI. r=bkelly 2016-04-22 17:59:16 -04:00
JW Wang
94b009f556 Bug 1265978. Part 2 - add methods to MediaDecoder and MDSM to dump debugging info. r=jya.
MozReview-Commit-ID: Dbc5FT627uL
2016-04-22 14:18:26 +08:00
JW Wang
6bfff83925 Bug 1265978. Part 1 - add mozDumpDebugInfo() to HTMLMediaElement.webidl. r=bz.
MozReview-Commit-ID: E0RZRyWnZrF
2016-04-11 12:02:43 +08:00
Thomas Nguyen
3f10b1a2de Bug 1260664 - W3C Reflect referrerPolicy as a limited enumerated attribute. r=franziskuskiefer . r=smaug
MozReview-Commit-ID: Dppj4iuZnFp
2016-04-18 18:35:47 +08:00
Gerald Squelart
0451e54ac6 Bug 848994 - p1. Refactor Decoder Doctor - r=cpearce
Some refactoring, clean-ups, etc.

The main change is that the can-play status is passed when diagnostics are
finally recorded. This will help when introducing different types of
diagnostics in future patches (e.g., Key System issues).

MozReview-Commit-ID: 182ePlrMqn4
2016-04-22 13:42:11 +10:00
Chris Pearce
0e273ade3c Bug 1265587 - Force keystatuses to be cleared when Widevine keysessions are closed. r=gerald
The Widevine CDM, and I believe the Adobe CDM too probably, do not mark a
session's keys as unusable when a key session is closed. This means that
the CDMCaps' copy of the keys that are usable is wrong, and so if the media
with the same keys is reloaded with the same MediaKeys, Firefox will assume
that the keys are usable before the license for the keys has been
re-negotiated, and so decryption will fail.


MozReview-Commit-ID: 1kTDzwSD8PE

--HG--
extra : rebase_source : 89c480f36bfaec11ceb5ca1e8d798b0ae795eaea
2016-04-22 08:31:18 +12:00
Edgar Chen
6e395bbca4 Bug 1264825 - Fix remaining failures in update-the-source-set.html; r=jdm
MozReview-Commit-ID: CO6z83SS3Nb
2016-03-18 22:16:00 +08:00
Masayuki Nakano
9170348baf Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
MozReview-Commit-ID: G1WVCWkS0Lt

--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
da3898bcb7 Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
MozReview-Commit-ID: L0GnVR6NcAe

--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
L. David Baron
b1db407049 Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
Gerald Squelart
0977ec8ef6 Bug 1248507 - p3. Use DecoderDoctorDiagnostics - r=jya,bz
DecoderDoctorDiagnostics are now used at places where Firefox Chrome and/or
websites checks whether some media formats may be played:
- audio|video.canPlayType()
- audio|video resource loader
- MediaSource.IsTypeSupported()
- MediaSource.AddSourceBuffer()

MozReview-Commit-ID: B1KdjXODq9j
2016-04-19 17:36:19 +10:00
Gerald Squelart
ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Andrea Marchesini
8e22a11655 Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug 2016-04-18 03:32:30 -04:00
Ryan VanderMeulen
e22a2d1d81 No bug - Re-enable various tests on Windows debug e10s that no longer fail.
--HG--
extra : histedit_source : 37d53b3f1958a608e96d34799e3ff123e901aed1
2016-04-15 13:26:01 -04:00
Dragana Damjanovic
645513565f Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Kyle Machulis
54d49338a9 Bug 1262184 - Block embed content loading when child of media element; r=bz 2016-04-13 15:27:20 -07:00
Timothy Nikkel
6a480df969 Bug 1251088. Update the stored mImageWidth/Height on ImageDocuments when we get the document load event. r=bz
We only update mImageWidth/Height when we get the load event for the img element. But the style sheet TopLevelImageDocument.css can be loaded after the img load event. TopLevelImageDocument.css specifies that the orientation of the image comes from the embedded exif data, thus when it is loaded the image can rotate and change size. So we need to be sure to re-get the size after all style sheets are loaded.

This means mImageWidth/Height could be wrong during loading.
2016-04-13 00:42:15 -05:00
Kyle Huey
2709afd167 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Andrea Marchesini
ed43c1f6e4 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini
a8c342535b Bug 1257180 - patch 2 - Directory can be sent via postMessage(), r=smaug 2016-04-12 08:51:04 -04:00
Sebastian Hengst
08c222b359 Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Andrea Marchesini
dfd731fd16 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Cameron McCormack
cb363fa1df Bug 1261754 - Part 6: Move vertical-align from nsStyleTextReset to nsStyleDisplay. r=dholbert 2016-04-12 15:52:41 +10:00
Josh Matthews
a67de0b59f Bug 1237633 - Part 2: Avoid fatal assertion when a responsive image's size specifier is invalid. r=johns, r=jdm
MozReview-Commit-ID: LyG6xn5VbSE

--HG--
extra : rebase_source : e04db97470b7024c8069fe8e6495d833818e913f
extra : histedit_source : a1cfd41e56809464a69c124df0c698046b5b93db
2016-01-07 15:02:14 -05:00
Xidorn Quan
ee9b377d01 Bug 1236828 part 3 - Allow setting position: absolute for top layer element and add test. r=heycam
MozReview-Commit-ID: 9BMGe88eq6g

--HG--
extra : rebase_source : ee9168f650f5d91725f16baecc6923c4883e6988
2016-04-11 15:58:10 +10:00
Wes Kocher
7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Dan Glastonbury
bdceaeb447 Bug 1262358 - Part 1: Split autoplay condition into statements. r=cpearce
MozReview-Commit-ID: 19f4XOa4Kzw

--HG--
extra : rebase_source : c6d8f6c96e1c519e43eff6144289a8fc6eea4827
2016-04-06 17:30:06 +10:00
Andrea Marchesini
c6067c0a80 Bug 1258221 - patch 1 - File::CreateFromFile only for main-thread, r=smaug 2016-04-09 19:15:50 +01:00
Ryan VanderMeulen
3f36076406 Bug 1262050 - Remove unneeded assertion and update test annotations accordingly. r=jimm
--HG--
extra : rebase_source : d2471bd4cce2a65b1247d23225c7ccab4bab5f01
2016-04-08 12:11:44 -04:00
Wes Kocher
51eb5dbf5a Merge inbound to central, a=merge
MozReview-Commit-ID: L8YZYtbmper
2016-04-07 13:42:10 -07:00
Wes Kocher
b119ca60cb Backed out changeset 50b8a47e960c (bug 1261536) for being the likely cause of the really-frequent bug 1262130 a=backout
MozReview-Commit-ID: 5rGwJ3gPnYu
2016-04-07 12:33:25 -07:00
William Chen
303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Gerald Squelart
cc7054020a Bug 1261536 - Create a synthetic document after the window is set - r=bz
MozReview-Commit-ID: 7SBC2dFZAkP

--HG--
extra : rebase_source : f4c511090945dbcb88f152fed33ec2b2017dec61
2016-04-02 10:40:09 +11:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Xidorn Quan
bd8bf4c81d Bug 1260102 followup - Simplify newly added test with util functions.
MozReview-Commit-ID: lodB36EXUK

--HG--
extra : source : 1aa50c67bec48a6afcea645473929c99cc44e351
2016-04-04 10:21:22 +10:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Nicholas Nethercote
d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
J. Ryan Stinnett
013ba36705 Bug 1242644 - HTML swapFrameLoaders. r=bz
Adds swapFrameLoaders for HTML frames.  It is also possible to swap frame
loaders between XUL and HTML frames.

MozReview-Commit-ID: 43JeiBuMcOL
2016-03-31 19:47:44 -05:00
ctai
61b8bad2ea Bug 1260950 - Set mInitialSizeFound to true when the initial size id found. r=jesup, r=pehrsons a=kwierso
MozReview-Commit-ID: Ch3jCR4pFYN

--HG--
extra : histedit_source : d00a90ec1e574db721fe71672ee7f83be01d646b
2016-03-31 10:13:04 +08:00
Josh Matthews
d43f85cd2a Bug 1259482 - Ensure that image loads are never dropped on the floor when queued for later. r=johns 2016-03-30 12:39:59 -04:00
Andreas Pehrson
46569d09a9 Bug 1208371 - Forward declare DOMMediaStream in HTMLMediaElement.h. r=jesup
MozReview-Commit-ID: KUPovpKfgek

--HG--
extra : rebase_source : 89b1b623399b7ebc9711f5a012fd9e69b60b32db
2016-01-23 23:20:28 +08:00
Andreas Pehrson
ee5913bb8b Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
MozReview-Commit-ID: Aj7Cht4zxc6

--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00