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

569425 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt 62787012f8 Bug 1417365 - Unified build issues in dom/base. r=baku 2017-10-26 10:40:12 +01:00
Jonathan Watt 7c5d39a558 Bug 1417021 - Fix various non-unified build errors in imagelib. r=aosmond 2017-10-24 23:22:55 +01:00
Paul Bone 81ed10de01 Bug 1409324 (part 2) - Add a new timer for nursery chunk allocation r=sfink
--HG--
extra : rebase_source : 854dd2ddda133992c29ad0ef8ce1ec1a0f9c8d40
2017-11-14 20:30:34 +11:00
Paul Bone 1c10788500 Bug 1409324 (part 1) - Remove old resize profiling from GCMinor. r=sfink
Now that the nursery uses lazy allocation the resize decision is going to be
very quick, there's no point profiling it here.

--HG--
extra : rebase_source : 4433e516ecd1570ae38cc3647e19a0071f30a6b2
2017-11-13 10:43:27 +11:00
Andrea Marchesini 155b15b8e0 Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly
This patch uses MozURL in ServiceWorkerRegistrar and in DBScheme to obtain the
origin of a URL. This is safe because the URL is always http/https/ftp.

It also changes the serialization of Principal in nsJSPrincipals in order to
pass the originNoSuffix together with the OriginAttributes and the spec.
2017-11-15 11:19:26 +01:00
Andrea Marchesini ed78be27fa Bug 1416724 - part 4 - AbstractThread::Dispatch return value check in netwerk/base, r=smaug 2017-11-15 07:58:03 +01:00
Andrea Marchesini 4b1b084ce7 Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
Andrea Marchesini 06ee70f01c Bug 1416724 - part 2 - MutableBlobStorage should check the return value of TaskQueue::Dispatch(), r=smaug 2017-11-15 07:58:03 +01:00
Andrea Marchesini eedd5e2174 Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
Noemi Erli f24a75f9b7 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-15 12:15:40 +02:00
Noemi Erli 550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Marco Castelluccio e225e00cb0 Bug 1417280 - Use shutil.move to move grcov output file instead of os.rename. r=me
os.rename doesn't work if dst and src are on different filesystems.

--HG--
extra : histedit_source : 6396f787cdbfbd085fac60fb7d520aaaddacff67
2017-11-15 10:14:56 +01:00
Marco Castelluccio fcd6d8d77b Bug 1416743 - Pass '--llvm' argument to grcov on Windows. r=jmaher
The Windows code coverage build is using LLVM, so we need to tell grcov that the artifacts are in the LLVM format.

--HG--
extra : rebase_source : 8507ce4e3614b24275350e48a761fd8a129e0e39
2017-11-15 10:02:59 +01:00
Lee Salzman 29099d481c Bug 1416607 - error when Moz2DImageRenderer fails to create a NativeFontResource or UnscaledFont. r=jrmuizel
MozReview-Commit-ID: Jool723LUFX
2017-11-14 23:15:31 -05:00
Andreea Pavel 3349ecafbd Backed out 1 changesets (bug 1402828) for failing devtools/client/netmonitor/test/browser_net_copy_as_curl.js r=backout a=backout on a CLOSED TREE
Backed out changeset 4d059e20a773 (bug 1402828)
2017-11-15 06:12:53 +02:00
Gabriel Luong 16731e0120 Bug 1387511 - Part 2: Format css-grid.js r=pbro 2017-11-14 22:02:51 -05:00
Gabriel Luong f085fec318 Bug 1387511 - Part 1: Use the grid negative number platform API to render negative line numbers correctly in css grid inspector. r=pbro 2017-11-14 22:02:44 -05:00
Matthew Gregan feb6071e04 Bug 1409904 - Don't bother logging when audioipc server's poll() hits EINTR. r=kamidphish
MozReview-Commit-ID: 854rPXdmbny
2017-11-15 15:40:23 +13:00
Andreea Pavel 3a1d0056a8 Backed out 1 changesets (bug 1416948) for already being pushed in autoland by bug 1416456 r=backout a=allstarschh on a CLOSED TREE
Backed out changeset 9dd7ba5308be (bug 1416948)
2017-11-15 04:31:23 +02:00
Marco Castelluccio 27407e68ed Bug 1416743 - Update grcov to version 0.1.29, bundling VC++ redistributable libraries. r=jmaher
grcov 0.1.29 can parse LLVM gcov data without the need of the external llvm-cov binary.

--HG--
extra : rebase_source : ad2452bf270168adee3ee7bbf53b1fa2f6d4efa6
2017-11-14 22:38:37 +01:00
Mark Banner 7f5c3c3582 Bug 1375689 - Turn on experimentalObjectRestSpread in ESlint options. r=mossop
MozReview-Commit-ID: BLZp3HskBji

