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

61546 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 26e9175c0d Bug 1351456 - Fix test logging.
MozReview-Commit-ID: KpyHg95FKcv
2017-03-31 18:51:01 +02:00
Paul Adenot 93f23173cb Bug 1351456 - Add some instrumentation to try to understand a test timeout. irc-r=jesup
MozReview-Commit-ID: 935bdFmhwTq

--HG--
extra : rebase_source : 69f29432b714dffbb2eb9c51098d603744e4ceb6
2017-03-31 17:41:31 +02:00
Carsten "Tomcat" Book 4ac9c2ffb1 Merge mozilla-central to mozilla-inbound 2017-03-31 14:47:54 +02:00
Peter Van der Beken b8d4cf7f71 Bug 1349717 - Propagate errors from matching in XSLT. r=erahm.
--HG--
extra : rebase_source : 927c0f20e92f5a678a3bd57406da33395d207cba
extra : intermediate-source : c346067e0d8ab204cd3e640fa8390d1728f0161e
extra : source : 5669c2511dec853fecd42dbdc8b1fdfea64c362d
2017-03-22 21:05:11 +01:00
Iris Hsiao f55fc8d7c5 Backed out 3 changesets (bug 1311802) for mochitest failures in test_vrDisplay_onvrdisplaydeactivate_crosscontent.html
Backed out changeset 44bd57c9340f (bug 1311802)
Backed out changeset 4bb94cbb9a24 (bug 1311802)
Backed out changeset 15d9c5895041 (bug 1311802)
2017-03-31 14:35:43 +08:00
L. David Baron 8d8382d9ed Bug 1348894 - Use CheckedInt more. r=jgilbert
MozReview-Commit-ID: G5edsCAvRix

--HG--
extra : transplant_source : %E6%FB%C4R%E3%86%1728%E9%D4%1Br%FEs%E5%E9%90%B8%96
2017-03-29 22:52:12 -04:00
Wes Kocher 3c0c112ff9 Merge m-c to inbound, a=merge 2017-03-29 15:47:46 -07:00
Wes Kocher 8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Jeff Gilbert fef06cd120 Bug 1350107 - Detail fallback reason when we fail to do a GPU DOM upload. - r=ethlin
MozReview-Commit-ID: EVdu3LUIrxQ
2017-03-29 15:06:57 -07:00
Jeff Gilbert 758c9e3124 Bug 1350066 - Skip premult if src is missing color or alpha, and spew formats on reformat. - r=ethlin
MozReview-Commit-ID: JeoTq9EX9Rx
2017-03-29 15:06:51 -07:00
Sebastian Hengst 95d52e6546 Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
Boris Chiou f4b25f840f Bug 1336769 - Enable crashtests, 1272475-1.html and 1272475-2.html. r=heycam
MozReview-Commit-ID: 5o4ayOHRm4S

--HG--
extra : rebase_source : 0a7f73c1eeddbb7270783de67593f84cc1c5b8ab
2017-03-27 16:25:48 +08:00
Emilio Cobos Álvarez 55e9a2ee3f Bug 1350140: Update test expectations. r=emilio
MozReview-Commit-ID: 4ZTM0r5KJfn

--HG--
extra : rebase_source : 139db22ea2b38d796c6d99707818a897104e091e
2017-03-24 09:25:12 +01:00
Emilio Cobos Álvarez 3ed9e13ba8 Bug 1350140: stylo: Implement all the remaining state pseudo-classes. r=heycam
Also implements :link, :visited, and :any-link more efficiently, and stops
matching :-moz-read-only in everything that is not read-write, which is kind of
dumb, and probably creates some artifacts.

MozReview-Commit-ID: 6BQqi7nAWdT

--HG--
extra : rebase_source : 39dc6b481b3a92942dc3732990d8b9040d8e6d84
2017-03-24 00:45:07 +01:00
Daosheng Mu a747e7db60 Bug 1350682 - Call VRManagerChild getter when need it at GamepadManager instead of keeping it; r=kip,Lenzak
MozReview-Commit-ID: 2kbPEJ09DOP

