Commit Graph

487526 Commits

Author SHA1 Message Date
Eddy Bruel
ab86c4dcea Bug 1294013 - [jsdbg2] Disentangle parsing and checking of resumption values. r=jimb
CLOSED TREE
2016-08-11 10:50:00 +08:00
Nathan Froyd
1c2c21cebc Bug 1295192 - part 4 - use a non-null-checked placement new operator in layout code; r=dholbert
The standard placement new function is declared to not throw, which
means that, per spec, a null check on its result is required.  There are
a number of places throughout layout/ where we know that we are passing
non-null pointers to placement new (and receiving them as a return
value), and we are therefore doing useless work performing these null
checks.

Therefore, we should be using an operator new overload that doesn't
require the null check.  MFBT has just such an overload, so use that.
2016-08-17 15:28:45 -04:00
Nathan Froyd
bd964c2136 Bug 1295192 - part 3 - remove CPP_THROW_NEW from display list code; r=dholbert
nsDisplayListBuilder::Allocate is infallible.  Therefore,
nsDisplayListItem::operator new, which calls Allocate to obtain memory,
does not need to declare itself as throwing.  And so on for functions
that call nsDisplayListBuilder::Allocate.
2016-08-17 15:28:45 -04:00
Nathan Froyd
274ff3d25a Bug 1295192 - part 2 - remove CPP_THROW_NEW from style struct type-safe operator new overloads; r=bholley
operator new overloads that declare that they don't throw exceptions
require a null check on their return value, per the C++ spec.  We know
that Servo isn't going to call these functions with null pointers, so
remove the CPP_THROW_NEW annotation and save ourselves some work.
2016-08-17 15:28:45 -04:00
Nathan Froyd
d9759d258f Bug 1295192 - part 1 - remove CPP_THROW_NEW on layout struct operator new overloads that forward to nsPresShell::AllocateByObjectID; r=dholbert
Structs in our style system use an arena-style allocation system,
managed by the presshell to which they belong.  All of the relevant
overloads that forward allocation requests to the presshell declare
themselves as CPP_THROW_NEW, which indicates that they do not throw
exceptions.  The C++ specification states that operator new overloads
that declare themselves to not throw exceptions require a null check on
their return value.  However, the relevant presshell allocation method,
AllocateByObjectID, is infallible and will never return a null pointer.

The callers of all of these methods are therefore doing useless
(compiler-generated) null checks.  Let's get rid of those useless checks
by removing the CPP_THROW_NEW annotations.  This change declares these
methods will return non-null pointers and throw exceptions in case of
errors--but as we don't use exceptions, and AllocateByObjectID will
abort on OOM, everything works out OK.
2016-08-17 15:28:45 -04:00
Michal Novotny
46b5c2fb6e Bug 1258747 - Support for alternative data in CacheFile, r=honzab 2016-08-17 12:58:44 +02:00
Iris Hsiao
19389cc679 Backed out changeset 8ead64ff09e8 (bug 1294013) 2016-08-17 18:50:40 +08:00
Iris Hsiao
82b995f603 Backed out changeset 9eec5a814230 (bug 1294013) 2016-08-17 18:50:34 +08:00
Iris Hsiao
91d9cf2da1 Backed out changeset 33283d086876 (bug 1294013) 2016-08-17 18:50:29 +08:00
Iris Hsiao
da330ea42e Backed out changeset 0289f779f30b (bug 1294013) 2016-08-17 18:50:24 +08:00
Iris Hsiao
ccea2b0905 Backed out changeset d14511be496e (bug 1294013) for Windows build bustage 2016-08-17 18:50:18 +08:00
Dan Minor
3de6cf478f Bug 1281382 - Fix setTargetAtTime using incorrect starting value when earlier event is skipped; r=karlt
This updates mLastComputedValue when removing events during the call to
CleanupEventsOlderThan.

MozReview-Commit-ID: 1Veyv8kLIna

