Commit Graph

40217 Commits

Author SHA1 Message Date
Myk Melez
07f5d65c45 Bug 1358790 - compile city.cpp in toolkit/xre/ so it doesn't depend on browser/; r=mhowell
Bug 1324617 added /other-licenses/nsis/Contrib/CityHash/cityhash/city.cpp
to the sources for browser/components/shell/, which gets linked into libxul
via browsercomps.

Bug 1348609 then made toolkit/xre/nsXREDirProvider.cpp use the same file,
which made toolkit depend on browser.  That busts other XUL apps, which then
have to individually satisfy that dependency.

This change links city.cpp into libxul directly by compiling it as part of
toolkit/xre/.
2017-04-24 14:07:06 -07:00
Mats Palmgren
aebbcc3c3a Bug 1358840 - Make appearance:auto the default for all XUL pseudo elements too. r=bz
MozReview-Commit-ID: BYGdHe8CdMF
2017-04-24 22:04:47 +02:00
Ehsan Akhgari
6399dc4d9a Bug 1356922 - Part 1: Replace the next TabParent global pointer with per-window/tab next TabParent ID; r=billm,mconley
This patch replaces the usage of sNextTabParent pointer to store the next
PBrowser parent actor to be used by the next frame loader with the
following information:

  * In the case where the content JS has requested a new tab, the ID of the
    next TabParent will be stored on the <xul:browser> element.
  * In the case where the content JS has requested a new window, the ID of
    the next TabParent will be stored on the created nsXULWindow.
2017-04-24 14:18:29 -04:00
Carsten "Tomcat" Book
8e84189916 Merge mozilla-central to mozilla-inbound 2017-04-24 16:07:21 +02:00
Carsten "Tomcat" Book
fc2b61e583 Merge mozilla-central to mozilla-inbound 2017-04-24 13:13:02 +02:00
Carsten "Tomcat" Book
0068d23bc3 Merge mozilla-central to autoland 2017-04-24 12:43:55 +02:00
Carsten "Tomcat" Book
850b8f9b6d Backed out changeset 79579aab8851 (bug 1331742) 2017-04-24 12:27:45 +02:00
Sebastian Hengst
02a48038d1 Backed out changeset 9c407d9e588b (bug 1356828) for failing xpcshell's test_shutdown.js. r=backout 2017-04-23 22:57:34 +02:00
Paolo Amadini
2c51c21228 Bug 1348062 - Test that channels are properly marked for downloads. r=mak
Downloads handled by nsIExternalHelperAppService pass a null request to the final onStateChange notification, thus we need to hold a reference to the request earlier. This also allows unit tests to access the request while the download is running.

MozReview-Commit-ID: 21rapDmMIZw

--HG--
extra : rebase_source : f1cd9a17e0e04f0ff9d9632528b3cee1149f4857
2017-04-19 10:42:00 +01:00
Honza Bambas
203c640be7 Bug 1348062 - Mark channels used for downloads as throttable, r=nick+paolo
MozReview-Commit-ID: 9cg4PwrXtNa

--HG--
extra : rebase_source : 2ff2d771a6ccb2a3e11c2d65e0a64ebbaa443206
2017-04-16 14:53:30 +01:00
Kris Maglione
d94dd76eee Bug 1356852: Avoid loading NetUtil just for newURI. r=rhelmer
MozReview-Commit-ID: CJl2Tw2fAAO

--HG--
extra : rebase_source : 5ac61d346f957164e23cd329e10da443723ead42
2017-04-15 19:25:08 -07:00
Kris Maglione
28f820abd7 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4

