522019 Commits

Author SHA1 Message Date
Thom Chiovoloni
c396116b69 Bug 1337993 - Ensure we mark all current bookmarks for reupload when bookmark engine enabled state changes. r=kitcambridge
MozReview-Commit-ID: 4gOmqrzUr77

--HG--
extra : rebase_source : ee645449c2bb08cc13a6b9040a0bbdd506d5c0a3
2017-02-13 14:28:06 -05:00
Jared Wein
df85eed31c Bug 864562 - CustomizeMode should use CSS variables for setting LWT properties. r=mikedeboer
MozReview-Commit-ID: 5ZLJ0HNbJ9w

--HG--
extra : rebase_source : c6cf32963087b3234cc4150933b1b63b7078d1b3
2017-02-22 15:50:41 -05:00
Jared Wein
d4b439fe74 Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14

--HG--
extra : rebase_source : 39e776516c87dbe3243787023cb369df71c7d3d2
2017-02-22 14:13:09 -05:00
Jared Wein
4aa25796e4 Bug 864562 - Declare lwtheme CSS in tabs.inc.css since we don't need to iterate rules anymore. r=MattN
MozReview-Commit-ID: 4N48zKJUVWs

--HG--
extra : rebase_source : 15198938eeca602c4ea4a9f60afb85d4842064aa
2017-02-21 11:42:29 -05:00
Jared Wein
29dd67b0f0 Bug 864562 - Use CSS variables for lightweight theme styling. r=MattN
Original patch written by Raj Meghpara <meghpararajkumar@gmail.com>

MozReview-Commit-ID: 8z6tmUG0gdN

--HG--
extra : rebase_source : 55ed5125ce7ed3de660490a91ab23885eaf49351
2017-02-21 11:33:21 -05:00
Andrew Swan
50f849ca2b Bug 1334096 Show permissions prompts when a sideloaded extension is enabled r=mossop
MozReview-Commit-ID: 1yXgkBg6W1p

--HG--
extra : rebase_source : 5eb54baafbf80e79c2901ff23eecfa9f017ee22f
2017-02-15 15:40:56 -08:00
Sylvestre Ledru
f3f518368c Bug 1340878 - Update the list of thirdparty codes in ThirdPartyPaths.txt r=mystor
MozReview-Commit-ID: 4a5ZPhirtPY

--HG--
extra : rebase_source : 068acca11c3a9e69c55ac06b392287c51caf5dd2
2017-02-19 14:21:25 +01:00
Carsten "Tomcat" Book
5ccad059ee Merge mozilla-central to autoland
--HG--
rename : tools/profiler/public/ProfileGatherer.h => tools/profiler/gecko/ProfileGatherer.h
extra : rebase_source : 219f3f7f5b61be4936a76f908b93b1c89b1e1701
2017-02-23 15:37:51 +01:00
Carsten "Tomcat" Book
e6b82618f4 merge mozilla-inbound to mozilla-central a=merge 2017-02-23 14:59:37 +01:00
Sebastian Hengst
0c5732d145 Bug 1341586 - Fix localization of Inspector's attribute context menu by adding quotations to the values: Fix quote characters. r=test-fix on a CLOSED TREE 2017-02-23 10:28:54 +01:00
Jan Beich
c824cc6355 Bug 1339075 - stylo: don't force mozjemalloc on Tier3 platforms. r=froydnj
MozReview-Commit-ID: 91ONYHQ9zzU

--HG--
extra : rebase_source : 0e87b775b40387b8ed926a1e5df9ee50e4a88b34
2017-02-22 08:22:08 +00:00
Makoto Kato
06128d8281 Bug 833889 - Part 2. Update test result of web platform tests. r=masayuki
Update web platfrom tests's result since some tests contain this situation.

MozReview-Commit-ID: vm33zObiOW

--HG--
extra : rebase_source : fbd053d5f4d8507b13d3a2bdab3e9b6fdba1b751
extra : histedit_source : 9203ec1ffde72daf44cf15813979fae83910ff4c
2017-02-22 14:52:25 +09:00
Makoto Kato
d2b6ed15ad Bug 833889 - Part 1. Remove CSS properties even if it is default value. r=masayuki
When selected nodes are <span style="font-weight: normal;">A</span>, toggle bold inserts new span element into parent node like <span style="font-weight: bold;"><span style="font-weight: normal;">A</span><span>.  So bold isn't applied correctly.

IsCSSEquivalentToHTMLInlineStyleSet might return false even if style is applied.  Because it returns true that style isn't default value.  Since "font-weight: normal" is default property, it isn't removed.