--HG--
extra : rebase_source : 9ee9aeb458b60316f93616e3310ad26f9e85e79c
2016-08-12 14:57:19 -04:00
Jon Coppeard
56d2b77b31 Bug 1295027 - Fix spurious rooting hazard r=me 2016-08-17 11:02:25 +01:00
Eddy Bruel
7ec3a9741b Bug 1294013 - Remove callHook from parseResumptionValue(Helper). r=jimb 2016-08-17 11:45:59 +02:00
Eddy Bruel
162cd6ab9b Bug 1294013 - Replace parseResumptionValueHelper with processResumptionValue in handleUncaughtException. r=jimb 2016-08-17 11:44:44 +02:00
Eddy Bruel
2bf9548b9c Bug 1294013 - Factor out processResumptionValue. r=jimb 2016-08-17 11:42:45 +02:00
Eddy Bruel
ec711a007e Bug 1294013 - Factor out CheckResumptionValue. r=jimb 2016-08-17 11:40:35 +02:00
Eddy Bruel
b734093774 Bug 1294013 - Factor out ParseResumptionValue. r=jimb 2016-08-17 11:39:05 +02:00
Jon Coppeard
0465f26bed Bug 1295035 - Check for failure when allocating chunks r=terrence 2016-08-17 09:41:29 +01:00
Jon Coppeard
630dc42a23 Bug 1295027 - Only mark objects for pretenuring after end of trace session r=terrence 2016-08-17 09:41:29 +01:00
Jon Coppeard
65a78fdeb7 Bug 1295551 - Sweep dictionary mode objects after minor GC r=terrence 2016-08-17 09:41:29 +01:00
Edwin Flores
29a30711a0 Bug 1272123 - Limit the size of CanvasRenderingContext2D::mStyleStack - r=mstange 2016-08-17 09:26:11 +01:00
Edwin Flores
d4e78a4c4f Bug 1293560 - Fix debug output in ScaledFontWin::GetFontFileData - r=jfkthame 2016-08-17 09:26:11 +01:00
Edwin Flores
57383e5cb5 Bug 1291528 - Don't use fast path in nsCSSRendering::PaintGradient if source rect is empty - r=mstange 2016-08-17 09:26:11 +01:00
Edwin Flores
5b5759985b Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-17 09:26:11 +01:00
Edwin Flores
42449e085d Bug 1291528 - Add reftest to ensure that linear gradient drawing paths agree - r=mstange 2016-08-17 09:26:11 +01:00
Edwin Flores
4650e9bcec Bug 1292402 - Zero uninitialised padding in FilterNodeSoftware.cpp - r=mstange 2016-08-17 09:26:11 +01:00
Andrea Marchesini
3e180e7c40 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 3, r=me 2016-08-17 09:30:48 +02:00
Chris Peterson
b64548f6c6 Bug 1295085 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in netwerk/. r=jduell 2016-08-15 01:09:06 -07:00
Chris Peterson
4e032df4b1 Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07:00
Dão Gottwald
26c86386d8 Bug 1295038 - Remove leftover transition-delay. r=felipe 2016-08-17 08:14:48 +02:00
Andrea Marchesini
248823da76 Bug 1264053 - MessagePort should support transferable objects in multi-e10s - part 2, r=sfink 2016-08-17 07:54:00 +02:00
Fred Lin
346924fc78 Bug 1293591 - Remove devtools/client/inspector/inspector.css. r=gl
MozReview-Commit-ID: J7auvgrcaAG