--HG--
extra : rebase_source : 39c8808bb3da80b8012a6799f7af65b2703e7dca
2017-04-15 11:59:58 -07:00
Sebastian Hengst
c54d68aa7d Bug 1284083 - Disable frequent intermittent toolkit/components/places/tests/expiration/test_pref_maxpages.js completely on Linux. r=test-disabled on a CLOSED TREE 2017-04-22 20:44:39 +02:00
Sebastian Hengst
392e0d1279 Bug 1284083 - Disable frequent intermittent toolkit/components/places/tests/expiration/test_pref_maxpages.js. r=test-disabled as suggested by mak on IRC 2017-04-22 15:00:55 +02:00
Sebastian Hengst
7fccfb74e9 merge mozilla-central to autoland. r=merge a=merge 2017-04-22 10:49:35 +02:00
Sebastian Hengst
473a1509ea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 289I7nCINwK
2017-04-22 10:48:16 +02:00
Wes Kocher
c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Wes Kocher
d973551173 Merge inbound to central, a=merge
MozReview-Commit-ID: FHfhKIIlItM
2017-04-21 17:30:43 -07:00
David Anderson
7d5ed0b7fe Always show the compositor process PID in about:support. (bug 1358138, r=milan)
--HG--
extra : rebase_source : 10396aeb6b0c384bdf648b83974d6b05817879e5
2017-04-21 12:07:14 -07:00
Marco Bonardo
cce27d5a34 Bug 1356220 - Set a journal_size_limit on favicons.sqlite and improve the wal autocheckpoint value. r=adw
journal_size_limit doesn't apply to attached databases, so it must be set apart.
Additionally, the current journal_size_limit setting is wrong it should be bytes.
Finally, increase the wal_autocheckpoint value for performance reasons.
Sqlite by default uses a 4MiB autocheckpoint, but we use synchronous=NORMAL, that is a bit more dataloss risky.
For that reason just use half of the default value.
journal_size_limit is set higher than the autocheckpoint value, so that we won't truncate at
every checkpoint.

MozReview-Commit-ID: 2ZUy2Iwkjjc

--HG--
extra : rebase_source : dd3723d948f3cdec31109292e10ff0205d719aad
2017-04-21 18:43:29 +02:00
Mason Chang
29d29e1c54 Bug 1353521. Fix telemetry entry for display item counts to expire sooner. r=bsmedberg data-r=bsmedberg 2017-04-21 18:05:13 -07:00
Wes Kocher
4a05296446 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Cb0b59wJ0vy
2017-04-21 17:35:24 -07:00
Kris Maglione
f5b580e5e9 Bug 1358415: Don't trigger reflow just to compute tab geometry. r=aswan
MozReview-Commit-ID: DnFSbDfOskT

--HG--
extra : rebase_source : e6829657b250fa8ec893b3e73b7d9956dfe34424
extra : amend_source : f20cfab374b29b7d3475579a0fe5e11ab2e6dcb4
2017-04-21 13:22:34 -07:00
David Major
d66d8cc636 Bug 1357218: Call SetJitExceptionHandler in child processes too. r=ted 2017-04-21 20:25:19 -04:00
Florian Queze
dddd24505a Bug 1356593 - reimplement the search service's ParamSubstitution function to avoid doing unnecessary work, r=adw. 2017-04-22 02:08:54 +02:00
Kearwood Gilbert
eba3a06d5f Bug 1356382 - Move jsoncpp library and ensure it is included even when crashreporter is not r=ted
MozReview-Commit-ID: 2g9sFP6QQCU

