Commit Graph

56795 Commits

Author SHA1 Message Date
Boris Zbarsky
e46938f336 Bug 1316661 part 5. Eliminate IsCallerChrome caller in HTMLTextareaElement. r=smaug
The WebIDL caller of SetUserInput is [ChromeOnly] and the other callers are all C++ code that should be able to set the value.
2016-11-15 00:18:33 -05:00
Boris Zbarsky
b80b8248f9 Bug 1316661 part 4. Eliminate IsCallerChrome callers in HTMLMenuElement. r=smaug 2016-11-15 00:18:33 -05:00
Boris Zbarsky
dd2655ba39 Bug 1316661 part 3. Eliminate IsCallerChrome callers in nsGenericHTMLElement. r=smaug
The only nsGenericHTMLElement::GetEditor callers are
HTMLInputElement::GetEditor/HTMLTextareaElement::GetEditor (the XPCOM-y
versions), which are only called from C++ and only from two places: a11y code,
which forces itself to look like system, and typeaheadfind, which would break
badly if it could not get an editor.  So that security check simply shouldn't
exist.

The script API doesn't call down into here _and_ is [ChromeOnly] in the webidl
already.
2016-11-15 00:18:33 -05:00
Boris Zbarsky
f8f080a512 Bug 1316661 part 2. Eliminate IsCallerChrome callers in HTMLDocument. r=smaug 2016-11-15 00:18:33 -05:00
Boris Zbarsky
4f1a0ffdd3 Bug 1316661 part 1. Eliminate IsCallerChrome callers in HTMLCanvasElement code. r=smaug 2016-11-15 00:18:32 -05:00
Boris Zbarsky
6f654ebcfb Bug 1316951. The "select" events fired by HTMLInputElement code should always be trusted, since they always correspond to an actual attempt by the browser to select the text in the control. r=smaug 2016-11-15 00:18:32 -05:00
Kate McKinley
dcbe139332 Bug 1317115 turn off HSTS priming to suppress perma-orange a=test-only
MozReview-Commit-ID: I1bNquP4yT7
2016-11-15 10:52:45 +09:00
Kate McKinley
5565f4d518 Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer
Default is 3 seconds

MozReview-Commit-ID: 47hoaTEL9hV
2016-11-08 17:49:39 +09:00
Phil Ringnalda
e6d762ce0a Merge m-c to m-i
MozReview-Commit-ID: 8EtDxYJKROa
2016-11-14 20:09:21 -08:00
Phil Ringnalda
8562d3859b Backed out changeset a8be4ebc85cf (bug 1313595) for permaorange unexpected assertion in test_referrerdirective.html, a=backout
MozReview-Commit-ID: GxBqDrHHg7z
2016-11-14 18:30:58 -08:00
Carsten "Tomcat" Book
c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Nicholas Nethercote
7f263d232a Bug 1317221 - Used vector delete where required in TestAudioSegment.cpp. r=padenot. 2016-11-14 17:20:05 +11:00
Iris Hsiao
d9a1a0a083 Backed out changeset 9e9727bdc484 (bug 1306314) 2016-11-14 11:07:39 +08:00
Iris Hsiao
891306a89a Backed out changeset 9343cb73c218 (bug 1306314) 2016-11-14 11:07:28 +08:00
Iris Hsiao
8be72fb1e5 Backed out changeset e2a5702d96b0 (bug 1306314) 2016-11-14 11:07:23 +08:00
Iris Hsiao
85b8be1656 Backed out changeset d37e28309560 (bug 1306314) 2016-11-14 11:07:19 +08:00
Iris Hsiao
cd600c5ab4 Backed out changeset 5c5600e1f30f (bug 1306314) for bustage 2016-11-14 11:07:13 +08:00
Chris Pearce
21137c728b Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald
This change ensures that we don't create a new random node Id for every
MediaKeys object using Widevine - which has the effect of ensuring
Widevine CDMs that are same origin get created in the same process, and
that persistent storage can be used and retrieved.

MozReview-Commit-ID: K55rkcu9jWo

--HG--
extra : rebase_source : 9bd789d05d1f5ed0a00eeb9870668e6335e899e6
2016-11-14 11:43:45 +13:00
Chris Pearce
14a0cc34ed Bug 1306314 - Use decryptor ID in WidevineAdapter to link decryptors with decoders. r=gerald
Store a mapping of decryptor ID to the CDM instance that the corresponding
WidevineDecryptor is using. This allows us to link GMPDecryptor instances
with the corresponding GMPVideoDecoder.

