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

1245 Коммитов

Автор SHA1 Сообщение Дата
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
Andreas Pehrson e899edc733 Bug 1208371 - Ensure a media element's ImageContainer is protected when playing a stream. r=mt,jesup
HTMLMediaElement needs special protection when playing a stream since its
ImageContainer can outlive the video track of a stream.

Consider for instance when a (cross-origin) video track is removed from a
DOMMediaStream by a user and the remaining video track (non-CORS) does not yet
contain any actual video frames. The HTMLMediaElement will display a frame from
the removed track but the DOMMediaStream's principal has been updated to not
include the principal from the removed track.

With this patch we handle this by letting VideoFrameContainer notify
HTMLMediaElement when it has flushed out all video frames belonging to a
certain PrincipalHandle. I.e., when a new PrincipalHandle has been applied to the
underlying ImageContainer.

MozReview-Commit-ID: LvIZPl6Rdgj

--HG--
extra : rebase_source : cfbad5e5e7f43af4da4bfc213494b7b8e22cde17
2016-02-04 09:27:09 +08:00
Andreas Pehrson be74876e25 Bug 1208371 - Add PrincipalHandle to MediaChunks. r=mt,jesup
PrincipalHandle is a thread safe pointer to a holder of (the main-thread-only
nsIPrincipal) that can be passed around the MSG.

A MediaStreamTrack whose source has just updated its principal, sets the new
principal aside (as its "pending principal"), and combines the new principal
into its current principal.

Then the source starts passing the new principal to the MediaStreamGraph as
a PrincipalHandle.

Changes to a track's PrincipalHandle on the MSG will be surfaced through the
MediaStreamTrackListener API. These changes are dispatched to main thread
and compared to a MediaStreamTrack's pending principal. In case of a match
the track knows the correct principal is flowing and can move the pending
principal to be the current principal and update any main thread principal
observers.

MozReview-Commit-ID: D0JXGWhQFFU

--HG--
extra : rebase_source : 296e269bb46fc5a85a9c3f90dfc0dc40e53572bc
2016-04-06 14:56:44 +02:00
Andreas Pehrson 705ec66ce8 Bug 1208371 - Remove ref counting from DOMMediaStream::TrackListener. r=roc
This makes it consistent with PrincipalChangeObserver.

MozReview-Commit-ID: 91PtqFZRcW6

--HG--
extra : rebase_source : e39abb668be7fbd0dae0a701ec17b048c8761879
2016-01-05 10:16:28 +08:00
Andreas Pehrson c742b9dadf Bug 1208371 - Change HTMLMediaElement video sinks to check principal for video only tracks. r=mt
MozReview-Commit-ID: KGbyJDgpBOn

--HG--
extra : rebase_source : 526556a2174417ec68cb0a84acb1f3fe704ebaf0
2016-01-26 15:36:52 +08:00
Andreas Pehrson 00a36d0421 Bug 1208371 - Move HTMLMediaElement::CaptureStream to forward CORSMode changes through MediaStreamTrackSource. r=mt
MozReview-Commit-ID: 6bMpKO6ccjd

--HG--
extra : rebase_source : 86e9eb25c3401f566a07549d068336c0a6bdcd73
2016-01-05 10:16:27 +08:00
Andreas Pehrson a47ce20618 Bug 1208371 - Rename CreateOwnDOMTrack/CreateClonedDOMTrack to CreateDOMTrack/CloneDOMTrack. r=jib
MozReview-Commit-ID: DOGiwcYycJY

--HG--
extra : rebase_source : 197fc7a7c5d36200f987c38f26ab77ec8ea2d290
2016-01-05 10:16:26 +08:00
Andreas Pehrson 0396985d77 Bug 1208371 - Route ApplyConstraints through MediaStreamTrackSource. r=jib
MozReview-Commit-ID: CnJnxszKU4o

--HG--
extra : rebase_source : f5ef65897108b3feadd51b8b11a47f65a7a71ff1
2016-02-01 22:43:38 +08:00
Andreas Pehrson 58ac7b5fd2 Bug 1208371 - Make remaining DOMMediaStream principal sources use MediaStreamTrack. r=mt
MozReview-Commit-ID: 1hgHp5dlBZJ

