Commit Graph

487063 Commits

Author SHA1 Message Date
Mason Chang
6478db3b8a Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Jeff Walden
c07ca36127 Bug 1174386 - Fix a rebase-induced pointer-to-bool conversion error. r=bustage in a CLOSED TREE 2016-08-16 09:08:00 -07:00
Mason Chang
423fb81bd4 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Andrea Marchesini
01bf6ba4a1 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Arthur Edelstein
215601494b Bug 1174386 - Make workers inherit the default Intl locale from the main thread, rather than using a bogus fallback value. r=jwalden, r=baku
--HG--
extra : rebase_source : 09f66db9914cdf865388669082f3efaca37ce558
2016-08-08 13:33:39 -07:00
Sebastian Hengst
167156e726 Backed out changeset 2d5975fd02bd (bug 1288770) for asserting in ErrorResult.h when test test_errorPropagation.html runs. r=backout 2016-08-16 17:11:22 +02:00
aselagea
3f3894ef5c Bug 1290989 - Chunk m-gl on Desktop r=kmoir 2016-08-16 10:33:54 -04:00
Jessica Jong
5a9b39d967 Bug 1278738 - Add 'week' to the list of valid types attributes for <input>. r=smaug 2016-08-15 23:15:00 -04:00
Ethan Lin
18475abfbc Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-15 23:54:00 -04:00
Marcos Caceres
7be5df61f7 Bug 1295434 - Typo in test in file test_picture_apng.html. r=heycam 2016-08-15 23:53:00 -04:00
Nicolas Silva
7eadba0012 Bug 1294969 - Path flattening should not skip the first inflection point if it is at t=0.0. r=Bas 2016-08-16 15:42:57 +02:00
Bevis Tseng
b17713a4cb Bug 1271500 - Binary Key Support. r=janv
--HG--
extra : rebase_source : 3762fa91b4c068d7d0158a55911bc3f13b47a93f
2016-08-12 15:03:59 +08:00
Steve Fink
108eb395a7 Bug 1288555 - Fix structured cloning. r=Waldo
--HG--
extra : rebase_source : 44e3cb604aadd0b5e72dabd4d9db8fa672c386f1
2016-07-21 13:06:27 -07:00
Eric Faust
6f767d965f Bug 1282746. r=Waldo
--HG--
extra : rebase_source : b48d2dd3538b79673206ba1c51a4d293b06429b8
2016-08-16 09:28:26 -04:00
Sander Mathijs van Veen
faa27f3b85 Bug 1295031 - Pass direct = true only if we have enough space for the forwarding pointer. r=jandem
--HG--
extra : rebase_source : 6940838a5f490c6b128e3cfe333c0b4eb05480e6
2016-08-16 09:25:01 -04:00
ctai
d8858a2e5e Bug 1291946 - Call mozCapturedStreamXXX in onloadedmetadata callback. r=pehrsons
MozReview-Commit-ID: 6gLa4OYT9v2

--HG--
extra : rebase_source : 11d367a49f7e2151253000f2f7519a7e2dd9a11e
2016-08-15 14:46:30 +08:00
ctai
32a45cd487 Bug 1291946 - Append the latest video frames from updateTracks. r=jesup, r=pehrsons
In some cases, we need to resend missed VideoSegment to new added MediaStreamVideoSink. Append the latest video frames from updateTracks.

MozReview-Commit-ID: 76RFs5fgKpY

