499410 Commits

Author SHA1 Message Date
Michelangelo De Simone
baf56b1218 Bug 1315798 - Remove FMRADIO support from HAL. r=mds
MozReview-Commit-ID: E6KGgMd8Cfg

--HG--
extra : rebase_source : 8d2117367c70ba8e30cc210805135e52dc9ff27b
2016-11-07 14:09:57 -08:00
Joel Maher
f0a52061b9 Bug 1316130 - remove items from storage when we are finished with them. r=baku
MozReview-Commit-ID: LviUGfMwbSV

--HG--
extra : rebase_source : 0e14b9bc7249591c532b8647b63fc8be977bdeec
2016-11-08 16:36:46 -05:00
Jared Wein
06d031070b Bug 1316135 - Convert eslint warnings to errors under /accessible. r=standard8
MozReview-Commit-ID: KDJ195PX3h4

--HG--
extra : rebase_source : 9ea473b0987146d7b60b84e68729fbfac92fa54e
2016-11-09 22:57:11 -05:00
Henrik Skupin
032a1dbee5 Bug 1316552 - Marionette has to force close the application in case of socket failures. r=automatedtester
MozReview-Commit-ID: EjDczrK8sBe

--HG--
extra : rebase_source : d0826653cfe47ef25c1671553e84fea001ba639b
2016-11-10 12:51:07 +01:00
Tom Tromey
2cf1e5f13e Bug 1310416 - use browser loader for inspector; r=jdescottes
MozReview-Commit-ID: XZfoJ26Du7

--HG--
extra : rebase_source : b551def4adeb9988fdaa3fbc0382549c624a0bd2
2016-11-04 15:08:02 -06:00
Nicolas Chevobbe
3fc17a3b98 Bug 1316266 - Handle grip safeGetterValues property in Grip Reps; r=Honza
Some object has properties in the safeGetterValues property, like ArrayBuffer
for example.
We now evaluate this property too when building the Rep. A function was created
to retrieve the property value since in safeGetterValues, the value is a wrapper
object with a getterValue property holding the actual value.
We add some tests to make sure we handle those grips as expected.

MozReview-Commit-ID: JqnTXnnAZpd

--HG--
extra : rebase_source : f001a57ab8785dd12dde6afce24cd2c899d60f10
2016-11-09 13:13:45 +01:00
Carsten "Tomcat" Book
05f854f094 Backed out changeset b04c5c12b200 (bug 1316486) for webgl failures 2016-11-10 12:37:05 +01:00
Carsten "Tomcat" Book
d99cbddf48 Backed out changeset d32e0a4ff68c (bug 1314863) on request from jya 2016-11-10 11:02:32 +01:00
KuoE0
3f2d9fc602 Bug 1305352 - (Part 2) Implement PresentationRequestUIGlue on Fennec. r=schien,snorp
MozReview-Commit-ID: ISG6HS7HcPn

--HG--
extra : rebase_source : ef47383e97f360b57f78329e7b35feb0c286035e
2016-08-30 18:16:31 +08:00
KuoE0
1ea270f7da Bug 1305352 - (Part 1) Make Presentation API support XUL browser element. r=smaug
MozReview-Commit-ID: 9t5mhvcbpXB

--HG--
extra : rebase_source : 50c65bf06aae1df6a17e9328315edf977ceada49
2016-10-27 11:27:41 +08:00
KuoE0
9bcac5fb98 Bug 1295087 - Implement PresentationDeviceProvider for Chromecast devices on Fennec. r=schien,smaug,snorp
MozReview-Commit-ID: 78eNnvAMCsq

--HG--
extra : rebase_source : 35f3c682da33d0c3c826cc53728a4b0e7762847c
2016-09-23 22:13:28 +08:00
peter chang
e8bc999c3e Bug 1316486 - BindRenderbuffer should return invalid operation with a deleted render buffer input, r=mtseng
MozReview-Commit-ID: Gu976wWy352

--HG--
extra : rebase_source : 051f3a1f6f460dc80e287d7d5779308b7bfbf389
2016-11-10 11:41:09 +08:00
James Cheng
281025dce6 Bug 1314863 - Data sample fed potentially fed twice to the decoder. r=jya
MozReview-Commit-ID: 2TmHiLju0C4

