Commit Graph

480640 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
acc323ca24 Merge mozilla-central to mozilla-inbound 2016-06-24 11:24:35 +02:00
malayaleecoder
454ebe4663 Bug 1170281 - cleanup talos output.py file r=jmaher
MozReview-Commit-ID: 2VqGFozmBSf
2016-06-24 00:53:15 +05:30
Cykesiopka
577a05865b Bug 307081 - Make nsIClientAuthDialogs::ChooseCertificate() pass an nsIArray of nsIX509Certs, not strings. r=kats,keeler
This provides implementations of ChooseCertificate() with more flexibility, and
allows callers of ChooseCertificate() to be less complex.

A portion of this work involves reimplementing
nsNSSCertificate::FormatUIStrings() in JS and improving UI strings for l10n.

MozReview-Commit-ID: CE7Uc2ntwmZ

--HG--
extra : transplant_source : R%A8eC%CEO2%DC%20%F7%B4V%F3g%E6h%EB%D5%8D3
2016-06-24 00:12:16 -07:00
Cykesiopka
313db6b516 Bug 307081 - Clean up nsIClientAuthDialogs.idl and implementations. r=kats,keeler
This fixes the following in the IDL:
1. Misleading or unclear parameter names in the IDL. |cn| in practice is the
   concatenation of the CN of the server cert and the port of the server, and
   |issuer| is the Organization of the issuer cert of the server cert.
2. Use of the |wstring| type. |AString| is generally preferred, and has the
   benefit of letting implementations skip null checks due to the use of
   references.
3. Using an explicit |canceled| outparam instead of just setting a return type.
   There is no need for the outparam if the return type can be used.
4. Using |long| (int32_t) for |selectedIndex|. |unsigned long| (uint32_t) is
   more logical, and paves the way for future changes.

This fixes the following in the Android implementation:
1. Lack of checks to ensure the QueryInterface() call succeeded. In practice,
   the call will always succeed, but it's good practice to check anyways.
2. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.

This fixes the following in the desktop implementation:
1. Lack of null pointer checking.
2. Trying to get a parent window ref off a context that doesn't actually support
   doing so.
3. Setting a variable to an nsIPrefService instance initially, then later
   setting it to a pref branch instance later on. This is confusing and
   unnecessary.
4. Abusal of the CAPS bundle.
5. Unnecessary variables.
6. Variables declared far away from where they are used.
7. Variable shadowing.
8. Style issues.
9. Lack of documentation.

This also fixes the following:
1. Lack of localisation notes.

MozReview-Commit-ID: FTc6XecJd6h

--HG--
extra : transplant_source : %ABQ%8F%E6%A3%25%FE%94%E4%D6X%3D%28%2C%05%5E%FB%84.-
2016-06-24 00:12:11 -07:00
Cykesiopka
1bc7589c72 Bug 307081 - Expose nsNSSCertificate.cpp GetKeyUsagesString() as the keyUsages attribute on nsIX509Cert. r=keeler
This allows nsNSSCertificate::FormatUIStrings() to be reimplemented in JS, which
is a necessary step for making nsIClientAuthDialogs::ChooseCertificate() pass an
nsIArray of nsIX509Certs.

Also removes some deprecated and unused constants.

MozReview-Commit-ID: CJITKVlUEtP

--HG--
extra : transplant_source : %1C%09%B2%B5%F4%C4%28%1A%B2%E5%CFsu%8B%B6W%8El%9Cn
2016-06-24 00:12:06 -07:00
Cykesiopka
a9d0602102 Bug 307081 - Fix buggy Android implementation of nsIClientAuthDialogs::ChooseCertificate(). r=kats
This fixes two issues:
1. Passing a literal 1 as the |length| argument to formatStringFromName(). This
   is obviously incorrect and should instead be the length of the given arg
   list.
2. Directly setting the |selectedIndex| outparam to a number. XPIDL outparams
   on the JS side are actually objects that wrap the true outparam value, which
   must be accessed via |.value|.

