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

535033 Коммитов

Автор SHA1 Сообщение Дата
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
Alex Chronopoulos 517b0f8cbf Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03: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
Ted Mielczarek 5d52552713 bug 1358215 - add MOZ_PHOTON_ANIMATIONS config var/define, default enabled on nightly. r=chmanchester
MozReview-Commit-ID: JBdo2ppiJOP

--HG--
extra : rebase_source : c889be3fe8c528ef16b2c61a8b818355e979a19a
2017-05-08 16:01:44 -04:00
Fernando Jimenez Moreno 0a22acda18 Bug 1355408 - Part 2: Update test expectations after @-moz-document support for stylo. r=xidorn
MozReview-Commit-ID: GlFcpfF5upj

--HG--
extra : rebase_source : e4dc029597d8e65fdea18489ba091ecfdb3c4b97
2017-04-20 15:52:40 +02:00
Fernando Jimenez Moreno 6b3f90e5b4 Bug 1355408 - Part 1: Support @-moz-document rule in stylo. r=xidorn
MozReview-Commit-ID: BMoA7tb7ixj

--HG--
extra : rebase_source : 1329b4c008b4ee3e2623a496c8ef82f610d6e3ce
2017-04-18 18:59:43 +02:00
Mark Banner 23f885d2be Bug 1360166 - Clean up global handling for accessible/tests/. r=surkov
Now that we inherit the recommended configurations, many definitions are handled semi-automatically.

MozReview-Commit-ID: 1H2MXzk6VdQ

--HG--
extra : rebase_source : 25e9e8b9a9f62d4e22873998ff4532fbcbe2e367
2017-04-27 12:07:04 +01:00
Mark Banner f682c34d06 Bug 1360166 - Remove duplicated rules in accessible/tests/browser/.eslintrc.js (already in recommended.js). r=surkov
MozReview-Commit-ID: Vcacy2HEwj

--HG--
extra : rebase_source : defe73462a8fae3ec5fd9b2ccc6b00ad70ceca6e
2017-04-27 11:57:13 +01:00
Mark Banner 3e354c3b34 Bug 1360166 - Make accessible/ ESLint rules inherit from the mozilla/recommended configuration. r=surkov
MozReview-Commit-ID: GJs25x7vNgZ

--HG--
extra : rebase_source : 6f1c650a50f638dddf8b774931931d226ebbe26d
2017-04-27 11:53:38 +01:00
Servo VCS Sync e0a7705300 No bug - Revendor rust dependencies 2017-05-09 12:32:43 +00:00
Fernando Jiménez Moreno 92572b43ec servo: Merge #16768 - Stylo: Bug 1355408 - add support for @-moz-document (from ferjm:bug1355408.mozdocument); r=xidorn
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

Link to the gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1355408.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8bc20ee9ac90b56a21bee8c9d507bc4624ef5dc9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 307c61b490fce69f1b559d25159009e75cc25be1
2017-05-09 05:54:07 -05:00
Dan Banner eb054662cc Bug 1320156 - Remove leftover Privacy-16.png files. r=florian
MozReview-Commit-ID: GXCfNNwiqFf

--HG--
extra : rebase_source : 8c296d23d6fb4fb9883cd05a4378f032dcfb0d8d
2017-05-07 15:27:05 +01:00
Dan Banner 7d62f38a7b Bug 1348521 - Remove unreferenced global/skin/linkTree.css files r=florian
MozReview-Commit-ID: DXpi0HbLNIq

--HG--
extra : rebase_source : 94e73cdb7b9afdd0a7cf21a66f4e41551d4e1f16
2017-05-07 16:19:13 +01:00
Michael Ratcliffe 3bf914f927 Bug 1362464 - Fix feedback from Storage Inspector's head.js methods r=pbro
MozReview-Commit-ID: G5lOr9bU13B

--HG--
extra : rebase_source : 55973b2ecc57e0f7c395fda9fff3046b0dae446d
2017-05-05 18:00:57 +01: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
btian bc058622e6 Bug 1351795 - part 2: Remove console.markTimeline. r=baku
MozReview-Commit-ID: EmbscFp9oD4

--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
btian c28f35b424 Bug 1351795 - part 1: Remove console.timeline and timelineEnd. r=baku
MozReview-Commit-ID: DLoqGD5NDwt

--HG--
extra : rebase_source : 43b55175f9ba1671e8269a227078e205581c8f1c
2017-05-09 11:39:27 +08:00
Jean-Yves Avenard ab282a14d4 Bug 1357040: P2. Don't rely on NotifyDataArrived to resolve MSE init promise. r=gerald
MozReview-Commit-ID: KUxVqfU9umw