--HG--
extra : rebase_source : bb84cc4db9abca70400b68a4445dc7fbb981153b
2017-03-28 11:31:00 +08:00
Tim Huang 3b43737132 Bug 1330882 - Part 4: Making the window.open() can only open rounded windows and the inner window will be automatically rounded after setting size through innerWidth/Height and outerWidth/Height when fingerprinting resistance is enabled. r=smaug
This patch makes the size of inner windows will be automatically rounded for
either window.open() with window features or setting window size through
innerWidth/Height and outerWidth/Height when fingerprinting resistance is
enabled. If the given value is greater the maximum available rounded size, then
it will be set to the maximum value. Otherwise, the size will be set to the
nearest upper 200x100.

This patch also adds one helper function in nsContentUtils for calculating the
rounded window dimensions.

MozReview-Commit-ID: J2r3951vuNN

--HG--
extra : rebase_source : a44b19bdf2ce7e90fc831ddc2b85a86d594cb0c3
2017-03-29 15:43:56 +08:00
Tim Huang c9c5bbc22e Bug 1330882 - Part 1: Making new windows to be rounded size when fingerprinting resistance is enabled (adopt from Tor #19459). r=arthuredelstein,smaug
MozReview-Commit-ID: 1qBNQhfdIYP

--HG--
extra : rebase_source : c46b4a936960ff165f950a59c1d31c1c5849645f
2017-03-29 15:43:54 +08:00
Ryan VanderMeulen f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Sebastian Hengst eadf7b5c6e Backed out changeset 4af10700c64c (bug 1347817) 2017-03-29 11:17:04 +02:00
Andrea Marchesini 1feb18fd09 Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 5 - Make MemoryBlobImpl::DataOwner cloneable, r=mrbkap 2017-03-29 10:40:39 +02:00
Andrea Marchesini f6b3cb0b74 Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 4 - Delete of the PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
Andrea Marchesini 0132b2fc81 Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 3 - PMemoryStream and PBlob, r=mrbkap 2017-03-29 10:40:38 +02:00
Andrea Marchesini d99a7dac26 Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 2 - PMemoryStream actor, r=mrbkap 2017-03-29 10:40:38 +02:00
Andrea Marchesini f8737e7e7f Bug 1340921 - Introduce PMemoryStream for having PBlob and Multi-e10s happy - part 1 - Expose DataOwnerAdapter, r=mrbkap 2017-03-29 10:40:38 +02:00
Andrea Marchesini e59b21d582 Bug 1351250 - StructuredCloneAlgorithm must cleanup mWasmModule correctly, r=qdot 2017-03-29 08:47:49 +02:00
Andrea Marchesini 4b77f4a4b9 Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 08:27:17 +02:00
Olli Pettay f033c765b0 Bug 1350964 - Add more assertions to TabGroup and DocGroup to ensure non-main-threads aren't accessing main thread only member variables, r=mystor 2017-03-29 14:37:38 -04:00
Michael Layzell 23bbc82a2a Bug 1348113 - Part 2: Sanitize the message names before sending them to telemetry, r=mccr8
MozReview-Commit-ID: LPNPZXt4BGU
2017-03-29 10:10:26 -04:00
Michael Layzell 490a6868bf Bug 1348113 - Part 1: Add the IPC_SYNC_JS_LATENCY_MS probe to track JS sync IPC latency from sendSyncMessage/sendRpcMessage, r=billm
MozReview-Commit-ID: 6ROx87BL18p
2017-03-29 10:10:26 -04:00
Ryan VanderMeulen cf8bee36b5 Merge m-c to inbound. a=merge 2017-03-29 09:44:13 -04:00
Andrea Marchesini 2c716cd273 Bug 1347817 - Principal must always have a valid origin - part 6 - fixing tests, r=ehsan 2017-03-29 15:28:46 +02:00
Chris Peterson 9a7117b6ae Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
MozReview-Commit-ID: 6WPOOCcF43M

--HG--
extra : rebase_source : 83a416e89a479c25281128630935b0ec19dd915f
extra : histedit_source : cea4b90eb46eeac04fd2de120d1044576405aa2f%2C0dc86ac28399a3af673ebd40d11a75c57ef04f4b
2017-03-08 00:20:41 -08:00
Ehsan Akhgari f2a992e41a Bug 1347425 - Part 3: Remove the site-specific user agent service; r=baku,jchen
This used to be the glue layer between DOM and Necko which is no longer
being used.
2017-03-28 22:10:53 -04:00
Ehsan Akhgari c2e08ee61a Bug 1347425 - Part 1: Move site-specific Navigator.userAgent overrides to a more efficient C++ implementation; r=baku,schien
Necko computes this information in order to set the User-Agent header in
the parent process.  This header is set on all outgoing requests, and
therefore in the content process we can easily copy the value of this
header from the document channel object instead of the inefficient sync
IPC that currently happens in order to access the JavaScript
implementation living in the parent process.
2017-03-28 22:10:33 -04:00
Phil Ringnalda ae6305d740 Bug 1350694 - set browser.tabs.remote.separateFileUriProcess in browser_blobFromFile.js so it will work even in non-Nightly builds, r=baku 2017-03-28 13:20:30 -07:00
Dragana Damjanovic dd.mozilla@gmail.com 8d5bce1c3b Bug 1350388 - NS_NET_STATUS_TLS_HANDSHAKE_STARTING/ENDED is not an error for nsWebBrowserPersist. r=valentin
--HG--
extra : rebase_source : 72183c8f5eb16b655d7c5a0f3155e4ca4305d4dc
2017-03-28 09:24:00 -04:00
Wes Kocher 914dd4b76c Merge inbound to m-c a=merge 2017-03-28 13:30:56 -07:00
Wes Kocher 6d49927150 Merge autoland to m-c a=merge 2017-03-28 13:15:57 -07:00
Ryan VanderMeulen 89d7c65bcf Backed out changeset ce25d866bd65 (bug 1343760) for causing bug 1351328.
--HG--
extra : rebase_source : 6c5b3c981c1919f8f1134f63a03c77b920112c6c
2017-03-28 12:50:14 -04:00
Carsten "Tomcat" Book 5b9719c5fc merge mozilla-inbound to mozilla-central a=merge 2017-03-28 13:03:25 +02:00
JW Wang 2860ecd0e5 Bug 1350814 - Replace use of int64_t for microseconds by TimeUnit in AudioSink. r=kikuo
MozReview-Commit-ID: 3diOpJu7g8i

--HG--
extra : rebase_source : 16d7050cd29ea774fce7e76a16ae9100c766b9f8
extra : source : cf6946ba307d04b00e02e353b4724655929eaa69
2017-03-27 11:37:17 +08:00
JW Wang 576387b0bc Bug 1350813. use 0 as the sentinel value of MediaSink::GetEndTime(). r=kaku
Since the media timeline is zero-based, 0 is a good value to indicate
no data is played at all.

MozReview-Commit-ID: BiKzSGtbyjn

--HG--
extra : rebase_source : 7abbed32038d2e1d6b49e25319152060802e5dac
extra : intermediate-source : a786a2069cbd9e46901d6d474b00965f1e75893d
extra : source : e4acffc8b3c8e8003e17e62793d50c627cef340e
2017-03-25 13:29:05 +08:00
Alfredo.Yang 0e5b3d1e8c Bug 1341221 - enable rust mp4 parser on linux debug build. r=kinetik
MozReview-Commit-ID: DSkDsDpz0uO

--HG--
extra : rebase_source : c602d06def9a0647503c78c3a2e72310d053ebce
2017-03-26 23:19:49 +08:00
JW Wang a7f369e934 Bug 1350811 - Replace use of int64_t for microseconds by TimeUnit in DecodedStream. r=kaku
MozReview-Commit-ID: JjBfTmqkru8

--HG--
extra : rebase_source : f03d35b4697304255f24e66dbdf93a1c8815fd59
2017-03-27 11:09:49 +08:00
Chih-Yi Leu 6b60ce5c0a Bug 1306505 - Implement mochitest: VRDisplay.exitPresent must only be allowed by content that started VR Presentation; r=daoshengmu
MozReview-Commit-ID: JSOhDU565gt

--HG--
extra : rebase_source : 01641425c59f615615cc97374968382d5c9261c7
2017-03-23 10:49:45 +08:00
Chris Pearce d885daf774 Bug 1351132 - Fix keystatus and decode logging in ChromiumCDMChild. r=gerald
MozReview-Commit-ID: xwfJ4WwbmN

--HG--
extra : rebase_source : ee459eb16df41055ce6ade360ff1149f3b894caa
2017-03-28 11:05:48 +13:00
Wes Kocher 8c7c009cdf Merge m-c to autoland, a=merge
MozReview-Commit-ID: 87ulQGa6DgN
2017-03-27 17:19:20 -07:00
Wes Kocher 93f5513b72 Merge inbound to central, a=merge
MozReview-Commit-ID: 4K4y2wN5LHh
2017-03-27 17:13:27 -07:00
Boris Zbarsky a71d5e3e25 Bug 1342823 part 2. Simplify the management of whether our document's frame request callbacks are scheduled. r=farre
MozReview-Commit-ID: 46oVKKbCLbn
2017-03-27 14:52:36 -04:00
Boris Zbarsky 41f3badc2e Bug 1342823 part 1. Move some one-bit booleans in nsIDocument next to all the other one-bit booleans. r=farre
MozReview-Commit-ID: 3FLVka93lCq
2017-03-27 14:51:55 -04:00
Kyle Machulis fd15c21a56 Bug 1350940 - Label Runnables in dom/plugins; r=bsmedberg
MozReview-Commit-ID: DCxeZUj6CEd

--HG--
extra : rebase_source : ff3c4f30530f289a69807c9762a18d40f2ffbc7d
2017-03-27 13:35:25 -07:00
Shih-Chiang Chien 0566aef2e8 Bug 1320744 - Part 4, Allow iframes in test_bug440572.html to be loaded out of sequence. r=mrbkap.
MozReview-Commit-ID: Hl7kGHP6ILQ

--HG--
extra : rebase_source : 5cd705359887e260b96908cf4bc8f69cea03a4dc
2017-03-26 22:37:01 +08:00
Andrew McCreight a8cef3c230 Bug 1351008 - Lazily load Manifest jsms in manifestMessages.js. r=baku
This avoids loading 7 jsms until they are actually needed, reducing
content process memory usage.

MozReview-Commit-ID: 8ukNr7PL80A

--HG--
extra : rebase_source : a926a19645ffcacadec93ecc79927d356d603114
2017-03-27 11:48:18 -07:00
Carsten "Tomcat" Book 1bff8bff6d Merge mozilla-central to autoland 2017-03-28 13:06:52 +02:00
bechen 9fa41c62a2 Bug 1343797 - Label runnables in TextTrackManager.cpp. r=jwwang
MozReview-Commit-ID: 2rP55aUyNi

--HG--
extra : rebase_source : ad1617a36efdc4b179ec7fae12895d86ef01912c
2017-03-27 16:51:17 +08:00
milindl 6109edd9bd Bug 1247201 - yield on tests using removeDataFromDomain,r=mak
This changeset changes tests using ForgetAboutSite.removeDataFromDomain
to yield on it, since now it is a Task

MozReview-Commit-ID: 72OEYoO1avd

--HG--
extra : rebase_source : 9ea8cc06493c3e965d260dc9377461ff29fe572a
2017-03-17 14:29:48 +05:30
Brian Birtles 4a53c81f51 Bug 1343589 - Add a test that reverse() updates animations on the compositor r=hiro
MozReview-Commit-ID: FR8kR7TMl33

--HG--
extra : rebase_source : 8cbe75de11323582567d184373f7025c2f133a74
2017-03-28 14:51:53 +09:00
Brian Birtles 3437435375 Bug 1343589 - Add a crashtest for when reverse() throws r=hiro
I have verified that this test fails without the fix from the previous patch.

MozReview-Commit-ID: Hx8D72nTb32

--HG--
extra : rebase_source : 48b53f86fbcf92db6a5d340d2348fe23003aab0f
2017-03-28 14:51:52 +09:00
Brian Birtles 9a4f3fcecb Bug 1343589 - Add animation mutation observer test for reverse() when it throws an exception r=hiro
This patch adds a test that when reverse throws an exception we don't report
anything to animation mutation observers. I have verified that this added test
fails without the early return added to Animation::Reverse() earlier in this
patch series.

MozReview-Commit-ID: 64yX4G7iaIt

--HG--
extra : rebase_source : 3f29335303c969a8e2ad5ac2c16aba276036b434
2017-03-28 14:51:52 +09:00
Brian Birtles f9b4b144b9 Bug 1343589 - Move setupSynchronousObserver from testcommon.js to test_animation_observers_sync.html r=hiro
This function is only used in test_animation_observers_sync.html. Putting it in
another file makes test_animation_observers_sync.html harder to follow so until
we actually share it with other files we should be it in the one file.

MozReview-Commit-ID: DJXWH4wFWxZ

--HG--
extra : rebase_source : cf5c93f0bee5b03862ad9162c55e1df97b875a6d
2017-03-28 14:51:52 +09:00
Brian Birtles 6c557986cc Bug 1343589 - Add comments to test_animation_observers_[a]sync.html to describe how they differ r=hiro
MozReview-Commit-ID: HxhsaOKDAsq

--HG--
extra : rebase_source : a6d99344126a05a00b33881072e5170845df29e6
2017-03-28 14:51:52 +09:00
Brian Birtles 7a32f654ff Bug 1343589 - Rename animation observer test files r=hiro
As part of this patch series I'd like to add an animation observer test.
However, the current arrangement of test files is quite confusing. We have:

  test_animation_observers.html - Tests that run async only
  test_observers_for_sync_api.html - Tests that can be run synchronously

It's not at all obvious that these are related or that one is related to the
other. In this patch we rename the files so that their relationship is more
obvious. In a subsequent patch we'll add comments to further clarify the
distinction.

MozReview-Commit-ID: CSYL8wruWdK

--HG--
rename : dom/animation/test/chrome/test_animation_observers.html => dom/animation/test/chrome/test_animation_observers_async.html
rename : dom/animation/test/chrome/test_observers_for_sync_api.html => dom/animation/test/chrome/test_animation_observers_sync.html
extra : rebase_source : a8bfde42b9996f172f090e95970e355106757d8a
2017-03-28 14:51:51 +09:00
Brian Birtles 09cda43419 Bug 1343589 - Restore the playbackRate when reverse() throws. r=hiro
MozReview-Commit-ID: FNIZK9yQWyV

--HG--
extra : rebase_source : 32cdcc52ccd8192addc0ed2239f74eb109970597
2017-03-28 14:51:51 +09:00
Carsten "Tomcat" Book bc21c019f3 Merge mozilla-central to mozilla-inbound 2017-03-28 13:05:57 +02:00
Paul Adenot 863a1ccd9e Bug 1343550 - Mochitest. r=baku
MozReview-Commit-ID: 72V86HrbVCl

--HG--
extra : rebase_source : 8f561de253021c7566e5d3160bb6b8f43ff0319f
extra : intermediate-source : b258ffe9ee50b38cecbd4eb8fb00c02d30f42376
extra : source : 1aa20dad5c31bc1629516af77266266e1074fb26
2017-03-09 14:09:48 +01:00
Paul Adenot 838b5a8cad Bug 1343550 - Prevent creating AudioNodes on an AudioContext that has been disconnected from its owner. r=baku
Spec (being written): https://github.com/WebAudio/web-audio-api/issues/1139

Bug 1343550 - Prevent touching promises when shutting down an AudioContext, when the global is going away soon. r=baku

MozReview-Commit-ID: F6en9KEbNNf

--HG--
extra : rebase_source : 04076caa38bba980cdff776b5997f33e24516d9e
extra : intermediate-source : 4f2cd3f715a218dc3bca55e89720b6aa1040d35c
extra : source : 69cd9c72bd4ed419e3f7f7b5ab64ee0fa8bd89a2
2017-03-15 17:36:40 +01:00
Andrea Marchesini cdd567b0c8 Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly 2017-03-28 11:49:16 +02:00
Andrea Marchesini 3c2329f826 Bug 1346247 - Avoid race conditions when SW are updated - part 2 - tests, r=bkelly 2017-03-28 11:48:57 +02:00
Andrea Marchesini c6334b35ae Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly 2017-03-28 11:48:38 +02:00
Andrea Marchesini baeaa6587e Bug 1349862 - MutableBlobStorage must use a TaskQueue in order to preserve the order of runnables for I/O ops, r=asuth 2017-03-28 11:05:58 +02:00
Hiroyuki Ikezoe af52995ddf Bug 1351981 - Remove annotation for crashtests that are supposed to be run on the compositor. r=boris
MozReview-Commit-ID: 9KaPq7sa5UB

--HG--
extra : rebase_source : 81486f79bba74322cdd658636317fd46cebf94ae
2017-03-30 16:58:04 +09:00
Hiroyuki Ikezoe 089cd10211 Bug 1351981 - Enable crashtest, 1333539-1.html and 1333539-2.html. r=boris
MozReview-Commit-ID: 57JBEHFIQgo

--HG--
extra : rebase_source : a41f815bbf2c9a5362775943ca8d1acf91bf4b16
2017-03-30 16:58:04 +09:00
Alastor Wu dd5be9dee0 Bug 1346872 - part3 : add and modify test. r=Ehsan
Add new tests and move some share codes to head.js.

MozReview-Commit-ID: GcCio6JupZu

--HG--
extra : rebase_source : a9324aaebd89412d77bed19b0554e6cf2959b6e2
2017-03-30 14:27:45 +08:00
Alastor Wu 611c9842fe Bug 1346872 - part2 : only access agent related codes in nsNPAPIPluginInstance. r=Ehsan
nsNPAPIPlugin doesn't need to know about agent, nsNPAPIPluginInstance should wrap
all of the details in its memeber function.

MozReview-Commit-ID: 3LqTlH2flbt

--HG--
extra : rebase_source : e938e3c4812fca2b8b9dbdff3d76c85786b36c0c
2017-03-30 14:27:42 +08:00
Alastor Wu 4c0c1f059d Bug 1346872 - part1 : notify audible state change when AudioDestinationNode was muted or suspended. r=Ehsan
Web audio should also notify AudioChannelService about its audible state change.

MozReview-Commit-ID: BtjUkHKPETg

--HG--
extra : rebase_source : 809549258b652cb1e531dedfd6aee869d32aa4e4
2017-03-30 14:25:37 +08:00
Chun-Min Chang ddc78aa48d Bug 1349128 - Remove duplicated AndroidDecoderModule in mCurrentPDMs if both PDMAndroidMediaCodecEnabled and PDMAndroidMediaCodecPreferred are set to true; r=jya
The AndroidDecoderModule will be added into PDM queue twice if both PDMAndroidMediaCodecEnabled and PDMAndroidMediaCodecPreferred are set to true. It should be inserted into the head of the PDM queue in this case, and appended to the tail if only PDMAndroidMediaCodecEnabled is true.

MozReview-Commit-ID: Fj0z0meeb1V

--HG--
extra : rebase_source : 1d7f2b10fd4360d3f641ad6517e9f95afcb99768
2017-03-22 14:14:09 +08:00
Xidorn Quan be843c7162 Bug 1345696 part 7 - Provide @font-face rules for stylo backend. r=heycam
MozReview-Commit-ID: CHPxz7iOLg6

--HG--
extra : rebase_source : 56371228e08b1accbdd30f738622bc211e6daee8
2017-03-27 17:53:27 +11:00
Xidorn Quan c84000415d Bug 1345696 part 2 - Move nsCSSFontFaceRule to a separate header. r=heycam
MozReview-Commit-ID: 5UsODlVQV7a

--HG--
extra : rebase_source : 48ed07a86666fd313786ca03818947b10ca7a2ce
2017-03-29 10:20:40 +11:00
Xidorn Quan 082e026668 Bug 1345696 part 1 - Lots of fixup for the next patch. r=heycam
The next patch moves nsCSSFontFaceRule into a separate header, which
somehow affects lots of header dependencies. I'm not completely sure
why this happens, though.

MozReview-Commit-ID: KuXbsaX0NUd

--HG--
extra : rebase_source : cef91018964b5488c5031df8aada90aa7fa0ad51
2017-03-28 20:05:12 +11:00
Hiroyuki Ikezoe 7d3b711ee6 Bug 1351898 - Don't set PropertyValuePair.mValue for stylo. r=birtles
Otherwise we hit below assertion in nsCSSValue::DoReset().

 MOZ_ASSERT(NS_IsInCompositorThread() || !ServoStyleSet::IsInServoTraversal());

PropertyValuePair.mValue was introduced for computing paced timing in the case
where there is some invalid values in keyframes. Paced timing has been removed
removed from the spec and stylo will not support paced timing. So we don't need
to set the value for stylo.

MozReview-Commit-ID: 3I8QSvF2jL8

--HG--
extra : rebase_source : 42155d7fac85aa7fb068e8a514867e8f1c27ed30
2017-03-30 11:08:47 +09:00
JW Wang 714c6b10e9 Bug 1351553 - fix divide-by-zero. r=gerald
MozReview-Commit-ID: BZVCVOOLx1L

--HG--
extra : rebase_source : aab0bc9c47b0485ff910ad7f4c5d2ea3c163a3bb
2017-03-29 16:15:13 +08:00
Wes Kocher 985bcdea84 Merge m-c to autoland, a=merge 2017-03-29 15:48:28 -07:00
Chris Pearce 69a1fc1b03 Bug 1351874 - Dispatch shutdown runnable to CDMParent rather than null. r=gerald
MozReview-Commit-ID: BE5OgrgbvAT

--HG--
extra : rebase_source : 68c2538e2de42caa0b3e98b03c47bbd01539049b
2017-03-30 11:03:50 +13:00
Markus Stange 7c6c13efdf Bug 1348426 - Add profiler labels to RecvSync/Async/RpcMessage that include the message name. r=billm
MozReview-Commit-ID: F7MZhgV12DZ

--HG--
extra : rebase_source : c97e4914f4292ac52338a691dc44810f7dda7486
2017-03-29 17:43:21 -04:00
Kirk Steuber 68f7cb1b36 Bug 1350381 - Change Flash blocking to allow the setting "Ask to Activate" to control CTA of unknown documents. r=qdot
Previously, we operated under the understanding that with Flash blocking activated, non-whitelisted documents would be set to CTA. We are changing that such that now, documents will only be CTA'ed if Flash is set to "Ask to Activate".

Flash blocking will now behave according to the following chart:

User Setting   Flash block   Whitelisted sites   Blacklisted sites    Unlisted sites
"Never ..."    Off           Deny                Deny                 Deny
"Ask ..."      Off           Ask                 Ask                  Ask
"Always ..."   Off           Allow               Allow                Allow
"Never ..."    On            Deny                Deny                 Deny
"Ask ..."      On            Allow               Deny                 Ask
"Always ..."   On            Allow               Deny                 Allow

This patch also completely reworks the flash blocking testing. Test data and most code remains consolidated, but will be run in multiple different tests. This avoids having to extend the timeout for Flash block testing to an extremely long length. The new Flash block testing additionally tests each of the six cases (rows) in the table above.

MozReview-Commit-ID: 5aPGUEiUiCv

--HG--
extra : rebase_source : d5f5711855d108a9a33b9d28aae6e312cc9cb432
2017-03-24 14:15:02 -07:00
Kyle Machulis b640dd363b Bug 1351477 - Remove IsSWFPlayerEnabled function; r=bsmedberg
Since the Shumway project is dead, we no longer register a stream converter for flash files. We can remove this check, as it will always return false.

MozReview-Commit-ID: CzC7wYmWEFp

--HG--
extra : rebase_source : 24373bc48da66fccb616864a6f03a5fc5d57ba9c
2017-03-28 14:56:20 -07:00
Ehsan Akhgari 2728bdfc21 Bug 1352030 - Don't assert that a null docshell cannot be null; r=baku 2017-03-30 10:37:47 -04:00
Carsten "Tomcat" Book 48d1be80d3 Merge mozilla-central to mozilla-inbound 2017-03-27 12:59:33 +02:00
Carsten "Tomcat" Book 8fa2774978 merge mozilla-inbound to mozilla-central a=merge 2017-03-27 12:57:16 +02:00
Shawn Huang bea755a58f Bug 1341272 - Set readyState to DONE during synchronous XMLHttpRequest failure, r=baku 2017-03-27 15:21:57 +08:00
Carsten "Tomcat" Book df98772632 Backed out changeset 11c73e8f71bb (bug 1349276) for bustage 2017-03-27 09:02:43 +02:00
Andrea Marchesini dc173b26b1 Bug 1349276 - Paths received by FileSystemRequestParent need to be sanitized before passed to IsDescendantPath, r=haik 2017-03-27 08:18:43 +02:00
Stone Shih 43e0dce0f4 Bug 1343765 - Label timer in dom/events. f=bevistseng. r=smaug. 2017-03-16 08:12:25 +08:00
Stone Shih 58f1a120a2 Bug 1343760 - Label runnables in dom/events. f=bevistseng. r=smaug. 2017-03-16 08:11:50 +08:00
Cervantes Yu 42d667debc Bug 1349340 - Don't allocate an unrealistically huge buffer in getting the surface data for DnD. r=nical 2017-03-24 17:40:24 +08:00
Andrea Marchesini 97fbc18cea Bug 1349276 - Paths received by FileSystemRequestParent need to be sanitized before passed to IsDescendantPath, r=haik 2017-03-27 09:48:41 +02:00
Alfredo.Yang fb9844d916 Bug 1330243 - add preference to enable rust mp4 parser. r=kinetik
MozReview-Commit-ID: LINNEMiXYx4

--HG--
extra : rebase_source : 747b9854b0d5d1f0419c59c5966414872e8ea158
2017-03-14 15:42:09 +08:00
Hiroyuki Ikezoe 0ec76c29e2 Bug 1344966 - Post eRestyle_CSSAnimations instead of eRestyle_Self and eRestyle_Subtree. r=heycam
MozReview-Commit-ID: 7azwzIPc45X

--HG--
extra : rebase_source : 5943ab5db1a0a7ca4e77f9373151a5d1387ab25f
2017-03-27 06:17:08 +09:00
Hiroyuki Ikezoe bec36f074f Bug 1344966 - Add NODE_HAS_ANIMATION_ONLY_DIRTY_DESCENDANTS_FOR_SERVO to represent that an element's descendant has animation. r=heycam
MozReview-Commit-ID: GRumykMgGg0

--HG--
extra : rebase_source : 8b9675d1c56a0d2dd81532e28c03d85996f0cc7f
2017-03-27 06:17:07 +09:00
Kan-Ru Chen 8ba424eabb Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley
This is the most important part of the patch series. It removes the
PScreenManager protocol and use ScreenManager directly in the content
processes.

Initial and subsequent updates are sent via PContent::RefreshScreens.
struct ScreenDetails are kept to serialize Screen over IPC.

nsIScreenManager::ScreenForNativeWidget is removed because
nsIWidget::GetWidgetScreen can replace it. nsIScreen::GetId is removed
because it's not useful for the more general Screen class.

MozReview-Commit-ID: 5dJO3isgBuQ

--HG--
extra : rebase_source : 06aa4e4fd56e2b2af1e7483aee7c0cc7f35bdb97
2017-03-09 19:30:26 +08:00