Commit Graph

490487 Commits

Author SHA1 Message Date
Boris Chiou
c15da6fa38 Bug 1274944 - Part 4: Implement mutation observer for setting spacing. r=birtles
MozReview-Commit-ID: LmCO9QyQbBU

--HG--
extra : rebase_source : f078d871b6c5fab565a3ab03fdbf4ac3452704e6
2016-09-05 12:00:12 +08:00
Boris Chiou
7d2125257c Bug 1274944 - Part 3: Test for setting spacing. r=birtles
MozReview-Commit-ID: 5pMhC00vNIh

--HG--
extra : rebase_source : 372babda4a85dea0ddb4a2e34058ee17650f2ee9
2016-09-01 16:51:39 +08:00
Boris Chiou
f31b43fda5 Bug 1274944 - Part 2: Implement SetSpacing(). r=birtles
MozReview-Commit-ID: ASJHVK97gq6

--HG--
extra : rebase_source : 6cdd2118c9aeecd2feb41a794781d85b6ae7ac67
2016-08-31 17:31:10 +08:00
Boris Chiou
adeea43b3b Bug 1274944 - Part 1: Add writable spacing attribute. r=smaug
Use [SetterThrows] for KeyframeEffect.spacing because it throws if the input
string is not conformed to the grammar.

MozReview-Commit-ID: CkAnPu8TnV

--HG--
extra : rebase_source : af0960391684323a25ac0b40da28dcbe5c3c2919
2016-08-31 16:58:57 +08:00
Chun-Min Chang
941035740b Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh

--HG--
extra : rebase_source : ae00411a047e7331d4f7b988abe544047cce86f2
2016-08-31 20:56:17 +08:00
Thomas Nguyen
6377847c29 Bug 1299036 - Fix Intermittent toolkit/components/url-classifier/tests/mochitest/test_classifier_worker.html. r=dimi,gcp.
MozReview-Commit-ID: 3YgxgjpV7Ay

--HG--
extra : rebase_source : 7f4e8c791fac7db5b267d3b71c92f13228474e58
2016-09-02 15:01:48 +08:00
Andi-Bogdan Postelnicu
52292ba57b Bug 1300518 - removed nullcheck for parentFrame in nsCSSFrameConstructor::IsValidSibling. r=xidorn
MozReview-Commit-ID: DVydlxB65wM

--HG--
extra : rebase_source : 8dbe5555a7ad60f09f960d806b7439d149cb1dcd
2016-09-05 18:16:21 +03:00
Xidorn Quan
57e31c7faa Bug 1260031 followup - Remove unused parameter of BlockReflowInput::ComputeBlockAvailSpace. r=dbaron
MozReview-Commit-ID: 7ZZ0xw9l4YZ

--HG--
extra : rebase_source : 7b0c0138cf1af76608db4fb997c313a590ef054e
2016-08-22 21:39:54 +10:00
Xidorn Quan
4e5bd79656 Bug 1260031 - Not force break before a block when calculating intrinsic width if the current line is empty and the block cannot intersect floats. r=dbaron
MozReview-Commit-ID: 9rNUDK5t5jg

--HG--
extra : rebase_source : 2a852efe3f9801884e558f22ae7d9550fae87836
2016-08-23 09:29:45 +10:00
Ralph Giles
104d30ab53 Bug 1300219 - Update mp4parse to v0.5.0. r=kinetik
Result of running the update script and updating gecko's
integration crate for the layout change.

MozReview-Commit-ID: GaIMFKmPmtf

--HG--
extra : rebase_source : 0d3a2f1d211840879e562cb56afcc9ef7e38c730
2016-09-02 14:27:50 -07:00
Ralph Giles
3985298455 Bug 1300219 - Update mp4parse vendoring script for v0.5.0. r=kinetik
This release splits the capi into a separate crate and adds
mp4parse_is_fragmented() for vp9 support.

MozReview-Commit-ID: JkwylmdfPa9

