Commit Graph

478159 Commits

Author SHA1 Message Date
Julian Descottes
fc46d5012b Bug 1202458 - part1: inline text nodes in markupview only if they are short enough;r=pbro
The markup view will now inline a textnode in its container if and only if:
- the text node is the only child (pseudo elements included)
- the text node length is smaller than a predefined limit

If a container is expanded, its text nodes will now always be rendered in full,
no longer as a short version with an ellipsis. When selecting or navigating on
a textnode, the layout will no longer be modified on the fly.

MozReview-Commit-ID: HcDMqjbOesN

--HG--
extra : rebase_source : 908ba5c1cab86018116271402c90992c1fca6d62
extra : histedit_source : f0083b1e4c54cde0fdce12e1d139baa41e7d6cda
2016-06-02 10:41:49 +02:00
Eddy Bruel
b33a96b184 Bug 1265730 - Decouple StyleEditorFront from StyleEditorActor;r=jryans 2016-06-02 13:10:41 +02:00
Carsten "Tomcat" Book
91c45dd470 Merge mozilla-central to fx-team 2016-06-02 12:00:53 +02:00
Bob Silverberg
1a2e1cbc77 Bug 1276338 - chrome.runtime.id is undefined in content scripts, r=kmag
MozReview-Commit-ID: BXqB1rW9DzB

--HG--
extra : transplant_source : %A1%94%B0%E9%19%B6%BC%04%84dd%EA%E9%9B%80%CD%FD%83%D5%B3
2016-05-31 11:55:30 -04:00
Kit Cambridge
8f4367fa09 Bug 1275434 - Add remote push observer tests. r=dragana
MozReview-Commit-ID: 4BVWwEbI2FX

--HG--
extra : rebase_source : 1ecd69b74a0329b14aa9ce8b3d4172bbf6278397
2016-05-19 21:41:15 -07:00
Stephanie Ouillon
e4fbe1d9ac Bug 1247459 - Meta and header CSP are merged without a semicolon. r=ckerschb 2016-05-17 15:34:53 +02:00
Zibi Braniecki
bc7c0ef5e4 Bug 1275183 - "Hang if Intl.getCanonicalLocales gets an Array-like-object with negative length". r=waldo
--HG--
extra : rebase_source : 2b775e5f7218a63401f51bfd6b4bfc6a7042f791
2016-06-03 12:03:00 +02:00
Astley Chen
728a8aaccd Bug 1258286: Part 2 - update w3c css masking mask-repeat ref test case. r=heycam
--HG--
extra : rebase_source : 2185d9144d7ee0b117249e61dc677e0f20d636ad
2016-06-01 11:13:48 +08:00
Astley Chen
8289c3a746 Bug 1258286: Part 1 - add layer types to nsStyleImageLayers and layer initialization. r=heycam
--HG--
extra : rebase_source : a41c3983b68e701dd7df37ee42a9c123805fd833
2016-06-03 23:56:54 +08:00
Chris Peterson
0ca60536e0 Backed out changeset 7383d49bc7c8 (Flash click-to-play bug 1186948) 2016-06-05 01:03:36 -07:00
Mats Palmgren
0fa5c8b68d Bug 1278010 - Add WritingMode convenience methods for determining whether to use central or alphabetical baselines. r=jfkthame 2016-06-03 17:43:00 +02:00
Bryce Van Dyk
2c618f7655 Bug 1276643 - External media tests reset widevine GMP. r=maja_zf
Make the EME mixin also reset the widevine GMP. This gives us some
widevine downloader coverage, as well as meaning that EME tests that
rely on widevine should work.

MozReview-Commit-ID: AyeeLu2lJRK

--HG--
extra : transplant_source : %13ck%EA%AD%8F%B8.%E5%A0%EC%2C%B4%40h%E0s%0C%1D%B4
2016-05-30 15:21:51 +12:00
Tom Tromey
eeb1dda14e Bug 1277628 - handle js::GCPtr in gdb pretty-printers. r=sfink
This avoids an error when trying to deref a GCPtr; and also adds the tag
to the NotImplementedError to make it simpler to fix similar bugs in the
future.

MozReview-Commit-ID: 48JzqqDgNxe

