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

490644 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart f1e3f0e4e8 Bug 1300446 - Check return value from GetCubebContextUnlocked - r=kinetik
MozReview-Commit-ID: LaXsymagjGW

--HG--
extra : rebase_source : e6e69fb11f3e8921de4406ed1561595fa5d75075
2016-08-30 17:08:06 -07:00
Gerald Squelart e7d6a387d7 Bug 1300446 - Keep explicit cubeb state - r=kinetik
Cubeb can be in three states: Uninitialized, initialized (or in
error), or shutdown.
This will ensure that we only initialized cubeb once, and that
we don't attempt to re-initialize it after shutdown.

MozReview-Commit-ID: 8LhRe7bvS4K

--HG--
extra : rebase_source : 3b58d94ad1e578c9316455893deb2d826aefe0dc
2016-08-30 17:03:04 -07:00
Kan-Ru Chen 880bbbc173 Bug 1279635 - Change mozbrowserlocationchange event detail to match Servo. r=smaug
MozReview-Commit-ID: 1kCbM5lJ4Sr

--HG--
extra : rebase_source : e13fb1ee68301e77acb0bd5b97f24deab865bdd8
2016-09-02 17:20:05 +08:00
Alastor Wu 384eb5f086 Bug 1298777 - don't need to capture audio for media element without audio track. r=jwwang
MozReview-Commit-ID: DKRGiuTGjtg

--HG--
extra : rebase_source : b5c2705b623d6479cb729f2a51aef637e59b1e39
2016-09-02 18:47:10 +08:00
JW Wang 625fff7eaf Bug 1299393. Part 2 - remove unused functions. r=kaku
MozReview-Commit-ID: AfpKC88rC4n

--HG--
extra : rebase_source : 7fadadb11e309634acb0622f4bbf90696cf09f9d
2016-08-31 15:48:45 +08:00
JW Wang 1e5d551232 Bug 1299393. Part 1 - make some functions return void and fix the comments. r=kaku
MozReview-Commit-ID: 3wAjgxcMLhX

--HG--
extra : rebase_source : ab61399a46797bc5b3eab58770eb7e186a91d772
2016-08-31 15:46:59 +08:00
JW Wang 9b63ba4dc6 Bug 1299387 - check the duration instead of mState to match the comment. r=kaku
MozReview-Commit-ID: E1MgKHDIRAq

--HG--
extra : rebase_source : ccdd715392571e80e803810179eafe857f5bf71b
2016-08-31 14:54:24 +08:00
Masayuki Nakano 370905b797 Bug 1293638 NativeKey::WillDispatchKeyboardEvent() should set alternative charCode values properly when other shift state inputs longer text r=m_kato
There are 2 bugs and this patch fixes them once.

First, NativeKey::WillDispatchKeyboardEvent() is used to setting alternative charCode values for every eKeyPress event.  However, for supporting "reserved" shortcut keys, now, it sets alternative charCode values to eKeyDown too.  However, they are really different.  eKeyPress events are fired for every character to be inputted by a key press sequence.  On the other hand, eKeyDown event is fired only once for a key sequence.  Therefore, now, NativeKey::WillDispatchKeyboardEvent() needs to set alternative charCode values for all characters inputted by the key sequence to eKeyDown event.

The other is not a new bug.  NativeKey::WillDispatchKeyboardEvent() sets the last eKeyPress event's special alternative charCode values, such as unshifted Latin character, shifted Latin character and some character which can be computed from virtual keycode.  This is performed when given index is the last index of the longest input string of the key.  However, the value includes different shift key state.  I.e., when different shift key causes longer text input, NativeKey::WillDispatchKeyboardEvent() won't set the special alternative charCode values to any eKeyPress events.  For example, when Ctrl+T is pressed with Arabic keyboard layout, its unshifted input string length is 1 but shifted input string length is 2.  Then, eKeyPress event is fired only once, but NativeKey::WillDispatchKeyboardEvent() waits second eKeyPress event.

Therefore, this patch makes the method append alternative charCodes for all remaining characters and detect the last event correctly with mCommittedCharsAndModifiers (it's used for KeyboardEvent.key value of eKeyDown event and the count of eKeyPress events is same as the value's length).