MozReview-Commit-ID: BJObQfcV5G7

--HG--
extra : transplant_source : %11%B2TD%F5%C3%84%BD%C1%7B%3B%1Em%EC%CA%CAu%E5%3Dq
2016-06-24 00:12:01 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
638edf0077 Bug 1279440 - Fix prefetch for rel=next. r=smaug 2016-06-23 08:52:00 +02:00
Christoph Kerschbaumer
c291d7493b Bug 1278013 - Remove SEC_FORCE_INHERIT_PRINCIPAL from loadinfo within baseChannel::Redirect. r=bz 2016-06-22 17:15:06 +02:00
Christoph Kerschbaumer
0d99d638ef Bug 1258111 - Fix crash in CheckPolicy. r=billm 2016-06-23 09:40:51 +02:00
Karl Tomlinson
8f6ffacf7d bug 1213313 set mComputedValue for each tick so that SetTarget values are calculated correctly r=padenot
from mLastComputedValue.

MozReview-Commit-ID: 28lYzlarp8U

--HG--
extra : rebase_source : fc8aca3718d9857b75cd835ffac1940d20e9d943
2016-06-21 18:02:06 +12:00
Karl Tomlinson
1ea1e941eb test for bug 1213313 r=padenot
MozReview-Commit-ID: 6CU9AgW8dZx

--HG--
extra : rebase_source : 75ffbade151f1fb232e8e7b6d5239ba3be35e3bb
2016-06-22 10:16:32 +12:00
Karl Tomlinson
470d8c9d1d bug 1257718 replace bailOut variable with more descriptive timeMatchesEventIndex r=padenot
with the new variable matching the loop exit status of interest.

MozReview-Commit-ID: 8xy5ipo4trp

--HG--
extra : rebase_source : e951177af0699a550a4fb56a6192720207e74cb2
2016-06-21 17:48:31 +12:00
Karl Tomlinson
5d244c17fc bug 1257718 look for new events as time advances r=padenot
|bailout| is reset for each aTime, so that the appropriate events for that
time can be found.

The |eventIndex| loop is adjusted so that, when it is re-entered, it keeps
the current set of events if they are appropriate (instead of advancing
every time it is entered).

|previous| and |next| are now advanced even when passing the last event,
removing the special case when past all events.

MozReview-Commit-ID: 8ZSIzKKGQbd

--HG--
extra : rebase_source : bfc899287abaf12d5cdbfbc1b22d6626ab2299dd
2016-06-21 17:01:18 +12:00
Karl Tomlinson
34706466dd test for bug 1257718 r=padenot
MozReview-Commit-ID: 8MkfnpsQBKH

--HG--
extra : rebase_source : f60e8d09969751b76cb6daff66139e3624b076b6
2016-06-22 09:10:31 +12:00
Jan Odvarko
ea87030f6a Bug 1280949 - Use regexpr to identify browser based directories. r=jlongster 2016-06-20 17:04:54 +02:00
Jared Wein
98a1d260d7 Bug 1280618 - Dotted square does not follow the smooth zoom animation of icons from toolbar. r=gijs
MozReview-Commit-ID: HhRIwnLmlgv
2016-06-23 11:48:00 +02:00
Dan Minor
1b06c54c9f Bug 1276483 - Fix WaveShaper when connected from a silent GainNode; r=padenot
MozReview-Commit-ID: CUEO6PDwo5B

