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

550927 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 09bd1a691e Bug 1383628. P1 - divide Clone() into 2 functions. r=gerald
Now we have a non-virtual Clone() and a virtual CloneImpl().
We will call Load() inside Clone().

MozReview-Commit-ID: Hd6p206Brhq

--HG--
extra : rebase_source : fe30611f6524234d98494cd55453140e3b78c7d6
extra : source : 517cd32514e65cf5f6cd7fe46acecd7f9aea6310
2017-08-03 17:39:55 +08:00
Alastor Wu 0528b73bd3 Bug 1387917 - Turn on the pref media.block-autoplay-until-in-foreground by default. r=bwu
MozReview-Commit-ID: 7KNLYSeSXDu

--HG--
extra : rebase_source : 902783cd494514d3bb5921f8da062414c5039662
2017-08-07 10:34:30 +08:00
Cameron McCormack 044f1f8951 Bug 1387481 - Part 2: Crashtest. r=hiro
MozReview-Commit-ID: 8B7GcjqNZQf

--HG--
extra : rebase_source : 65972249a062731c5d5a3e15ea860cf3e3ecdcb8
2017-08-05 17:36:09 +08:00
Cameron McCormack 536fe8ffa0 Bug 1387481 - Part 1: Don't eagerly style editor-created NAC if it's appended to an element in a display:none subtree. r=hiro
MozReview-Commit-ID: 7bucY7JKRS0

--HG--
extra : rebase_source : 8a4fd542fe72c6abc0636784841d3851c69b6fb4
2017-08-05 17:36:09 +08:00
gasolin d5ec85700b Bug 1387220 - [onboarding]document how to show notification and snippets;r=mossop
MozReview-Commit-ID: 47UIKw4NAQX

--HG--
extra : rebase_source : eb34d2ee4b146754c9337b6b314f3c9ab17643d8
2017-08-04 10:52:13 +08:00
Henry Chang 4a3106b91e Bug 1375277 - Test case for new error code NS_ERROR_HARMFUL_URI. r=francois
The test is based on "test-harmful-simple" so we can add testing entries
in a human-readable way.

MozReview-Commit-ID: IJcYrp04uFs

--HG--
extra : rebase_source : afc4329af4cd5fc31a783a8f0f2e3a4bdcb2a432
extra : source : 55a2e275514d2154a23a656e48f685cc6032e5c3
2017-07-28 17:38:01 +08:00
Henry Chang a93f3d2ba4 Bug 1375277 - Move Safe Browsing UI events to a separate telemetry probe. r=francois
MozReview-Commit-ID: KDAklsznekw

--HG--
extra : rebase_source : 20d81369b18b12d9b5f6670d92bf3c7215c8c9a9
extra : intermediate-source : a2d99a6b07bb015f0bdc5c1687e250086ed09a5c
extra : source : 5460dbfebee4f99580b306a9b0ec754b890f5959
2017-08-02 14:01:44 +08:00
Eric Rahm 7301b9928c Bug 1380154 - Part 3: Cache most recently used eTLD entries. r=njn, r=jduell
This adds a most recently used (MRU) cache for the most common base domain
requests (aAddtionalParts == 1). With a table size of 31 I saw 8777 hits and
22 misses when loading twitter, youtube, and techcrunch. In stress testing
this provided a 75% reduction in run time.


MozReview-Commit-ID: 3JgCwIZagMs
2017-07-27 18:35:00 -07:00
Henry Chang af3b11c151 Bug 1375277 - New safebrowsing threat type "POTENTIALLY_HARMFUL_APPLICATION" introduced by v4. r=francois
As our threattype-listname conversion design, "goog-harmful-proto" is allocated
for this new threat type. This threat type is mainly for mobile.

MozReview-Commit-ID: G9GbgmHHHfp

--HG--
extra : rebase_source : 0681fcd9322b94451a86eafe57bf1ccc4b89db30
extra : intermediate-source : 28b0502d9add81beeae58a2c33f9fd5839d4d544
extra : source : 646f02f15131aa98ad37015b0a641304a3271796
2017-07-27 15:37:57 +08:00
Cameron McCormack bbe6006497 servo: Merge #17990 - style: Invert storage of selector maps to key off origin first (from heycam:invert-selector-maps); r=emilio
<!-- Please describe your changes on the following line: -->

