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

62903 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini cb157a61e8 Bug 1363307 - Console.timeEnd(label) should warn if 'label' in an unknwon timer, r=bgrins 2017-05-11 14:36:12 -07:00
Andrea Marchesini 2f43217a11 Bug 1363288 - Console.time() prints a warning if used twice with the same label, r=bgrins 2017-05-11 14:36:09 -07:00
James Willcox 22e9b1e4cc Bug 1322650 - Don't use AndroidBridge to get API version in media stack r=jolin
AndroidBridge is not available in child processes.

MozReview-Commit-ID: KlBs8F1Bu1O
2017-05-11 15:42:45 -05:00
James Willcox 8069ecfcd6 Bug 1322650 - Adjust Android Flash support to API changes r=jchen
MozReview-Commit-ID: CmMINaGcTER
2017-05-11 15:42:44 -05:00
James Willcox 40d0e705e9 Bug 1322650 - Support a 'continuous' mode for SurfaceTexture r=jgilbert
This is needed to support Flash on Android

MozReview-Commit-ID: 5yNIoZHonla
2017-05-11 15:42:44 -05:00
James Willcox 31b30cd5c9 Bug 1322650 - Make video decoding work with new SurfaceTexture API r=jolin
MozReview-Commit-ID: EXQ5YDSMMGL
2017-05-11 15:42:43 -05:00
Kris Maglione bcc24533a6 Bug 1353060: Disable remote frameloaders in small popup widgets. r=kats
Since we now want to support APZ for remote frameloaders in popups, but do not
want to needlessly enable it in simple popup widgets which should never host
remote content, we need to prevent remote content from being loaded into those
popups.

MozReview-Commit-ID: WfjMC2p2eK
2017-04-17 13:45:08 -07:00
Kris Maglione 503713f913 Bug 1353060: Use the correct layer manager for frameloaders in <popup>s. r=kats,mattwoodrow
Currently, we only correctly support remote layer trees for frameloaders that
use the same layer manager as their document. Since we need to be able to host
remote <browser> content in popup widgets for remote WebExtensions, we need to
tie the frameloaders to the layer manager of their host element, rather than
the root layer manager for the document.

MozReview-Commit-ID: 4RCsamFBiQw
2017-04-17 21:41:18 -07:00
Sebastian Hengst a5890afd0f Backed out changeset e0a52989a521 (bug 1352852) for timing out in dom/events/test/test_dragstart.html. r=backout 2017-05-11 18:07:41 +02:00
Michael Layzell 12717ff1a6 Bug 1352852 - Add dummy data to the DataTransfer when dragging a draggable object, r=enndeakin
When dragging a `draggable=true` HTML DOM node, if no data is added to the
DataTransfer during the DragStart event, we currently cancel the drag. This is
inconsistent with Chrome's behaviour.

This patch adds a chrome-only (hidden from content) item to the DataTransfer:
application/x-moz-dummy-data. This data is added only when no other data has
been added to the DataTransfer, and the target of the dragstart event was a
draggable=true HTML DOM node.

This hidden node allows for the drag event to complete successfully, while
appearing the same as Chrome's behavior to content scripts.

MozReview-Commit-ID: HVqEr7aR6DD
2017-05-11 10:09:14 -04:00
Lee Salzman ed014c1f54 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang 2017-05-11 09:54:15 -04:00
Ryan VanderMeulen 8921035eb6 Merge m-c to inbound. a=merge 2017-05-11 09:33:18 -04:00
Ryan VanderMeulen 1704dc2a72 Backed out 14 changesets (bug 1290951) for causing topcrash bug 1364059. a=me
Backed out changeset d9cb7e835d4c (bug 1290951)
Backed out changeset 2684d41c75e4 (bug 1290951)
Backed out changeset 2fdb0ae64a1b (bug 1290951)
Backed out changeset 6194a6a0f510 (bug 1290951)
Backed out changeset 9a722c9de441 (bug 1290951)
Backed out changeset 4e36f20bea04 (bug 1290951)
Backed out changeset 7236a196cff0 (bug 1290951)
Backed out changeset b6b85669af94 (bug 1290951)
Backed out changeset bb76b58e45fc (bug 1290951)
Backed out changeset f2b2e0d54e51 (bug 1290951)
Backed out changeset 974b55cde2af (bug 1290951)
Backed out changeset cda24c8eccc4 (bug 1290951)
Backed out changeset fedca2ad4ce6 (bug 1290951)
Backed out changeset e40aeb64bdab (bug 1290951)
2017-05-11 09:26:18 -04:00
Hiroyuki Ikezoe 9219415cbf Bug 1363574 - Allow unitless length for SMIL values. r=birtles
MozReview-Commit-ID: BkGCHgQVzHD