--HG--
extra : rebase_source : 4ef158a3bf8f9752d584982b01f0ad3e66ac3fe4
2016-06-20 10:42:50 -04:00
Carsten "Tomcat" Book
47aeb86e2c Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Hannes Verschore
8f44efbeeb Bug 1274895 - IonMonkey: Move the ion lazy list to the JSRuntime, r=jandem 2016-06-23 10:11:45 +02:00
Carsten "Tomcat" Book
fdb5ee5d63 Backed out changeset 34aa8f1f134f (bug 1268638) for assertion failures in Assertion failure: !mLockedForGL, at SharedSurfaceD3D11Interop.cpp:302
--HG--
extra : rebase_source : 12cc2c6e812d19438112acf568a034fb36249c67
2016-06-23 09:47:57 +02:00
Carsten "Tomcat" Book
db11a4525e Backed out changeset 8dd927ca1cd1 (bug 1268638)
--HG--
extra : rebase_source : 8909933919f95877e7d61269955770c4532209db
2016-06-23 09:47:26 +02:00
Carsten "Tomcat" Book
253be4a67d Backed out changeset fdabb719c53a (bug 1268638)
--HG--
extra : rebase_source : c0556aedfa104839cb53748f6470d3f19f0be979
2016-06-23 09:47:25 +02:00
Carsten "Tomcat" Book
dbb5d860d9 Backed out changeset c62305b23556 (bug 1268638)
--HG--
extra : rebase_source : f55a7ac7f723a9b5cb8d255e2d27d88a2f79ba4e
2016-06-23 09:47:25 +02:00
Carsten "Tomcat" Book
ec63df8a5c Backed out changeset 7fed3871832f (bug 1268638)
--HG--
extra : rebase_source : 6b0e4a90348aeea327120058cb5ca734e4a57f2b
2016-06-23 09:47:24 +02:00
Carsten "Tomcat" Book
c03c1349bc Backed out changeset 419dea4c5e66 (bug 1268638)
--HG--
extra : rebase_source : 4ae663e429c37764db7176b5bd548a8d1c85dc21
2016-06-23 09:47:23 +02:00
Carsten "Tomcat" Book
440b19b445 Backed out changeset ca314c9d5249 (bug 1268638)
--HG--
extra : rebase_source : d15fcba45320c9d5730da7dd01fc57b6703de03b
2016-06-23 09:47:22 +02:00
Carsten "Tomcat" Book
a896cc25ca Backed out changeset 55f389b590b7 (bug 1268638)
--HG--
extra : rebase_source : 148700074878399bb64f4bcb76ea0096eb85e85e
2016-06-23 09:47:21 +02:00
Carsten "Tomcat" Book
60a9e9ce21 Backed out changeset 4171ff387666 (bug 1268638)
--HG--
extra : rebase_source : c57ffe49af64d35f69a5b186b2edef66b3223319
2016-06-23 09:47:20 +02:00
Carsten "Tomcat" Book
98a34f02db Backed out changeset a89314380aea (bug 1268638)
--HG--
extra : rebase_source : 512c7ab8052a1a5111b99ced39befd1c3bd13006
2016-06-23 09:47:20 +02:00
Andrea Marchesini
fca8c62260 Bug 1281545 - FileSystem Blink API tests should remove the test directory, r=smaug 2016-06-23 09:49:34 +02:00
Andrea Marchesini
45087a7970 Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Karl Tomlinson
ba91bfca8e bug 1257718 use is() for comparison with more info on failure than ok() r=padenot
MozReview-Commit-ID: 3XgQCq4Gg0S

--HG--
extra : rebase_source : 35a4c0c8a626350f96ba0d2359b28f557235aae4
2016-06-17 14:28:39 +12:00
Karl Tomlinson
b92cb079fc bug 1257718 introduce function-scope TimeOf() to simplify templated event time getter calls r=padenot
MozReview-Commit-ID: 7uKqlT2BpcS

--HG--
extra : rebase_source : 2670536946bde0e1a6911bacbaa68d1c636e6455
2016-06-17 10:54:54 +12:00
Karl Tomlinson
fc997c1ba1 bug 1257718 rename lastEventId to eventIndex r=padenot
This is not necessarily related to the last event and it is not the
previous event.

MozReview-Commit-ID: 6hhv184BHfg

--HG--
extra : rebase_source : 8013606e27a159bb2598217db40df926539227c6
2016-06-17 09:36:24 +12:00
Karl Tomlinson
9d3453793f bug 1257718 don't export implementation of complex timeline methods r=padenot
This limits recompilation required when modifying the methods, and
makes the public interface easier to read.