This will make it easier to avoid rebuilding all cascade levels when only a style sheet at a particular level changes.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: cc1aab35ea11415d8c5fb3e33c745434b8a5ec2d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : abc4bde3d17e73a101c2d17824384f752fbc3392
2017-08-07 04:03:24 -05:00
Sylvestre Ledru 289b4ecd71 Bug 1387376 - Reserve memory before using push_back with vector r=jesup
MozReview-Commit-ID: CrSFN0Ov1B4

--HG--
extra : rebase_source : 9863893841abcc1c7ef35932160cdbddaa535e45
2017-08-04 21:28:50 +02:00
Sylvestre Ledru a85265140e Bug 1387376 - Reserve memory before using push_back with vector r=nical
MozReview-Commit-ID: BOyPShEVfzt

--HG--
extra : rebase_source : 2564c80f5ac593927d9b104199e0b747f9ab887b
2017-08-04 11:35:33 +02:00
Alastor Wu c3e56a33cd Bug 1367983 - correct comment. r=jwwang
We still need to keep the resource on Android, otherwise the frame we render would be wrong.

MozReview-Commit-ID: 2d6sfIuhfWY

--HG--
extra : rebase_source : f509027bd8d225de2d65c59510650a178038a2ff
2017-08-07 15:48:49 +08:00
Alexandre Poirot 9bf42dcb14 Bug 1078284 - Disable WebIDE tests on all but optimized builds. r=jryans
MozReview-Commit-ID: 7ORmJaJIrtD

