Commit Graph

1277 Commits

Author SHA1 Message Date
Sebastian Hengst
51ba720edc Backed out changeset b9b23b61401f (bug 1273203) for breaking many tests. r=backout 2016-05-18 10:38:17 +02:00
Boris Zbarsky
b2ec3ee967 Bug 1273203. Remove the getStructuredData API from BrowserElement. r=kanru 2016-05-18 02:51:49 -04:00
John Dai
11eb07ed31 Bug 1264947 - HTMLTableElement.rows return element in the order. r=smaug 2016-05-17 03:08:00 -04:00
John Dai
73b4a91e3f Bug 1264947 - Remove redundant trailing spaces. r=smaug 2016-05-17 02:54:00 -04:00
John Dai
942872afd3 Bug 1088761 - Update web-platform tests for reportValidity(). r=smaug
From eb8351d4f84cb69cff2bc431539158ad046d51ee Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : fabca273682343ee6ca0e4061852c92065cbb89e
2016-04-15 16:12:46 +08:00
John Dai
1545cb9d2f Bug 1088761 - Support reportValidity() for form controls. r=smaug
From 2c2f7223e9d88f431f3e3fee7384dffbca07d8a9 Mon Sep 17 00:00:00 2001

--HG--
extra : rebase_source : 7daace21a903c55c893f0c6e7b0e0380b6ddca12
2016-04-15 16:13:00 +08:00
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
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