--HG--
extra : rebase_source : c6f11109490fbb6fbfbda1b0fe2be1c8088ca4a2
2017-04-27 19:53:53 +02:00
Jean-Yves Avenard f0cabce941 Bug 1357040: P1. Abort if demuxer initialisation isn't complete. r=jwwang
MozReview-Commit-ID: 9SSgQq272My

--HG--
extra : rebase_source : a9d0abfaefaf2861dfca58b328fdef46505a7aaf
2017-04-25 15:28:31 +02:00
James Graham 1c354cb585 Bug 1362811 - Don't require REFTEST prefix in unstructured reftest analyzer, r=dbaron
This prefix can't be produced by the standard structured logging
formatters because it doesn't know that the tests are
reftests. Therefore the reftest harness has a hack to add this prefix,
and the unstructured analyzer doesn't work with wpt reftests. This can
simply be solved by making the prefix optional, but looking for the
"INFO - " prefix that mozharness adds, when present, to identify the
start of the TEST- string.

MozReview-Commit-ID: GxWVWOSkAUZ

--HG--
extra : rebase_source : fbd8afa860da0fba4925b6bf2fc715cbf6c2688c
2017-05-07 00:20:43 +01:00
Julian Descottes ad1d261fed Bug 1363100 - change aboutdebugging links text to "Learn more";r=flod,ochameau
MozReview-Commit-ID: jOWDb17tsv

--HG--
extra : rebase_source : 6cdf4a4d54a817a99367d8cf5535746142944429
2017-05-08 22:42:10 +02:00
Gerald Squelart bc7b6779e4 Bug 1356138 - Backout bug 1337063 (Msg_GetGraphicsDeviceInitData opt) for Talos regression - r=dvander
MozReview-Commit-ID: LS1Gg1HRwKo

--HG--
extra : rebase_source : 8b20bc37b20feac4c0b590c8b286a9ee834646e2
2017-05-09 14:40:11 +12:00
Jan Henning d5d0cff6cf Bug 1363074 - Part 2 - When skipping the selected tab during session restore, don't select a replacement if we're also opening an URL from our launch intent. r=walkingice
When starting up, ideally we want to only load the foreground tab, with all other tabs being created as delay-loaded "zombie" tabs that occupy minimal resources. To that extent, when restoring the previous session we need to know whether we're planning to open an additional, external tab for a URL received through the launch intent later on. If we do, we don't want to select any tab while restoring the previous session, as that selection is going to be overridden by the external tab anyway. Not selecting a tab from the previous session at this stage means that it can remain as a delay-loaded tab until it is eventually selected by the user.

MozReview-Commit-ID: 1lWnOx0ZuNl

--HG--
extra : rebase_source : 03a286ec3e1c66856d2ffb526cd4277c89b29594
2017-05-08 21:55:07 +02:00
Jan Henning 3e994206e0 Bug 1363074 - Part 1 - Clarify meaning of "isExternalURL" variable during session restore. r=walkingice
MozReview-Commit-ID: JnUiPSiqEhd

--HG--
extra : rebase_source : b66b395271bff0c33585789eb87116bca2d4d864
2017-05-08 21:51:34 +02:00
Ting-Yu Chou 7057a51c5c Bug 1328070 - Update window activation state when the owner content is swapped. r=enndeakin+6102
MozReview-Commit-ID: 58uYaH7iFIU

--HG--
extra : rebase_source : f1ec9ff84d9478c510d2b0e777c7ad54a913555a
2017-04-06 15:58:02 +08:00
JW Wang ed2b1d901a Bug 1362927 - handle AddBlocker() failure in MediaShutdownManager::InitStatics(). r=gerald
AddBlocker() could fail during main thread shutdown. We should clear sInstance
on failure so next Register() calls can fail gracefully.

MozReview-Commit-ID: KiRRhO9ymbf

--HG--
extra : rebase_source : ed514f71f85c3d2f7ed6a8ee6f701ae131ec5962
extra : source : 1f379bcfc15b77cc89ee7a3a9e12e85f63a83524
2017-05-08 16:09:03 +08:00
Edgar Chen 5e15c14056 Bug 1353647 - Fix the custom elements v0 upgrade inconsistency; r=wchen
There are two places doing prototype setup in old upgrade,
- If definition comes after JS reflector creation, CustomElementRegistry::Upgrade will do prototype swizzling.
- If definition comes before JS reflector creation, Element::WrapObject will set up the prototype.

The later one does SubsumesConsideringDomain, but the former doesn't not.

This patch is to fix the inconsistency, i.e. the former case should also do SubsumesConsideringDomain.

MozReview-Commit-ID: G3gVsaEa0YF