--HG--
extra : rebase_source : c0b0601fba6cfba04217dd6da7e942c167858496
2017-05-11 08:29:36 +09:00
Shawn Huang 0deb22583d Bug 1362318 - Part2: Fallback override MIME type to application/octet-stream, r=baku
Set override MIME type to 'application/octet-stream', if type is not a parsable
MIME type.
2017-05-11 18:59:10 +08:00
Shawn Huang c5dd1dadc2 Bug 1362318 - Part1: Use text/xml as fallback response MIME type, r=baku
If response MIME type is the empty byte sequence, then set type to 'text/xml'.
2017-05-11 18:59:00 +08:00
Carsten "Tomcat" Book f40e5ddeb7 Merge mozilla-central to mozilla-inbound 2017-05-11 12:53:41 +02:00
Carsten "Tomcat" Book 1ff3d76838 Backed out changeset ebc9a119bcf8 (bug 1340627) 2017-05-11 12:51:49 +02:00
Andrea Marchesini 83c815ee45 Bug 1363429 - Get rid of nsIDOMLocation, r=bz, r=honza, f=ochameau 2017-05-11 07:26:08 +02:00
Benjamin Peterson d7205479b1 No bug - fix indentation DONTBUILD
--HG--
extra : rebase_source : 98b121a221b63f701e65536c602504d702945e0a
2017-05-09 22:19:23 -07:00
Iris Hsiao 3f0892a7f5 Backed out changeset c56bd0d1e7c9 (bug 1363429) for build bustage, using-declaration causes a multiple declaration of 'nsIDocument::GetLocation' 2017-05-11 13:55:40 +08:00
Andrea Marchesini e78b251ef5 Bug 1363429 - Get rid of nsIDOMLocation, r=bz, r=honza, f=ochameau 2017-05-11 07:26:08 +02:00
Bevis Tseng 8ad7fc3ed8 Bug 1362944 - Part 2: Set proper event target to MutableBlobStorage when created from XMLHttpRequestMainThread. r=baku
Use the event target provided from XMLHttpRequestMainThread for the runnable dipsatching inside MutableBlobStorage.
2017-05-10 11:45:54 +08:00
Bevis Tseng 32c0a177ae Bug 1362944 - Part 1: Accept nsIEventTarget in the CTOR of MutableBlobStorage to support runnable labeling. r=baku
1. Accept nsIEventTarget in the CTOR of MutableBlobStorage/MutableBlobStreamListener.
2. Do ProxyRelease and runnable dispatching via this event target.
2017-05-09 18:29:46 +08:00
Wes Kocher 02bf8c4425 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FfNikA7un6F
2017-05-10 17:31:18 -07:00
Wes Kocher 1b5ad2c128 Merge inbound to central, a=merge
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
Ehsan Akhgari e45265442e Bug 1363614 - Don't attempt to notify the parent about the change in the number of beforeunload event listeners if our IPC link is already severed; r=mconley 2017-05-10 19:39:22 -04:00
Wes Kocher f4f5d51edf Merge autoland to central, a=merge
MozReview-Commit-ID: 2gKDtRuJJyq
2017-05-10 15:25:51 -07:00
Birunthan Mohanathas 5e41427024 Bug 903966 - Stop blocking 'http://127.0.0.1/' as mixed content. r=ckerschb,kmckinley
According to the spec, content from loopback addresses should no longer
be treated as mixed content even in secure origins. See:
- 349501cdaa
- https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy

Note that we only whitelist '127.0.0.1' and '::1' to match Chrome 53 and
later. See:
- 130ee686fa

