Commit Graph

452427 Commits

Author SHA1 Message Date
Nathan Froyd
8a2948e596 Bug 1225923 - part 1 - convert all needs-to-copy instances of AppendElement(nsDependentString(...)); r=erahm
When people write:

  array.AppendElement(nsDependentString(...));

(resp. nsDependentCString), it's not clear whether they expect the newly
constructed dependent string to live in the array, or whether they're
just making a nsString-like holder whose contents can be freely copied
into the array's newly-created nsString.  Sometimes the latter is what
you prefer, and sometimes the former.  In all cases, however, the latter
behavior is what you get.

Let's try to make that behavior more explicit by pre-constructing
nsString elements and then using Assign to show that copying is taking
place.  This patch involves no functional change in behavior (it ought
to be epsilon faster due to using AppendElements, rather than repeatedly
calling AppendElement).
2015-11-18 10:25:19 -05:00
Nathan Froyd
e9072a7a24 Bug 1229028 - remove #ifdef NS_BUILD_REFCNT_LOGGING methods from nsXULPrototypeNode; r=bz
These methods are subsumed by the automatic generation of AddRef/Release
methods featuring the class name, and are not called in any event.
2015-11-30 10:15:44 -05:00
Nathan Froyd
df330eaf5c Bug 1229176 - make check for ChromeOnly interfaces for header inclusion more complete; r=bz
If an interface has a {Chrome,}Constructor(), it doesn't show up as a
normal member.  If the interface has a ChromeConstructor, we need to
include nsContentUtils.h in the generated file for a
ThreadsafeIsCallerChrome check.  There is an existing check for a
descriptor's ChromeOnly-ness in CGBindingRoot; this check is used to
determine whether nsContentUtils.h is included in the generated file.
But the check in descriptorHasChromeOnly doesn't detect this
(ChromeOnly) constructor, and so nsContentUtils.h won't be included if
there are no other ChromeOnly members, or if the interface itself is not
ChromeOnly.

Therefore, we need to take the constructor of the interface (if any)
into account when checking for ChromeOnly-ness.
2015-11-30 20:57:57 -05:00
Mark Goodwin
31cec702e0 Bug 1228451 - Set short-lived cert lifetime to the max OCSP response lifetime. r=keeler
--HG--
extra : commitid : LMpRTyagmR3
extra : rebase_source : 3fe739c7d448b4a587a31eded6e7cd2cf4334afe
2015-11-30 22:05:07 +00:00
Jacek Caban
5d8e172cda Bug 1198450 - GCC (mingw) fixup.
--HG--
extra : rebase_source : 5993b8fe1c9ef37e979badb3e6c7f64af165752d
2015-12-01 14:20:41 +01:00
Gabor Krizsanits
a0ff959566 Bug 1228542 - Resetting AuthorStyleSheets. r=bz 2015-12-01 13:54:34 +01:00
Benjamin Bouvier
0385cdc9bd Bug 1229258: Implement dummy asmMergeWith/retargetWithOffset functions in none backend; r=h4writer
--HG--
extra : rebase_source : a6a77c381ef0b6824971e96a28d8cd3c4e364c87
2015-12-01 13:06:35 +01:00
Jan Varga
b3c22dc9ac Bug 1228932 - Create Quota background actor directly if PBackgroundChild exists; r=khuey 2015-12-01 11:54:40 +01:00
Cykesiopka
cb705a63a6 Bug 1224968 - Support public key input to unbreak periodic HPKP updates. r=keeler
be448badb1%5E!/#F0 switched SHA1 hashes to public keys for static pins. This broke genHPKPStaticPins.js and thus periodic HPKP updates, since the file doesn't handle public keys.

The changes here mostly mirror ba1f296240.
2015-12-01 00:30:00 +01:00
Cykesiopka
ee7d82a508 Bug 1228794 - Convert test_getchain.js to generate certificates at build time. r=keeler
With this change, CertUtils.py is no longer needed.