MozReview-Commit-ID: 6adUnmi5KYy

--HG--
extra : rebase_source : 8c04a3a155f2fcb9a5a8b3e9e0a176c678dc6265
2016-09-01 14:26:02 +09:00
Luca Greco 1618aa7ef4 Bug 1252215 - [webext] Fix promiseAddonStartup defined in xpcshell tests. r=kmag
MozReview-Commit-ID: BXYXHDrG6zL

--HG--
extra : rebase_source : a93d664d78ffc416d08e1bab3058be153ae560f7
2016-09-01 19:42:41 +02:00
Luca Greco c7c1214f36 Bug 1252215 - [webext] Add Embedded Extensions helper to LegacyExtensionsUtils. r=aswan,kmag
This patch introduces helper for the embedding of a webextension (and new related tests).

The new exported helpers are going to be integrated in the XPIProvider
to provide the Embedded WebExtension to the Legacy Extensions which
have enabled it in their install.rdf

MozReview-Commit-ID: 7M1DRkXjGat

--HG--
extra : rebase_source : 3226a83652b97601d9d4d34693761cfc720735a0
2016-08-29 15:56:02 +02:00
Luca Greco 9226a7b2f4 Bug 1252215 - [webext] LegacyExtensionsUtils JSM module and LegacyExtensionContext helper. r=aswan,kmag
- this new module contains helpers to be able to receive connections
  originated from a webextension context from a legacy extension context
  (implemented by the `LegacyExtensionContext` class exported from
  this new jsm module)

- two new test files (an xpcshell-test and a mochitest-browser) ensures that the LegacyExtensionContext can receive a Port
  object and exchange messages with a background page and a content script (the content script test
  is in a different test file because it doesn't currently work on android, because it needs
  the browser.tabs API and the TabManager internal helper)

MozReview-Commit-ID: DS1NTXk0fB6

--HG--
extra : rebase_source : 462d6a461167e317297d204e72c2f6773bc5c770
2016-08-24 18:31:36 +02:00
Ryan VanderMeulen 1cac8d1e6d Merge inbound to m-c. a=merge 2016-09-04 13:36:59 -04:00
Ryan VanderMeulen ddf120c133 Merge fx-team to m-c. a=merge 2016-09-04 13:35:45 -04:00
Sebastian Hengst 80e39088f2 Backed out changeset 2ecd402d3934 (bug 1264192) for frequent failure in netwerk/cookie/test/unit/test_eviction.js. r=backout 2016-09-04 15:07:24 +02:00
Gerald Squelart df2f457e83 Bug 1298710 - Remove ByteReader::DiscardRemaining and AutoByteReader - r=jya
DiscardRemaning was needed to prevent debug-time assertion that the buffer was
read completely or explicitly discarded.

However this required extra work in cases where buffer didn't need to be read
to the end.
And also it could cause crashes (in debug versions) if a buffer was not fully
read, be it because the parser was incorrect or because the media file itself
was wrong (though possibly still readable despite that).
Finding parser issues is still possible by manually instrumenting ByteReader
during development.
And reading media file with small recoverable errors is a bonus.

MozReview-Commit-ID: 2RUYzaYAeRW

--HG--
extra : rebase_source : 26c41758b1b2c87542bf4e41d08e361198ca5b13
2016-09-04 18:33:30 +10:00
Brian Birtles 48f29038db Bug 1300045 part 2 - Split KeyframeEffect.cpp into KeyframeEffect{ReadOnly}.cpp r=hiro,smaug
MozReview-Commit-ID: DdBEicunApv

--HG--
rename : dom/animation/KeyframeEffect.cpp => dom/animation/KeyframeEffectReadOnly.cpp
rename : dom/animation/KeyframeEffect.h => dom/animation/KeyframeEffectReadOnly.h
extra : rebase_source : 70063d8ba09c9c457f22771e9b514ddc9fee1612
2016-09-04 16:34:21 +09:00
Brian Birtles 732a6955f2 Bug 1300045 part 1 - Tidy up some missing includes r=hiro
I came across these while working on a different bug that changed the grouping
in the unified build. Adding these as a separate step will hopefully remove a
little noise from the next patch in the series.