--HG--
extra : rebase_source : 721d0586deb572a5e989547d592d741cc9d15950
2017-11-14 13:21:16 +00:00
Blake Kaplan a7ba580113 Bug 1389836 - Don't recreate mHandlerInfo for every little change. r=bz
There are non-cost reference return values on IPDL structs. We should take
advantage of them in order not to recopy everything everytime something
changes.

MozReview-Commit-ID: D4hG2moE3f

--HG--
extra : rebase_source : 4edca9b1a808f99dd60be908bbb197757bf9b90a
2017-11-14 15:37:47 -08:00
Eitan Isaacson d567085ce1 Bug 1414447 - Use displayed definitions in toolbox component for kb nav. r=jryans 2017-11-13 15:31:00 -05:00
Ya-Chieh Wu cc97d12776 Bug 1381153 - Part 2: Look up MayHaveTransformAnimation in nsIFrame. r=mstange
Find out where we use MayHaveTransformAnimation in EffectSet
and change them to MayHaveTransformAnimation in nsIFrame.

MozReview-Commit-ID: GhkztK8JtNa
2017-11-12 23:23:00 -05:00
Ya-Chieh Wu d2e5bc76eb Bug 1381153 - Part 1: Cache MayHaveOpacityAnimation and MayHaveTransformAnimation in nsIFrame. r=mstange, r=mats
There are two places where I have to cache the status of MayHaveOpacityAnimation
and MayHaveTransformAnimation. First place is in |nsIFrame:init()| where an
element is associated with a frame. Second place is in
|KeyframeEffectReadOnly::UpdateEffectSet()| where the script can add animations
on element.

btw I keep the original two flags of MayHaveOpacityAnimation and
MayHaveTransformAnimation in EffectSet because there is no guarantee that
an element has been associated with a frame when we call to |UpdateEffectSet()|.
But we still want to keep the benefits that we can quickly look up
MayHaveOpacityAnimation or MayHaveTransformAnimation. So I keep them in
EffectSet and transfer the status into nsIFrame when we bind an element
to a frame in nsIFrame:Init().

MozReview-Commit-ID: JDwyAQQTKA7
2017-11-13 18:15:00 -05:00
Marco Castelluccio 2b87b5c8d9 Bug 1417280 - Don't include intermediate folders in grcov ZIP file. r=jmaher
--HG--
extra : rebase_source : 272d72cc24f7075e693a447d4937af6e13b75104
2017-11-11 15:51:53 +01:00
Jan de Mooij 4d75391b6b Bug 1417028 - Shrink VMFunction size. r=nbp 2017-11-15 09:51:01 +01:00
Jan de Mooij ac5c31d028 Bug 1416592 - Deduplicate VMFunction wrapper code. r=nbp 2017-11-15 09:50:27 +01:00
shindli 385fb3428c Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Chris Peterson 768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Chris Peterson fecbada13a Bug 1415470 - build: Remove always-true version check for VS >= 2015. r=glandium
MozReview-Commit-ID: 1e4Xsw3U3LR

--HG--
extra : rebase_source : 72a94b544027ec9b1a4993f924dfc9490d37ff87
2017-11-10 18:24:53 -08:00
Chris Peterson 0c6b205207 Bug 1415470 - a11y: Fix VS2017 initializer list order warnings. r=yzen
Reorder DocAccessibleParent's and DocAccessibleChild's constructor initializer lists to fix these VS2017 warnings:

a11y/DocAccessibleParent.h(32): warning C5038: data member 'mozilla::a11y::DocAccessibleParent::mShutdown' will be initialized after data member 'mozilla::a11y::DocAccessibleParent::mEmulatedWindowHandle'

accessible/ipc/win/DocAccessibleChild.cpp(22): warning C5038: data member 'mozilla::a11y::DocAccessibleChild::mEmulatedWindowHandle' will be initialized after data member 'mozilla::a11y::DocAccessibleChild::mIsRemoteConstructed'

MozReview-Commit-ID: 8flWtpe13ob

