502566 Commits

Author SHA1 Message Date
Gregory Szorc
b0a535b2cc Bug 1300290 - Avoid --enable-dmd and --enable-stylo setting conflicting --enable-jemalloc values; r=glandium
Before, --enable-dmd implied --enable-jemalloc. If --enable-stylo was
also set, it tried to imply --enable-jemalloc=moz. Configure barfed
due to setting the value twice.

The commit refactors the logic for implying the --enable-jemalloc value
to set the proper value depending on the state of dmd and stylo.

MozReview-Commit-ID: 1wKE9Cs1Umt

--HG--
extra : rebase_source : 03acfc386fa9c86ae90e0feb5dae092ea5897179
2016-11-30 22:17:59 -08:00
Andrew McCreight
f03404b039 Bug 1321010 - Remove two minor bits of deritrus from IPDL Python code. r=kanru
The bug referred to in the comment was fixed 6 years ago.

The includes in cgen.py are unused.

--HG--
extra : rebase_source : f4521112ee3f2280836ac7030b25ddcba2321eda
2016-11-28 15:16:57 -08:00
Masayuki Nakano
07f4ac2764 Bug 1274503 part.4 Remove some odd whitespaces in NativeKeyToDOMKeyName.h r=smaug
MozReview-Commit-ID: GxcVOPMNqOx

--HG--
extra : rebase_source : 3270985bba0d78c87df77d3e94d2a4942a9c46c6
2016-11-21 22:14:36 +09:00
Masayuki Nakano
173ce3fe7c Bug 1274503 part.3 Remap AKEYCODE_BACK, AKEYCODE_DPAD_CENTER and AKEYCODE_CAPTIONS to same KeyboardEvent.key value as Chromium r=smaug
AKEYCODE_BACK should be remapped from "BrowserBack" to "GoBack".
AKEYCODE_DPAD_CENTER should be remapped from "Accept" to "Enter".
AKEYCODE_CAPTIONS should be remapped from "Subtitle" to "ClosedCaptionToggle".

The new values are same as Chromium and they are also declared in the spec.

FYI: Gaia doesn't use above key values, so, it's safe to use KEY_MAP_ANDROID for them.

MozReview-Commit-ID: AJwhB59cKzq

--HG--
extra : rebase_source : 8fc923647ee92b39a3317c36fa306f555ddfe2c8
2016-11-21 22:15:07 +09:00
Masayuki Nakano
ab577a1cb6 Bug 1274503 part.2 Add KeyboardEvent.key value mapping on Android which are not mapped by Gecko but mapped on Chromium r=smaug
First, we should get rid of "Unidentified" keys which are mapped to specific value on Chromium and we can agree without any discussion.

MozReview-Commit-ID: C4TZzndahNM

--HG--
extra : rebase_source : 5e9d7527c4109049a44391fca45f2ffbd0f81960
2016-12-01 21:38:54 +09:00
Masayuki Nakano
db5a4ed912 Bug 1274503 part.1 AKEYCODE_ASSIST shouldn't be mapped to "Help" r=smaug
I mapped AKEYCODE_ASSIST to "Help".  However, Chromium doesn't map the keycode to anything. Additionally, Android has a new keycode AKEYCODE_HELP and Chromium maps it to "Help". So, we should use Chromium's mapping for it.

MozReview-Commit-ID: 19zTP0xclYI

--HG--
extra : rebase_source : c6e5d9f7572b496e4766159aa281088571b11d91
2016-11-04 21:08:04 +09:00
Masayuki Nakano
bd5c351eec Bug 1274503 part.0 Move "MediaFastForward" to "Media Keys" section for keeping same order with the spec r=smaug
MozReview-Commit-ID: 4eGNIDmbPds

--HG--
extra : rebase_source : 9702ff391f4d4f7ddabdc9aefdfafdd381d5d69f
2016-11-03 22:01:10 +09:00
JW Wang
0bd4f42b74 Bug 1321471. Part 2 - remove CompletionPromise() to enforce use of ThenPromise(). r=jwwang
MozReview-Commit-ID: 9zC3JnzumES

--HG--
extra : rebase_source : c4d41c3128c6521fdbb7ac8386446b2b846f21f0
2016-12-02 10:40:01 +08:00
JW Wang
c1ec600a1a Bug 1321471. Part 1 - Use of MozPromise::ThenPromise() in place of CompletionPromise(). r=jya.
MozReview-Commit-ID: INbGpzwK4f9

--HG--
extra : rebase_source : 76942aa9741f2ce59f6208cfb0699ad3718a25d4
extra : intermediate-source : 61f3ade0fb73f6318ae616393d66e3dc21d68323
extra : source : 92e78c9b199b252da5d219f8d68902ce353aa4c7
2016-11-30 18:19:26 +08:00
Ricky Chien
69bddeeae5 Bug 1309187 - Implement Timings Panel r=Honza,jsnajdr
MozReview-Commit-ID: 1i1wZebHRAk