--HG--
extra : transplant_source : %8DS%87s%FAz%FB%F5%BAu%E0V%60%1D%A7%AD%B1%EA%D1K
2016-06-02 12:32:27 -06:00
Dragana Damjanovic dd.mozilla@gmail.com
cc0b381dda Bug 1277522 - Increase max connection retries to 10.r=mcmanus 2016-06-02 15:17:00 +02:00
Dragana Damjanovic
8d4a3a8b49 Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
extra : rebase_source : f37ed50a558040dee1958c215ccc5559637d2f84
2016-06-03 09:09:00 +02:00
Zibi Braniecki
ffad6a6151 Bug 1260858 - "Update the DateTimeFormat.prototype.formatToParts to the final spec". r=waldo
--HG--
extra : rebase_source : 8060e7894b59d1e313f1623e56c15b7fa0549712
2016-06-03 15:55:00 +02:00
L. David Baron
1bddf4ac22 Remove commented-out subdirectories that were listed purely hypothetically to avoid their confusing people in the future. No bug.
(See bug 859301 comment 56 for an example of the problem this causes.)

--HG--
extra : amend_source : 88cd9b67f4f833f07ac34aeb6483cf83f9b339d3
extra : transplant_source : 0N%B9%D7%D5%91%22%BC%8D%5C%03%FD%E5Z%0C%E1%BF%91X%EA
2016-06-03 20:08:41 -07:00
Ethan Lin
a36668bf0e Bug 889964 - Part 3. Turn on background reftest. r=dbaron
---
 layout/reftests/w3c-css/submitted/reftest.list | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-06-04 18:36:49 -07:00
Ethan Lin
6f80a75912 Bug 889964 - Part 2. Add reftest for boarder image: round. r=dbaron
---
 .../border-image-repeat-round-1-ref.html           | 100 +++++++++++++++++++++
 .../background/border-image-repeat-round-1.html    |  27 ++++++
 .../border-image-repeat-round-2-ref.html           | 100 +++++++++++++++++++++
 .../background/border-image-repeat-round-2.html    |  27 ++++++
 .../w3c-css/submitted/background/border.png        | Bin 0 -> 849 bytes
 .../w3c-css/submitted/background/reftest.list      |   6 +-
 6 files changed, 259 insertions(+), 1 deletion(-)
 create mode 100644 layout/reftests/w3c-css/submitted/background/border-image-repeat-round-1-ref.html
 create mode 100644 layout/reftests/w3c-css/submitted/background/border-image-repeat-round-1.html
 create mode 100644 layout/reftests/w3c-css/submitted/background/border-image-repeat-round-2-ref.html
 create mode 100644 layout/reftests/w3c-css/submitted/background/border-image-repeat-round-2.html
 create mode 100644 layout/reftests/w3c-css/submitted/background/border.png
2016-06-04 18:36:49 -07:00
Ethan Lin
2b7a5e9fca Bug 889964 - Part 1. Fix the calculation of border-image: round. r=dbaron
---
 layout/base/nsCSSRendering.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-06-04 18:36:49 -07:00
Astley Chen
279351854b Bug 1278020 - enable selectors4 reftest. r=dbaron 2016-06-04 10:10:41 +08:00
L. David Baron
fa514af6ea Bug 1273048 - Add __attribute__((noinline)) to work around compiler bug on Android/x86. r=xidorn
I tested locally that the MOZ_GCC_VERSION_AT_LEAST() and
MOZ_GCC_VERSION_AT_MOST() expressions do sensible things when I fiddle
with the numbers to make them more or less than my local gcc version.
(I tested this for all 4 expressions.)

I don't know for sure that this will fix the crashes we're seeing, but
it seems like it should undo the change that triggered it, so I think
it's worth trying.

MozReview-Commit-ID: IXYYn3mLQBf

--HG--
extra : transplant_source : %20%94%06%05L%8A%CA%DD%83%D9%23jh%E53%EF%F9%A3%0C%B4
2016-06-04 17:51:30 -07:00
L. David Baron
97c2e11d8c Bug 1273048 - Add MOZ_GCC_VERSION_AT_MOST macro. r=froydnj
MozReview-Commit-ID: 4VjAra5B6GM