The CDM is stored inside the CDMWrapper, so that we destroy the CDM instance
when the last reference to the CDM is dropped.

MozReview-Commit-ID: FQYzh77yjoC

--HG--
extra : rebase_source : 7e8c264200e904a4f5a1311f11cd317d98df9791
2016-11-11 15:39:10 +13:00
Chris Pearce
7af167a212 Bug 1306314 - Pipe decryptor ID through to WidevineAdapter. r=gerald
MozReview-Commit-ID: HqRoImDhuFl

--HG--
extra : rebase_source : 7c8459af145e948a15eade34a842df92184353d4
2016-11-11 14:55:56 +13:00
Chris Pearce
5926bef365 Bug 1306314 - Pass decryptor ID to GMPVideoDecoder constructor. r=gerald
Retrieve the ID of the GMPDecryptor from the GMPCDMProxy, and pass that
through to the GMPVideoDecoder's constructor.

MozReview-Commit-ID: IuNsSroZ9Zu

--HG--
extra : rebase_source : 6f1db4a019deaedac07fa15c1958270268dcb941
2016-11-14 11:07:02 +13:00
Chris Pearce
ec543ad267 Bug 1306314 - Add an ID to GMPDecryptor instances, reflect that on CDMProxy. r=gerald
This enables us to identify GMPDecryptor instances in the child process, so that
in a later patch when we create a GMPVideoDecoder instance, we can associate it
with a GMPDecryptor. Then the cdm::ContentDecryptionModule8 instance that these
two actors are adapted to can know whom it's supposed to respond to.

We use the IPDL PGMPDecryptorChild actor ID as the GMPDecryptor's ID. This is unique
per GMP process, which is sufficient.

MozReview-Commit-ID: 7NKND9VjPUW

--HG--
extra : rebase_source : 6ea7dfa358f8d13f7d36db5a581fc075268038b7
2016-11-11 12:10:43 +13:00
Jeff Gilbert (:jgilbert)
fe681ec2cb Bug 1308057 - Add to interface list. - r=qdot
MozReview-Commit-ID: Rk7c100tgE
2016-11-14 15:32:06 -08:00
David Anderson
4664a9b713 Finish initializing TabChild rendering state even if compositing IPC is lost. (bug 1314520 part 2, r=billm) 2016-11-14 14:58:22 -08:00
David Anderson
35a5efddda Don't trigger a ProcessingError when we fail to send a PAPZConstructor. (bug 1314520 part 1, r=rhunt) 2016-11-14 14:58:18 -08:00
Jeff Gilbert (:jgilbert)
7fa6343d06 Bug 1308057 - GPU_DISJOINT is false unless we have the ext. - r=ethlin
MozReview-Commit-ID: vvBJZV4DcW
2016-11-14 14:05:25 -08:00
Jeff Gilbert (:jgilbert)
42a8668d88 Bug 1308057 - Use pointer-to-query-slot for is-active status. DeleteQuery should clear its slot if it has one. - r=ethlin
MozReview-Commit-ID: 9xY6NzwKOz3
2016-11-14 14:05:19 -08:00
Jeff Gilbert (:jgilbert)
ae22cd7d19 Bug 1308057 - GetQuery(CURRENT_QUERY) should return null for target mismatch, for targets that share the same slot. - r=ethlin
MozReview-Commit-ID: 27HPXBjBQ6k
2016-11-14 14:05:14 -08:00
Jeff Gilbert (:jgilbert)
175d62e1af Bug 1308057 - Fix errors. - r=ethlin
MozReview-Commit-ID: I7bd7xOa2YR
2016-11-14 14:05:08 -08:00
Jeff Gilbert (:jgilbert)
08d994ea5d Bug 1308057 - WebGL objects should not be no-interface. - r=qdot
MozReview-Commit-ID: E4ez6Km9fQl
2016-11-14 14:05:03 -08:00
Jeff Gilbert (:jgilbert)
da9ef5ebbd Bug 1308057 - Update tests. - r=ethlin
MozReview-Commit-ID: Fl3ofikbPdP
2016-11-14 14:04:57 -08:00
Jeff Gilbert (:jgilbert)
ce6d0809a4 Bug 1308057 - EXT_disjoint_timer_query is no longer Draft. - r=ethlin
MozReview-Commit-ID: ETtrxQcwPgg
2016-11-14 14:04:52 -08:00
Jeff Gilbert (:jgilbert)
79d1dbc149 Bug 1308057 - Update bindings. - r=qdot
MozReview-Commit-ID: AA79s0qaRzT
2016-11-14 14:04:47 -08:00
Jeff Gilbert (:jgilbert)
b054199751 Bug 1308057 - Merge WebGLTimerQuery into WebGLQuery. - r=ethlin
MozReview-Commit-ID: 88b8DLd2uJ6
2016-11-14 14:04:41 -08:00
Jeff Gilbert (:jgilbert)
bd6c33a960 Bug 1308057 - retvals should start null, and missing return. - r=ethlin
MozReview-Commit-ID: FEOoKQBy7Hk
2016-11-14 14:04:35 -08:00
Jeff Gilbert (:jgilbert)
339b4f9e3a Bug 1308057 - Convert WebGLExtensionDisjointTimerQuery.cpp to 4-space.
MozReview-Commit-ID: A9llSqU5ghR
2016-11-14 14:04:30 -08:00
Jeff Gilbert (:jgilbert)
d945e6a8f8 Bug 1316778 - Update IDL and bindings. - r=qdot
MozReview-Commit-ID: COMYaZMv5GI
2016-11-14 14:00:17 -08:00
Jeff Gilbert (:jgilbert)
f753eb7394 Bug 1316778 - Update ES3 compressed format ext name to _etc. - r=ethlin
MozReview-Commit-ID: CEBhyYXkLKa
2016-11-14 14:00:12 -08:00
Jeff Gilbert (:jgilbert)
d4f208dbfa Bug 1316829 - DataViews are part of ArrayBufferView. - r=waldo
MozReview-Commit-ID: L0Xauoo2nJh
2016-11-14 13:02:48 -08:00
Ben Kelly
a0edcc6fcb Bug 1316837 P2 Verify that navigating to a window with an iframe right after sync xhr does not trigger assertions. r=smaug 2016-11-14 12:51:44 -08:00
Ben Kelly
4332e670f2 Bug 1316837 P1 Only allow suspend/resume/freeze/thaw on current inner windows. r=smaug 2016-11-14 12:51:43 -08:00
David Anderson
2c5e03e62e Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
Olli Pettay
40390feb7f Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events, r=masayuki
--HG--
extra : rebase_source : 16852ef14f57b5133484db9a03bad5c4be78740b
2016-11-14 13:19:11 +02:00
Andrea Marchesini
9f4ca5a041 Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin 2016-11-14 13:04:33 +01:00
JW Wang
b7474df3ed Bug 1316543 - Fix the calculation of VideoSink::mVideoFrameEndTime. r=cpearce
MozReview-Commit-ID: 4p34iXLtQz5