It is unclear if HTTPS origins should be able to use workers and WebSocket
connections through a loopback HTTP address. They are not supported in Chrome
(whether this is intentional or not is uncertain) so lets just ignore them for
now.

See also: https://github.com/w3c/web-platform-tests/pull/5304
2017-05-10 20:50:00 +03:00
Wes Kocher 959de6c3e8 Backed out 9 changesets (bug 1340627) for graphical glitches a=backout
Backed out changeset 0b1371055c7f (bug 1340627)
Backed out changeset f152be1fadb7 (bug 1340627)
Backed out changeset c691e2ab6a0c (bug 1340627)
Backed out changeset 3cb4bceb8d79 (bug 1340627)
Backed out changeset 026aadd76d06 (bug 1340627)
Backed out changeset fdbd5d281287 (bug 1340627)
Backed out changeset 75fb0d9858a9 (bug 1340627)
Backed out changeset 0d4ec7d38a00 (bug 1340627)
Backed out changeset af6f19870b2a (bug 1340627)

MozReview-Commit-ID: 9dHr7xMZezY

--HG--
rename : gfx/skia/skia/src/core/SkBlitRow.h => gfx/skia/skia/include/core/SkBlitRow.h
rename : gfx/skia/skia/src/effects/SkGaussianEdgeShader.h => gfx/skia/skia/include/effects/SkGaussianEdgeShader.h
rename : gfx/skia/skia/src/xml/SkXMLParser.h => gfx/skia/skia/include/xml/SkXMLParser.h
rename : gfx/skia/skia/include/private/SkMessageBus.h => gfx/skia/skia/src/core/SkMessageBus.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAAConvexTessellator.h => gfx/skia/skia/src/gpu/batches/GrAAConvexTessellator.h
rename : gfx/skia/skia/src/gpu/ops/GrAAHairLinePathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAAHairLinePathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrAALinearizingConvexPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrAALinearizingConvexPathRenderer.h
rename : gfx/skia/skia/src/gpu/ops/GrPathStencilSettings.h => gfx/skia/skia/src/gpu/batches/GrPathStencilSettings.h
rename : gfx/skia/skia/src/gpu/ops/GrStencilAndCoverPathRenderer.h => gfx/skia/skia/src/gpu/batches/GrStencilAndCoverPathRenderer.h
rename : gfx/skia/skia/include/private/GrGLSL_impl.h => gfx/skia/skia/src/gpu/glsl/GrGLSL_impl.h
extra : source : 761b3f55f10f3df16601ce62e4d15b0c558c0cfb
2017-05-10 10:01:18 -07:00
Carsten "Tomcat" Book d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Christoph Kerschbaumer b9a841105c Bug 1355801: Nonce should not apply to images tests. r=dveditz 2017-05-10 08:53:27 +02:00
Christoph Kerschbaumer e5865a7980 Bug 1355801: Nonce should only apply to script and style. r=dveditz 2017-05-10 08:52:24 +02:00
Bill McCloskey c197e07ff2 Bug 1363560 - Name more runnables (r=mccr8)
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Lee Salzman 8c18901f07 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
Lee Salzman 2e348e5294 Bug 1340627 - part 8 - reftest fuzzing for update to Skia m59. r=mchang
MozReview-Commit-ID: LN29P1I4EsW
2017-05-09 22:31:07 -04:00
bechen 172da9b6e3 Bug 1360718 - Render the webvtt cues when hiding the control bar. r=alwu
"video.controls = false" will remove the binding of videocontrols which is a xul element.
In vtt.jsm, we need to remember the last show/hide status of videocontrols, then render cues when status changed.

MozReview-Commit-ID: 30rebAuqmxy

--HG--
extra : rebase_source : e011ec0679ab03071e01b91c124c5b72e481a8da
2017-05-09 17:49:42 +08:00
Swapnesh Kumar Sahoo 6c9205b366 Bug 1351034 - Remove usages associated to WEB_NOTIFICATION_SENDERS. f=chutten; r=kitcambridge
MozReview-Commit-ID: Jm3ERVEW5Ww