--HG--
extra : transplant_source : %D3%C7C%05%7EB%24%90q%D3%22%C8%F5%8F%C7%C3%B4%00%A6%E2
2016-06-03 20:08:41 -07:00
Seth Fowler
01cb7efe41 (No bug) - Remove unnecessary include in nsGIFDecoder2.cpp. r=me DONTBUILD 2016-06-04 15:28:27 -07:00
Natanael Copa
6ffb5de597 Bug 1274732 - Avoid allocate 128k buffer on stack r=mcmanus
Move the 128k buffer for brotli decompression to the heap instead of stack.
This fixes crash with musl libc which provides 80k stack by default.

MozReview-Commit-ID: 9cDlFO5eoi1

--HG--
extra : rebase_source : 8f8e28e63da24cd4dde9ed585e8223cde2e5d9f1
2016-05-29 15:59:24 +02:00
Phil Ringnalda
eaf79afff7 Back out 0b65f7e689b5 (bug 1272107) for frequent startup hangs in 10.10 e10s tests 2016-06-04 13:06:13 -07:00
Jan de Mooij
af2f09018d Bug 1276879 followup - Use JS::RootedValue instead of RootedValue to fix non-unified build. r=bustage 2016-06-04 17:54:22 +02:00
Jan de Mooij
fa74b7f6a5 Bug 1276879 - Convert jsapi-tests to autoJSAPIOwnsErrorReporting. r=jorendorff 2016-06-04 16:52:06 +02:00
Boris Chiou
acc84881a2 Bug 1277740 - Add const to RangedPtr<T>::operator+ and operator-. r=Waldo
MozReview-Commit-ID: FlHmq5eh5ph

--HG--
extra : rebase_source : 7e8939f0a9531426fa8fa742351d47f1d2351e72
2016-06-03 12:16:33 +08:00
Patrick McManus
c5691caef2 Bug 1277943 - atomic fix to sockettransport::debugautomutex r=hurley 2016-06-03 15:56:26 -04:00
Jet Villegas
6d95828266 merge from inbound 2016-06-04 03:33:38 -07:00
Jet Villegas
a22a6660d7 Bug 1268736: An editable table cell means that both the cell and its contents are children of an editable node. r=mats 2016-06-04 03:23:56 -07:00
Carsten "Tomcat" Book
56972796c3 Backed out changeset 3538bc8b05aa (bug 1278005) will land directly on m-c 2016-06-04 09:40:05 +02:00
Carsten "Tomcat" Book
21e7516373 Backed out changeset 6e489044de50 (bug 1269711) for spidermonkey test failures 2016-06-04 09:38:28 +02:00
Andrea Marchesini
f49a386d9b Bug 989619 - patch 3 - console API should use [ProtoObjectHack], r=bz 2016-06-04 09:33:24 +02:00
Andrea Marchesini
c30cdb7269 Bug 989619 - patch 2 - console API should use webIDL namespaces, r=bz 2016-06-04 09:32:51 +02:00
Andrea Marchesini
be787b709b Bug 989619 - patch 1 - Codegen should allow static methods with a reserved C++ keywords as the name, r=peterv 2016-06-04 09:31:44 +02:00
Seth Fowler
13254eb215 Bug 1277979 - Add more fuzz to the downscale-during-decode GTests to fix failures on OS 10.10. r=me 2016-06-04 00:32:17 -07:00
Andrea Marchesini
3f22b78a94 Bug 1274362 - a Symbol passed to postMessage should throw DataCloneException, r=sfink 2016-06-04 09:24:28 +02:00
Jean-Yves Avenard
44e35af008 Bug 1278005: Fix rounding problems. r=cpearce
We had two potentials rounding issue occurring. The one causing the problem is that adding an int64 with a float is a float, and would be limited to 24bits mantissa.
The other, could be that rounding would occur if the segment duration was over 16s long, as that too would exceed the representation range as we using microseconds representation internally.

MozReview-Commit-ID: FyBTGvfg25I