--HG--
extra : rebase_source : 30d7d5bccc663ef00a640b4f385278a336191088
2016-02-01 22:46:34 +08:00
Andreas Pehrson 70707f7c85 Bug 1208371 - Make HTMLMediaElement::CaptureStream pass its principal to MediaStreamTrack. r=mt
MozReview-Commit-ID: 7ERLRSM8fz6

--HG--
extra : rebase_source : 99504bb19ac35eea6889a507589710c3575e8b0f
2016-01-14 18:34:39 +08:00
Andreas Pehrson ba233fd622 Bug 1208371 - Add an interface DecoderPrincipalChangeObserver to HTMLMediaElement. r=roc
MozReview-Commit-ID: DwDHDE7SLxY

--HG--
extra : rebase_source : 73f74260d8b62bb4838ab5a5c4b2153a251c5d95
2016-01-14 11:38:08 +08:00
Andreas Pehrson 5401608e6c Bug 1208371 - Add MediaStreamTrackSourceGetter interface. r=roc
This allows DOMMediaStream to assign MediaStreamTrackSources to
dynamically created MediaStreamTracks.

MozReview-Commit-ID: 3v91zLiqfl7

--HG--
extra : rebase_source : 4fe67e92b9c833fe5ba964fc5f3b11ba21447f36
2016-01-05 10:16:21 +08:00
Andreas Pehrson 9899305f28 Bug 1208371 - Add a MediaStreamTrackSource interface. r=roc
This lets a MediaStreamTrack communicate with its source/producer on the
main thread. It's for now used for stopping a track at the source and
retrieving some metadata, but it could also be a link between actual
sinks of a track and the source, to for instance let the source optimize
by scaling down the resolution when all sinks want lowres-video.

MozReview-Commit-ID: D4SJLr0aqhJ

--HG--
extra : rebase_source : ea511b5c86ca4836bfa980825f04617fef498261
2016-04-06 14:46:56 +02:00
Andreas Pehrson 88628853b2 Bug 1208371 - Move OnTracksAvailableCallback out of DOMMediaStream. r=roc
So it can be forward declared.

MozReview-Commit-ID: 4RH7p8AzO84

--HG--
extra : rebase_source : e9c4ef72029de4ed09dca3b51ba2b46829f41d14
2016-01-05 10:16:21 +08:00
Xidorn Quan dd78b29d7e Bug 1260102 - Pass isHandlingUserInput through process boundary for content menu command. r=mrbkap
MozReview-Commit-ID: FMQOFpeO6yn

--HG--
extra : rebase_source : 3b687e45d1f732b9e076f7a1d596562a56d332a2
2016-03-29 14:58:43 +11:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Takeshi Kurosawa 72bf333b0a Bug 1259674 Part 1 rename InternalFocusEvent::fromRaise to InternalFocusEvent::mFrameRaise r=masayuki
MozReview-Commit-ID: FzLjVjDCqAa

--HG--
extra : rebase_source : 55ab306ade105dff57af9ab00d2a2d5290339440
2016-03-27 14:44:57 +09:00
Tetsuharu OHZEKI 8fe5a1b9d4 Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
MozReview-Commit-ID: FjqZ5D2NCFb

--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Christoph Kerschbaumer ba26bfd31e Bug 1251043 - Bail early with error if form-action blocks loading. r=francois 2016-03-23 11:15:20 -07:00
Dragana Damjanovic dd.mozilla@gmail.com f049188b1b Bug 409885 - Use SetHostPort in nsHTMLDocument::SetDomain. r=bz 2016-03-24 02:14:00 +01:00
Ting-Yu Lin 577ce8ed43 Bug 1245424 Part 2 - Stop checking the existence of details frame before toggling. r=bz
MozReview-Commit-ID: 6Xgyu7DDquy

--HG--
extra : rebase_source : 6b5ed8fa20117fcafea7dde779c550f6fd79be34
2016-03-24 15:05:29 +08:00
Masayuki Nakano cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano 8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano d185d40ab2 Bug 1256589 part.1 Move the implementation of StopPropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: Br5eBgC8TbW

--HG--
extra : rebase_source : 0e5743583f80b3e9e09397f49bd438bfe0f49d06
extra : source : 745c9d855d209780a884bd7a3d2cd3cdc20632af
2016-03-17 11:17:42 +09:00
Wes Kocher 7ee663302a Backed out 2 changesets (bug 1109614) for frequent failures in Web Platform Reftests
Backed out changeset 6b034852b39f (bug 1109614)
Backed out changeset 529a82416338 (bug 1109614)