--HG--
extra : rebase_source : 947967db6288c1e538bf8e9a16d8ac3a27812220
2017-05-09 09:19:10 -07:00
Swapnesh Kumar Sahoo 3133230b35 Bug 1351034 - Remove WEB_NOTIFICATION_PERMISSION_REMOVED. f=chutten; r=kitcambridge
MozReview-Commit-ID: 2X3PjxDgkPf

--HG--
extra : rebase_source : 09b97a268261d49c578ee2613b84d6644b8b3767
2017-05-09 09:24:01 -07:00
David Anderson efabd88473 Wait for VideoDecoderManagerParents to shut down before destroying the VideoParent thread. (bug 1360697, r=billm) 2017-05-09 16:51:07 -07:00
Valentin Gosu 4ccb51bae2 Bug 1363700 - Add RCWN stats to about:networking r=bz,michal
MozReview-Commit-ID: GVt1omCfL6t

--HG--
extra : rebase_source : fdb321360f21f0f54692bc6b715abb4c155171b7
2017-05-10 19:23:54 +02:00
Christoph Kerschbaumer 917075833b Bug 1359204 - Do not query nested URI within CheckChannel in ContentSecurityManager. r=smaug 2017-05-10 18:40:57 +02:00
johndai1984 2ce869a458 Bug 1340477 - Support feature detection for autocomplete attribute. r=smaug 2017-05-09 22:57:00 -04:00
JW Wang 20f3ad9f2f Bug 1362912. P2 - fix the callers. r=gerald
MozReview-Commit-ID: LdYcIWAFDUn

--HG--
extra : rebase_source : eb943f7e5b7674c3397fce3ad0e8193b4c0ddc01
extra : source : fdfd468b6edbabf3830eb78fc705f6d6682b7126
2017-05-09 23:31:32 +08:00
JW Wang 5ad2189944 Bug 1363676. P2 - add a gtest to ensure we don't break ResolveOrRejectValue during refactoring. r=gerald
MozReview-Commit-ID: A1ftwJMYgGw

--HG--
extra : rebase_source : 7d85b6b17363af64466bb937f671ddb019ce6be2
2017-05-10 17:41:08 +08:00
Tom Tung 2f54068f26 Bug 1348050 - Part 6: Expand the original test to verify src attribute. r=baku,mayhemer
Since there are some mechanism to prevent from loading multiplace resorce at a
same time for an element, I rewrote the test to isolate each subtests and make
sure they will not bother each other.

MozReview-Commit-ID: 59h8rzjDxKj

--HG--
extra : rebase_source : 8ab8167080a69decf2e1d3c0c74a5f96bef5ecec
2017-05-04 16:09:17 +08:00
Tom Tung eb17272b12 Bug 1348050 - Part 5: Mark channel as urgent-start for embed element. r=baku
This patch is mainly for ObjectLoadingContent. Since there is no any runnable
between setting src and creating channel, I check urgent-start just after
creating channel.

MozReview-Commit-ID: IoishRqENBM

--HG--
extra : rebase_source : 25799e27c6a2eb50d5ee3aded0d66fe6bb05c52b
2017-05-05 13:59:42 +08:00
Alastor Wu a6e6b04a38 Bug 1351087 - part1 : don't register agent for audio without audio track. r=baku
Since we don't want to show media control for media without audio track (eg. GIFV),
it's no need to register audio agent for them.

MozReview-Commit-ID: 22YrMkpNrcP

--HG--
extra : rebase_source : 78a6c41b6018f91ed9370fb2f15c650fe76ba3a1
2017-05-09 14:10:43 +08:00
Wes Kocher 8f6058b583 Backed out 3 changesets (bug 1344398) for assertion failures at Element.cpp a=backout
Backed out changeset d0e5a5ba01b5 (bug 1344398)
Backed out changeset d70f9de401d1 (bug 1344398)
Backed out changeset 647d0bb3714d (bug 1344398)

MozReview-Commit-ID: DTVWf28NcNb
2017-05-10 17:43:50 -07:00
Wes Kocher 02015c2300 Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: 5T8pxvbfKXv
2017-05-10 17:29:04 -07:00