--HG--
extra : rebase_source : 96528a886c099897df691623948d755eecda119f
2017-11-06 23:54:53 -08:00
Andrea Marchesini 73712f7d05 Bug 1405290 - Improve logging of workers when shutting down - part 3 - WorkerHolder with names, r=asuth 2017-11-15 07:58:38 +01:00
Andrea Marchesini cae6951635 Bug 1405290 - Improve logging of workers when shutting down - part 2 - Implement RuntimeService::CrashIfHanging(), r=asuth 2017-11-15 07:58:38 +01:00
Andrea Marchesini 2ec09fb927 Bug 1405290 - Improve logging of workers when shutting down - part 1 - WorkerHolder must assert in release, r=asuth 2017-11-15 07:58:38 +01:00
Andrea Marchesini 4432192149 Bug 1416724 - part 4 - AbstractThread::Dispatch return value check in netwerk/base, r=smaug 2017-11-15 07:58:03 +01:00
Andrea Marchesini 642cdd108b Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
Andrea Marchesini 6047f2533d Bug 1416724 - part 2 - MutableBlobStorage should check the return value of TaskQueue::Dispatch(), r=smaug 2017-11-15 07:58:03 +01:00
Andrea Marchesini e521e16895 Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
Bevis Tseng a22e59eff8 Bug 1414136 - Fix test failures in session history relying on non-comformant Promise handling. r=sawang 2017-11-10 10:33:25 +08:00
Lee Salzman 011e836339 Bug 1416607 - follow-up - typo fix in error message. r=me 2017-11-14 23:27:16 -05:00
Blake Kaplan 47a7f17127 Bug 1389836 - Push extensions from MIME info objects to the child. r=bz
It would be really nice to push all of this back up to the parent or to at
least make it asynchronous. I think it should be possible since we control
when we send the DOM events, but for the moment this should work.

With this patch, I extend ProxyMIMEInfo and HandlerInfo with information about
the available extensions for a given MIME type. On Linux, at least, we read
the system (in my case GNOME) registry in the child and handlers.json in the
parent finally merging them again in the child (in
ContentHandlerService::FillHandlerInfo). Even though I was unable to get my
mochitest to work, it did work well enough that I could verify that this patch
was getting all of the proper extensions to the nsContentAreaDragDrop.cpp
code.

MozReview-Commit-ID: AR3VayMUiDN

--HG--
extra : rebase_source : f9861e46e92fb7e8d297eff3e5d61a3c18912b47
2017-11-01 17:49:22 -07:00
Blake Kaplan 192a69cf57 Bug 1389836 - Put HandlerServiceChild in the proper namespace. r=bz
Non ns-prefixed classes are supposed to be in either the mozilla namespace or
a sub namespace (such as dom, css, or others).

MozReview-Commit-ID: 8bF6bP49NLG

--HG--
extra : rebase_source : bfa5e6da36c49ea7bb333eb58d168ef614c07c0b
2017-10-25 14:58:50 -07:00
Ethan Lin 8e57800f5a Bug 1416076 - We should set visible rect to display item before computing visibility. r=mattwoodrow
MozReview-Commit-ID: HngrLGSS6St

--HG--
extra : rebase_source : deac5b74dd8490a39c08f6944c359f27bc3cd7f9
2017-11-13 15:48:01 +08:00
Ray Lin c49fb9da0d Bug 1415836 - Make form autofill dropdown footer text centered. r=lchang
MozReview-Commit-ID: Aw8bQFlGQj3

--HG--
extra : rebase_source : d1e707b458cc9de278a79604663860ea5cb4e6a6
2017-11-15 11:49:00 +08:00
Hiroyuki Ikezoe 1db8e96c69 Bug 1415729 - Make 'necessary_update_should_be_invoked' test in file_restyles.html more strict. r=birtles
Before this change, the test calls getAnimations() after changing animation
duration.  Unfortunately it was wallpapering what's going on there actually
since getAnimations() flushes pending styles.  This patch drops the
getAnimations() call and makes it clear how many restyles happen there.

MozReview-Commit-ID: A0a5MlTyBnD

--HG--
extra : rebase_source : cc20d2c6945f81f72c753137441b8d84ff52ff63
2017-11-15 13:43:20 +09:00
Hiroyuki Ikezoe 4ed9f9ddff Bug 1415729 - Use arrow function in file_restyles.html. r=birtles
MozReview-Commit-ID: AcjDRK36d9d

--HG--
extra : rebase_source : 2d853c3c4702e775275a49f2eb3552ef00b7d295
2017-11-15 12:30:04 +09:00
John Lin 93c62b59f7 Bug 1417006 - remove tombstone files but keep the directory. r=dminor
MozReview-Commit-ID: Ds87KZ47vf1

--HG--
extra : rebase_source : 0578a58107b39abb546758cd8aa21c89e7b4b81f
2017-11-13 16:10:35 +08:00
Kevin Chen 49b2130100 Bug 1415469 - Remove mDeviceResetSequenceNumber from TDR process since we don't need it anymore; r=dvander
MozReview-Commit-ID: 3uQQwW8QOJA

--HG--
extra : rebase_source : ab6090ad51a2a4714f1739a30d854d624d187239
2017-11-08 15:26:43 +08:00
Tom Ritter d86bb6f599 Bug 1414067 Fix the compiler test for FORTIFY_SOURCE r=glandium
MozReview-Commit-ID: 8ozY0Zbuczx

--HG--
extra : rebase_source : 7c99ea332b0da1ac20ec1037fb0dc4ac9088d8f8
2017-11-14 12:13:30 -06:00