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

62838 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 455239782b Merge mozilla-central to mozilla-inbound 2017-05-10 15:30:44 +02: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
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
Kershaw Chang 2dd6b7d519 Bug 469228 - Part2: Modify tests that can not pass, r=Waldo 2017-05-10 03:49:00 +02:00
kedziorski.lukasz@gmail.com f815a0af4b Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8 2017-05-09 13:59:00 +02:00
Kershaw Chang 850edd691b Bug 1352176 - Part5: Pass a null event target, r=schien
We need to pass an event target when calling nsInputStreamPump::Init. However, both these two files are only be used in parent process, so passing a null target should be fine.
2017-05-09 20:07:00 +02:00
Kershaw Chang 75554c8b33 Bug 1352176 - Part4: Pass a null event target in nsInputStreamPump::Init, r=jdm 2017-05-09 20:06:00 +02: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
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
Tom Tung 150ceb8855 Bug 1348050 - Part 4: Mark channel as urgent-start for loading media. r=baku
The part is mainly to set urgent-start for loading media when it's initiated by
user interaction. For the HTMLMedia element, it has its algorithm to pre-load
the media and users will get feedback once they play the media. Thus, I only
set urgent-start when the media element has autoplay attribute since the sooner
enough resource is loaded the sooner the media will be played.

MozReview-Commit-ID: 7nu3PUt8iYo

--HG--
extra : rebase_source : f1abfecdccb74f4ec79a057534c2e9a1bfd5ae41
2017-04-28 15:27:10 +08:00
Kartikaya Gupta 9e5e792b0f Back out bug 1353060 (3 csets) for possibly causing a checkerboarding regression. r=backout
MozReview-Commit-ID: AIHvzAUUCeu
2017-05-09 13:23:20 -04:00
Tom Tung 0e308b0c4f Bug 1348050 - Part 3: Mark channel as urgent-start for loading image. r=baku,mayhemer
This part is mainly to mark the channel as urgent-start if src related
attributes in HTMLImageElement and HTMLInputElement is set and the channel is
open due to user interaction. Unfortunately, we cannot just check the event
state just after creating channel since some loading image tasks will be queue
and execute in stable state. Thus, I store the event state in elements and
pass it to the place where create the channel.

MozReview-Commit-ID: GBdAkPfVzsn

--HG--
extra : rebase_source : 715352317b4b600f8a7f78b7bc22b894bb272d27
2017-04-25 09:17:38 +08:00
Tom Tung a93ae19e1d Bug 1348050 - Part 2: Create a chrome mochitest for Fetch and XHR to ensure we set the urgent-start flag only when they are triggered by user input events. r=baku,mayhemer
Create a test to guarantee current behaviors. We should only set urgent-start
when it is triggered by user input events rather the other events or no any
events.

MozReview-Commit-ID: 1ehiD3ua5Kl


MozReview-Commit-ID: H6bL8PpzijJ

--HG--
extra : rebase_source : ae66b05eded40907d690ac69ea37a739413b9e51
2017-04-25 17:37:22 +08:00
Tom Tung b1a0b88c98 Bug 1348050 - Part 1: Mark channel as urgent-start when the Fetch and XHR are triggered by user input events. r=baku,mayhemer
Raise the urgent-start flag in the ClassOfService when the Fetch and XHR are
triggered by user input events. The urgent-start classification will tell the
network requests scheduler to perform it with the highest priority and also
ignoring any parallelism or overall connection limits.

MozReview-Commit-ID: 2YavWbuFaln

--HG--
extra : rebase_source : 40f41d1a4b9e323c0cf5710c6d5f2a1e45e93076
2017-04-21 13:29:31 +08:00
Chris Pearce 59c8ad9b72 Bug 1363605 - Widevine should support SW_SECURE_CRYPTO video robustness. r=gerald
Turns out that Chrome treats the robustness values as SW_SECURE_DECODE to mean
that SW_SECURE_CRYPTO is also supported. So we'd better follow suit...


MozReview-Commit-ID: 6J68IsSQhyL

--HG--
extra : rebase_source : 08baf83f0812f52670f1643e7e86ced0a0972f64
2017-05-10 16:00:21 +12:00
Xidorn Quan fa9c49fce4 Bug 1330235 - Remove NS_STDCALL_FUNCPROTO and replace its usage with decltype. r=froydnj
MozReview-Commit-ID: 5jrTqTfDzSk