--HG--
extra : rebase_source : a364a4b53dc9bc5b33395f18a16264256cace71f
2016-11-10 14:53:15 +08:00
Carsten "Tomcat" Book
3e0d037fe5 Backed out changeset 91d0760b71d4 (bug 1313596) on developers request 2016-11-10 09:05:35 +01:00
Henry Chang
6cde2e6e52 Bug 1310142 - Preserve backup databases and raw table updates for diagnostic. r=francois
MozReview-Commit-ID: GeJoBrhuTgA

--HG--
extra : rebase_source : 02585bca9853a00bc041874a999b39e6fd7246ea
2016-10-14 17:58:18 +08:00
Iris Hsiao
0cc78823fe Backed out changeset f6f28be8d8f2 (bug 1315781) for XPCShell test timed out
--HG--
extra : rebase_source : 0122a5372b6ac2174d4c37e7cc0169bf9c437178
2016-11-10 14:53:46 +08:00
Kate McKinley
743953244a Bug 1313596 Increase HSTS Priming default cache timeout r=mayhemer
MozReview-Commit-ID: 6sHuB4wIEu4

--HG--
extra : rebase_source : 77489ec9ef9a0a33502420f0b99bdb8ba470d595
2016-11-08 17:45:36 +09:00
JW Wang
2c832d60f3 Bug 1314219. Part 2 - remove unused watchables and fix some comments. r=cpearce
MozReview-Commit-ID: 6F6WSq3aE2w

--HG--
extra : rebase_source : 31f61ffb1539b9f7b06cd2196b12d8ae7647f08b
extra : intermediate-source : 0736b0acc9c459b3dd1ce5e4d9e450b7a495747b
extra : source : e532b9a8c5fcc58d73ae0426a93a56050c2a4de9
2016-11-03 18:01:09 +08:00
JW Wang
263f6fa47c Bug 1314219. Part 1 - align next frame status updates with state changes of MDSM. r=cpearce
We want entering/exiting dormant to be transparent to the media element. So we don't
change next frame status when entering/exiting dormant.

MozReview-Commit-ID: DCWxAGZ9sVw

--HG--
extra : rebase_source : 80131199556ed7b3338155d96970193ff313ac1f
extra : intermediate-source : 8fe29ca11789d8e2b5aa57c578be1a65e7fefdf4
extra : source : 3aab523e17402eecb56edbb74b00201d924c6010
2016-11-03 17:09:10 +08:00
Nicolas Chevobbe
86c2afef9c Bug 1302982 - Add Rep for LongString; r=Honza
Display a longString with what is available on the grip.
Straight from the server, a longString grip has a "initial"
property, which contains the first 10000 chars of the string.
The grip can also contains a "fullText" property that should
be set when the user want to display the full text of the string.
For example, in the DOM Panel, it would be when the user click on
the expand arrow.
The fullText needs to be computed with the result of the
LongStringClient.substring function, but it's not the responsability
of the Reps to do such thing.

In rep-utils, we extract the logic that replace non-printable
characters in its own function and export it, so we can use it outside
the cropString function.

Add some test to make sure LongString are displayed as expected in the
several modes.

MozReview-Commit-ID: 3P9fPBixm2v

--HG--
extra : rebase_source : 87ed610cb6d2e142728f0df9d35f1dd7a4748d18
2016-11-03 18:08:16 +01:00
peter chang
c62a36256a Bug 1311644 - Pass ImageBridge as allocator to create YCbCr texture client, r=nical
MozReview-Commit-ID: 4P5LyWST0yv

--HG--
extra : rebase_source : 197e61e256858bc25cc8be7638bdb0eb39cf0cf5
2016-11-08 15:22:36 +08:00
peter chang
1626104a4c Bug 1311644 - Create YCbCr texture client with valid allocator, r=nical
MozReview-Commit-ID: 2qQBBYb7Ist

