Commit Graph

570844 Commits

Author SHA1 Message Date
Cosmin Sabou
a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Timothy Nikkel
8bb6a64726 Bug 1413762. Check integer shift value is reasonable before using it in gif decoder. r=aosmond 2017-11-23 00:40:17 -06:00
Mike Hommey
c2346512fd Bug 1418389 - Partially revert bug 1417234. r=njn
Bug 1417234 replaced all uses of CRITICAL_SECTION with SRWLocks in the
allocator on Windows, and this seems to have incurred performance
regressions on speedometer.

OTOH, there is a real benefit from not having to manually initialize the
allocator.

So we restore the use of CRITICAL_SECTIONs for Mutexes in the allocator,
except for the initialization lock, which is remaining as a SRWLock.

Talos indicates this solves the regression in large part, but is not
definitive as whether it has the same effect as a pure backout of bug
1417234. We'll see how things go over time.

--HG--
extra : rebase_source : a52b8d08159f6fce8286578114af84e55851a86b
2017-11-23 07:25:08 +09:00
Simon Sapin
0ead2435b5 servo: Merge #19346 - Remove compiletest from Travis script (from servo:SimonSapin-patch-1); r=asajeffrey
This should have been in https://github.com/servo/servo/pull/19338

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7f1d1620c93c55491a1180dc275dcafd599917ef
2017-11-22 21:05:07 -06:00
Franziskus Kiefer
7b10164f9f Bug 1403840 - add cose rust lib with a test, r=keeler,ttaubert
Summary:
This adds the COSE rust library from https://github.com/franziskuskiefer/cose-rust with its C API from https://github.com/franziskuskiefer/cose-c-api to gecko with a basic test.
The COSE library will be used for verifying add-on signatures in future.

Reviewers: keeler, ttaubert

Reviewed By: keeler

Bug #: 1403840

Differential Revision: https://phabricator.services.mozilla.com/D232

--HG--
extra : rebase_source : 433ca6894d88ccda333bfac53507eba4e84924fb
2017-11-22 16:37:15 +01:00
Tooru Fujisawa
4c6f4eda25 Bug 1416254 - Remove conditional catch consumers in uriloader/. r=mak 2017-11-23 14:22:19 +09:00
Tooru Fujisawa
cbd4fe279b Bug 1416253 - Remove conditional catch consumers in netwerk/. r=mak 2017-11-23 14:20:43 +09:00
Tooru Fujisawa
a6c16bec2a Bug 1418210 - Normalize symbolic link for test file in browser/base/content/test/tabs/browser_opened_file_tab_navigated_to_web.js. r=Gijs 2017-11-23 14:16:58 +09:00
Ted Campbell
9f7b5bb1af Bug 1418841 - Fix DeletePolicy of WasmInstanceScope::Data. r=jonco
MozReview-Commit-ID: EgLb7uTE52G
2017-11-22 22:42:43 -05:00
Ted Campbell
20193a2f37 Bug 1397049 - Fix debugger 'this' in functions with let. r=jorendorff
When the debugger evaluates code in the debuggee frame, the parser may
fail to detect we are in a function context and will compute 'this'
incorrectly as a result. This patch fixes the environment chain
traversal around DebugEnvironmentProxy to more accurately determine the
binding type of 'this' within a function.

MozReview-Commit-ID: GzRDOJLK8fx
2017-11-22 21:30:53 -05:00
Phil Ringnalda
f12ca11346 Backed out 3 changesets (bug 1407423) for Android permaorange in test_vrDisplay_getFrameData.html
Backed out changeset b9dbe5af9a06 (bug 1407423)
Backed out changeset 16d247b8091d (bug 1407423)
Backed out changeset 2b625d265761 (bug 1407423)

MozReview-Commit-ID: 6clRbH1Hodr
2017-11-22 18:15:10 -08:00
Florian Quèze
0ce882a00c Bug 1419941 - Reset the engine of users having a default engine likely installed by a legacy add-on, r=adw. 2017-11-23 01:51:15 +01:00
Florian Quèze
723d70b38a Bug 1226616 - The presence of the general.config.filename preference should be reported on telemetry. r=njn, data-review=francois 2017-11-23 00:59:38 +01:00
Oliver
1ecb5e03c0 Bug 1417527 - Remove right click behavior as left click by checking the event.button. r=jaws
MozReview-Commit-ID: 1Fy2r5EXrU3