So when style is already applied even if it is default value, we should remove it.

MozReview-Commit-ID: LgImkHRp9Ff

--HG--
extra : rebase_source : dd4d894495754a81abaf5a2aede1132056920beb
extra : histedit_source : 72d196cd9f90296eb00b97c1538704c714cc871c
2017-02-23 17:10:27 +09:00
djmdev
4e078cff7a Bug 1341586 - Fix localization of Inspector's attribute context menu by adding quotations to the values. r=gl
Removed quotes from context menu item and added them to their respective localization string.
2017-02-23 09:21:09 +05:30
Jeff Walden
938292cf1f Bug 1287006 - Final bustage followup. r=bustage in a still-CLOSED TREE 2017-02-22 20:46:46 -08:00
Jeff Walden
a457461dd8 Bug 1287006 - Followup bustage fix. r=bustage in a CLOSED TREE 2017-02-22 20:41:37 -08:00
Andrew Swan
893f67d3ca Bug 1340078 Show the correct permissions list in webextensions notifications r=rhelmer
MozReview-Commit-ID: 5YiYG6k5MJj

--HG--
extra : rebase_source : 2389d354029bd0143a3d12e94e6fa4d113229e0b
extra : source : 0aa8bb2a9ae0ef4d9f88e97c14ab7ee380eb7e4c
2017-02-16 13:31:50 -08:00
Tim Nguyen
52d2723710 Bug 1341037 - Fix broken Browser Console. r=nchevobbe
MozReview-Commit-ID: 5gIYVBNCILb
2017-02-23 16:03:14 +01:00
Marco Bonardo
c05b0ff17d Bug 1339497 - Location bar may suggest an incorrect url when input url contains % encoded components. r=standard8
MozReview-Commit-ID: 7dmtSN41H71

--HG--
extra : rebase_source : b0596872d16dfd747064819e745956468740b591
2017-02-21 18:50:16 +01:00
Josh Matthews
1aeff159aa servo: Merge #15696 - Do not pool HTTP connections (from jdm:no-http-pool); r=emilio
HTTP connection pooling triggers consistent failures in #14620. Let's disable it until there's more time to solve the underlying problem in #15694.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0998c925cfb85a221d72a5043c16e19efd951365
2017-02-23 03:55:45 -08:00
Jeff Walden
fceda02d9b Bug 1287006 - Use |alignas(T) unsigned char mStorage[sizeof(T)]| instead of AlignedStorage2 inside Maybe. r=froydnj
--HG--
extra : rebase_source : 59e8039481b332decacd1acc7cf1cb73ec8b78cf
2017-01-30 15:56:04 -08:00
Jeff Walden
c7aace8b67 Bug 1287006 - Make JsepTrackPair::mBundleLevel size_t instead of Maybe<size_t>, with SIZE_MAX encoding the previous not-size_t state. (mBundleLevel counts things in memory, so SIZE_MAX is excluded from the typical semantics.) r=bwc
--HG--
extra : rebase_source : 580a13b93cbec088c8937172948b30b4881d31ec
2017-02-21 23:57:56 -08:00
Jim Chen
78cdb2292f Bug 1257366 - Try setting designMode again; r=gbrown
If the first set designMode call fails, schedule another call for a
later time.
2017-02-22 23:10:18 -05:00
Jim Chen
371103fac0 Bug 1340960 - Correctly invoke print callbacks; r=sebastian
generatePDF returns a Promise. We shouldn't feed the Promise to the
callback, but rather invoke the callbacks when the Promise is
resolved/rejected.
2017-02-22 23:10:17 -05:00
Jim Chen
f85ea35de2 Bug 1337459 - Update to selected tab when ToolbarDisplayLayout is ready; r=sebastian
We don't update ToolbarDisplayLayout when it's not ready (i.e. when it's
not attached to a window yet), but when it does become ready, we should
update it to the selected tab, if any.
2017-02-22 23:10:16 -05:00
Nicholas Nethercote
33da826017 Bug 1340928 (part 15) - Inline and remove ToJSObject(). r=mstange.
It has a single call site.

--HG--
extra : rebase_source : ac17c229cffc6a25014c6060f99892ecbdda74cf
2017-02-22 13:42:14 +11:00
Nicholas Nethercote
354d0d388f Bug 1340928 (part 14) - Factor out code repeated in both ProfileGatherer::Start() methods. r=mstange.
--HG--
extra : rebase_source : 47deafe39aa208654398cb0795831bd273aa3265
2017-02-22 11:46:28 +11:00
Nicholas Nethercote
aedaf0a73c Bug 1340928 (part 13) - Merge two ProfileGatherer::Start() variants. r=mstange.
The |nsIFile*| one is only called by the |const nsACString&| one, so this patch
combines them.