--HG--
extra : rebase_source : eb284be301b78ffa68bfa3783f06b144c59b85eb
2016-11-08 11:40:24 +08:00
Robert Helmer
d342ff445e Bug 1204156 - allow system add-ons to install and update without restart r=aswan
MozReview-Commit-ID: 3RuYfR2wGIg

--HG--
extra : rebase_source : a858c81029ad63eef14592154ae1c9246d7d211e
2016-08-25 10:01:43 -07:00
Ting-Yu Lin
384e9e119b Bug 1291110 Part 4 - Use line BSize to query available space when updating nsLineLayout. r=dbaron
In nsBlockFrame::PlaceLine(), we query the float available space by
using the line's BSize(), which may cause the line to reflow again due
to available space shrunk.

The first issue lies in the second reflow. That is, we do not leverage
the line's BSize() computed in the first reflow to query the float
available space when updating the inline reflow engine in
BlockReflowInput::AddFloat(). So some tall inline elements could still
overlap the floats as in the first reflow.

To solve this, we cache current line's BSize so that it could be
used to update the inline reflow engine when redo the line.

Another issue is in nsBlockFrame::PlaceLine(). When determined whether
the available space is shrunk, we use the float manager's state *before*
placing the line. So if current line has floats, they're not considered.

To solve this, we use the current set of floats to get the float available
space for comparison, and leave the original aFloatAvailableSpace to provide
the information when redoing the line.

MozReview-Commit-ID: GqqNlphgxYS

--HG--
extra : rebase_source : e2c64ab1ac363c7a08e532dc043bee69d6455049
2016-08-22 19:42:37 +08:00
Ting-Yu Lin
8fa65e4f5d Bug 1291110 Part 3 - Enforce float available space never grow on either side. r=dbaron
This patch is based on bug 1291110 comment 29, but |aCanGrow| is preserved,
since the set of float available spaces we'll be testing in Part 4 are
difference from the one we enforced here.

MozReview-Commit-ID: LswbIaRukVR

--HG--
extra : rebase_source : 007d55fd867d052163ea5bb4222baf201fe30bcf
2016-11-08 15:20:58 +08:00
Ting-Yu Lin
76dba9d5d5 Bug 1291110 Part 2 - Rename availableSpaceHeight to availableSpaceBSize. r=dbaron
Rename to make the variable name consistent with the writing-mode
terminology used in PlaceLine().

MozReview-Commit-ID: AvhwHyHz7hV

--HG--
extra : rebase_source : bcec67d9959c1b881b4d287dbbab47dd0d6e0de9
2016-11-08 13:42:14 +08:00
Ting-Yu Lin
bb1491fb5a Bug 1291110 Part 1 - Fix log and comment related to float. r=dbaron
MozReview-Commit-ID: ICUflMUOsD2

--HG--
extra : rebase_source : ccba872d056edcfb07095f3f2995492324394ab0
2016-08-22 19:41:53 +08:00
Andrew Halberstadt
41caba1673 Bug 1316408 - Remove all b2g related code from testing/xpcshell, r=jmaher
MozReview-Commit-ID: KF5Pw5WBleX

--HG--
extra : rebase_source : 2c071bac76d26527337acc0b0593cd3c6202afc4
2016-11-09 14:50:45 -05:00
Jared Wein
8ebd29ee02 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: DnpVQRrG9Ec

--HG--
extra : rebase_source : 3641e46c32b0e6700ee86fc71dcd35924ce1ed3a
2016-11-07 22:34:25 -05:00
Jean-Yves Avenard
4cb2b96557 Bug 1316205: P3. Remove WaveDecoder::IsEnable(). r=gerald
It would always return true, and there's already a MediaDecoder::IsWaveEnabled()

MozReview-Commit-ID: 6FXgMRMnVb9

--HG--
extra : rebase_source : a42582ce417d916ca92fb014e5998292f6585b87
2016-11-10 11:53:07 +11:00
Jean-Yves Avenard
510964c575 Bug 1316205: P2. Remove wave duplicated code. r=kaku
MozReview-Commit-ID: 5s7eeMa9DU9