--HG--
extra : rebase_source : bb0fff71bfdcaef8e76148bf59a73809e4737024
2016-06-04 12:22:39 +10:00
Shu-yu Guo
b1b4b0af39 Bug 1269711 - Disallow JS shell interrupt callback function to affect exception state of interrupted JS. (r=jimb) 2016-06-03 20:09:40 -07:00
Masayuki Nakano
258c1f97d6 Bug 1277756 part.7 Rename TextRangeType::NS_TEXTRANGE_SELECTEDCONVERTEDTEXT to TextRangeType::eSelectedClause r=smaug
MozReview-Commit-ID: GyRYWzfeWrm

--HG--
extra : rebase_source : 8bebacaf675ec4a3cf91cfd434d07beeb7fb1567
2016-06-03 19:15:21 +09:00
Masayuki Nakano
3fa2003d17 Bug 1277756 part.6 Rename TextRangeType::NS_TEXTRANGE_CONVERTEDTEXT to TextRangeType::eConvertedClause r=smaug
MozReview-Commit-ID: 3mexBm278As

--HG--
extra : rebase_source : ef363b0ac50396631e9b145b7e869330509fe259
2016-06-03 19:05:32 +09:00
Masayuki Nakano
98f069e029 Bug 1277756 part.5 Rename TextRangeType::NS_TEXTRANGE_SELECTEDRAWTEXT to TextRangeType::eSelectedRawClause r=smaug
MozReview-Commit-ID: MbG4siLb4Q

--HG--
extra : rebase_source : 23c20c55c3936dc6af5f57414ef7630003480275
2016-06-03 18:57:21 +09:00
Masayuki Nakano
f4254e7f7f Bug 1277756 part.4 Rename TextRangeType::NS_TEXTRANGE_RAWINPUT to TextRangeType::eRawClause r=smaug
MozReview-Commit-ID: KLC1VPiYTdz

--HG--
extra : rebase_source : 3f750e526bb04b26ed66d2c0fada14e7d5b43d73
2016-06-03 18:48:37 +09:00
Masayuki Nakano
6b5425853a Bug 1277756 part.3 Rename TextRangeType::NS_TEXTRANGE_CARETPOSITION to TextRangeType::eCaret r=smaug
MozReview-Commit-ID: CaqmOSxYYU7

--HG--
extra : rebase_source : 5820d491b97be7899150516d05f1426e74dab5b5
2016-06-03 18:40:06 +09:00
Masayuki Nakano
b07cb5c22b Bug 1277756 part.2 Rename TextRangeType::NS_TEXTRANGE_UNDEFINED to TextRangeType::eUninitialized r=smaug
MozReview-Commit-ID: 2kqngXh1DYh

--HG--
extra : rebase_source : a7e6d9f0a85e4979bf91648636e2f88768522668
2016-06-03 18:32:22 +09:00
Masayuki Nakano
4fc95828b6 Bug 1277756 part.1 Make anonymous enum for NS_TEXTRANGE_* to an enum class named "TextRangeType" r=smaug
For making our code clearer by the stronger type check, we should change the anonymous enum for NS_TEXTRANGE_* to enum class whose name is "TextRangeType" and whose type is "RawTextRangeType" which is an alias of uint8_t.

Additionally, this also adds some utility methods for them.

Note that some lines which are changed by this patch become over 80 characters but it will be fixed by the following patches.

MozReview-Commit-ID: 76izA1WqTkp

--HG--
extra : rebase_source : 27cd8cc8f7f8e82055dbfe82aba94c02beda5fa4
2016-06-04 09:49:21 +09:00
Robert Helmer
6cb8ad8742 Bug 1277898 - start documenting add-on manager code, starting with system add-on spec r=gps
MozReview-Commit-ID: 7lX5NBTahkv

--HG--
extra : rebase_source : a59323d17ff22cccfd2a6b1384b7b8a3aeccc8da
2016-06-03 09:53:46 -07:00
Nathan Hakkakzadeh
db1f388642 Bug 1275437 - Moved installing of Python into an install_python method in the windows bootstrapper; r=gps
The correct version of Python will get installed from the install_python method instead of with the system packages.

This is more in-line with how a bootstrapper *should* extend from the base bootstrapper.

MozReview-Commit-ID: JIMGF7XKL02

--HG--
extra : rebase_source : dc70bdf555afe0a0dfb253e01381b5e6fa52eee3
2016-05-31 17:15:31 -07:00