MozReview-Commit-ID: AYafA2Dg0VG
2016-03-22 15:59:45 -07:00
Ruxton 397d6cce9c Bug 1109614 - Part 2: TextTrackManager now fires cues before checking for videoFrame. r=rillian
MozReview-Commit-ID: FPz614hnDiF
2016-03-22 13:55:39 -07:00
Andrea Marchesini 8d3c72ef64 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-20 11:56:11 +01:00
Andrea Marchesini 548dc7f03a Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-20 11:56:10 +01:00
Andrea Marchesini 18858bf144 Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-20 11:56:10 +01:00
Ting-Yu Lin 22224242ba Bug 1249556 - Implement toggling details by keyboard. r=smaug
The user can switch to the main <summary> by tab key, and toggle the
<details> by either 'space' key or 'enter' key.

'return' key is handled with 'keypress', and the 'space' key is handled
with 'keyup' like the HTMLInputElement.

MozReview-Commit-ID: HE6IduUGCpj

--HG--
extra : rebase_source : 34598d95f35bf6b5bd927457ee09e42eb6ec0a68
2016-03-19 20:37:09 +08:00
Ting-Yu Lin 03310cda94 Bug 1249556 - Rename override to disallowOverridingFocusability. r=bz
Rename 'override' to 'disallowOverridingFocusability' in
nsGenericHTMLElement::IsHTMLFocusable() to make the implementation
reflect the semantic that the subclass is disallow to override the value
returned in aIsFocusable described in nsGenericHTMLElement.h.

Also 'override' is a new specifier since C++11. Rename it make the
syntax highlight looks right.

MozReview-Commit-ID: CShdChjBv7j

--HG--
extra : rebase_source : 6cf17cf1771c3f75fb31d1d6f882daffa015ab1c
2016-03-18 13:47:50 +08:00
Phil Ringnalda b47ec4d2bd Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini 6f10afaf24 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-19 22:29:47 +01:00
Andrea Marchesini 2fdbbe6373 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 22:29:46 +01:00
Andrea Marchesini 232e5767b0 Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-19 22:29:46 +01:00
Ryan VanderMeulen ac97cbbe14 Backed out 8 changesets (bug 1173320) for bustage.
Backed out changeset e5c224d964bc (bug 1173320)
Backed out changeset db971ba7c26d (bug 1173320)
Backed out changeset cd7e79d9a750 (bug 1173320)
Backed out changeset 56bbea4fe199 (bug 1173320)
Backed out changeset e94ced2f8e3c (bug 1173320)
Backed out changeset 401c1e7df8ea (bug 1173320)
Backed out changeset bf65b38f759e (bug 1173320)
Backed out changeset ac58a56021ac (bug 1173320)

DONTBUILD CLOSED TREE
2016-03-19 10:52:12 -04:00
Andrea Marchesini 346e100de6 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-19 14:34:57 +01:00
Andrea Marchesini abfa0bb4b2 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 14:33:43 +01:00
Andrea Marchesini f1f32823dd Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-19 14:32:18 +01:00
Ehsan Akhgari d7c2644b0c Bug 1257923 - Enable test_bug369370.html on e10s now that bug 1229220 is fixed 2016-03-18 16:01:16 -04:00
Trevor Saunders 2c05850952 bug 1257287 - add nsIDocShell::GetEdItingSession() 2016-03-18 15:54:07 -04:00
Ehsan Akhgari 3482a3267c Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.

We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper.  That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Geoff Brown 29977660c0 Bug 1251013 - Update android_version annotations in test manifests - mochitest; r=jmaher 2016-03-17 10:00:48 -06:00
Ehsan Akhgari 511ccff106 Bug 1257327 - Port test_allowMedia.html to mochitest-plain so that it can be turned on in e10s mode; r=mrbkap 2016-03-16 18:50:53 -04:00
Eduard R. 0a873a0a2b Bug 1196784 - imageset will use permissions.default.image. r=jdm 2016-03-01 23:39:00 +01:00
Boris Zbarsky d78dc504bd Bug 1255830. Change nsBrowserElement code to properly propagate out JS exceptions from some of its API methods. r=bholley 2016-03-14 20:47:45 -04:00
Ting-Yu Lin b8972c7eb9 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD

--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Bryce Van Dyk 939ab2b661 Bug 657791 - Update seekable range handling for cueless WebMs. r=kinetik
MediaDecoder previously had 3 states within GetSeekable(), media is either
seekable, seekable but not supported by transport, or not seekable. Due to
changes to make cueless webms playable, a 4th option is needed: a file that is
not fully seekable, but may support seeking from the transport, such as these
webms, should only be seekable in the buffered range.

MozReview-Commit-ID: ISeFkngtrGU
2016-02-04 17:31:21 +13:00
Xidorn Quan b8db274b17 Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
MozReview-Commit-ID: EBynEGbpYQU

--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Daniel Holbert 447b3ae749 Bug 1249450 part 2: Convert some nsIURI SetScheme("https") calls to use NS_GetSecureUpgradedURI instead. r=mcmanus 2016-03-10 15:23:46 -08:00
Christoph Kerschbaumer f29ec8d62f Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking 2016-03-09 13:55:59 -08:00
Wes Kocher 817d8829fc Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
MozReview-Commit-ID: 3zPliH7mmPj

--HG--
extra : rebase_source : 90a6c96c2106ec23043160ed93041cd7e15b1640
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer 007c074be0 Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Stephan Leroux 8ebbf59152 Bug 1252015 - Change mImageContent reference to be Element type instead of nsIContent. r=baku
MozReview-Commit-ID: 9Mwhgg5ADmY

--HG--
extra : rebase_source : 74b6fed65537455d0b752d72b05b5609a295d7c9
2016-03-03 12:55:54 -05:00
Boris Zbarsky d29c2409f0 Bug 1253591. HTMLAllCollection should be rooted at the document, not the root element, so it can find the root element. r=peterv 2016-03-08 17:21:40 -05:00
Sebastian Hengst 4237d42a3b Backed out changeset 395ba8f68dbe (bug 1109614) 2016-03-07 20:43:18 +01:00
Ruxton 707e2585e7 Bug 1109614 - Part 2: TextTrackManager now fires cues before checking for videoFrame. r=rillian
MozReview-Commit-ID: 8DgLRbgfKrp
2016-03-07 09:05:16 -08:00
Mark Capella f3821e32c6 Bug 1253534 - Suspicious code with probably reversed parms in call to IsSingleLineTextControl, r=mounir 2016-03-05 22:04:41 -05:00
Phil Ringnalda cabee82044 Back out 9 changesets (bug 801176) for frequent crashes in test_offscreencanvas_dynamic_fallback.html
Backed out changeset 82320c900699 (bug 801176)
Backed out changeset 624fb8512ba5 (bug 801176)
Backed out changeset a2a7b1c4dc5b (bug 801176)
Backed out changeset e210473d793c (bug 801176)
Backed out changeset 0fb279e041e1 (bug 801176)
Backed out changeset c090dc98c670 (bug 801176)
Backed out changeset fc509e59a0cd (bug 801176)
Backed out changeset 134a8c56335a (bug 801176)
Backed out changeset 2022afa9aef2 (bug 801176)
2016-03-05 07:20:47 -08:00
Nathan Froyd 64fe772d2f Bug 1132499 - part 2 - convert nsTextEditorState::mValue to be an nsString; r=ehsan
I don't know the full history here; roc asked about this exact thing in
bug 534785 when reviewing the creation of nsTextEditorState.  The answer
then was "historical reasons" (the original code is hg@1)...maybe to try
and save some space?  Regardless, since the only thing we do here is
convert from/to incoming/outgoing nsStrings, which at least sometimes
appear to be causing OOMs, we might as well hold it as an nsString all
the time.  This change will ideally eliminate allocations, as we'll be
able to use nsString's buffer sharing underneath the hood.
2016-03-04 10:29:01 -05:00
Nathan Froyd f0c8d767c9 Bug 1132499 - part 1 - convert nsTextEditorState::mValue to use Maybe instead of heap allocation; r=ehsan
This change is just a minor tidying; we need to distinguish between
"have a value" and "don't have a value" in nsTextEditorState::GetValue,
but we can do better than heap-allocating the string.
2016-03-04 09:56:13 -05:00
Boris Zbarsky aba42b7132 Bug 1251280. When zooming in or out on a resized full-page image, we may need to update our vertical-overflow class even if we don't change anything else. r=khuey 2016-03-04 18:02:08 -05:00
vincentliu 906120d775 Bug 801176 - part2-v5: Let Canvas 2d context works on Workers. r=roc
---
 dom/canvas/CanvasRenderingContext2D.cpp | 53 ++++++++++++-----------
 dom/canvas/OffscreenCanvas.cpp          | 46 +++++++++++---------
 dom/html/HTMLCanvasElement.cpp          |  1 +
 gfx/layers/AsyncCanvasRenderer.cpp      | 17 ++++++++
 gfx/layers/AsyncCanvasRenderer.h        | 16 +++++++
 gfx/layers/Effects.cpp                  |  6 +++
 gfx/layers/GLImages.cpp                 |  5 +--
 gfx/layers/client/CanvasClient.cpp      | 74 +++++++++++++++++++++++++--------
 gfx/layers/client/CanvasClient.h        | 10 ++++-
 9 files changed, 162 insertions(+), 66 deletions(-)