--HG--
extra : rebase_source : e2345a4f518757ed9760618d07599a60353875cc
2017-05-09 23:00:37 +10:00
Wes Kocher e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Ray Lin 066b7e3af1 Bug 1340488 - Add a chrome-only previewValue attribute to <select> for showing preview text. r=baku,heycam
MozReview-Commit-ID: En8e0hO35Lj

--HG--
extra : rebase_source : aab314899af1e117feb8b3b047b4157682b570d3
2017-05-03 17:08:44 +08:00
Carsten "Tomcat" Book 2346aecbda Backed out changeset 656b4466e33b (bug 1340488) for Bustage in nsComboboxControlFrame.h 2017-05-09 16:54:26 +02:00
Ray Lin 08482ec01f Bug 1340488 - Add a chrome-only previewValue attribute to <select> for showing preview text. r=baku,heycam
MozReview-Commit-ID: En8e0hO35Lj

--HG--
extra : rebase_source : dbbfcf951520006144e04451844fbe2ea21a113f
2017-05-03 17:08:44 +08:00
Olli Pettay 11f1740840 Bug 1358832, don't flush layout when swapping frameloaders, r=bz 2017-05-09 18:48:09 +03:00
Munro Mengjue Chiang c8de52fd2d Bug 1363261 - Remove a callId from mCallIds when the corresponding GetUserMediaTask is removed from mActiveCallbacks. r=jib
MozReview-Commit-ID: DcSQ8O9MoCb
2017-04-24 15:11:51 +08:00
Ryan VanderMeulen 5af348937a Bug 1362954 - Move some atoms outside of the ACCESSIBILITY guard to fix --disable-accessibility bustage. r=hsivonen 2017-05-09 10:33:21 -04:00
Andrea Marchesini f4482d75a5 Bug 1360992 - RecvStreamReady() should be protected by mutex as any other method in IPCBlobInputStreamChild, r=qdot 2017-05-04 08:37:54 +02:00
Carsten "Tomcat" Book 76ca853e3e Merge mozilla-central to mozilla-inbound 2017-05-09 14:40:11 +02:00
Bevis Tseng e51e1bdbb8 Bug 1362946 - Set SystemGroup EventTarget to ReleasingTimerHolder. r=baku
1. Label ReleasingTimerHolder with SystemGroup since ReleasingTimerHolder
   touches nothing related to the web content but releases the handle of
   the BlobImpl object.
2. Name ReleasingTimerHolder for telemetry.

--HG--
extra : rebase_source : dce59a96780f8b8accbfcc7e6fb981d8446365eb
2017-05-09 15:02:54 +08:00
Joel Maher 5e10562ae6 Bug 1360452 - Intermittent dom/media/test/test_background_video_resume_after_end_show_last_frame.html. disable on win/debug. r=kaku
MozReview-Commit-ID: Gtte0SbVEj2
2017-05-09 06:22:49 -04:00
Andrea Marchesini 93aa78bfde Bug 1363309 - Fix for an intermittent failure in dom/file/ipc/test/test_ipcBlob_fileReaderSync.html, r=me 2017-05-09 11:07:33 +02:00
Andrea Marchesini 40bc26c0ee Bug 1360807 - FileReaderSync must work with sync inputStream - part 4 - Base64EncodeInputStream needs a sync inputStream, r=smaug 2017-05-09 11:04:49 +02:00
Andrea Marchesini 64737e4496 Bug 1360807 - FileReaderSync must work with sync inputStream - part 3 - tests, r=smaug 2017-05-09 11:04:29 +02:00
Andrea Marchesini 30c1ec2e08 Bug 1360807 - FileReaderSync must work with sync inputStream - part 2 - nsIConverterInputStream needs a syncInputStream, r=smaug 2017-05-09 11:04:07 +02:00
Andrea Marchesini 4e5948b3f2 Bug 1360807 - FileReaderSync must work with sync inputStream - part 1 - SyncRead should read as much as required, r=smaug 2017-05-09 11:03:40 +02:00
Shawn Huang 001b63cc33 Bug 1350787 - DocGroup labeling runnables in dom/xhr, r=baku, f=bevistseng
This patch is to label the runnables dispatched to main thread of the
content process.
The major changes in xhr are to replace DispatchTo{Current,Main}Thread and
replace NS_DispatchToCurrentThread with |mWorkerPrivate->DispatchToMainThread|
in which a DocGroup-specific EventTarget on main thread for worker.
2017-05-09 16:14:51 +08:00
Lie Ryan 70866b3ba5 Bug 1352572 - Remove unused code that implement NPN_PostURLNotify(file=true) and NPN_PostURL(file=true); r=bsmedberg
- Remove nsNPAPIPlugin.cpp:MakeNewNPAPIStreamInternal(file) parameter
- Remove nsPluginHost::PostURL(isFile) parameter
- Remove nsPluginHost::CreateTempFileToPost() unused function