MozReview-Commit-ID: Km7wTcVWG9n

--HG--
extra : rebase_source : 0610add67482c1a5aa7c4f576e151ed9437698c0
2016-09-04 16:33:38 +09:00
Phil Ringnalda 07667e0564 Merge m-c to m-i 2016-09-03 21:59:01 -07:00
Phil Ringnalda cf8c755224 Merge m-c to autoland 2016-09-03 21:57:17 -07:00
Phil Ringnalda 40dd4b145b Merge f-t to m-c, a=merge 2016-09-03 21:52:06 -07:00
Phil Ringnalda 946bb1cf02 Merge m-i to m-c, a=merge 2016-09-03 21:51:33 -07:00
Phil Ringnalda 51211ec1af Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00
Phil Ringnalda ba91593aa8 Bug 1284344 - Increase the timeout for browser_selectpopup.js
--HG--
extra : rebase_source : 6efa5889699304efa323e83607b0386e02bc7d25
2016-09-03 09:18:35 -07:00
Phil Ringnalda 24d53c9e9a Bug 1271074 - Increase the timeout of browser_vimemacs.js (and remove the previous 'increase' that tried to decrease it)
--HG--
extra : rebase_source : 21179d2952391091d7ff9bdcf185991833a4d8fc
2016-09-03 09:09:44 -07:00
Zibi Braniecki 57a0c66266 Follow-up to bug 1289951 - package mozIntl only if INTL is enabled. r=me
MozReview-Commit-ID: 1JIWccWsHPu
2016-09-03 21:44:27 +02:00
Zibi Braniecki d654f8c12f Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: Ad73e1XD9VD
2016-09-03 21:10:51 +02:00
Ryan VanderMeulen 740cdfc810 Merge m-c to fx-team. a=merge 2016-09-03 11:45:27 -04:00
Ryan VanderMeulen 1502d18249 Merge inbound to m-c. a=merge 2016-09-03 11:33:28 -04:00
Ryan VanderMeulen d6f23d6c08 Merge autoland to m-c. a=merge 2016-09-03 11:17:55 -04:00
Bobby Holley 90de39d448 Bug 1300287 - Move Servo_Shutdown call to nsAppRunner.cpp. r=emilio
This mirrors the location of Servo_Init. This is important because xpcshell runs
don't use nsAppRunner, and so we end up with an unpaired call to Servo_Shutdown,
which crashes.
2016-09-02 23:48:45 -07:00
Andi-Bogdan Postelnicu 59f394c4bb Bug 1300080 - add to mozilla repository the modeling file for coverity. r=Ehsan
MozReview-Commit-ID: 98mbNizREWv

--HG--
extra : rebase_source : 16acc04d7fecf6c8a082288eaed0a6b61fa89a87
2016-09-03 08:55:58 +03:00
Phil Ringnalda f8583f400a Back out e8c6d262e4b7 (bug 1289951) for Android failures in test_mozintl.js 2016-09-02 21:14:58 -07:00
Phil Ringnalda c3de252482 Backed out 9 changesets (bug 1289011) for Win8 clip-path-* reftest failures
CLOSED TREE

Backed out changeset dea9d3f8bfe0 (bug 1289011)
Backed out changeset 03572962add4 (bug 1289011)
Backed out changeset 4b8d3be7bdf8 (bug 1289011)
Backed out changeset d1b4d0b38cdb (bug 1289011)
Backed out changeset aa59aca85397 (bug 1289011)
Backed out changeset 43d1ec007a49 (bug 1289011)
Backed out changeset a623cab8e4a7 (bug 1289011)
Backed out changeset 34e7dd6acb4c (bug 1289011)
Backed out changeset 900800f54055 (bug 1289011)
2016-09-02 19:46:39 -07:00
Zibi Braniecki b9edbd29bd Bug 1289951 - Add mozIntl toolkit component. r=waldo
MozReview-Commit-ID: J34WJ9o1BKI
2016-09-03 03:20:14 +02:00
Andrew McCreight 3c69fd991a Bug 1300210 - Initialize nsCCUncollectableMarker::sGeneration to 1. r=smaug
The immediate reason we need to change this is that bug 1299911
proposes adding a verifier to check that there are no black-gray edges
in the JS heap, and sGeneration being 0 causes that to fail, due to
mozilla::dom::TraceBlackJS(). If something is a black root, I believe
the verifier requires that it be marked black. This makes sense,
because a black root is something that is definitely alive, and if the
object is marked gray, the CC might free it, as far as the GC knows.

