Граф коммитов

533762 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 6354ad78fb Bug 1361612: Initialize nsPlaceholderFrame::mOutOfFlowFrame. r=mats
MozReview-Commit-ID: CZoX9t8noAv
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-03 22:06:14 +02:00
Emilio Cobos Álvarez ab91c2ef94 Bug 1361656: Initialize nsGridContainerFrame::mDidPushItemsBitMayLie. r=mats
Again, always initialized before use, and debug-only in any case, but worth
doing I think.

MozReview-Commit-ID: BHLReSWUU29
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-03 22:05:42 +02:00
Emilio Cobos Álvarez 6b268e09c2 Bug 1361749: Initialize all the fields in nsFrameContinuationState. r=mats
Not all of them are initialized/used in all the paths, but worth doing it just
for sanity.

MozReview-Commit-ID: 2EsHQCc0U8P
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-03 22:05:41 +02:00
Emilio Cobos Álvarez b36b5b0ec6 Bug 1361749: Remove unused empty constructor of ScrollbarStyles. r=mats
MozReview-Commit-ID: 6UHSSr4Imiu
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-03 22:05:41 +02:00
Ryan VanderMeulen d33e22f74f Bug 1361449 - Run Windows TC builds on Beta. r=jonasfj 2017-05-03 16:03:24 -04:00
Ryan VanderMeulen d8ba099907 Bug 1361449 - Schedule AWSY jobs on Linux nightly builds. r=jonasfj 2017-05-03 16:03:10 -04:00
André Bargull 11bb19e7da Bug 1359294 - Remove toLocaleLowerCase/toLocaleUpperCase callbacks in XPCLocale. r=Waldo
--HG--
extra : rebase_source : 711d5bfc896a48f63b6c825823ba5aef5c93413c
extra : histedit_source : 7a34417565cf6151c39d7c68c776505142098f24
2017-05-03 09:55:06 -07:00
Brendan Dahl 05aa249ae0 Bug 1359480 - Only allow headless on supported platforms.
Avoids crashes and lets users know if they try headless
on an unsupported platform.
2017-05-03 11:58:10 -07:00
Matteo Ferretti cb85a61c17 Bug 1359522 - added test_dom_matrix_2d.html; r=gregtatum
MozReview-Commit-ID: 9HHOdFg78He
2017-05-03 20:50:09 +02:00
Robert Strong 5b891c93dd Bug 1359492 - remove code that incorrectly sets the apply to dir path when staging an update. r=mhowell
This was missed during the removal of the gonk code.
2017-05-03 11:37:53 -07:00
Neil Deakin 97cb42eab2 Bug 1354956, delay the tooltip direction computation until it is known that the tooltip will appear, avoiding a flush, r=mconley 2017-05-01 10:42:33 -04:00
Matteo Ferretti bd64999657 Bug 1297072 - added support for matrices to handle CSS 2D transformation on grid inspector; r=pbro
- Fixed a bug on `getNodeBounds` that would makes the calculation wrong in case
  of nested frames.
- Centralized all the transformation in `updateCurrentMatrix` function,
  including the scaling due the zoom and display's pixel ratio, and the
  translation to the top left corner of the node inspected.
- Added the transformation from the inspected node to the `currentMatrix`.
- Added `drawLine` and `drawRect` functions, that takes a matrix as argument.
- Position the line's number to the grid itself even when we've infinite lines
  (it's not a regression, it is intended since if a grid is transformed, we
  could have weird results otherwise, so we decided to uniform the behaviors).

MozReview-Commit-ID: 7OUfb6u63Qj
2017-05-03 19:19:19 +02:00
Matteo Ferretti 108b6eefd9 Bug 1297072 - added 2d matrix utility functions; r=gregtatum
MozReview-Commit-ID: AugOrLOR2JP
2017-05-03 19:19:14 +02:00
Kris Maglione d6151328ad Bug 1358921: Lazily load SelfSupportBackend.jsm when first needed. r=florian
MozReview-Commit-ID: 8tG8VcWXRYm