--HG--
extra : rebase_source : d8338e88cef4799d95e590c056ab343d5a1c546a
2017-02-22 11:35:43 +11:00
Nicholas Nethercote
348841f745 Bug 1340928 (part 12) - Remove profiler_get_gatherer(). r=mstange.
profiler_get_gatherer() exposes ProfileGatherer to the outside world in a way
that makes future changes difficult.

This patch:

- Removes ProfileGatherer.h from the list of headers exported from the
  profiler.

- Removes nsIProfiler.profileGatherer and nsProfiler::GetProfileGatherer().

- Replaces profiler_get_gatherer() with three new functions that provide
  minimal but sufficient access to ProfileGatherer:
  profiler_will_gather_OOP_profile(), profiler_gathered_OOP_profile(), and
  profiler_OOP_exit_profile().

  These functions provide access to the ProfileGatherer in a similar fashion to
  the pre-existing functions profiler_get_profile_jsobject_async() and
  profiler_save_profile_to_file_async()

This significantly reduces the size of the profiler's API surface.

--HG--
rename : tools/profiler/public/ProfileGatherer.h => tools/profiler/gecko/ProfileGatherer.h
extra : rebase_source : d8e06a1133d4098c3a214858d3ff2c4bdcd9f1f2
2017-02-22 10:19:53 +11:00
Nicholas Nethercote
2eced700aa Bug 1340928 (part 11) - Inline and remove ContentParent::InitializeMembers. r=baku.
It looks like it used to be called by multiple constructors, but that's no
longer the case.

--HG--
extra : rebase_source : 2aba63c0786ddd0ce355ed80569cad62810393ad
2017-02-22 10:19:49 +11:00
Nicholas Nethercote
352554c8f6 Bug 1340928 (part 10) - Remove nested calls to profiler_{init,shutdown}(). r=mstange.
The profiler can currently handle nested calls to profiler_{init,shutdown}() --
only the first call to profiler_init() and the last call to profiler_shutdown()
do anything. And sure enough, we have the following.

- Outer init/shutdown pairs in XRE_main()/XRE_InitChildProcess() (via
  GeckoProfilerInitRAII).

- Inner init/shutdown pairs in NS_InitXPCOM2()/NS_InitMinimalXPCOM() (both shut
  down in ShutdownXPCOM()).

This is a bit silly, so the patch removes the inner pairs, and adds a
now-needed pair in XRE_XPCShellMain. This will allow gInitCount -- which tracks
the nesting depth -- to be removed in a future patch.

--HG--
extra : rebase_source : 7e8dc6ce81ce10269d2db6a7bf32852c396dba0e
2017-02-15 17:08:38 +11:00
Nicholas Nethercote
883fc3f925 Bug 1340928 (part 9) - Remove MOZ_PROFILER_STACK_SCAN env var. r=mstange.
It's used to set gUnwindStackScan, which is never used.

--HG--
extra : rebase_source : 3993df4cba27eb7eec39a40125df9a3190fe25a6
2017-02-21 13:53:19 +11:00
Nicholas Nethercote
d60b476a02 Bug 1340928 (part 8) - Pass gStartTime to DuplicateLastSample(). r=mstange.
This removes the one use of gStartTime outside of platform*.cpp, which lets us
restrict its visibility to just that compilation unit.

--HG--
extra : rebase_source : bf7207572cba5c1a31b544ea73e783ecd559978a
2017-02-21 10:18:51 +11:00
Nicholas Nethercote
45a8d3ea6a Bug 1340928 (part 7) - Factor out gIsActive handling in platform-*.cpp. r=mstange.
PlatformStart() and PlatformStop() are currently responsible for setting and
clearing gIsActive, but it's better if we do it in profiler_{start,stop}().

The patch also does the following.

- Adds some missing emacs/vim modelines.

- Makes Platform{Start,Stop}() crash if they have failures. I'm not at all
  confident that ignoring the errors as is currently done will result in
  sensible behaviour, so brittleness is better.

--HG--
extra : rebase_source : b9ab8437f5b92f6a8993ba7677ecb74a321ce219
2017-02-16 15:08:07 +11:00
John Lin
d3b1eacd8b Bug 1340582 - fix exception logging. r=jchen
MozReview-Commit-ID: 2PnTCeFAW4e
2017-02-23 11:16:28 +08:00
David Major
31d1777634 Bug 1341490: Remove bitrotting disabled layer gtest. r=nical
MozReview-Commit-ID: 9vZ4lZWgxi0

