Commit Graph

550771 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
d44684ea6e Merge mozilla-central to autoland 2017-08-07 13:27:35 +02:00
Carsten "Tomcat" Book
bd39b6170f Backed out changeset ebb30b6d6184 (bug 1380639) on request from sebastian 2017-08-07 13:23:57 +02:00
Carsten "Tomcat" Book
546b19363f Backed out changeset 514cf1f55c6f (bug 1380639) 2017-08-07 13:23:35 +02:00
Carsten "Tomcat" Book
a24b9505f9 Merge mozilla-central to autoland 2017-08-07 13:16:54 +02:00
Carsten "Tomcat" Book
e54b14cf9a merge mozilla-inbound to mozilla-central a=merge 2017-08-07 12:56:05 +02:00
Emilio Cobos Álvarez
288d392ecd servo: Merge #17991 - style: Avoid branching on the origin for each selector when inserting in the cascade data (from emilio:dumb-branches); r=heycam
This is on top of #17990, and it's intended to help with bug 1386045.

Source-Repo: https://github.com/servo/servo
Source-Revision: 806540cabdbca1799dd14bb1c67bd0c86b21f6a7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 618224ec519ee0cb985d6e345c0ea1dedad3f5e8
2017-08-07 05:15:37 -05:00
Dão Gottwald
e8713ffdd1 Bug 1387723 - Remove --toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted. r=johannh
--toolbarbutton-icon-fill and --toolbarbutton-icon-fill-inverted are largely unused;
only the dark theme uses --toolbarbutton-icon-fill-inverted as intended to change
icon colors. The variables are footguns in that people think they should somehow use
them when they really shouldn't, see bug 1384898, bug 1384893, bug 1384895, and
pocket.css.

MozReview-Commit-ID: 8qAZAWJDkrt

--HG--
extra : rebase_source : f34d93eccd3d54c31791b3de098a8e22bee48f84
2017-08-05 16:11:12 +02:00
Matthew Noorenberghe
cb484a7a5a Bug 1387611 - Delay formautofill system add-on updates until the next restart. r=lchang
MozReview-Commit-ID: 6f4FhTg0KaA

--HG--
extra : rebase_source : 17926e3f4139f1d91bd4e18c369dc0a0441562d6
2017-08-04 15:44:34 -07:00
cku
dc53be7e42 Bug 1386864 - Part 2. Implement CompareLayers to reuse the code in AddAndRemoveImageAssociations. r=heycam
MozReview-Commit-ID: Aw9uJ8UFipj

--HG--
extra : rebase_source : 46457cfd25d918ad65327ac9a062ddf7bf973ee1
2017-08-04 17:01:21 +08:00
cku
e39dc2b278 Bug 1386864 - Part 1. Compare image-data of two style-image objects only if both of them are resolved. r=heycam
MozReview-Commit-ID: 3gjoN9wNPlH

--HG--
extra : rebase_source : c1970147ede5cb3f3f94f3dd69100d92da573edf
2017-08-04 16:40:04 +08:00
Hiroyuki Ikezoe
0f0a5e0807 Bug 1387910 - Set content property other than neither 'normal' nor 'none' to generate pseudo element properly. r=boris
MozReview-Commit-ID: AAGCZOXFMOk

--HG--
extra : rebase_source : ceff586cd85d9662bcfd235d884c2db90a1ddec8
2017-08-07 11:35:36 +09:00
Andrew Swan
6e5839271b Bug 1382689 Fix "Remove" button on details page for a legacy extension
Also updated addon listeners in extensions.js to use Set instead of
arrays and added a way to listen to AddonListener events on any addon.

MozReview-Commit-ID: Ev3kJgcr30G

--HG--
extra : rebase_source : 8f6ab458dc4ed82303631c0db1fa57849f149592
2017-07-31 17:23:01 -07:00
Nicholas Nethercote
f941156987 Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.