2016-03-04 15:22:39 +08:00
Andrea Marchesini 44a9792f73 Bug 1250401 - test comments fixed, r=me 2016-03-03 15:16:41 +01:00
Andrea Marchesini 3cda6dc514 Bug 1250401 - HTMLOptionElement::GetSelect should not return an element if we have nested OptGroup elements - tests - patch 3, r=bz 2016-03-03 09:51:43 +01:00
Andrea Marchesini b8fcd720b9 Bug 1250401 - HTMLOptionElement::GetSelect should not return an element if we have nested OptGroup elements - patch 2, r=bz 2016-03-03 09:47:36 +01:00
Andrea Marchesini ba13490d02 Bug 1250401 - HTMLOptionElement::GetSelect should not return an element if we have nested OptGroup elements, r=bz 2016-03-03 09:03:44 +01:00
Mats Palmgren 93262a673a Bug 1250315 - Make <input type=number readonly> match :-moz-read-only and allow context events. r=jwatt 2016-03-02 23:39:34 +01:00
J. Ryan Stinnett a6d2c487b5 Bug 1238160 - Set tab context's isolation from frame attr. r=smaug
Renames existing nsFrameLoader::OwnerIsBrowser* methods to add "Moz" prefix for
clarity.

Adds nsFrameLoader::OwnerIsIsolatedMozBrowserFrame which checks the noisolation
attribute of mozbrowser frames, if present.

This is used to set isolation in nsFrameLoader::GetNewTabContext only when true.

MozReview-Commit-ID: Dz02xBoKh1P
2016-03-02 10:35:56 -06:00
Jonathan Griffin 0b0e0abda1 Bug 1232780 - Adjust test exclusions for win7 debug e10s, a=test-only 2016-03-01 10:36:31 -08:00
Timothy Nikkel 82b750a534 Backed out changeset 93f722efcdec (bug 1145903) for causing bug 1251796. 2016-02-27 12:53:28 -06:00
Olli Pettay 53efc9997d Bug 1212116, dispatch wheel events on disabled form controls, r=bz
--HG--
extra : rebase_source : 9575bef16cca8d178ca43d5052584acaf3a857fa
2016-02-26 23:04:34 +02:00
Benoit Girard 222f9bc8c4 Bug 1145903 - Use CSS to shrinkToFit instead of a racy set of width/height on the image frame. r=tnikkel
MozReview-Commit-ID: GnBcPLMGKDS