--HG--
extra : rebase_source : e38d5dacb8abc34f220c77e6797e36e3c8b3b85b
2016-11-24 14:43:21 +08:00
Phil Ringnalda
3ca40609e1 Backed out changeset 4c343bdb6e2a (bug 1321615) for browser_ext_webRequest.js timeouts
CLOSED TREE
2016-12-01 18:38:11 -08:00
Daosheng Mu
9f9b153369 Bug 1321505 - Clean VR controllers when nsGlobalWindow no longer uses gamepads; r=kip
MozReview-Commit-ID: IlAa5vDqwAE

--HG--
extra : rebase_source : 42e444083e2d43334147fb945643d12c4403af34
2016-12-01 14:16:16 +08:00
Shane Caraveo
9e10dbda93 Bug 1321615 fix tests for header modification in toplevel loads, r=kmag
MozReview-Commit-ID: 3GfDbeumwzj

--HG--
extra : rebase_source : 6416dd3e5920913682bd0d09e6cfaa08fc6aac63
2016-12-01 11:46:36 -08:00
Xidorn Quan
6dc3678ea2 Bug 1321394 - Remove unnecessary loop in nsRubyBaseContainerFrame. r=dholbert
MozReview-Commit-ID: DqRD0w823Sv

--HG--
extra : rebase_source : 5d4e55c12a411e9f0c3579eca362d0b793aef445
2016-12-01 13:47:26 +11:00
David Keeler
ca5083ce4d bug 857627 - 4/4: remove nickname-related APIs from nsIX509CertDB r=Cykesiopka,jcj
This removes findCertByNickname, findEmailEncryptionCert, and
findEmailSigningCert.

MozReview-Commit-ID: KOxWHJm3GNX

--HG--
extra : rebase_source : c67a65ce71b25c6502bad012c48aa1c30e71f334
2016-11-18 16:35:27 -08:00
David Keeler
05e56a2501 bug 857627 - 3/4: have nsIX509CertDB.addCert* functions return the added certificate r=Cykesiopka,jcj
This obviates some uses of nsIX509CertDB.findCertByNickname. Other uses are
replaced by equivalent functionality.

MozReview-Commit-ID: 5NCy9mww560

--HG--
extra : rebase_source : cc8506da86e86ae2edef1309e3eb2fddbf8f757e
2016-11-18 15:32:58 -08:00
David Keeler
858957f033 bug 857627 - 2/4: remove nsIX509Cert.nickname r=Cykesiopka,jcj
In general, any code that was using nsIX509Cert.nickname should be able to use
the attribute displayName (if using nickname for display purposes) or the
attribute dbKey (if using nickname as a unique identifier for a certificate).

MozReview-Commit-ID: G9CfMJDfLqe

--HG--
extra : rebase_source : 1c464dab8f028568cedd5a42cf87428b8bb63fc0
2016-11-18 13:12:29 -08:00
David Keeler
b92dd26f47 bug 857627 - 1/4: improve nsIX509Cert.windowTitle (and rename to displayName) r=Cykesiopka,jcj
This patch makes the following changes:
1. renames nsIX509Cert.windowTitle to displayName
2. removes (most of*) displayName's use of the NSS certificate nickname API
3. adds additional fields that displayName will attempt to use to find a good
name to return (namely, organizationalUnitName and organizationName)

*except for built-in roots, where we have a good hard-coded value for the name

MozReview-Commit-ID: Bt864GnOu7D

--HG--
extra : rebase_source : 5d85aaf68fd4fbe563596354a5ed50e541689934
2016-11-18 11:18:23 -08:00
Wes Kocher
b5de71ec44 Merge m-c to autoland, a=merge 2016-12-01 15:46:49 -08:00
Wes Kocher
d360bdebf5 Merge inbound to central, a=merge 2016-12-01 15:31:47 -08:00
Wes Kocher
535607e577 Merge autoland to central, a=merge 2016-12-01 15:07:11 -08:00
Jim Chen
8eb5680901 Bug 1321562 - Fix bugs in GeckoBundle.fromJSONObject; r=me
Fix a crash in GeckoBundle.fromJSONObject due to wrong values array
type. Also, fix a bug where the first element of a converted array is
repeated. r=me for trivial patch.
2016-12-01 12:25:22 -05:00
Lee Salzman
ca4aa1c411 Bug 1319554 - allow WindowSurfaceX11Image to render to any visual format. r=rhunt
MozReview-Commit-ID: JW4REAg1AKn
2016-12-01 12:15:58 -05:00
Lee Salzman
e2dc7cebf1 Backed out changeset d727d297aeee for wrong bug number (bug 1319544) 2016-12-01 12:14:50 -05:00
Lee Salzman
ebb504eed8 Bug 1319544 - allow WindowSurfaceX11Image to render to any visual format. r=rhunt
MozReview-Commit-ID: JW4REAg1AKn
2016-12-01 12:07:00 -05:00
Sebastian Hengst
f3767aab10 Backed out changeset 8c4dcbaa44b9 (bug 1321525) for failing test_fileapi.html and test_fileReader.html. r=backout on a CLOSED TREE 2016-12-01 17:19:12 +01:00
Phil Ringnalda
f93e4354ba Backed out 5 changesets (bug 1316281, bug 1316810) for ASan failures in UsageTelemetry tests
Backed out changeset 2c711bb8e373 (bug 1316281)
Backed out changeset b3ea1334c33a (bug 1316281)
Backed out changeset 823e118b3fad (bug 1316281)
Backed out changeset 84e97301a8c9 (bug 1316810)
Backed out changeset f98ddece4b12 (bug 1316810)