--HG--
extra : rebase_source : 2e7c7f82c17fd44d97fc68f657f3c313f4b4d125
2015-12-01 00:28:00 +01:00
Bogdan Postelnicu
d61cdc0082 Bug 1228346 - initialize mOCSPMustStapleEnabled in constructor. r=dkeeler
--HG--
extra : rebase_source : be8c14f84b53f6e546ff242b40208ec3a1f1be03
2015-11-26 07:40:00 +01:00
Benjamin Bouvier
4db8c7ff5e Bug 1228340: Get rid of the js_ prefix for CodeSpec, CodeName, NumCodeSpecs; r=jorendorff
--HG--
extra : rebase_source : 15581237242211fb1b29743f909d9c04669c6b2c
2015-11-26 15:51:26 +01:00
Benjamin Bouvier
2e76d6b88a Bug 1228340: Rename JitOptions into DefaultJitOptions and get rid of the js_ prefix for the instance; r=h4writer
--HG--
extra : rebase_source : 58c678bdd16316bfa4c8898cf43b8d68498e64a9
2015-11-26 15:39:22 +01:00
Benjamin Bouvier
8ba8ea4383 Bug 1228340: Remove the js_ prefix in front of IonOptimizationsLevel; r=h4writer
--HG--
extra : rebase_source : 675be157fef20adfccedf7b179c7736a41975ebd
2015-11-26 14:53:26 +01:00
Milan Sreckovic
1c2f56d5f0 Bug 1228287 - Make sure we can't do SkiaGL without the pref set. r=benwa
--HG--
extra : rebase_source : 601d27a896f5d97353051e7e8ac85be0ccf92cda
2015-11-26 11:00:00 +01:00
Martin Stransky
3c958b324c Bug 1228281 - [GTK3] add padding to buttons. r=karlt
--HG--
extra : rebase_source : 4972b69d30730c10fbe450568cd2b1a7f3404c96
2015-11-30 05:26:00 +01:00
Gian-Carlo Pascutto
125704b36a Bug 1229051 - Reenable C++ unit tests for UrlClassifier by converting to gtest. r=francois
--HG--
rename : toolkit/components/url-classifier/tests/TestUrlClassifierUtils.cpp => toolkit/components/url-classifier/tests/gtest/TestUrlClassifierUtils.cpp
2015-12-01 11:04:25 +01:00
Ekanan Ketunuti
c2dbe5f747 Bug 1228174 - Add validator to the en-US dictionary. r=ehsan
--HG--
extra : rebase_source : 86834b669a3ae11b3a894d8e08504938401a552d
2015-11-26 07:13:03 +07:00
Anup Kumar
db13033a33 Bug 1228051 - Remove PR_snprintf calls in nsCSSParser.cpp's CSSParserImpl::ParseColor. r=dholbert
--HG--
extra : rebase_source : feeb90e0a5a0306ef16e33256024ec3a35565abb
2015-11-26 03:19:00 +01:00
Jan de Mooij
0b2970741e Bug 922406 - Ion-compile global scripts that use 'this'. r=shu 2015-12-01 11:00:22 +01:00
Andrew McCreight
ddbd50b2c1 Bug 1226708 - part 2 - Make geolocation mozSettings tests fail slightly less with e10s. r=baku
They still do not pass, but now they fail instead of just timing out.
2015-11-23 11:45:00 +01:00
Andrew McCreight
87c8fdaae2 Bug 1226708 - part 1 - Use importInMainProcess in requestsync tests. r=baku
This makes them work with e10s.
2015-11-23 11:44:00 +01:00
Bogdan Postelnicu
60f4aa423b Bug 1226549 - added assert check for matches pointer in for prevent null dereference. r=hv1989 2015-11-25 06:47:00 +01:00
Lee Salzman
b8d98433fb Bug 1225977 - fix DrawTargetSkia::MaskSurface with non-zero offset. r=jmuizelaar 2015-11-19 10:25:15 -05:00
Christoph Kerschbaumer
6968aac9f3 Bug 1225882 - Force XSLT to load async if CORS is required. r=sicking 2015-11-30 20:13:20 -08:00
Jorg K
6b710fa7ee Bug 1225864 - New flag OutputDisallowLineBreaking to disallow line breaking. r=masayuki. 2015-11-27 15:27:00 +01:00
Jorg K
b366fdfc09 Bug 1225864 - New flag OutputDisallowLineBreaking to disallow line breaking. Test. r=masayuki 2015-11-27 06:19:00 +01:00
Benjamin Chen
7034fa9aff Bug 1225327 - fix |mEncoder| null-dereference. r=jwwang
--HG--
extra : transplant_source : S4%08%B8%EF%B7%C72%D9%CDh%15%96M%21Z%CE%BC%F9%84
2015-11-30 14:29:17 +08:00
Jorg K
5c46934990 Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. rs=ehsan on a CLOSED TREE 2015-11-26 09:21:00 +01:00
Carsten "Tomcat" Book
5fb313776a Backed out changeset e925caf848fa (bug 1214377) for wrong reviewer in commit 2015-12-01 10:31:32 +01:00
Carsten "Tomcat" Book
717f6dbf0b typo bustage fix for bug 1219236 a=me 2015-12-01 10:30:25 +01:00
Carsten "Tomcat" Book
7af3d35998 Backed out changeset 427dc5894094 (bug 1197307) for bustage 2015-12-01 10:04:50 +01:00
Hiroyuki Ikezoe
63de4ed1e1 Bug 1219236 - Part 1: Flush throttle styles for all descendant sub documents and *root* document itself. r=roc 2015-11-17 03:05:00 +01:00
Jan Beich
a407397c29 Bug 1218027 - "--with-system-icu fails: js/src/jsapi.cpp:69: error: visibility does not match previous declaration". r=mh+mozilla 2015-10-23 15:49:00 +02:00
Lee Salzman
eb43cc65f5 Bug 1215774 - use abort() to abort on error in Cairo. r=jmuizelaar 2015-11-20 15:24:31 -05:00
Jorg K
6000f153f1 Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. r=roc 2015-11-26 09:21:00 +01:00
Alexandros Chronopoulos
6aab2674ce Bug 1202087 - Filter out non-shareable application for win8 or greater. r=jesup 2015-11-11 14:01:27 +02:00
Anup Kumar
e8ff34c8eb Bug 1197307 - remove PR_snprintf calls in layout. r=froydnj r=dholbert 2015-11-27 21:44:00 +01:00
Mike Hommey
10546de21b No bug - Add missing information that addon-sdk/Makefile.in uses a misc target. r=me 2015-12-01 16:46:59 +09:00
Mike Hommey
6e38af494c Bug 1229245 - Use a FinalTargetFiles-like object for TESTING_JS_MODULES. r=gps 2015-12-01 16:46:57 +09:00
Mike Hommey
6bea47c16d Backout changeset aad04db89c38 (bug 1229245) for jetpack bustage. r=me on a CLOSED TREE 2015-12-01 16:18:54 +09:00
Mike Hommey
70e723fc78 Fixup for bug 1229233 to fix bustage on OSX universal builds. r=me
Those bits are copied from TestMozbuildObject.
2015-12-01 14:52:31 +09:00
Mike Hommey
4bc4164c0a Fixup for bug 1229233 to fix test bustage on Windows. r=me 2015-12-01 14:52:31 +09:00
L. David Baron
7dc263f595 Bug 1228921 patch 2 - Fix nsRestyleHint constants to match the same style. r=xidorn
--HG--
extra : commitid : EwDr20MLKlQ
2015-11-30 21:37:08 -08:00
L. David Baron
3ad29c50ac Bug 1228921 - Write nsChangeHint constants using left shifts. r=xidorn
This means I don't have to carefully count (or copy and paste) 0s when
adding new constants.