--HG--
extra : rebase_source : c092adf663aba37ab919f3f0a9d60c51baada10a
2017-11-20 14:22:49 -06:00
Nicholas Nethercote
dccbe1fff8 Bug 1419648 - Remove and inline PREF_RegisterCallback(). r=glandium
This requires adding an aPriority argument (defaulting to false) to
Preferences::RegisterCallback(). And RegisterVarCacheCallback() is no longer
necessary.

MozReview-Commit-ID: BMDk3HuaQVV

--HG--
extra : rebase_source : 17a61cfd9a82f24854162fc993223691041ea46d
2017-11-21 12:57:53 +11:00
Nicholas Nethercote
1ea97b46f1 Bug 1419648 - Inline and remove PREF_UnregisterCallback(). r=glandium
MozReview-Commit-ID: GLUdbRjxDLR

--HG--
extra : rebase_source : df713f8f242618f8624640bf94bebcc996362b1f
2017-11-21 12:57:53 +11:00
Nicholas Nethercote
b4b208fe70 Bug 1419648 - Remove and inline PREF_{LockPref,UnlockPref,PrefIsLocked}(). r=glandium
MozReview-Commit-ID: 7HatftTQwHr

--HG--
extra : rebase_source : 686cec1ece58dafb2227819db308c17f6d30cacd
2017-11-16 09:05:43 +11:00
Nicholas Nethercote
1bd63d481b Bug 1419648 - Inline and remove PREF_HasUserPref(). r=glandium
MozReview-Commit-ID: Dz2IgjrfEjQ

--HG--
extra : rebase_source : f0cc02751263b1a04f49b06115e407ab96dc8e69
2017-11-15 17:01:15 +11:00
Nicholas Nethercote
439ed6b332 Bug 1419648 - Inline and remove PREF_ClearUserPref(). r=glandium
MozReview-Commit-ID: EBb9hxtIwPz

--HG--
extra : rebase_source : b7944677bf72e7e891551e81775659dd46b59fab
2017-11-15 17:01:15 +11:00
Nicholas Nethercote
d03b40ebee Bug 1419648 - Inline and remove PREF_ClearAllUserPrefs(). r=glandium
MozReview-Commit-ID: Eud92V7qFS4

--HG--
extra : rebase_source : 9075832b2d0077a73e2268190e0a4a75aa89022c
2017-11-15 17:01:14 +11:00
Bill McCloskey
e00b31adbc Revert "Bug 1418188 - Run Searchfox indexing in TaskCluster on a daily basis (r=dustin,chmanchester)"
This reverts commit ae02e7fc64ac3c3faa991cee297defdf69643101.
2017-11-22 15:17:11 -08:00
Valentin Gosu
e6c466fb06 Bug 1418810 - Use fallible assign to prevent OOM. r=mayhemer
MozReview-Commit-ID: LU1RbkUIBZz
2017-11-21 20:36:01 +01:00
Fred Lin
8083de770a Bug 1404929 - Security info should be loaded lazily;r=Honza
MozReview-Commit-ID: JIwepd7qdOB

--HG--
extra : rebase_source : 9fa7971412798e1f2f580a44543f1dd4e946d823
2017-11-15 12:50:47 +08:00
Sean Lee
4bcd66dc63 Bug 1416665 - Deduplicate the detail with the same field name even they are in the different contactType. r=lchang,ralin
MozReview-Commit-ID: bKGSOUJOCg

--HG--
extra : rebase_source : 5ef34ec34b28d7984d4abbc47a5b81e96a67a50f
2017-11-17 14:18:34 +08:00
Bastien Orivel
e2d8bcc867 servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang
I had to change the test a little bit to avoid some failures due to
color and text both having a sanitizedValue which was making the test
use the first assertion instead of the second one in some cases.