--HG--
extra : transplant_source : %F4%1A%9C%945%8A%90%DFz%02%13%17%A6%AE%A4%FAx%7C%A5%09
2016-08-10 10:33:02 +08:00
Oriol
185be6e413 Bug 1295729 - Ensure that properties are array indices when the console checks if an object is a pseudo-array. r=fitzgen
--HG--
extra : rebase_source : bc98c44868562de9349fce6fcb903557fb10e996
2016-08-16 14:59:00 -04:00
malayaleecoder
366b7379b0 Bug 1287871 - Talos profiler symbolication is broken. r=jmaher
--HG--
extra : rebase_source : 4ba0975c2468851740bac9e640c43ad6e149cf02
2016-08-16 22:39:48 +05:30
Towkir Ahmed
650eda7fe7 Bug 1294840 - Fix vertical alignment of 'filter widget buttons' in devtools: css rule inspector. r=jdescottes
--HG--
extra : rebase_source : 8758c8d6ed677dd5df7c3e9e1ec59552b10a2f17
2016-08-16 09:05:00 -04:00
Jared Wein
ea0b3d77bc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c66c2fee3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Shane Caraveo
3cc7002060 Bug 1289549 P6 socialapi remove non-socialapi chat code, r=florian
MozReview-Commit-ID: 2dRiYKYiN0o
2016-08-16 14:34:06 -07:00
Shane Caraveo
c1af487dd0 Bug 1289549 P5 socialapi fix path in pocket bootstrap, r=florian
MozReview-Commit-ID: G47bB7CN2OE
2016-08-16 14:34:06 -07:00
Shane Caraveo
44b6af39aa Bug 1289549 P4 socialapi remove unused css, r=florian
MozReview-Commit-ID: I9BbMyq8ANK
2016-08-16 14:34:06 -07:00
Shane Caraveo
ed35ca6be4 Bug 1289549 P3 socialapi move toolkit component to browser, r=florian
MozReview-Commit-ID: JosyCE9HAac

--HG--
rename : toolkit/components/social/SocialService.jsm => browser/modules/SocialService.jsm
rename : toolkit/components/social/test/xpcshell/test_SocialService.js => browser/modules/test/unit/social/test_SocialService.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration21.js => browser/modules/test/unit/social/test_SocialServiceMigration21.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration22.js => browser/modules/test/unit/social/test_SocialServiceMigration22.js
rename : toolkit/components/social/test/xpcshell/test_SocialServiceMigration29.js => browser/modules/test/unit/social/test_SocialServiceMigration29.js
2016-08-16 14:34:06 -07:00
Shane Caraveo
b5de53e87a Bug 1289549 P2 socialapi remove sidebar and chat, r=florian
MozReview-Commit-ID: GUqJRtp4QlJ
2016-08-16 14:34:06 -07:00
Shane Caraveo
cc1f7d742e Bug 1289549 P1 socialapi remove status and marks, r=florian
MozReview-Commit-ID: KKvTZaeTU69
2016-08-16 14:34:05 -07:00
Shane Caraveo
7cfbd99f93 Bug 1289549 fix test driver child counting, r=automatedtester
MozReview-Commit-ID: CwwkCBrJsXV
2016-08-16 14:34:05 -07:00
Katie Broida
eb57727391 Bug 1283909 - Replaces start menu tile images with larger versions to provide better resoultion on HiDPI screens. r=jaws
MozReview-Commit-ID: LoEBbpXL0dg
2016-08-16 10:04:53 -04:00
Jared Wein
6e26600301 Bug 1221174 - Define the HiDPI version of Share's add-share-button for all themes. r=dolske
MozReview-Commit-ID: DgNcIVERdx1
2016-08-16 15:44:15 -04:00
Jared Wein
f038f5ea4c Bug 1291839 - Change the Narrate input[type=range] to use 'change' events instead of 'input' events because we are not interested in intermediate values of the slider. r=eeejay
* * *
[mq]: temp

MozReview-Commit-ID: JpGbdSonDTD
2016-08-16 15:44:15 -04:00
Jared Wein
2794558914 Bug 1294545 - Enable the arrow-spacing rule for eslint. r=felipe
MozReview-Commit-ID: L4Qwpoukz8R
2016-08-16 15:44:15 -04:00
Jared Wein
e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00