--HG--
extra : rebase_source : 1b1e4e60e0653cbf4ef21abf364239514cf171c5
2016-08-10 10:31:14 +08:00
Kartikaya Gupta
1108169173 Bug 1287710 - Ensure the docshell variable doesn't point to a dead CPOW. r=me
MozReview-Commit-ID: JtJOGrcrGbU
2016-08-16 09:22:41 -04:00
Nathan Froyd
223e5e148b 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-16 17:05:38 -04:00
Nathan Froyd
e9d0c9e656 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-16 17:05:38 -04:00
Nathan Froyd
880a5a466c 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-16 17:05:38 -04:00
Nathan Froyd
fa4f709cfd 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-16 17:05:39 -04:00
Nathan Froyd
da3e07b555 Bug 1295197 - use non-null-checked operator new in xpcom/; r=erahm
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 xpcom/ 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-16 17:05:39 -04:00
Aryeh Gregor
0ba196de55 Bug 1211894 - Throw on range.insertNode(range.startContainer); r=smaug 2016-08-16 15:52:06 +03:00
Alexandre Lissy
f9e595bea3 Bug 1295274 - Fix gfxVars namespace r=nical
MozReview-Commit-ID: HcWxi7rDm8b
2016-08-16 13:07:24 +02:00
Julian Seward
0749ba9357 Bug 1289098 - Fixes to avoid Valgrind false positives with gcc-5.4 -O2 builds. r=dbaron.
--HG--
extra : rebase_source : 489e0686b650f329c41bc5d2c2504ac308b9541d
2016-08-16 11:05:08 +02:00
Jon Coppeard
1fc6ff6493 Bug 1294469 - Shrink the nursery if we run out of memory r=terrence 2016-08-16 10:30:18 +01:00
Jon Coppeard
5682261e70 Bug 1294566 - Clear the eval cache after compacting GC r=terrence 2016-08-16 10:30:18 +01:00
Jan de Mooij
a10a34601b Bug 1295101 - Don't freeze the ctypes.jsm global to avoid resolving all properties on it. r=bholley 2016-08-16 11:25:40 +02:00
Andrea Marchesini
6e070dd30b Bug 1288903 - PushManager should create arrayBuffers and keys using the target window, r=kcambridge 2016-08-16 11:15:45 +02:00
Andrea Marchesini
b3d116ff7e Bug 1286487 - WorkerProxyToMainThreadRunnable must keep alive workers using WorkerHolder - part 2, r=me 2016-08-16 09:35:21 +02:00
Bob Owen
1bf3aae304 Bug 1259601: Add content process sandbox level to about:support sandboxing information. r=jld, r=mossop
MozReview-Commit-ID: HFRiEbkEztp
2016-08-16 07:40:43 +01:00
Andrea Marchesini
780f93ea66 Bug 1288770 - Switch worker timeouts to using nsJSTimeoutHandler, r=smaug 2016-08-16 08:10:30 +02:00
Andrea Marchesini
9e6f27182c Bug 898728 - Blob should be invalidated when the window is destroyed, r=smaug 2016-08-16 08:07:53 +02:00
Andrea Marchesini
858757497c Bug 1288561 - nsAttrAndChildArray::GrowBy() must check the return value of mozilla::CeilingLog2, r=njn 2016-08-16 08:04:59 +02:00
Andrea Marchesini
0ba6bcc1bb Bug 1286487 - WorkerProxyToMainThreadRunnable must keep alive workers using WorkerHolder, r=bkelly 2016-07-23 08:31:31 +02:00
Phil Ringnalda
602a0147b1 Backed out 3 changesets (bug 1246034) for Win e10s timeouts in browser_ext_commands_execute_browser_action.js
Backed out changeset f1f24546c26c (bug 1246034)
Backed out changeset 2c396099a21d (bug 1246034)
Backed out changeset 8cce25ece209 (bug 1246034)
2016-08-15 21:36:34 -07:00
Phil Ringnalda
54ad5f454e Back out 6493296521fb (bug 1294607) for crashtest crashes in 1246775-1.html 2016-08-15 20:54:50 -07:00
Mason Chang
e7ead846af Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang
8c9fb35901 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Seth Fowler
69a8ca2b79 Bug 1293449 (Followup) - Remove unnecessary SurfaceCache.h #include from gfxWindowsPlatform. r=me 2016-08-15 19:38:43 -07:00
Dão Gottwald
391c36253c Bug 1022547 - move rule for menu text color since it's wrong on Windows 8 and later where all themes use the compositor. r=gijs
--HG--
extra : rebase_source : 8087707363f8adf0c0fec453d8c0311180a657b8
2016-08-16 03:32:13 +02:00
Sotaro Ikeda
64b45af818 Bug 1254010 - Scaling during RGB -> YUV conversion with BasicCompositor if possible. basic_compositor_video improved on windows. r=jrmuizel 2016-08-15 18:54:17 -07:00
Ethan Lin
93ca898ab6 Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical 2016-08-11 20:26:00 -04:00
Hassan Ali
b90984b4da Bug 1256929 - Fix ESLint error in test-bug_923281_test2.js. r=linclark
--HG--
extra : amend_source : 04d32b2011a27b9b178c3d16e19535a1c906a9e8
2016-08-10 19:07:00 -04:00
Anthony Jones
bccc9225cc Bug 1287397 - Fix wave chunk size overflow. r=cpearce
MozReview-Commit-ID: Dg1OT13urxe

--HG--
extra : source : 7545a33148f1b87ed695ed67ee880f0c36817e7d
2016-08-09 13:34:58 +12:00
Seth Fowler
21f89abe61 Bug 1293449 - Stop exposing SurfaceCache implementation code outside of ImageLib. r=dholbert 2016-08-15 18:19:39 -07:00
Nicholas Nethercote
ca40b738e4 Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.

The patch also removes a handful of redundant checks on infallible setters.

--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Geoff Brown
b3de7bb2f6 Bug 1295186 - Consolidate TC test tier transforms; r=dustin 2016-08-15 18:49:02 -06:00
Geoff Brown
ebcb36fc77 Bug 1293309 - Improve error handling for Android xpcshell minidump clear; r=jmaher 2016-08-15 18:49:00 -06:00