MozReview-Commit-ID: 5tR2v8NWxQW
2016-12-01 07:46:00 -08:00
Valentin Gosu
d4b789bf8d Bug 1317297 - nextHopProtocol is an empty string for local fetch r=baku
MozReview-Commit-ID: 7oC29OthYja
2016-12-01 16:13:19 +01:00
Andrea Marchesini
04062155a7 Bug 1321525 - FileReader.readAs* should throw if called nested, r=smaug 2016-12-01 15:57:02 +01:00
ffxbld
6de4b39f14 No bug, Automated HPKP preload list update from host bld-linux64-spot-391 - a=hpkp-update 2016-12-01 06:33:44 -08:00
ffxbld
624b5c29f2 No bug, Automated HSTS preload list update from host bld-linux64-spot-391 - a=hsts-update 2016-12-01 06:33:42 -08:00
Daniel Holbert
f812426c42 Bug 1321387 part 6: Add #includes & forward declarations to some headers in layout/generic, to provide types used in those files. r=TYLin
Notes:
 * In CSSAlignUtils.h, I'm just adding a forward-decl for a type used there.
 * RubyUtils.h needs to #include nsIFrame.h -- a forward-declare won't
   suffice -- because it makes a nsIFrame method-call ("aFrame->GetType()").
 * ScrollSnap.h uses the "Maybe" type and a unit defined in
   nsIScrollableFrame.h; hence it needs both of those headers.

MozReview-Commit-ID: KuhJVh9RTjZ

--HG--
extra : rebase_source : 062c1abfe9a1efeb7e241f38302c140075d2ae88
2016-11-30 14:52:26 -08:00
Daniel Holbert
bf80884df5 Bug 1321387 part 5: Sort RubyUtils.h's #include list. r=TYLin
MozReview-Commit-ID: 8ReYlfPFClp

--HG--
extra : rebase_source : 02d56acfd97f8759dcabd59acd2c2fa81cee62d3
2016-11-30 14:51:51 -08:00
Daniel Holbert
10b4c0ba70 Bug 1321387 part 4: Add #includes to some .cpp files in layout/generic, to provide types/definitions used in those files. r=TYLin
These newly-included headers' types are all used directly in the affected files.

MozReview-Commit-ID: 5NEA1QhSJKN

--HG--
extra : rebase_source : 3a9244fcb2a074df1c929de800ddd6cbc1f730e8
2016-11-30 14:51:12 -08:00
Daniel Holbert
5df3673fc8 Bug 1321387 part 3: Add "mozilla::" namespace prefix to some types in header files. r=TYLin
(The only reason this isn't triggering a compile error is due to .cpp files'
"using namespace mozilla" getting haphazardly shared via unified builds.)

MozReview-Commit-ID: 1zhJueMWOav

--HG--
extra : rebase_source : d08f18573d823968f654491e61428aa70a4c217c
2016-11-30 14:50:22 -08:00
Daniel Holbert
ad5f5d35eb Bug 1321387 part 2: Add missing "using namespace" declarations to a few .cpp files in layout/generic. r=TYLin
This adds 2 "using namespace mozilla" (to provide various types),
and 2 "using namespace mozilla::gfx" (to provide mozilla::gfx::DrawTarget).

MozReview-Commit-ID: 2bXbMlr4Dbn

--HG--
extra : rebase_source : 9884419f08529469f23e3fc306ce6e4c57640f0d
2016-11-30 14:47:45 -08:00
Daniel Holbert
be6035f407 Bug 1321387 part 1: Wrap ReflowOutput impl in "namespace mozilla {}". r=TYLin
The class definition (in the header file) is already inside the namespace. But
the method implementations are not (until now), and they've only been compiling
successfully thanks to a "using namespace mozilla" that this file was picking
up from another .cpp file, via unified builds.