This fails because when the browser starts, it GCs and marks the stuff
at the bottom of TraceBlackJS grey. Then it runs the CC, which flips
sGeneration to 1. Now, the verifier runs (before the GC runs!), and it
sees that the stuff in TraceBlackJS claims to be black, but is grey,
causing a verification failure.

In this particular case the code is actually safe. The purpose of the
black-gray invariant is to ensure that the CC does not incorrectly
unlink any gray C++ objects that are reachable from black JS
roots. The JS objects in TraceBlackJS should all be reachable directly
from a C++ object, and the CC knows that those C++ objects are alive
(because of refcounting). Therefore, the CC will not unlink any
objects that are reachable from black JS roots.

MozReview-Commit-ID: 8PrRkjqWBL

--HG--
extra : rebase_source : f9c2971bf71475202a1a6bbc719ab9ce19f94bc5
2016-09-02 15:51:05 -07:00
Andrzej Hunt 1c5b9d7220 Bug 1299977 - Add TopSites title to UnusedResourcesUtil r=me 2016-09-02 15:04:10 -07:00
Daniel Holbert 5efd12c5f0 Bug 1300206: Add some missing #includes & namespaces in layout/generic, to prevent unified build bustage. r=mats
MozReview-Commit-ID: ETITppCzDjo

--HG--
extra : rebase_source : ca6f99991c9dfb1cf00c716c57b959d825560858
2016-09-02 15:01:09 -07:00
Wes Kocher fa97b52dd9 Merge m-c to fx-team, a=merge 2016-09-02 13:36:24 -07:00
Wes Kocher a77698d3d7 Merge fx-team to central, a=merge 2016-09-02 13:32:41 -07:00
Wes Kocher a2ca4e17ce Backed out changeset 1e7eb0625d3e (bug 1297687) a=merge 2016-09-02 13:18:37 -07:00
Wes Kocher ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Julian Descottes eb9d96f3b2 Bug 1299070 - Merge all startup strings in startup.properties;r=bgrins
MozReview-Commit-ID: 99zWNTHid21

--HG--
extra : rebase_source : e2b93c222d025a3d655d9e436a3d2935dd75312f
2016-09-02 17:45:22 +02:00
Cameron McCormack f82c259e8f Bug 1297963 - Part 4: Remove unused URLValueData comparison functions. r=emilio
MozReview-Commit-ID: 8BDaCXq1O5A
2016-09-03 00:22:48 +10:00
Cameron McCormack 524cf8e41b Bug 1297963 - Part 3: Use OMT-safe function for -moz-binding comparisons in CalcDifference. r=emilio
MozReview-Commit-ID: 6n7j2DrAVFv
2016-09-03 00:22:48 +10:00
Cameron McCormack 4bf1ed7842 Bug 1297963 - Part 2: Add URLValueData comparison functions that work OMT. r=emilio
MozReview-Commit-ID: B3pldGVZFl1
2016-09-03 00:22:47 +10:00
Cameron McCormack a95bd0ceec Bug 1297963 - Part 1: Preserve base URI on URLValueData objects. r=emilio
MozReview-Commit-ID: Amjz1AcdxwN
2016-09-03 00:22:47 +10:00
Cameron McCormack 02ca29d0d1 Bug 1298768 - Compare mLocalURLFlag in URLValueData comparison functions. r=cjku
MozReview-Commit-ID: OdrbMUnaqt
2016-09-03 00:22:47 +10:00
Brad Lassey 6d9a4338b3 Bug 1299798 - Add an early return if we cannot get a reference to the global notification box. r=mconley 2016-09-01 22:19:23 -04:00
Thomas Wisniewski 95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Ryan VanderMeulen 0c001cb35f Merge m-c to inbound. a=merge 2016-09-03 11:36:52 -04:00