--HG--
extra : rebase_source : 665ac8fd0cf60745dff19940ddd1201a6cd5145f
2016-02-22 19:02:26 -05:00
Dragana Damjanovic 5031bdb80e Bug 580313 - New resource hints for link. r=smaug
--HG--
extra : rebase_source : 5ce4ef05217f6d513052f83a7e18b00d1596417a
2016-02-26 02:41:00 +01:00
Cameron McCormack 0ecd5593cc Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack 7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Andrew McCreight 1837d54fa7 Bug 1249685 - Use more nsCOMPtrs for stack variables in DOM code. r=smaug 2016-02-23 16:23:43 -08:00
Andrea Marchesini 2dd57b41c0 Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-24 00:01:01 +01:00
Wes Kocher 1a11ff119f Backed out changeset 74f968e36041 (bug 1250148) for test_blobconstructor.html failures
--HG--
extra : commitid : 5I4oajo0G1j
2016-02-23 10:49:24 -08:00
Andrea Marchesini 7da3286f9d Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-23 18:38:16 +01:00
Andrew McCreight 1e31685405 Bug 1250388 - Enable some tests in dom/html/test/ that work with e10s. rs=bz 2016-02-23 07:33:26 -08:00
Andrew McCreight b80e656e9e Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug 2016-02-22 10:11:02 -08:00
Andrew McCreight 11fea9d072 Bug 1249377 - Hold a strong reference to |root| in nsHTMLDocument::SetBody. r=bz 2016-02-19 06:26:07 -08:00
Louis Christie 7ed38d2a0c Bug 1238433 - Added telemetry for the proportion of dropped frames. r=cpearce, f=bsmedberg
--HG--
extra : rebase_source : 91c250240b61435f6d9f1a757ec27446be31301b
2016-02-18 15:22:13 +13:00
Carsten "Tomcat" Book 474154ff85 Backed out changeset c7be30a5321e (bug 1238433) for bustage 2016-02-18 10:52:03 +01:00
Louis Christie 9bc9dd2c5c Bug 1238433: Added telemtry for the proportion of frames dropped during playback. r=cpearce 2016-02-12 10:02:00 +13:00
Nick Robson b925267d75 Bug 1170572 - MQ CSS change not observed by picture source elements r=jdm 2016-02-03 02:53:00 +01:00
Andrea Marchesini 0814fe6588 Bug 1246375 - Restore the previous spec version of FormData, r=smaug 2016-02-17 14:56:19 +00:00
Xidorn Quan e7d75e819c Bug 743198 part 10 - Add test for prefixed Fullscreen API. rs=smaug
--HG--
extra : source : cc5b65b5e13c4a0ed7a177ab1a1ee594f4f50245
2016-02-17 08:47:11 +08:00
Xidorn Quan 18be918951 Bug 743198 part 9 - Use unprefixed Fullscreen API in tests. r=smaug
--HG--
extra : source : da91d7fdadd82fcb7201c237d79c8708d532e371
2016-02-17 08:47:11 +08:00
Botond Ballo 45d03919dc Bug 1238137 - Telemetry pings for main thread scrolling to bring the caret into view after moving it in response to keyboard input. r=ehsan
--HG--
extra : commitid : 6E0SPxaKbMl
extra : rebase_source : ca82cafc8b462318ffc5030319546731d9e7a540
extra : histedit_source : 63c1e103a3aaf2ce340b1b4f2276763c16ac2237
2016-02-03 20:36:24 -05:00
Botond Ballo 51957870b3 Bug 1238137 - Telemetry pings for main thread keyboard-driven scroll input methods. r=ehsan
Pings are sent in the implementations of the nsISelectionController methods
ScrollLine, ScrollPage, ScrollCharacter, and CompleteScroll. It is assumed
that these methods are triggered by keyboard input.

A small number of false positives can occur if these methods are called
in response to something other than keyboard input; this is considered
acceptable.

--HG--
extra : commitid : JDXW8ptuXkF
extra : rebase_source : c45fe2b16484ad370edb852d8eafbc76ca7d0bac
extra : amend_source : b4af21228768221211a42c11a2ff306a6f2bb402
extra : histedit_source : 7cdc4b4df3579682fad194ddfc04c7a5d02c0d3e
2016-02-03 19:51:03 -05:00
Mason Chang b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Aidin Gharibnavaz 6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Deepthi Venkitaramanan 008e6b8991 Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Louis Christie 4c838427c5 Bug 1245982 - Added telemetry for the number of uses of HTMLMediaElement.fastSeek(). r=cpearce 2016-02-05 16:32:41 +13:00
Ting-Yu Lin 612a133caa Bug 1246185 - Do not collapsed <details> when preference off. r=bz
To retain backward compatibility, <details> tags should not collapse its
children when dom.details_element.enabled = false.