--HG--
extra : rebase_source : 5e2081e470473cd1a1f642a2dc693127cb9486ca
2017-04-04 23:42:22 +08:00
Morris Tseng 7c997fb2fd Bug 1362551 - Add fuzzy-if for mstyle-3.xhtml reftest. r=mstange
MozReview-Commit-ID: ByRRVRLBpwA
2017-05-09 14:19:06 +08:00
Edgar Chen 0a24632278 Bug 1354013 - Creating customized built-in elements without relevant definitions registered first shouldn't throw NotFoundError; r=wchen
per spec change: https://github.com/w3c/webcomponents/issues/608

MozReview-Commit-ID: 3W4qTndQsP7
2017-04-06 17:00:41 +08:00
Franziskus Kiefer 647c94e8af Bug 1359335 - collect telemetry on aes-ni support, r=gfritzsche
MozReview-Commit-ID: 23YbAcCls1H

--HG--
extra : rebase_source : e70869f3cb88052cb756649e4581f6690363acfe
2017-03-31 19:03:03 +02:00
Franziskus Kiefer 9fda03a207 Bug 1359333 - detect aes-ni support, r=froydnj
MozReview-Commit-ID: 4cCVIntG9bD

--HG--
extra : rebase_source : 4e6d7450fa06417c3ab29e6c104f433e43c72df6
2017-03-31 18:59:56 +02:00
Andrea Marchesini 667a1e29ae Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug 2017-05-09 22:41:19 +02:00
Andrea Marchesini 18368ca143 Bug 1359087 - Use IPCBlob in FileHandle - part 4 - FileHelper::SyncCopy must work with asyncInputStream, r=asuth 2017-05-09 22:35:43 +02:00
Andrea Marchesini 018dbb6ceb Bug 1359087 - Use IPCBlob in FileHandle - part 3 - Changes in IndexedDB StreamWrapper, r=janv 2017-05-09 22:35:42 +02:00
Andrea Marchesini 13532cc30e Bug 1359087 - Use IPCBlob in FileHandle - part 2 - FileHandle and IPCBlob, r=janv 2017-05-09 22:35:42 +02:00
Andrea Marchesini 242df9338b Bug 1359087 - Use IPCBlob in FileHandle - part 1 - PPendingIPCBlob protocol, r=janv 2017-05-09 22:35:27 +02:00
Jeff Gilbert 5b7751c545 Bug 1310222 - Remove GL max-size reduction workarounds on OSX >=10.12 - r=daoshengmu
MozReview-Commit-ID: 7CmPNMB9PUM
2017-05-09 13:28:46 -07:00
Jeff Gilbert c77bde9df0 Bug 1310222 - Relax PoT requirement for resource size limits in WebGL. - r=daoshengmu
MozReview-Commit-ID: 33kGMdPOHkT
2017-05-09 13:28:44 -07:00
Lee Salzman 21df35f2e0 Bug 1357692 - followup - extra fuzz for D2D box-shadow reftest. r=me 2017-05-09 16:27:19 -04:00
Kyle Machulis a3738835c9 Bug 1323339 - Modify WebAuthn mochitests to work with IPC API; r=jcj r=baku
Change tests to run serially with async API, since order is no longer
enforced by the IPC protocol being synchronous.

MozReview-Commit-ID: 9BtnsVhDvPS
2017-05-09 13:21:24 -07:00
Kyle Machulis 00a81563a5 Bug 1323339 - Add U2FSoftToken Manager; r=baku r=jcj
Takes functionality from NSSU2FToken/NSSU2FTokenRemote classes, and
moves it into a U2FSoftToken class. Leaves
NSSU2FToken/NSSU2FTokenRemote classes intact so as not to break U2F
API code (to be ported to async IPC in bug 1354330).

MozReview-Commit-ID: El2MCcYUrtE
2017-05-09 13:21:23 -07:00
Kyle Machulis 4f61492d32 Bug 1323339 - Add U2FTokenManager class and support IPC Parent classes; r=jcj r=baku
Takes functionality that was in the WebAuthentication class that now
needs to be handled by the parent process, and moves it to the
U2FTokenManager singleton class. U2FTokenManager is created on the
PBackground thread during the first WebAuthn transaction, and manages
hardware access and transaction management for the lifetime of the
browser session. Patch also adds parent classes for WebAuthn IPC
protocol.

MozReview-Commit-ID: EnhgUTPdlMZ
2017-05-09 13:21:23 -07:00
Kyle Machulis e0c24a5abd Bug 1323339 - Add WebAuthnManager and support IPC Child classes; r=jcj r=baku
Takes functionality once in the WebAuthentication DOM class that needs
to be handled by the content process, and moves it to a
singleton (per-content-process) manager class. This allows the
WebAuthn API to centralize management of transactions and IPC
channels. Patch also creates the child (content-process) classes for
WebAuthn IPC channels.

MozReview-Commit-ID: 6ju2LK8lvNR
2017-05-09 13:21:23 -07:00