MozReview-Commit-ID: 7bCBzGz9oSM

--HG--
extra : rebase_source : f59948b85e0da7baa9aec90878ebd6b76a5a3ca3
2017-04-12 14:28:50 +00:00
Lie Ryan 9db89db495 Bug 1352572 - Return NPERR_GENERIC_ERROR if plugin calls NPN_PostURLNotify(file=true); r=bsmedberg
NPN_PostURLNotify(file=true) is no longer supported in NPAPI.

MozReview-Commit-ID: 12JlYduC7R8

--HG--
extra : rebase_source : dc9bd752f74b727d003c1371211095bc6656b8d3
2017-05-06 07:27:08 +00:00
Lie Ryan 32b857541b Bug 1352572 - Add negative test for NPN_PostURLNotify(); r=bsmedberg
Note that this test never actually fails short of passing file parameter to
NPN_PostURLNotify actually causing the browser to crash. It can't distinguish
between the case when file is working or not.

MozReview-Commit-ID: 1G590ZWpHsE

--HG--
extra : rebase_source : c294bc109b893c81b6ee4c3114bb039eab77af08
2017-04-11 13:27:50 +00:00
Lie Ryan d52bc4b27e Bug 1352572 - Implement nptest.cpp:streamTest(postFile) parameter; r=bsmedberg
This is an optional parameter that can be used to test streams via file. It may
be necessary to back out this change when NPAPI sandbox is completed as the
testplugin may no longer be able to access files.

MozReview-Commit-ID: FsYxhKKr4hS

--HG--
extra : rebase_source : 5ee413531b5b178c92a1d5cf5c2223e624e02296
2017-04-27 03:10:59 +00:00
Lie Ryan 3b84e93d4a Bug 1352572 - Fix misleading/incorrect comment in streamTest; r=bsmedberg
MozReview-Commit-ID: 7c8bLjMuqI2

--HG--
extra : rebase_source : 7bfa1cc78f638bccfaf65c6acac3eab0c01c2881
2017-04-09 16:05:10 +00:00
Lie Ryan bdde925f5b Bug 1352572 - Return an NPERR_GENERIC_ERROR if plugin tries to call NPN_PostURL(file=true); r=bsmedberg
NPN_PostURL(file=true) is no longer supported in NPAPI.

MozReview-Commit-ID: IyLJSj4bKRR

--HG--
extra : rebase_source : f684a634c649eb3bae4f802f43fe810d3d88f96b
2017-04-08 16:48:47 +00:00
Lie Ryan 44dd9f66cc Bug 1352572 - Add support in nptest plugin to test NPN_PostURL(file=true); r=bsmedberg
MozReview-Commit-ID: BDifZ0vRdgj

--HG--
extra : rebase_source : a23a723e016d167a6ab735db463edc19a40a9c86
2017-04-27 11:17:52 +00:00
Lie Ryan a8215361f6 Bug 1352572 - Fix buffer overflow in verbose debug log; r=bsmedberg
Sometimes ptrStreamBuffer may not be null-terminated and random memory
areas get printed out when running MOZ_LOG=Plugin:5,PluginNPP:5,PluginNPN:5

MozReview-Commit-ID: 4cyDhukl1Tx

--HG--
extra : rebase_source : 5e7b762d9634b8902f441143994a13d241e29ea0
2017-04-07 10:57:31 +00:00
Henry Chang 3f6c2504c6 Bug 1353159 - Use IPC_MESSAGE_SIZE2 to unify the expired IPC_MESSAGE_SIZE and MESSAGE_MANAGER_MESSAGE_SIZE2 r=billm
The new telemetry tag is for probing the best IPC message pre-allocate size to avoid
realloc overhead. We only count those message size which is greater than 4096.
This tag integrates IPC_MESSAGE_SIZE and MESSAGE_MANAGER_MESSAGE_SIZE2 which
have both expired.

MozReview-Commit-ID: GjvuidGJ7pz

--HG--
extra : rebase_source : 1da13b3f2b5b042d0445abd6051993e2fb317f93
2017-05-04 16:34:20 +08:00