--HG--
extra : commitid : CpIATm1bRj9
2015-11-30 21:37:08 -08:00
L. David Baron
911415d73e Bug 1224251 patch 4 - Convert UpdateOpacityLayer to RepaintFrame when changing opacity between 1 and non-1 on table parts. r=mattwoodrow
--HG--
extra : commitid : EbDZ3fKuldK
2015-11-30 21:25:55 -08:00
L. David Baron
f847691699 Bug 1224251 patch 3 - Return nsChangeHint_UpdateUsesOpacity when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : BP6PdQF7hQo
2015-11-30 21:25:54 -08:00
L. David Baron
ea2560fb45 Bug 1224251 patch 2 - Add nsChangeHint_UpdateUsesOpacity to say when opacity changes between 1 and non-1. r=xidorn
--HG--
extra : commitid : 54U9yWksA8Q
2015-11-30 21:25:54 -08:00
L. David Baron
a3f4d86240 Bug 1224251 patch 1 - Add reftests. r=mattwoodrow
Locally, these tests fail reliably for me without the patch.  I'm not,
however, confident that they would continue to do so, across future
mutations in the code, were the bug to be reintroduced, given the amount
of fiddling I had to go through to get them to fail without the patch.

That is, without the patch:

  table-row-opacity-dynamic-1.html shows the area of the row that's not
  behind the text as a much more opaque blue than it should be (while
  the area of the row that is behind the text is correct)

  table-row-opacity-dynamic-2.html shows the area of the row that's not
  behind the text as the white background showing through (while the
  area of the row that is behind the text is correct)

--HG--
extra : commitid : 5PbkGAFgpuc
2015-11-30 21:25:54 -08:00
Daniel Holbert
5457e9b5a5 Bug 1229212: Manually make the text frame inside of <input type="number"> satisfy the requirement that all flex items are block-level. r=mats 2015-11-30 21:22:44 -08:00