--HG--
rename : toolkit/crashreporter/jsoncpp/AUTHORS => toolkit/components/jsoncpp/AUTHORS
rename : toolkit/crashreporter/jsoncpp/GIT-INFO => toolkit/components/jsoncpp/GIT-INFO
rename : toolkit/crashreporter/jsoncpp/LICENSE => toolkit/components/jsoncpp/LICENSE
rename : toolkit/crashreporter/jsoncpp/NEWS.txt => toolkit/components/jsoncpp/NEWS.txt
rename : toolkit/crashreporter/jsoncpp/README.md => toolkit/components/jsoncpp/README.md
rename : toolkit/crashreporter/jsoncpp/include/json/allocator.h => toolkit/components/jsoncpp/include/json/allocator.h
rename : toolkit/crashreporter/jsoncpp/include/json/assertions.h => toolkit/components/jsoncpp/include/json/assertions.h
rename : toolkit/crashreporter/jsoncpp/include/json/autolink.h => toolkit/components/jsoncpp/include/json/autolink.h
rename : toolkit/crashreporter/jsoncpp/include/json/config.h => toolkit/components/jsoncpp/include/json/config.h
rename : toolkit/crashreporter/jsoncpp/include/json/features.h => toolkit/components/jsoncpp/include/json/features.h
rename : toolkit/crashreporter/jsoncpp/include/json/forwards.h => toolkit/components/jsoncpp/include/json/forwards.h
rename : toolkit/crashreporter/jsoncpp/include/json/json.h => toolkit/components/jsoncpp/include/json/json.h
rename : toolkit/crashreporter/jsoncpp/include/json/reader.h => toolkit/components/jsoncpp/include/json/reader.h
rename : toolkit/crashreporter/jsoncpp/include/json/value.h => toolkit/components/jsoncpp/include/json/value.h
rename : toolkit/crashreporter/jsoncpp/include/json/version.h => toolkit/components/jsoncpp/include/json/version.h
rename : toolkit/crashreporter/jsoncpp/include/json/writer.h => toolkit/components/jsoncpp/include/json/writer.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_reader.cpp => toolkit/components/jsoncpp/src/lib_json/json_reader.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_tool.h => toolkit/components/jsoncpp/src/lib_json/json_tool.h
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_value.cpp => toolkit/components/jsoncpp/src/lib_json/json_value.cpp
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_valueiterator.inl => toolkit/components/jsoncpp/src/lib_json/json_valueiterator.inl
rename : toolkit/crashreporter/jsoncpp/src/lib_json/json_writer.cpp => toolkit/components/jsoncpp/src/lib_json/json_writer.cpp
extra : rebase_source : 6996fe5fd4a8e704a138b568d636c1d5238f15b2
2017-04-19 14:41:03 -07:00
Sebastian Hengst
e35a5d0b79 Backed out changeset f39e67694994 (bug 1302470) for failing mochitest test_bug263683.xul on opt-based builds on Linux and on debug on OSX, at least. r=backout 2017-04-21 19:09:12 +02:00
Sebastian Hengst
0565ac832f Backed out changeset 572662b36c77 (bug 1302470) 2017-04-21 19:09:12 +02:00
Sebastian Hengst
3e0e5a51d2 Backed out changeset a5a77d4a3cf3 (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
4608be37d8 Backed out changeset 726e98cd071e (bug 1302470) 2017-04-21 19:09:11 +02:00
Sebastian Hengst
6784deba77 Backed out changeset 95aca3b5524e (bug 1302470) 2017-04-21 19:09:11 +02:00
Dan Banner
cbf1ee25cc Bug 1351099 - Remove unused AddonLogging.jsm file r=rhelmer
MozReview-Commit-ID: B1mxqNZhpB

--HG--
extra : rebase_source : 02abddd18ec98fdd2d74eda053d161625fd96d3e
2017-04-19 16:28:41 +01:00
Andrew Swan
20873bc72b Bug 1355336 Recognize privileged extension signing certs r=mossop
MozReview-Commit-ID: ES2OSQTv9k8

--HG--
extra : rebase_source : 6d435c38b3785926c6d04d3b0d9588451406ba4b
2017-04-19 17:02:42 -07:00
Aaron Klotz
a518dd2017 Bug 1358288: Fix incorrect ABI specification for js-ctypes declaration of GetVersionExW; r=gfritzsche
MozReview-Commit-ID: DKTxo8EHNfY

--HG--
extra : rebase_source : 40d7b789c8fe297b719ad1d8ab3f1f618ad14084
2017-04-20 16:08:07 -06:00
Brad Werth
b50a85c16e Bug 1302470 Part 7: Disable part of the browser_Finder.js test until Highlight All is fixed for iframe content. r=mikedeboer
MozReview-Commit-ID: Jyn2YOIlIlV

--HG--
extra : rebase_source : 3f2ff4cc577839eca5eb623faa07d83cd63efb28
2017-04-21 08:25:42 -07:00
Nathan Froyd
79e83accdc Bug 1357556 - define a gecko_debug feature for gkrust*; r=emilio
Servo needs to know whether C++ code is compiled with MOZ_DEBUG, and
passing along an explicit feature is a better way to determine that
information than relying on cfg(debug_assertions).

MozReview-Commit-ID: B3XCskDQ56p

--HG--
extra : rebase_source : c53cd4abb8f56701d1051c932fc9aa5cf83384f2
2017-04-20 13:54:14 -04:00
Andrew Swan
e817ea40d7 Bug 1356462 Show a notification when non-MPC extensions are disabled r=mossop
MozReview-Commit-ID: 8KUhRe91AFt

--HG--
extra : rebase_source : f5e66c416587387f42a1c29099770e962e8cdee8
2017-04-19 11:30:24 -07:00
Andrew Swan
4fef12511d Bug 1356462 Add per-extension notice for non-MPC disabling r=mossop
MozReview-Commit-ID: KQ69E7B4VPg

--HG--
extra : rebase_source : 958d653c199e55dc11fa639e7a1c0bd9ba7429b7
2017-04-20 21:00:19 -07:00
Dão Gottwald
1edf6fd9a4 Bug 1358204 - Remove border and background fallback styling from xulscrollbars.css. r=enndeakin+6102
MozReview-Commit-ID: BVcmfs87sZ0

--HG--
extra : rebase_source : 549e3aa78c1f113eeaa843d165234a91e2a38ff6
2017-04-20 19:44:59 +02:00
Michael Ratcliffe
0a6c15a02a Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml

--HG--
extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
2017-04-10 18:04:25 +01:00
John Dorlus
19c2af1fce Bug 1354639 - Change variable name in test to avoid debugger conflict; r=chutten
--HG--
extra : rebase_source : b84243547dbc4769c36f8cc68ef58ed4491cab19
2017-04-20 18:21:39 -04:00
Iris Hsiao
8b9629d52e Merge mozilla-central to mozilla-inbound 2017-04-24 12:04:12 +08:00
Ehsan Akhgari
c303c8121a Bug 1358004 - Remove the REMOTE_JAR_PROTOCOL_USED telemetry; r=jduell
In bug 1353123 it was decided to not extend this telemetry, so it will
expire in this release.  Given that, and the fact that bug 1329336 has
disabled the feature already, it's time to remove the probe.
2017-04-21 02:44:03 -04:00
Dan Glastonbury
92a65a96fb Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Kris Maglione
b91438bf36 Bug 1356828: Don't call getAddonById from the Pocket bootstrap scope. r=rhelmer
MozReview-Commit-ID: DJM1dOIA7X4

--HG--
extra : source : c39985abd71ceaa90fef9c438cc7627667d2e024
extra : amend_source : 26f1aa9c2d2d7604b056ca88a1071ff5fb490dd8
2017-04-15 16:23:54 -07:00
Xiaoyin Liu
45e675c86b Bug 1350309 - Fix uninitialized variables in updatehelper.cpp r=rstrong
Originally |consent| and |secureDesktop| are always used even when |success| is FALSE, and |consent| and |secureDesktop| are uninitialized in this case. In this patch, |isUnpromptedElevation| is set only when |success| is TRUE.

MozReview-Commit-ID: Dik8NG7zcCa

--HG--
extra : rebase_source : d9a2498207d7a228c8d445c4e2dcbe778da5aa81
2017-03-24 08:58:42 -04:00
Matthew Wein
e4c65a0681 Bug 1339250 - Fix error caused by ending an input session immediately after the session is started r=robwu
MozReview-Commit-ID: Gz9B468NTI1

--HG--
extra : rebase_source : 628be1212a4859f1937fd0e863ebee2ba65d8903
2017-02-14 12:02:40 +00:00
Cervantes Yu
8c172e77fc Bug 1024669 - Part 2: Test cases for thread name annotation in the crash report. r=gsvelto
MozReview-Commit-ID: 3ahk3hpkfuk
2017-02-07 18:58:36 +08:00
Cervantes Yu
cc5836fbae Bug 1024669 - Part 1: Annotate crash reports with thread names. r=gsvelto
NS_SetCurrentThreadName() is added as an alternative to PR_SetCurrentThreadName()
inside libxul. The thread names are collected in the form of crash annotation to
be processed on socorro.

MozReview-Commit-ID: 4RpAWzTuvPs
2017-02-07 18:57:23 +08:00
Mats Palmgren
c8ff2283ea Bug 1357655 part 1 - [css-ui] Make 'none' the initial value for 'appearance' for web and UA compatibility. Add 'appearance:auto' to UA sheets for form controls, XUL etc where needed. r=bz
MozReview-Commit-ID: 2h5ndqHresm
2017-04-21 02:24:19 +02:00