--HG--
extra : rebase_source : c8180552158face5950fa4ad6825f13d9d5f4366
2016-11-09 13:08:56 +11:00
Jean-Yves Avenard
f170567837 Bug 1316205: P1. Remove unused WaveReader. r=kaku
MozReview-Commit-ID: 6pMFt9jrFED

--HG--
extra : rebase_source : a1ef4df68fc76086b00c9b60c1b1aac745d2d5c1
2016-11-09 12:52:53 +11:00
Jean-Yves Avenard
87a107c468 Bug 1313632: P2. Cleaner Ogg related headers. r=kaku
MozReview-Commit-ID: DpnezpZw27H

--HG--
extra : rebase_source : 3700dbccbc98ae2aadd29fcf3fbef3e38fdec13c
2016-11-09 12:19:06 +11:00
Jean-Yves Avenard
d3a0f99985 Bug 1313632: P1. Remove unused OggReader. r=kaku
Also remove related preference.

MozReview-Commit-ID: D5pkyPXAoG9

--HG--
extra : rebase_source : 845d14a7059ae54d939300bb0f7f51664da05ff4
2016-11-09 11:54:41 +11:00
Jared Wein
5bb7b57b66 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO

--HG--
extra : rebase_source : fab5c4903b47d48080ff3c07825440e12f718698
2016-11-08 15:14:19 -05:00
Ting-Yu Lin
5851f10c95 Bug 1316040 - Change target to non-target in test_caret_not_appear_when_typing_in_scrollable_content. r=mtseng
In this test, we assume the caret does not appear at the end of the input.
However in this case, self.actions.flick() will select all text within the
input, and then send_keys() will replace it with '!'. As a result, the final
content might varies on different platforms. Test the final content match
tho target_content might not be reliable.

To fix this, we instead assert that final content does *not* match the
non_target_content as the bug occurs.

MozReview-Commit-ID: 2YRN8W3PUXG

--HG--
extra : rebase_source : c63b631c609992fccf350d3088bba8e0621d9a55
2016-11-09 14:14:53 +08:00
Mike Hommey
e7e497234b Bug 1316250 - Allow functions using the fake os module to not depend on --help. r=chmanchester
--HG--
extra : rebase_source : 3a39f6deb657a30713f4864d54530d6b0b454ae1
2016-11-09 15:32:28 +09:00
Mike Hommey
566d70bc03 Bug 1316250 - Don't pretend imported modules in templates are inherited by functions they contain. r=chmanchester
The current state of python configure sandbox execution is that if a
template imports a module, and a function defined in the template tries
to use the module, it doesn't work. Ideally, it would, but rather than
try to fix this corner case, we remove the unit tests that assume it
works (and consequently pass for half bad reasons), and add a unit test
so that the behavior doesn't change unwillingly.

--HG--
extra : rebase_source : 579ba2bc7c19d4fe7df11bbdb1ceb6171a1ee857
2016-11-09 15:22:17 +09:00
Gerald Squelart
06c4e95cd0 Bug 1316206 - Make RefPtr(decltype(nullptr)) MOZ_IMPLICIT - r=froydnj
Making this constructor non-explicit will permit automatic conversions from
'nullptr' into RefPtr types, which I think are not dangerous.

The one spot that this affects is in 'UserDataType nsBaseHashtable::Get(KeyType)',
which does a 'return 0;' into the UserDataType, which could be a bool, an int, a
RefPtr or other. I'm changing that into a C++11 "value initialization", which
falls back to "zero initialization" for PODs: 'return UserDataType{};'.

Also fixed the comment to clarify not-found return values, as Get(KeyType) was
not only used for pointers anyway.

MozReview-Commit-ID: F41VlvTNOZU

--HG--
extra : rebase_source : 71d5dacac75ca188e5c55d45f48a5fca76d953c6
2016-11-08 15:12:33 +11:00
Gerald Squelart
b500aaacf6 Bug 1316206 - Fix RefPtr assignments from 0 - r=froydnj
Giving '0' (literal zero) to RefPtr is now ambiguous, as both
RefPtr(decltype(nullptr)) and RefPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: A458A4e9for