--HG--
extra : rebase_source : 47ce860c39d61939c55a74952cc94b84a27398df
2017-02-23 15:29:57 +13:00
David Major
529e7a8a12 Bug 1341490: Remove bitrotting disabled fonts gtests. r=jfkthame
MozReview-Commit-ID: 4TQv5nSclyj

--HG--
extra : rebase_source : fe2cf5a131d860f3d6dfb1d865446c8480e56d42
2017-02-23 15:29:53 +13:00
David Major
17f71c7f9f Bug 1341490: Unified-build bustage fixes.
MozReview-Commit-ID: CTBa12qhMai

--HG--
extra : rebase_source : e48409d3dcd38b95e567c823050a5633e89ed643
2017-02-23 15:29:46 +13:00
Andrea Marchesini
43fa40bb63 Bug 1341536 - Get rid of duplicate functions in fileutils.js, r=qdot 2017-02-23 03:24:54 +01:00
Andrea Marchesini
68feb209f4 Bug 1341327 - Add assertions to be sure that FileBlobImpls are created on the parent process only, r=smaug 2017-02-23 03:23:51 +01:00
David Parks
4d5f8afdc0 Bug 1328996 - Add tests that run the intercepted DLL methods, in order to test their harness. r=aklotz
Adding this has exposed harness failures in CreateFileA. Additionally, we haven't added a test for ImmSetCandidateWindow as it is not easily tested.

--HG--
extra : rebase_source : db84ecbc09a19e7644c551957ba7787e36358eb1
2017-02-16 23:50:47 -08:00
David Parks
10b12f1194 Bug 1328996 - Enable tiptsf.dll's ProcessCaretEvents DLL Interceptor test on 64-bit Windows. r=aklotz
--HG--
extra : rebase_source : 73ec0cc52ba524cb24a915923298472adddbecef
2017-02-03 12:00:56 -08:00
David Parks
d884f8d253 Bug 1328996 - Add ability for 64-bit MOV instructions (those with REX.W bit set) to be patched in the DLL interceptor harness. r=aklotz
Also adds some ASSERTs to catch failures in the DLL interceptor.

--HG--
extra : rebase_source : 1de8f5f73ca8b802fd5338fa87f33cc742a63e47
2017-02-03 11:58:20 -08:00
Timothy Nikkel
442d47eb2c Bug 1341881. Don't do sync decode for SVG <image> elements images. r=aosmond
SVG <image> elements have approximately the same level of visibility tracking as regular html <img>s so we shouldn't need to do sync decode. It shows up in some profiles.

The comment being removed was written a long time ago, before image visibility tracking for one.

We could even go a step further and ask for no sync decoding at all, but one step at a time to make sure this doesn't cause any regressions.
2017-02-22 18:58:42 -06:00
Wander Lairson Costa
90611046e2 Bug 1339038 - Replicate BB environment variables. r=dustin
There are some environment variables necessary to run test jobs in BB
which are also necessary for taskcluster-worker. They were copied from
[1].

Additionally, native-engine was broken by bug 1325701. We fix it in this
commit.

[1] https://github.com/mozilla-releng/build-buildbotcustom/blob/master/env.py#L89-L96
2017-02-22 14:47:00 -05:00
André Bargull
af0bb93cff Bug 1339986 - Handle export* when checking for duplicate export. r=jonco 2017-02-22 06:58:29 -08:00
Emanuel Hoogeveen
8867f10c5a Bug 1338574 - Assertions.cpp can't use MOZ_CRASH_ANNOTATE, so set the crash reason directly. r=froydnj 2017-02-22 15:42:00 -05:00
Julian Descottes
596f377474 Bug 1339783 - use theme-toolbar-hover for accordion header background on hover;r=gl
Move toolbar only variable toolbar-tab-hover to variables.css and reuse it in
accordion.

MozReview-Commit-ID: KgBLlYIYlrr
2017-02-22 16:55:05 +01:00
Aki Sasaki
580bb7d424 bug 1340609 - adjust beetmover+balrog scopes until we're ready. r=mtabara 2017-02-22 16:04:42 -08:00
Sebastian Hengst
016a385444 Backed out changeset 651dbded7f74 (bug 1341490) for build bustage. r=backout on a CLOSED TREE 2017-02-23 00:49:21 +01:00