--HG--
extra : rebase_source : 59de740a09959caca3eae41ee88983aac8edeb59
2017-08-03 12:26:44 +02:00
Nazım Can Altınova be2cdc1022 servo: Merge #17986 - Implement ToAnimatedZero for MozLength (from canaltinova:moz-length); r=hiro
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1382168](https://bugzilla.mozilla.org/show_bug.cgi?id=1382168)

Source-Repo: https://github.com/servo/servo
Source-Revision: 74c2117b0a3c787298676b086106acda00a026c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cfdbc99a46e9acd5d27bcfbd86e502b4ff7cc909
2017-08-07 03:08:09 -05:00
Johann Hofmann e7637361f1 Bug 1387971 - Fix centering of website names in the permission dialog. r=prathikshaprasadsuman+580428
MozReview-Commit-ID: ErDAZIW2cNM

--HG--
extra : rebase_source : 4925a27442bd59b034ef9d8f05892a888c48d9f4
2017-08-07 10:08:54 +02:00
Jean-Yves Avenard 8682fd60e2 Bug 1387801 - Reject invalid H264 content. r=gerald
MozReview-Commit-ID: 9m42TIYgis4

--HG--
extra : rebase_source : b6b7d167c40219b8af97dd3f05e079d4b8db4239
2017-08-06 17:39:03 +02:00
Bobby Holley e4c12083df servo: Merge #17988 - Use a 1-entry smallvec in the selector maps (from bholley:smallvec_selectormap); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1363789

Source-Repo: https://github.com/servo/servo
Source-Revision: 19d862a984d11c9d4f97d50924ad2d5fdabaf7e9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 32bf56e12ad3c261f410cc55c13e4d4e8b192b67
2017-08-07 02:00:02 -05:00
Gian-Carlo Pascutto 60d25346d1 Bug 1386558 - Check sandboxing level 2 after permissions are available. r=jld
MozReview-Commit-ID: 9Pqwk45pJbe

--HG--
extra : rebase_source : 1c21f21d04cddd6c00e5f495c6686c671aa9cac1
2017-08-03 12:31:37 +02:00
Gian-Carlo Pascutto 36784f22aa Bug 1385891 - Whitelist things in the extension dir, not just the dir itself. r=jld
MozReview-Commit-ID: 3DryT8mm1F3

--HG--
extra : rebase_source : 23a8bda22307687884aa73d454221a78a4922791
2017-08-04 09:48:32 +02:00
Cameron McCormack be74891fba servo: Merge #17987 - style: Remove stray debugging println (from heycam:rm-println); r=upsuper
Left this in accidentally in #17981.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cf2551eaeaa04f2f1d922a076c00c8b56e0eecfa
2017-08-07 00:52:22 -05:00
Matthew Noorenberghe 7da630dcc5 Bug 1387634 - Update unsupported @autocomplete token list to reflect the autofill MVP. r=smaug
Also remove stale expected failures for region and locality.

MozReview-Commit-ID: 7McvaCWfY3a

--HG--
extra : rebase_source : e94b5e30df85f911fe8f5ce52dbd6459efbc92df
2017-08-04 16:15:31 -07:00
James Cheng 238e3be549 Bug 1387314-Remove NS_DispatchToMainThread and use nsIEventTarget to dispatch instead. r=cpearce
MozReview-Commit-ID: EcEQlLLhU5z

--HG--
extra : rebase_source : bc44b7815a80bb1c63a0a32c82936eac3a311108
2017-08-04 11:31:15 +08:00
Eden Chuang 0e6944b975 Bug 1382092 - Mochitest for supporting default payment UI in DOM code. r=baku
--HG--
extra : rebase_source : 0323538ef3a6e102d7af9f1bdab7f8fea63fd096
2017-07-24 17:18:27 +08:00
Eden Chuang 1bc5cd0145 Bug 1382092 - Support default payment UI service in DOM code part 2. r=baku
--HG--
extra : rebase_source : e0ac34360b83bd5929063ae1dd9616f4071f025e
2017-08-04 17:24:59 +08:00
Eden Chuang 8efd2c7666 Bug 1382092 - Support default payment UI in DOM code part 1. r=MattN
--HG--
extra : rebase_source : 6bbf36ad944536536ec94c9b9caa8a3c67f9f40b
2017-08-07 11:13:04 +08:00
Hossain Al Ikram 3b85b6bac5 Bug 1387720 - Remove deprecated getTopWin function. r=dao 2017-08-05 08:26:00 -04:00
Carsten "Tomcat" Book e4e4f5b9a5 Merge mozilla-central to mozilla-inbound 2017-08-07 13:26:34 +02:00
Carsten "Tomcat" Book 0c5d14bebd Merge mozilla-central to mozilla-inbound 2017-08-07 13:07:13 +02:00
James Graham c5d28e1e9b Bug 1387534 - Update test metadata to reflect the fact it fails on all OSX builds, a=testonly
MozReview-Commit-ID: 4vOGDMIMN26
2017-08-07 11:53:51 +01:00
JerryShih 5d101602fb Bug 1357299 - P12: Add SyncObject in RendererOGL. v2. r=nical
With DXVA2 hardware-video-decoding, the RendererOGL should have a
synchronization mechanism to prevent the flickering of video texture.
Create a SyncObject in RendererOGL to do the texture synchronization.

The WebRenderAPI also exposes the RendererOGL's SyncHandle to
WebRenderBridgeParent. Then, the WebRenderBridgeParent could pass this SyncHandle
to the video decoding module for texture synchronization.

MozReview-Commit-ID: toQ2mO5fzG
2017-08-07 18:15:25 +08:00
JerryShih 061742e951 Bug 1357299 - P11: Update layers, dxva and vr module to use SyncObjectChild. v3. r=mattwoodrow,dvander
MozReview-Commit-ID: 4HTPz0YcYHq
2017-08-07 18:15:24 +08:00
JerryShih 3d8f544df7 Bug 1357299 - P10-1: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. r=dvander
From bug 1163440, there is an additional AcquireSync() call around the swapChain::Present(). Export the KeyedMutex from SyncObjectD3D11Host for this synchronization.

MozReview-Commit-ID: 8mPs4jKj67W
2017-08-07 18:15:24 +08:00
JerryShih e60ceae85f Bug 1357299 - P10: Update MLGDeviceD3D11 and CompositorD3D11 to use SyncObjectHost. v2. r=mattwoodrow,dvander
MozReview-Commit-ID: 1a0Ho7smkAx
2017-08-07 18:15:24 +08:00
JerryShih 50bd333891 Bug 1357299 - P9: Do the refactoring for SyncObject. v2. r=mattwoodrow,dvander
The MLGDeviceD3D11, CompositorD3D11 and TextureClient use the same synchronization mechanism.
Create the new SyncObjectClient/Host types for reusing code.

Add SyncObject.cpp/h and create two new data types: SyncObjectClient and SyncObjectHost.
The SyncObjectClient is used for the TextureClient synchronization at client side.
The SyncObjectHost is used for the TextureHost synchronization in renderers such
as MLGDeviceD3D11 and CompositorD3D11.

MozReview-Commit-ID: 3l56WK1aZ15
2017-08-07 18:15:23 +08:00
JerryShih 384661a8d6 Bug 1357299 - P8: Add some function result checkings for DXVA2 video decoding. r=mattwoodrow
Check the buffer appending status for the video sample object.
Check for the IMFTransform output status.

MozReview-Commit-ID: J0bn6NB7gi0
2017-08-07 18:15:23 +08:00
JerryShih 339fc2e58c Bug 1357299 - P7: Fix unified-build build break. r=mattwoodrow
MozReview-Commit-ID: GSUxyWUfBVt
2017-08-07 18:15:23 +08:00
JerryShih 0556445e64 Bug 1357299 - P6: Turn on DXVA with LAYERS_WR and ANGLE backend. v2. r=mattwoodrow
MozReview-Commit-ID: EOOp0Dzenub
2017-08-07 18:15:23 +08:00
JerryShih 6528324a47 Bug 1357299 - P5: Pass KnowsCompositor instead of ShadowForwarder to media decoder. v2. r=nical
If we use WebRender, there is no ShadowForwarder with this configuration.
So, use the AsKnowsCompositor() instead.

MozReview-Commit-ID: KMcfdwySKDL
2017-08-07 18:15:22 +08:00
JerryShih 54c85f4bbb Bug 1357299 - P4: Get the gl handle from d3d shared texture handle. v2. r=jgilbert
MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
JerryShih f488575a07 Bug 1357299 - P3: Support DXGI texture type for WR. v2. r=nical
Create the corresponding RenderTextureHost type and WR commands for DXGI texture type.

The DXGITextureHostD3D11 will use 1 or 2 image keys for non-nv12 and nv12 texture format.

The DXGIYCbCrTextureHostD3D11 is a special case. The WR uses ANGLE in windows platform,
but the ANGLE doesn't support A8 format directx texture directly. So, we use libyuv to
convert the DXGIYCbCrTextureHostD3D11 texture buffer into RGBA format buffer and use
WR::AddImage() for that image. This is a slow code path. We will refine this case later.

The whole RenderD3D11TextureHostOGL implementation is in the next patch.

MozReview-Commit-ID: F4mPCALj1OY
2017-08-07 18:15:22 +08:00
JerryShih 9fdb7a255f Bug 1357299 - P2: Remove the unused IsWrappingNativeHandle() function in WebRenderTextureHost. r=nical
All WR texture related codes are move into GetWRImageKeys(), AddWRImage() and PushExternalImage().
Each texture type could generate its WR commands individually. So, this "mIsWrappingNativeHandle" flag is not used anymore.

MozReview-Commit-ID: 1TITkGRemAr
2017-08-07 18:15:21 +08:00
JerryShih 0081892f19 Bug 1357299 - P1-1: Fix the wrong return value for DestroyStreamKHR(). r=jgilbert
MozReview-Commit-ID: 4OMHJka03Kd
2017-08-07 18:15:21 +08:00
JerryShih 866d845e94 Bug 1357299 - P1: Fix the wrong ext string for QueryDisplayAttribEXT. v2. r=jgilbert
MozReview-Commit-ID: 3lZG2GrxXHF
2017-08-07 18:15:21 +08:00
Nicholas Nethercote 0694869bf4 Bug 1385197 - Clarify the how and why of JS line number getting in AddPseudoEntry. r=mstange.
The new code preserves the existing behaviour, but it clearer, and gets rid of
two XXX comments.

--HG--
extra : rebase_source : db434de38bcf585771cdc7d93fd7f24471fb0c1c
2017-07-28 17:19:47 +10:00
Eden Chuang 4c09ce6369 Bug 1382092 - Mochitest for supporting default payment UI in DOM code. r=baku 2017-07-24 17:18:27 +08:00
Eden Chuang a6937d64f9 Bug 1382092 - Support default payment UI service in DOM code part 2. r=baku 2017-08-04 17:24:59 +08:00
Eden Chuang 88b726da47 Bug 1382092 - Support default payment UI service in DOM code part 1. r=MattN 2017-08-04 17:24:54 +08:00
Sebastian Hengst b52285fffc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: LBuvGxGDK9k
2017-08-06 11:05:44 +02:00
Masatoshi Kimura 06311d2e3a Bug 1375125 - Remove nsILocalFile. r=froydnj
MozReview-Commit-ID: 6oU6Ya5UXtC

--HG--
extra : rebase_source : 55b6e30aa348c1b939326698b0da7d72c26b479c
2017-08-05 09:43:49 +09:00