--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Yoshi Huang
d970f62650 Bug 1366209 - rewrite dom/base/test/test_bug331959.html. r=smaug 2017-08-07 10:13:04 +08:00
sotaro
9be589ac3c Bug 1387352 - Avoids falling into the fallback codepath for async ImageContainers in layers-free mode r=kats 2017-08-07 11:09:50 +09:00
Phil Ringnalda
985060f524 Bug 1303802 - reenable rootNode test chunk now that we don't have a rootNode implementation so the rootNode test which failed when we had one now passes when we don't have one
MozReview-Commit-ID: 45C8gxzo8p3
2017-08-06 18:41:50 -07:00
Ryan VanderMeulen
fa85433426 Merge inbound to m-c. a=merge 2017-08-06 21:18:07 -04:00
Manish Goregaokar
b74c4d0f69 Bug 1386915 - Add nsLookAndFeel::NativeInit() virtual call for initializing native-side state; r=jfkthame
MozReview-Commit-ID: 8XKSC1AOI0N
2017-08-06 15:41:08 -07:00
Manish Goregaokar
89df80e7d0 Bug 1386915 - Assert when nsLookAndFeel calls GTK off main thread; r=bholley
MozReview-Commit-ID: 9H9dE02bZel
2017-08-06 15:41:05 -07:00
Phil Ringnalda
e760ae7c08 Backed out changeset 5020a2dcb8a7 (bug 1355576) for failures in test_ext_browsingData.js
MozReview-Commit-ID: BVSLvIkK5Wd
2017-08-06 15:29:38 -07:00
Christoph Kerschbaumer
2e072b2667 Bug 1387812 - Convert docshell/test/test_bug694612.html to comply with new data: URI inheritance model. r=smaug 2017-08-06 12:13:08 +02:00
Sebastian Hengst
2c9fcc2dc1 Backed out changeset 869c1393d5e2 (bug 1382092) for failing browser-chrome's browser_all_files_referenced.js. r=backout 2017-08-06 16:38:28 +02:00
Sebastian Hengst
510fea6625 Backed out changeset c54efba3a04f (bug 1382092) 2017-08-06 16:37:23 +02:00
Sebastian Hengst
20b517f5a7 Backed out changeset b532acf3b5ea (bug 1382092) 2017-08-06 16:37:18 +02:00
Karl Tomlinson
7f6c7692a4 bug 1365556 invalidate widget style contexts after their ancestors are set r=stransky+263117
Although this is only known to affect buttons with builtin child widgets, it
is difficult to audit all GTK widgets for similar situations, and so the same
defense is applied to all widgets.

MozReview-Commit-ID: LMVXX3UYqR9

--HG--
extra : rebase_source : d327addad8d2b0e070c6ca86c6e38271c8431a23
2017-08-01 09:17:46 +12:00
JW Wang
b2d75fa057 Bug 1383628. P5 - move CanClone() from MediaResource to BaseMediaResource. r=gerald
1. we move clone related methods to BaseMediaResource which is the only cloneable sub-class of MediaResource.
2. add CanClone() to ChannelMediaDecoder to reduce the dependency on MediaResource for HTMLMediaElement.
   MediaResource should be internal details to MediaDecoder.

MozReview-Commit-ID: Hl2nAiuyTO0

--HG--
extra : rebase_source : 43dd9ee33ef2ef2e9093eb6b264dc174379d61d2
extra : source : 978ded48a90f2c407c4545486243acabf492736a
2017-08-04 15:29:55 +08:00
JW Wang
163c6a8c8b Bug 1383628. P4 - move CloneData() and Create() from MediaResource to BaseMediaResource. r=gerald
Now we can store a more specific resource type in ChannelMediaDecoder.

MozReview-Commit-ID: EzXC547O7aR

--HG--
extra : rebase_source : eea1872eeeee9b5964fcc767c79b0315bf277602
extra : source : 84011bf4847bbed26e89af0b831aded93522f7ac
2017-08-04 14:52:22 +08:00
JW Wang
da1e4aeb7b Bug 1383628. P3 - devirtualize Load() which has no overrides. r=gerald
MozReview-Commit-ID: EZ9jcHiWGZb

--HG--
extra : rebase_source : 6e1547598a5ac1a797ce09d79dc7f2935678570c
extra : source : c7362776a480758a9c12ed69cc155b19872bd238
2017-08-03 17:48:26 +08:00
JW Wang
a8a917b8bb Bug 1383628. P2 - move the call to Load() into Clone(). r=gerald
MozReview-Commit-ID: 9k8BXLwAepI

--HG--
extra : rebase_source : 52d3fb871bad53691585e774c2745f328592eb3f
extra : source : cdc492f87aa634eaaae0809aacb261ad25be7b08
2017-08-03 17:47:23 +08:00
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
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