--HG--
extra : rebase_source : e084436cd88e7bea9000422a7e57d8f343c26f41
2016-11-10 17:12:01 +08:00
JW Wang
b92123ae34 Bug 1314554 - Don't enter dormant when the media is not seekable. r=jya
This change deals with chained ogg files. A decoding error is encountered
even without seeking when exiting dormant. For now, we disable dormant
for there files that are not seekable to avoid playback looks broken
(due to decode error when exiting dormant) on Firefox.

MozReview-Commit-ID: 72axKPHwoIi

--HG--
extra : rebase_source : f6b27da3d7c0428401d4c0a72f716be5739c5055
extra : source : ea0b9c2dd90206ed4fa41f4eb7446dd9b740e899
2016-11-09 14:21:16 +08:00
James Cheng
abcc5095b5 Bug 1314863 - Correct data sample being fed twice to the decoder r=jya
MozReview-Commit-ID: 2TmHiLju0C4

--HG--
extra : rebase_source : 1dc08471d0cd2df393fecaa53b8bd6cc9b457f58
2016-11-10 17:52:39 +08:00
Kate McKinley
b8eeda422c Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer
Default is 3 seconds

MozReview-Commit-ID: 47hoaTEL9hV

--HG--
extra : rebase_source : 6954dc92966122b15c60f19f5e91086fcd859728
2016-11-08 17:49:39 +09:00
Michelangelo De Simone
84c6b489b3 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3

--HG--
extra : rebase_source : 647c6531521c7317144c7bc436753be8c57f1327
2016-11-10 15:39:45 -08:00
Gerald Squelart
adda9b7a03 Bug 1316524 - Use 'media.wmf.skip-blacklist' to set some gfxVars - r=mattwoodrow
Reversing bug 1313343, as MediaPrefs are not available from the UI process.
Instead media.wmf.skip-blacklist is used when setting D3D-blacklisting gfxVars,
leaving them empty if we want to skip these blacklists.

MozReview-Commit-ID: JYED4ovC0jq

--HG--
extra : rebase_source : 087230ba95927ced52d7af502b96a988b4077c31
2016-11-11 11:25:52 +11:00