--HG--
extra : rebase_source : 6b47e64672720ffecd23f670c31de1c7d92bee8c
2016-02-09 14:07:01 +08:00
Valentin Gosu 35e6e18584 Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz 2016-02-10 13:13:00 +01:00
Jean-Yves Avenard 722e4fee21 Bug 1246521: P1. Add MediaDecoderOwner::HasError method. r=gerald 2016-02-08 16:31:42 +11:00
Boris Zbarsky 6019ca23a6 Bug 812899 part 2. Change the centering code in nsImageDocument to only try vertically centering via auto margins when we're not overflowing in the vertical direction, because if we _are_ overflowing that should cut off part of the image per spec. r=khuey 2016-02-05 23:31:19 -05:00
Boris Zbarsky 09c344191e Bug 812899 part 1. Split the "image is overflow" concept in ImageDocument into two separate booleans for vertical and horizontal overflow. r=khuey 2016-02-05 23:31:09 -05:00
Olli Pettay faea49c1f2 Bug 1244480, don't throw when passing random value as the second argument to canvas.getContext, r=bz
--HG--
extra : rebase_source : ba9d5e78d52745361a5c328474a5cccf7732d10b
2016-02-05 22:21:09 +02:00
Ting-Yu Lin 1e5d352993 Bug 591737 - Add pref for details and summary elements. r=bz
--HG--
extra : commitid : C40ecHqSxrO
extra : rebase_source : 937479989a52b57f3dec07a74dd9dad17ff69db7
2016-01-20 23:20:43 +08:00
Ting-Yu Lin 97b86127e1 Bug 591737 - Implement toggling open details by mouse click. r=bz
--HG--
extra : commitid : IFM4sdQE10z
extra : rebase_source : 6fcc816c7808e54ede54d8a018d8b32178fa4ac0
2016-01-20 23:20:42 +08:00
Ting-Yu Lin ea65853708 Bug 591737 - Construct details and summary in nsCSSFrameConstructor. r=bz
--HG--
extra : commitid : 7tnA5fqdD6L
extra : rebase_source : 452368859fb99183605edcf47fd48ff026bf3a50
2016-02-02 17:39:49 +08:00
Ting-Yu Lin a46acb7fcb Bug 591737 - Add HTMLSummaryElement. r=bz
--HG--
extra : commitid : 4G1qMe8OCzI
extra : rebase_source : e0b79e2f59b1e8a81e7f6d6d2be1b9ba77dfbe40
2016-01-20 23:20:40 +08:00
Ting-Yu Lin b8e3b9e52b Bug 591737 - Add HTMLDetailsElement and webidl interface. r=bz
--HG--
extra : commitid : y0Jiyg8dom
extra : rebase_source : 0945c6144e4a84ed3542c90b1cbd637d2b9d2b14
2016-01-20 23:20:40 +08:00
Kyle Huey 6d8924b5e6 Bug 1245314: Restore a null check for a non-existent inner window in form submission. r=baku 2016-02-03 13:30:46 -08:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Nathan Froyd ddc23df5df Bug 1222475 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/; r=baku,bz,terrence 2015-11-03 13:29:19 -05:00
Nicholas Nethercote ac9a8bf77c Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
--HG--
extra : rebase_source : 82888ad8037a6024508b042030469fac5a8f5fa4
2016-01-28 14:08:19 -08:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Ting-Yu Lin 2d02ad0652 Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Andreas Pehrson 25fa1d3d1f Bug 1240478 - Have MediaStreamSizeListener active immediately, until the initial size is known. r=jesup
--HG--
extra : commitid : LOVuNvHmDD6
extra : rebase_source : 720470f0f836b216430af294f2826e6812818ac3
2016-01-29 11:10:19 +08:00
Andreas Pehrson 48118bd9fb Bug 1240478 - Assert that we know the video size on 'loadedmetadata'. r=jesup
--HG--
extra : commitid : IDLThD8QqJ5
extra : rebase_source : 2b2b43c31f52480e2f95f0942c39774029c31d49
2016-01-21 19:42:55 +08:00
Andreas Pehrson 6d413b9548 Bug 1240478 - Remove Mutex from MediaStreamSizeListener. r=jesup
--HG--
extra : commitid : 2B5R4zAz8ne
extra : rebase_source : 4c9009c95163fa8892fd052467e12da44432697a
2016-01-21 19:42:54 +08:00
Nicholas Nethercote 893eeadcd4 Bug 1187151 (part 7) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey.
--HG--
extra : rebase_source : 2783c4611f0c0b8e1f5eaaa84f06f6d6bac20700
2016-01-27 16:04:59 -08:00
Sebastian Hengst fc1563722d Backed out changeset c8013b27a0fa (bug 1239899) for failing W(2). r=backout 2016-01-29 00:32:51 +01:00
Chris Pearce 223831a376 Bug 1239899 - Pause media elements removed from document via calling pause(). r=roc
The spec requires us to await a stable state and pause when a media element is removed from a document.