MozReview-Commit-ID: Lo2f7xmIdGu

--HG--
rename : dom/media/webaudio/AudioEventTimeline.h => dom/media/webaudio/AudioEventTimeline.cpp
extra : rebase_source : 75586bb320dd2e5606e691919b1c6a7c48c2065f
2016-06-17 05:26:13 +12:00
Karl Tomlinson
6fca9ca1b9 bug 1257718 move comment to within the code path it describes r=padenot
The comment was not necessarily true where it was previously positioned.

MozReview-Commit-ID: FMYkGkmuvVS

--HG--
extra : rebase_source : a6ae6958b9486c92c7830fcc334dac66c643dc29
2016-06-17 03:29:40 +12:00
Cameron McCormack
3265f73629 Bug 1280772 - Part 3: Store Servo-parsed style="" attributes in nsAttrValues. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e0f01ceba Bug 1280772 - Part 2: Rename eCSSDeclaration to eGeckoCSSDeclaration. r=bholley 2016-06-24 13:35:12 +10:00
Cameron McCormack
7e7d15d949 Bug 1280772 - Part 1: Remove explicit numbering of MiscContainer-residing nsAttrValue types. r=bholley 2016-06-24 13:35:12 +10:00
Phil Ringnalda
0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Sotaro Ikeda
20a765bfb9 Bug 1281169 - Temporarily disable gonk fence handling r=nical 2016-06-23 19:06:40 -07:00
Seth Fowler
f3f1ed4efa Bug 1262549 - Refuse to allocate huge deinterlacing buffers. r=edwin 2016-06-23 18:59:58 -07:00
Nathan Froyd
120cdf42f2 Bug 1281918 - make runcppunittests filter out non-executable files when given a directory; r=chmanchester
When runcppunittest (resp. |mach cppunittest|) is passed a directory, it
attempts to indiscriminately run all the files found in that directory.
This is unhelpful, as directories containing compiled cppunittests also
tend to have other things: Makefiles, object files, etc.  Let's filter
out non-executable files from the directory listing and make the user
experience more pleasant.
2016-06-24 04:02:18 -04:00
Boris Zbarsky
4eb82c0b30 Bug 1281071. Be a bit more careful with our cross-origin-accessible stuff on windows. r=bholley 2016-06-23 19:39:53 -04:00
Yury Delendik
47898bf0e8 Bug 1280471 - Turn on highlight for WebAssembly text format. r=jlongster
MozReview-Commit-ID: GIeIqr3m8WX

--HG--
extra : transplant_source : %0A%A2%DB%8A%40NBm.6T%D3_%CC%F1%D1%A2%EF%23%3E
2016-06-16 16:02:49 +01:00
Tom Tromey
33551be142 Bug 1280371 - Move ELEMENT_STYLE to devtools/shared/specs/styles. r=bgrins
MozReview-Commit-ID: AjZLiQAivg9

--HG--
extra : transplant_source : %E6%1E%5E%CD%88%22K%F3%C5%91%A5%9C%05o%1F%13%B6%98%BCE
2016-06-16 11:27:10 +01:00
Nicholas Rosbrook
9dcffb4d88 Bug 1264835 - Updated DefaultDoorHanger so that the default CheckBox state could be specified as an option. r=sebastian 2016-06-17 18:29:15 -07:00
Maxime "Pepe_" Buquet
8d1d5c1189 Bug 1221545 - Allow for the Style Editor to be disabled. r=jdescottes 2016-06-21 15:13:51 +02:00
Tom Tromey
af5e8f9ef5 Backed out changeset 3518b484f82d (bug 1275637) for errors in browser_se_first-run.js; CLOSED TREE; r=me, a=KWierso
MozReview-Commit-ID: HumbpXccwrF
2016-06-22 14:19:19 -06:00
Michael Kaply
171f9d0312 Bug 1264705 - Add Qwant search plugin for mobile. r=florian,flod 2016-06-22 09:04:53 -05:00