The sanitize_value implementation is pretty simple, we iterate over the
content and checks that the content is 7 characters long, that the first
character is a `#` and then that all the following characters are
hexadecimal. If all those requirements are met, we lowercase the
content, otherwise we put `#000000` in it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 72e7f6095e56ca6230651fc73bced8b460487569

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e4985200fa96b3d6e40d09c9f30b5df47d8cbf3a
2017-11-22 19:42:58 -06:00
James Cheng
75bf8e9453 Bug 1419249 - Fix the wrong logic calculating starttime of the first sample. r=kikuo
MozReview-Commit-ID: 3je7idVeYoZ

--HG--
extra : rebase_source : ecd1a43d6a98e0f0cf5fd53c5b3f0d830d985fc4
2017-11-22 17:47:03 +08:00
James Cheng
89998341ee Bug 1418766 - Fix Crash in java.lang.OutOfMemoryError by making Exoplayer pause by default. r=kikuo
MozReview-Commit-ID: JGIRcYLXtdv

--HG--
extra : rebase_source : f83c395358c46458d40729176b5f5a3cc463009d
2017-11-21 17:21:19 +08:00
JW Wang
f874190157 Bug 1418430. P2 - simplify the if statement of "reopen on error". r=bechen,gerald
A truth table is listed to illustrate all conditions of length/offset/reopen.

The original code doesn't handle the following cases correctly:
1. length == offset == 0, shouldn't reopen the channel for there is no data to download.
2. length == -1 && offset > 0, should reopen the channel if seekable.

MozReview-Commit-ID: IisnrA8hK4M

--HG--
extra : rebase_source : c5826f314b09b2ae9c3e7f2cc1f6ce285fc612df
2017-11-22 11:21:57 +08:00
JW Wang
df2b00d7a6 Bug 1418430. P1 - always check "reopen on error" when a connection is closed. r=bechen,gerald
The server might send us fewer bytes than requested. So we also need
"reopen on error" in this case as well.

MozReview-Commit-ID: Fi82x4h1TZ0

--HG--
extra : rebase_source : 3a19838de9c11545f00778623735c7e9a5cb1439
2017-11-22 10:35:48 +08:00
Makoto Kato
b444fbea2a Bug 1366049 - enable Stylo for Android. r=snorp
All tests are passed with stylo, So let's turn on stylo even if Android.

MozReview-Commit-ID: X0ORZUn60a

--HG--
extra : rebase_source : 61f0d3513114a2d0716d9e660eba98004ff85bbf
2017-11-21 19:35:32 +09:00
Cameron McCormack
3f1ff5c074 Bug 1419645 - Make VerifyReflow work with stylo. r=dbaron
MozReview-Commit-ID: 3ZSQqes8nmA

--HG--
extra : rebase_source : ed4be0144651b2c0343f1d17245401662e089389
2017-11-22 12:03:24 +08:00
Cameron McCormack
a4faae04a1 Bug 1419709 - Move a few nsStyleStructID-related static methods out of nsRuleNode.h r=emilio
MozReview-Commit-ID: GyEMmvlH4mh

--HG--
extra : rebase_source : feffb9d535fda9316dc9e34a5170ffabda3b5e22
2017-11-22 18:08:33 +08:00
Emilio Cobos Álvarez
72a1d3ff81 Bug 1419554: Teach the restyle root code about elements outside of the flattened tree. r=heycam
The textarea is inserted under a Shadow host, with no matching insertion point,
so its flattened tree parent node is null.

We're treating this case in the restyle root code as "the parent is the
document", but that's very wrong.

MozReview-Commit-ID: JlzUMRIYaYZ

--HG--
extra : rebase_source : feeaf7a7333097aa87b35358172472790f6c74a7
2017-11-22 14:15:34 +01:00
Manish Goregaokar
f1502e5e7d servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 976f9e3d13b6a7676dd863dd397dd6c60e868d58

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d7caa9c57c75423e10f6802d23835b2522d9f14
2017-11-22 18:30:57 -06:00
Matthew Gregan
e88ffe59d1 Bug 1419627 - Update mp4parse-rust to cbindgen version. r=rillian
MozReview-Commit-ID: CJwg8isx8Jk