Additionally, before this change we would pause in UnbindFromTree only if HTMLMediaElement::mPaused is false.
However if the media element is set to autoplay, and we unbind before autoplay has had a chance to activate,
we will still continue loading and activate autoplay later. Calling pause, as required by the spec, means
we'll cancel autoplaying.

--HG--
extra : amend_source : 47f89e1a1e855f9304fbd12959f636c973ddf356
2016-01-15 15:54:54 +13:00
Xidorn Quan 3921fbeec5 Bug 1064843 part 12 - Add test for ::backdrop of fullscreen. r=dholbert
--HG--
extra : source : 51cc1af3ff479d88055b79d97a89af9c99e49424
2016-01-28 10:11:00 +11:00
Xidorn Quan ed367ac169 Bug 1064843 part 11 - Move checkWindowPureColor helper function from top-layer test to WindowSnapshot.js. r=roc
--HG--
extra : source : 988aceae601f612ec078e2015f50ad7a5ec2ee80
2016-01-28 10:11:00 +11:00
Jonathan Watt 2e53e6103f Bug 893332, part 3 - Don't assert range underflow state under the parser. r=baku 2016-01-27 22:51:54 +00:00
Jonathan Watt 9905a1b792 Bug 893332, part 2 - Update validity state before asserting range underflow state. r=baku 2016-01-27 22:51:54 +00:00
Jonathan Watt b7bb9dac2d Bug 893332, part 1 - Rename misnamed SetValidityState/GetValidityState arguments. r=baku 2016-01-27 22:51:54 +00:00
Mats Palmgren 8336eb31ab Bug 1241840 - Set table cell colspan=0 to 1 instead per the HTML spec. r=bz 2016-01-27 17:02:12 +01:00
Andrea Marchesini fea8607ef9 Bug 1241171 - FormData should not force 'blob' as filename, r=smaug 2016-01-26 17:15:52 +00:00
Sebastian Hengst 63388f55dc Backed out changeset 3a4b31e5c049 (bug 1241171) for W(5) orange on Linux x64 debug. r=bustage 2016-01-26 13:44:51 +01:00
Andrea Marchesini d8e12344d6 Bug 1241171 - FormData should not force 'blob' as filename, r=smaug 2016-01-26 10:34:41 +00:00
Andrea Marchesini 43bdbe1143 Bug 1224936 - AudioChannelAgent should be informed when HTMLMediaElement dispatches an error, r=roc 2016-01-25 16:03:42 +00:00
JW Wang 82d61b385d Bug 1241405 - reset mCurrentPlayRangeStart in AbortExistingLoads(). r=jya. 2016-01-25 10:52:54 +08:00
Phil Ringnalda fefdfab323 Back out 4 changesets (bug 1240478) for somehow causing bug 1242085
Backed out changeset 31629671c71c (bug 1240478)
Backed out changeset bc9a56a067b5 (bug 1240478)
Backed out changeset 485bd08acb96 (bug 1240478)
Backed out changeset 38ef99bddd74 (bug 1240478)
2016-01-22 23:26:45 -08:00
Andreas Pehrson a8d30ac647 Bug 1240478 - Have MediaStreamSizeListener active at all times, not only when playing. r=jesup
--HG--
extra : rebase_source : d5f0e7be0aabd6a78e6ed92a33dc80d442813c84
2016-01-21 19:42:55 +08:00
Andreas Pehrson 9f79834068 Bug 1240478 - Assert that we know the video size on 'loadedmetadata'. r=jesup
--HG--
extra : rebase_source : 3808a82751b5471c9cd8f6e179d4742598f43806
2016-01-21 19:42:55 +08:00
Andreas Pehrson 8ee887650b Bug 1240478 - Remove Mutex from MediaStreamSizeListener. r=jesup
--HG--
extra : rebase_source : 3bd448b8a74b5e5962f4767421a29bbf9d89c7eb
2016-01-21 19:42:54 +08:00
Blake Kaplan d102155357 Bug 1241557 - Make cookie tests pass in e10s. r=mccr8 2016-01-21 16:14:27 -08:00