MozReview-Commit-ID: ImRBpAVA0en

--HG--
extra : rebase_source : 291e2777187ef9af17e17eecc5e48eb27dd111ec
2016-11-30 14:47:45 -08:00
Phil Ringnalda
702d0d5527 Backed out changeset 079ee7b41c3a (bug 1156160) for selection reftest failures
CLOSED TREE
2016-11-30 21:34:42 -08:00
JW Wang
b49cd98e3b Bug 1321250 - Add MozPromise::ThenPromise() for easier promise chaining. r=jya
MozReview-Commit-ID: 7J60CN0HbOW

--HG--
extra : rebase_source : d5fae5853c2c6c3197361db9c62424b6cbe9f593
extra : source : 8ab119efc0d23e9d919846489a0bdc9473d2fbd6
2016-11-30 18:23:12 +08:00
Kaku Kuo
16e7762061 Bug 1321196 part 2 - rework the IsAllowedToPlay policy; r=alwu,jwwang
MozReview-Commit-ID: 8mrXoLRK42y

--HG--
extra : rebase_source : 1198c795e10476a696cf1a7046dd1d48dea7e44b
2016-11-30 16:01:36 +08:00
Kaku Kuo
e0595cae1a Bug 1321196 part 1 - typo correction; r=alwu
MozReview-Commit-ID: 4EodGXfjb8i

--HG--
extra : rebase_source : 76fd88aed1f46efd3dc5b7086f11ba7bddd2abac
2016-11-30 14:43:41 +08:00
Ruturaj K. Vartak
f749394c02 Bug 1320304 - Firebug theme - Wrong height of Inspector, Network side panel tabs. r=Honza 2016-11-29 22:53:00 -05:00
Ethan Glasser-Camp
e1c5d29c37 Bug 1319742 - UUIDs should be strings, not objects, r=markh
`generateUUID()` returns an `nsID`, which is not exactly the same as a
UUID. `nsID`s can be converted to strings using `toString()`, but if
you use `JSON.stringify()`, they become `{}`. Object comparison in JS
performs identity comparison, which would be useless even if the UUIDs
were sensible, which they aren't. As a result, trying to sync keyrings
always failed, because it always seemed like UUIDs had changed, even
when they hadn't.

Because it never occurred to me that UUIDs wouldn't be strings, I
never even wrote a test for this. Correct this, and fix the test.

Thanks to :vasilica_mihasca and :markh for reporting and diagnosing this.

MozReview-Commit-ID: EthxkFFwRbQ

--HG--
extra : rebase_source : 7b2a258d85bf8aab2bf9895e3a8cac9d34ab8435
2016-11-29 14:15:55 -05:00
Sebastian Hengst
fbf9d0b2f9 Backed out changeset 1c6c9a6c9b16 (bug 1321497) for failing browser_mediaPlayback_suspended_multipleAudio.js. r=backout 2016-12-01 17:09:29 +01:00
Kaku Kuo
57fc60a1b4 Bug 1321142 - remove SeekingState::mVisibility; r=jwwang
MozReview-Commit-ID: 2hCNDnVJ6k0

--HG--
extra : rebase_source : 8aa07563bec07d4d9fc95ba0e8fb466d1ef6c377
2016-11-29 18:41:04 +08:00
Daisuke Akatsuka
741cebabaf Bug 1315598 - Part 2: Add test for short duration animation. r=pbro
MozReview-Commit-ID: IGyhXoPKehI

--HG--
extra : rebase_source : 117b2763d2633db85dd87a7787809a310c37f66b
2016-11-28 11:26:23 +09:00
Daisuke Akatsuka
ddb5e58c2c Bug 1315598 - Part 1: Edge of animation graph is diagonal sometimes. r=pbro
MozReview-Commit-ID: 6HmsFklqzyK

--HG--
extra : rebase_source : c846ac767042b82e075f21b04e33ea42141c9ab8
2016-11-28 11:26:16 +09:00
Ting-Yu Lin
678e94aa9a Bug 1156160 - Update carets when document becomes visible. r=mtseng
When the user switches back to a tab which has the selection highlight on
the document, call UpdateCarets() to bring the carets back.

MozReview-Commit-ID: LxNoNRl4FHZ

--HG--
extra : rebase_source : f6fdc9b5c646b064bbe1e27456bbeaac063bd04c
2016-11-25 17:51:40 +08:00
Shih-Chiang Chien
ad4d822074 Bug 1320256 - use PR_GetThreadName as the register name in profiler. r=cyu
MozReview-Commit-ID: Hybb1zElpSO

--HG--
extra : rebase_source : 7bd2485eba40e9c80810e8e844ecfc8f91600ced
2016-11-29 19:00:04 +08:00
Phil Ringnalda
df8b7ba284 Merge m-c to autoland 2016-11-30 19:24:21 -08:00