--HG--
extra : rebase_source : dfc43aa4a77b5dbcbeb998e1b481daf5019aa80a
2017-05-02 19:51:17 -07:00
Kris Maglione aeb060de85 Bug 1358921: Lazily load ReaderParent.jsm when first needed. r=florian
MozReview-Commit-ID: 5UkSnU5sJsm

--HG--
extra : rebase_source : 08d1a24ca158cd91bd1691f1c230e4bfbacf149b
2017-04-23 13:27:35 -07:00
Kris Maglione 22688fc220 Bug 1358921: Lazily load LoginManagerParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4Aq0mBGXBX3

--HG--
extra : rebase_source : eb8bdb8efb65d758e1ddf5d6ffd6d07736763139
2017-05-02 22:42:28 -07:00
Kris Maglione df4bfbccad Bug 1358921: Lazily load ContentPrefServiceParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4JSdg1eJFbP

--HG--
extra : rebase_source : acc8b3ffd7a3399526a53f1af8d8643437ad1b2c
2017-04-29 13:38:52 -07:00
Kris Maglione 1c6c698ee0 Bug 1358921: Lazily load Feeds.jsm when first needed. r=florian
MozReview-Commit-ID: JLTn01mmDO5

--HG--
extra : rebase_source : d76b554b611ac63955052bca09dff68f53bce99c
2017-04-23 13:02:49 -07:00
Kris Maglione 9c4e5dce20 Bug 1358921: Lazily load RemotePrompt.jsm when first needed. r=florian
MozReview-Commit-ID: 95u2FozBiqk

--HG--
extra : rebase_source : 940bcb1eb94b3ccc3481e3a8bcbaf8d0b8bad0a2
2017-04-23 13:00:46 -07:00
Kris Maglione 2e8e2cf455 Bug 1358921: Lazily load ContentClick.jsm when first needed. r=florian
MozReview-Commit-ID: 3Ogl4SaZ5t

--HG--
extra : rebase_source : 23a5f45cffbc8ca34590382326fbb55a5f7f362b
2017-04-23 12:58:18 -07:00
Kris Maglione 2204b8f326 Bug 1358921: Lazily load FormValidationHandler.jsm when first needed. r=florian
MozReview-Commit-ID: GI33wkhutgP

--HG--
extra : rebase_source : a4d50b23148e1625da93da45998fa3466725973a
2017-05-02 20:08:30 -07:00
Kris Maglione 1daaeec14c Bug 1358921: Lazily load ContentSearch.jsm when first needed. r=florian
MozReview-Commit-ID: 2iN85WYKtkS

--HG--
extra : rebase_source : 1abc83b3860429e6439513f0aa6ca26358639681
2017-04-23 13:05:39 -07:00
Kris Maglione 19a2312fe8 Bug 1358921: Lazily load AboutHome.jsm when first needed. r=florian
MozReview-Commit-ID: 6pzUBmzoFDp

--HG--
extra : rebase_source : 07debf9e9e31065605306362bd57245199ed8c24
2017-04-23 12:48:38 -07:00
Kris Maglione f62862f632 Bug 1358921: Lazily load webrtcUI.jsm when first needed. r=florian
MozReview-Commit-ID: LRtpyBaRCMA