--HG--
extra : rebase_source : bc4107ce1767329e3dddfe34c55ba79202192e06
2016-11-08 14:34:06 +11:00
Gerald Squelart
f71d8c43ff Bug 1316206 - RefPtr construction/assignment from nullptr - r=froydnj
Added constructor and operator= from a nullptr, bypassing the incoming pointer
check.
Note that the constructor is 'explicit', because one particular use in
nsBaseHashtable is doing a 'return 0' into a templated type that is a RefPtr in
many cases. Making this new constructor explicit removes it from consideration
in this case.
As it's not strictly necessary to have it MOZ_IMPLICIT (but could still be
nice), I will tackle that in the patch after next.

Also changed all zeroes into nullptr when relevant in RefPtr.h (other system-
wide affected files will be updated in following patch.)

MozReview-Commit-ID: Ds4CEv9hZWI

--HG--
extra : rebase_source : f4ec156b13ea3bdcf32b1a33d76ff9771ad6d1dc
2016-11-10 07:58:10 +11:00
Karl Tomlinson
cb57489389 bug 1316165 ensure xcb_get_input_focus_reply is called to avoid leaking the reply r=lsalzman
MozReview-Commit-ID: JPi0TeKVCB5

--HG--
extra : rebase_source : e8421b3273ff281d5cf03eea5b98e28951972bd8
2016-11-09 08:56:27 +13:00
Mark Banner
d762b04ac8 Bug 1315675 - Fix tests to not fail if browser.urlbar.oneOffSearches gets turned off in other branches. r=mak
MozReview-Commit-ID: HgLy6Dis0jU

--HG--
extra : rebase_source : 3952f431f909274ddbd716f21445b950e00a7b79
2016-11-08 14:08:52 +00:00
Mark Banner
965963b650 Bug 1316287 - Remove test_history_redirects.js as it doesn't actually test anything. r=mak
MozReview-Commit-ID: GkX9yjsXk9G

--HG--
extra : rebase_source : 70b656bc25243c032972a67cc496d6073f080f63
2016-11-09 11:42:37 +00:00
Neerja Pancholi
f5845ba7b6 Bug 1316430 - Add fuzzy annotation for reftests/details-summary/mouse-click-twice-float-details.html r=dholbert
MozReview-Commit-ID: 47XhcgMrOu6

--HG--
extra : rebase_source : 3cea0a9ec50dfc465bdf0eb1c87ba451a434024a
2016-11-09 13:15:27 -08:00
Thom Chiovoloni
cd0986ddc7 Bug 1311782 - Make the sync bookmark validator ignore the title for bookmark roots r=markh
MozReview-Commit-ID: Ji1Sar0ld7j

--HG--
extra : rebase_source : 306a7103c63c62059cf05d0966cba405f7aef630
2016-11-08 12:13:37 -05:00
Joel Maher
e897b35591 Bug 1316114 - reset sjs file at the end of the test case. r=jmaher
MozReview-Commit-ID: FKm93zKuFe1

--HG--
extra : rebase_source : d6ae819e3ba5df555dfedb205d6d6e37538300f0
2016-11-09 16:18:08 -05:00
Aaron Klotz
37958a0e3b Bug 1316118: Remove need for ia2_api_all.idl; r=surkov
MozReview-Commit-ID: EBAz0MQXmJq

--HG--
extra : rebase_source : 7d4f57237187d181fe82262b4707cff3f4358306
2016-11-09 12:56:23 -07:00
Anthony Miyaguchi
a961f5c0bd Bug 1316374 - Fixed typo in uninstaller r=mhowell
MozReview-Commit-ID: 8Le7gaRNOyF

--HG--
extra : rebase_source : b3969b8d574598a5e9b54dbfcdd7d1ef95242503
2016-11-09 10:19:35 -08:00
Neerja Pancholi
0f13b458fc Bug 1295466 - Use MozReftestInvalidate event in box-sizing-replaced-001.xht to avoid test failure when paint delay is reduced r=mstange
MozReview-Commit-ID: IXK2WwM3mrH

--HG--
extra : rebase_source : 2e8dd60536eeb9fdf708d8e2716b49a5f83f41ac
2016-11-07 16:32:48 -08:00