--HG--
extra : rebase_source : 74086f8e6a40f3a3d2e5f75407c06dfa03e6736d
2017-11-22 15:18:00 +13:00
Matthew Gregan
169b8f6906 Bug 1419627 - Update mp4parse-rust callers in cheddar->cbindgen migration. r=rillian
MozReview-Commit-ID: AbyXNRrqr4X

--HG--
extra : rebase_source : be40cd12b6155a50528c3806049d3d1f47dda522
2017-11-22 15:15:51 +13:00
Drew Willcoxon
ea7bba6329 Bug 1410240 - Search suggestions keep displacing awesomebar results as I'm about to click on them. r=mak
MozReview-Commit-ID: 2NdV9qWzld1

--HG--
extra : rebase_source : 29191d546141d4af4ac1e4902f6981488f480c71
2017-11-22 16:22:32 -08:00
Xidorn Quan
843aaedf4d Bug 1417600 - Wait for another frame before setting animation out to ensure start of the animation. r=jaws
MozReview-Commit-ID: 96nGBDgdr05

--HG--
extra : rebase_source : a5bdf5ff0576a3d24d02e0e35effaa13c6eace43
2017-11-16 10:33:04 -08:00
Margareta Eliza Balazs
7258d432e6 Backed out changeset 2e20100d8f59 (bug 1417709) for error in toolkit/library/rust/target r=backout on a CLOSED TREE 2017-11-23 01:18:45 +02:00
Margareta Eliza Balazs
2cb7aeff33 Backed out 5 changesets (bug 1417709) for failing X in devtools/shared/tests/unit/test_css-properties-db.js r=backout on a CLOSED TREE
Backed out changeset 5670c9582add (bug 1417709)
Backed out changeset 50f0febe43a0 (bug 1417709)
Backed out changeset 29e6c0d82193 (bug 1417709)
Backed out changeset e3a6c5b74595 (bug 1417709)
Backed out changeset a0fe569c86c0 (bug 1417709)
2017-11-23 01:17:07 +02:00
Brian Grinstead
2214548e2c Bug 1416493 - Remove the menuseparator XBL binding;r=Gijs
Key accessibility off of the tag name instead of the role attribute
and load styles in global.css instead of <resources>

MozReview-Commit-ID: Epv0rHHzbz0

--HG--
extra : rebase_source : 2239c8ccca8d899b4c4144faab7212f120f00e23
2017-11-22 13:47:09 -08:00
Kartikaya Gupta
b7c06e062c Bug 1419926 - Remove virtual keyword from functions that already have override. r=mattwoodrow
The style guide (and linting tool) check for this, and these headers
have so many functions that it's better to just do a wholesale
conversion than to keep adding things and making the files more
inconsistent over time.

MozReview-Commit-ID: 1SFQv15bIxi

--HG--
extra : rebase_source : 177836ff47031d88da3682834ca96210e75f3f07
2017-11-22 16:05:10 -05:00
shindli
a0b20fcb81 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-22 23:42:02 +02:00
Noemi Erli
088b617365 Backed out changeset 9353a526c194 (bug 1366049) for bustage in /python/mozbuild/mozbuild/test/configure/lint.py r=backout on a CLOSED TREE 2017-11-22 23:31:04 +02:00
shindli
82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
shindli
c21aeef984 Merge autoland to mozilla-central r=merge a=merge 2017-11-22 23:28:18 +02:00
Justin Wood
fc1ce17d88 Bug 1419561 - Set better nightly l10n routes for repackage tasks too. r=rail
MozReview-Commit-ID: COHekNRlun3

--HG--
extra : rebase_source : 083efc49363bbcee7b6d96fe538c74d043a49b2b
2017-11-22 15:33:30 -05:00
ffxbld
ad970571e9 No bug, Automated HPKP preload list update from host bld-linux64-spot-032 - a=hpkp-update 2017-11-22 11:38:06 -08:00
ffxbld
013da9f3f3 No bug, Automated HSTS preload list update from host bld-linux64-spot-032 - a=hsts-update 2017-11-22 11:38:02 -08:00
Aaron Klotz
5e1326dfc6 Bug 1419814: Touch CLOBBER to fix a11y build failures; r=me a=Aryx
MozReview-Commit-ID: HtDNkPHiye7
2017-11-22 12:36:25 -07:00