--HG--
extra : rebase_source : 698e702af3893bbbcf544eeb2ef1622072a0b67c
2017-05-02 19:50:20 -07:00
Honza Bambas 124792a6b7 Bug 1354796 - Close unconnected HTTP connection with NS_ERROR_NET_TIMEOUT after 90s timeout. r=mcmanus 2017-05-03 08:31:00 -04:00
David Major eeaa91fc5c Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj
This fixes a deadlock by removing one of the two sides of a mutual-wait.
2017-05-03 12:10:48 -04:00
Nathan Froyd 3261352ea3 Bug 1361514 - convert XPCLocaleObserver to NS_DECL_OWNINGTHREAD; r=gabor
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Nathan Froyd 81c338e5a7 Bug 1361512 - convert InputStreamParent to use NS_DECL_OWNINGTHREAD; r=baku
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Nathan Froyd 5f0417d309 Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku
The declarations of their refcounting methods already includes an owning
thread, so let's just piggyback on top of that to assert their owning
thread, rather than having separate fields and tests.
2017-05-03 11:48:54 -04:00
Nathan Froyd 695eedecbc Bug 1361445 - convert MediaEngineSource to use NS_DECL_OWNINGTHREAD; r=jesup
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Jim Chen 4ad848635e Bug 1352177 - 3. Update existing binding config files; r=snorp
Update the existing binding config files to the new format. Bundle is no
longer used so Bundle-classes.txt is removed.
2017-05-03 11:36:19 -04:00
Jim Chen 6723035d5c Bug 1352177 - 2. Introduce new config file format for SDK bindings; r=snorp
Instead of specifying a class name per line, the new format uses the
.ini format, with each section name specifying the class, and each
property name specifying a member of the class. WrapForJNI options can
be specified with each class or member. Comments can be specified with
';' or '#'. For example,

 # Generate bindings for Bundle using default options:
 [android.os.Bundle]

 # Generate bindings for Bundle using class options:
 [android.os.Bundle = exceptionMode:nsresult]

 # Generate bindings for Bundle using method options:
 [android.os.Bundle]
 putInt = stubName:PutInteger

 # Generate bindings for Bundle using class options with method override:
 # (note that all options are overriden at the same time.)
 [android.os.Bundle = exceptionMode:nsresult]
 # putInt will have stubName "PutInteger", and exceptionMode of "abort"
 putInt = stubName:PutInteger
 # putChar will have stubName "PutCharacter", and exceptionMode of "nsresult"
 putChar = stubName:PutCharacter, exceptionMode:nsresult

 # Overloded methods can be specified using its signature
 [android.os.Bundle]
 # Skip the copy constructor
 <init>(Landroid/os/Bundle;)V = skip:true

 # Generic member types can be specified
 [android.view.KeyEvent = skip:true]
 # Skip everything except fields
 <field> = skip:false

 # Skip everything except putInt and putChar
 [android.os.Bundle = skip:true]
 putInt = skip:false
 putChar =

 # Avoid conflicts in native bindings
 [android.os.Bundle]
 # Bundle(PersistableBundle) native binding can conflict with Bundle(ClassLoader)
 <init>(Landroid/os/PersistableBundle;)V = stubName:NewFromPersistableBundle

 # Generate a getter instead of a literal for certain runtime constants
 [android.os.Build$VERSION = skip:true]
 SDK_INT = noLiteral:true
2017-05-03 11:36:18 -04:00
Jim Chen f915e1bd65 Bug 1352177 - 1. Add a "noLiteral" option for WrapForJNI; r=snorp
For static final fields, generate a getter instead of a literal when
specified. Used to generate bindings for runtime constants whose values
are unknown at compile time.
2017-05-03 11:36:18 -04:00
Jim Chen 3434ba087b Bug 1360322 - 3. Only build LUL on supported architectures; r=mstange
Only build LUL and its tests on ARM, x86, and x86_64, because only those
architectures are currently supported by LUL.
2017-05-03 11:36:18 -04:00
Jim Chen 7041014748 Bug 1360322 - 2. Add initial AArch64 support to Gecko profiler; r=mstange
Add enough AArch64-specific code for the Gecko profiler to build.
2017-05-03 11:36:18 -04:00
Jim Chen 28cf921283 Bug 1360322 - 1. Convert tools/profiler/moz.build to Unix line ending; r=me 2017-05-03 11:36:18 -04:00
Tim Taubert 3fe719f573 Bug 1360916 - Fix timeouts in browser_sessionStorage_size.js r=bustage 2017-05-03 17:22:07 +02:00
Olli Pettay b49ab64eb4 Bug 1355039 - Ensure the right url is used for reloading. r=bz 2017-05-03 11:04:02 -04:00
Masayuki Nakano d04632f559 Bug 1342552 - IMEStateManager should cache nsIWidget for sPresContext and use it. r=smaug
IMEStateManager should cache nsIWidget for sPresContext at caching sPresContext.  Then, even if sPresContext has gone, IMEStateManager can clean up with the nsIWidget cache.