--HG--
extra : rebase_source : b74b7e20aaf49fe1b2b7121562352c755db3aff3
2016-09-02 14:04:38 -07:00
Sebastian Kaspari
7d3cd9e160 Bug 1293710 - Add unit tests for highlights query. r=ahunt
MozReview-Commit-ID: DX1AM9wsCMn

--HG--
extra : rebase_source : a713c8bb6b3c87dbec7b3499acc11226bf85202d
2016-09-02 19:31:49 +02:00
Sebastian Kaspari
e8e8706e93 Bug 1293710 - Group activity stream highlights by URL to avoid duplicates. r=ahunt
The same URL could be picked as highlight from history and from bookmarks.

MozReview-Commit-ID: 5vBHluZKfAN

--HG--
extra : rebase_source : 1fee3b2532670d0b9d472518f3648ee5b5bebb8e
2016-09-02 19:52:56 +02:00
Sebastian Kaspari
de0e351a2d Bug 1293710 - Activity Stream Highlights: Only select actual bookmarks (no folders and other special types). r=ahunt
MozReview-Commit-ID: A5oV8vIIyhw

--HG--
extra : rebase_source : 124631db505116eeff4caddc61b5e4ae4b914d41
2016-09-02 19:37:05 +02:00
Sebastian Kaspari
e0879f0149 Bug 1293710 - Activity Stream Highlights: Consider bookmarks without history too. r=ahunt
MozReview-Commit-ID: If6HmIIp7sT

--HG--
extra : rebase_source : 4925672e9e1e5f99e2f24739388c43e42b546f69
2016-09-02 19:26:55 +02:00
Sebastian Kaspari
f8363edb76 Bug 1293710 - Activity Stream Highlights: Load icons and restructured layout. r=ahunt
MozReview-Commit-ID: 1JaFdcFPbIU

--HG--
extra : rebase_source : d9a9e4d15da4c7807d412c234444c530929b0758
2016-09-02 13:10:46 +02:00
Sebastian Kaspari
509e8627f2 Bug 1293710 - Display highlights in activity stream panel. r=ahunt
MozReview-Commit-ID: CnE0Ivq6OXz

--HG--
extra : rebase_source : 5e3431f8a536fba08a4a40c679f83bd07ef97ceb
2016-08-31 19:40:28 +02:00
Sebastian Kaspari
43d2a41065 Bug 1293710 - Obtain a list of "highlights" for the Activity Stream panel. r=ahunt,Grisha
This query resembles how the Activity Stream add-on for desktop Firefox selectes highlights[1].
The desktop version uses the 'rev_host' (reversed host) column to filter the results based
on a blacklist and group results by hostname. This has been omitted here (See bug 1298785 and
bug 1298786).

Additionally the desktop version uses a block list to filter "highlights" that have been removed
manually by the user. This is not added here until needed from the UI side (see bug 1298783).

[1] 9eb9f451b5/addon/PlacesProvider.js (L578)


MozReview-Commit-ID: 9TyIaK21MNJ

--HG--
extra : rebase_source : d6debec1c16b1a1667b0c10fe49e4fcc1dc11bfd
2016-08-29 15:35:17 +02:00
Andreas Pehrson
4dd22ec29d Bug 1298515 - Ignore ended tracks for AudioCaptureStreams. r=padenot
MozReview-Commit-ID: BamiTYxTCUw

--HG--
extra : rebase_source : dd72df76841ee750b5b091e662ba8124f8a2577c
2016-09-02 17:23:26 +02:00
Gerald Squelart
693932c5aa Bug 1300459 - Pass MediaInfo by const-ref to SetMediaInfo - r=jya
MozReview-Commit-ID: 5KvCBHmI1JC

--HG--
extra : rebase_source : aece207d36682e1a6cc4125ef660e2eb8f41d92c
2016-09-05 14:23:23 +10:00
Gerald Squelart
6e6bb23cf3 Bug 1300446 - Check return value from GetCubebContext - r=kinetik
MozReview-Commit-ID: Y9b5Aq2RZE

--HG--
extra : rebase_source : 11422dc401d95cd91329b33b082b29bd193b16da
2016-08-30 17:20:10 -07:00
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