Unfortunately, editor has some bugs about calling IMEStateManager::UpdateIMEState().  That is, calling it *before* IMEStateManager::OnFocusChange().  In such case, this patch makes UpdateIMEState() ignore the call.

MozReview-Commit-ID: 1cydI03WyB8
2017-04-20 13:43:50 +09:00
Gerald Squelart b7520a7dec Bug 1349595 - Check GMP i420 frame size computations. r=cpearce
MozReview-Commit-ID: 9HdCbOKah28
2017-03-31 12:21:22 +11:00
Till Schneidereit 4662c498be Bug 1324140 - Unwrap given Promise in some JSAPI functions. r=bz
To make Promise-related JSAPI functions easier to use, this patch unwraps handed-in Promise objects automatically. Some functions don't unwrap, mostly debugging-related ones and, notably, JS::IsPromiseObject. The latter doesn't unwrap in order to stay conservative: if JSAPI-using code uses IsPromiseObject to verify that an object is a Promise, it should always be fine to say "no".

MozReview-Commit-ID: 7DuCqCj95JR

--HG--
extra : rebase_source : 86e5b837c68fcbd1c1930dffefc22856b02cf3b1
2017-05-03 10:53:19 -04:00
Alexander Surkov 1eef9e9b1e Bug 1355488 - fix aria-owns on a document, r=davidb 2017-05-03 10:50:33 -04:00
Mats Palmgren 0bf577cd74 Bug 1352093 - Use an integer type for sNumLivingContexts that won't overflow when counting objects. r=mstange
MozReview-Commit-ID: 2w9y0flEdrX

--HG--
extra : rebase_source : 199beffa993b756ef208f6070a9f5c3de0d2fea0
2017-05-03 10:40:51 -04:00
Ben Kelly 6564cff0b5 Bug 1361166 Update mParentStatus synchronously when closing worker thread. r=baku 2017-05-03 07:42:43 -07:00
Tim Taubert c9074e0e0a Bug 1360916 - Update telemetry code in sessionstore content script r=mikedeboer data-r=bsmedberg
This patch replaces FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_LONGEST_OP_MS with
a more fine-grained data collection via a keyed histogram so that we can
determine which type of data collection we spend a lot of time on.

Additionally, it abandons sending telemetry data from the content to the parent
via custom messages and instead uses the Telemetry service directly. Thus it
also gets rid of a bug that currently overrides measurements for the same
histogram done quickly in succession
2017-05-03 12:06:34 +02:00
Gerald Squelart 848c8517bc Bug 1349604 - Check CDM black-frame size computations. r=cpearce
MozReview-Commit-ID: BnnQn5PZPaB
2017-03-31 10:20:32 +11:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
Andreas Farre 3ce44dbcc6 Bug 1355480 - Add telemetry for measuring timeout execution. r=smaug, data-r=bsmedberg
Measure execution time by adding telemetry probes for tracking
foreground, tracking background, non-tracking foreground and
non-tracking background timeouts.

--HG--
extra : source : 69439c0cd3e6d118681d1bb6586cb0a7b4bb85fc
2017-05-02 07:23:00 -04:00
Jonathan Kew 4c35432a3a Bug 1360309 - Work around some broken Apple fonts. r=jrmuizel 2017-05-03 09:03:18 +01:00
Carsten "Tomcat" Book 0b5ec8c1f2 Backed out changeset 74a0a0207e08 (bug 1338217) for linux failures 2017-05-03 15:27:26 +02:00