Commit Graph

233876 Commits

Author SHA1 Message Date
Nicholas Nethercote
1dfaa452f9 Bug 1142814 - Optimize String.fromCharCode() when the number of args is small but > 1. r=jandem.
This avoids an unnecessary malloc.

The patch also adds testing for String.fromCharCode() with 2--20 args.
2015-03-12 17:19:48 -07:00
Jeff Gilbert
ab5699f387 Bug 1142975 - Check for Present()-caused context loss. - r=kamidphish 2015-03-16 16:33:44 -07:00
David Anderson
391698e84e Ensure input events account for APZ transforms on Windows. (bug 1143567 part 4, r=jmathies) 2015-03-16 16:30:37 -07:00
David Anderson
49d7986b95 Use stricter types in nsWindowBase event dispatch functions. (bug 1143567 part 3, r=jmathies) 2015-03-16 16:29:57 -07:00
David Anderson
5d39c89af1 Ensure input events account for APZ transforms on Gtk. (bug 1143567 part 2, r=kats) 2015-03-16 16:29:55 -07:00
David Anderson
8b0dc9dfe9 Add helper for applying async transforms to widget input events. (bug 1143567 part 1, r=kats) 2015-03-16 16:29:53 -07:00
Jeff Gilbert
35679094d1 Bug 1143876 - Treat invalidate-framebuffer as optional for WebGL2. - r=kamidphish 2015-03-16 16:29:37 -07:00
Jeff Gilbert
6719ded761 Bug 1017865 - Refactor attach/detach for FB attachments. - r=kamidphish 2015-03-16 12:48:52 -07:00
Markus Stange
86b6ea312f Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn 2015-03-16 18:37:04 -04:00
Markus Stange
88be21ce91 Bug 1143273 - Add scale and menulist to the list of non-draggable things. r=dao 2015-03-14 16:23:38 -04:00
Markus Stange
620446961e Bug 1141089 - Add some release assertions to gather more data. r=roc 2015-03-16 16:04:00 -04:00
Seth Fowler
17edb8e526 Bug 1135572 - Disable 944353.jpg crashtest on ASAN. r=me DONTBUILD 2015-03-16 10:48:09 -07:00
Tooru Fujisawa
87a612be50 Bug 1143281 - Check argument type in StructType.prototype.addressOfField. r=jorendorff 2015-03-17 07:28:57 +09:00
Steve Fink
7f42402e1f Bug 1095290 - Make unlazified scripts same-compartment with their functions, r=bhackett 2015-03-16 15:13:28 -07:00
Steve Fink
3668d235de Bug 1139456 - Do not let compaction set the alloc threshold to unreasonably small sizes, r=terrence 2015-03-16 15:13:20 -07:00
Chris Manchester
4f4218edcf Bug 1142404 - Fix marionette's restarts to keep from attempting to reconnect to the browser as it's shutting down.;r=dburns 2015-03-16 14:59:46 -07:00
Bobby Holley
21f1825c3e Bug 1135424 - Run MDSM disposal off the MediaPromise returned by initiating shutdown on the task queue. r=mattwoodrow 2015-03-16 14:38:45 -07:00
Bobby Holley
5d75d51dac Bug 1135424 - Switch the MDSM to a task queue. r=mattwoodrow 2015-03-16 14:38:44 -07:00
Bobby Holley
b798727058 Bug 1135424 - Implement MediaTimer. r=mattwoodrow 2015-03-16 14:38:43 -07:00
Bobby Holley
2eede60044 Bug 1135424 - Allow MediaPromise dispatch to fail if the ThenValue has been disconnected. r=mattwoodrow
The original idea behind the current model was that we wanted ironclad guarantees
that consumers would always get a callback on their promise. But we now have use
cases where the consumer wants to forget about a promise (using the new
Disconnect()) feature, and in some cases wants to shut down the task queue that
the response is going to be dispatched on. In the case of this bug, we want to
avoid waiting for the longest outstanding timer promise to be resolved before
shutting down the MDSM.

So this patch fixes up the pieces needed to make this work:
* Loosening our invariants to allow dispatch targets to be released on any thread,
  since MediaTaskQueue and nsIEventTarget both have thread-safe refcounting.
* Releasing mThisVal in Disconnect, so that we no longer depend on successful
  dispatch to release it on the correct (dispatch) thread.
* Fiddling with various assertions.

We also make some assertions fatal in nightly/aurora builds while we're at it.
2015-03-16 14:38:42 -07:00
Ehsan Akhgari
64f754d0c6 Bug 1143833 - Add tests for the ignoreSearch match mode in DOM cache; r=bkelly 2015-03-16 17:11:05 -04:00
Ehsan Akhgari
f5ee76fff8 Bug 1143820 - Add tests to ensure that the URL fragments are correctly ignored by the DOM Cache API; r=bkelly 2015-03-16 17:08:09 -04:00
Ehsan Akhgari
d54b1dad9e Bug 1143813 - Add tests for attempting to store a non-GET request in the DOM Cache; r=bkelly 2015-03-16 17:03:45 -04:00
Ehsan Akhgari
e9c57f7ec1 Bug 1143511 - Correct the usages of .catch() in DOM cache tests; r=bkelly
These tests used .catch() incorrectly, in a way that did not actually
guarantee that the promise is rejected, so in 3 cases the promise
resolved to known failure values (undefined or an empty array) and
this was not being caught as a test failure.

This patch fixes those three places, and also rewrites the .catch()
usage in another case to guarantee that the promise is indeed rejected.
2015-03-16 16:53:10 -04:00
Ehsan Akhgari
a0ece1177a Bug 1143219 - Add tests for passing an unknown request to match and matchAll; r=bkelly 2015-03-16 16:46:49 -04:00
Nikhil Marathe
89894439fb Bug 1140791 - Run fetch tests on main thread and workers. r=ehsan 2015-03-11 14:48:58 -07:00
Ehsan Akhgari
0d7e675647 Bug 1143193 - Run the tests for match and matchAll on both Request objects and string URLs; r=bkelly 2015-03-16 16:29:22 -04:00
Catalin Badea
02dc461839 Bug 1142015 - Add source for messages dispatched to a Service Worker. r=baku 2015-03-16 22:23:42 +02:00
Andreas Pehrson
06875768a5 Bug 1142688 - Wait for actual audio data on remote side before checking audio sanity. r=jesup,padenot 2015-03-16 16:32:19 +08:00
Ryan VanderMeulen
2cdbe577fa Backed out changeset a970cb5c73f8 (bug 1116806) for frequent Linux e10s browser_tab_dragdrop.js.
CLOSED TREE
2015-03-16 15:47:22 -04:00
Botond Ballo
700be4b278 Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in Fennec code. r=kats 2015-03-06 17:14:55 -05:00
Botond Ballo
a2d2738cfd Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in metro browser code. r=kats 2015-03-06 17:14:39 -05:00
Botond Ballo
b0b35fd90e Bug 1139675 - Update JS callers of nsIDOMWindowUtils.setResolution and getResolution in accessibility code. r=yzen 2015-03-06 17:14:18 -05:00
Botond Ballo
b7b1daa972 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow 2015-03-06 18:07:59 -05:00
Botond Ballo
8d9cb90803 Bug 1139675 - Add a couple of operator overloads to BaseSize. r=kats 2015-03-06 18:07:30 -05:00
Jeff Gilbert
6330dbcbf0 Bug 927995 - Handle antialias+preserveDrawingBuffer properly. - r=kamidphish 2015-03-16 12:16:50 -07:00
Ryan VanderMeulen
4311846b80 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes. 2015-03-16 15:04:51 -04:00
Stephen Pohl
8334bc893e Bug 1140523: Send correct onEnabling/onDisabling notifications when EME preferences change. r=mossop 2015-03-16 14:59:08 -04:00
Kartikaya Gupta
36d22b63e9 Bug 1142926 - Only notify the docshell of state changes when moving in and out of a transforming state across all APZCs. r=botond 2015-03-16 14:52:52 -04:00
Catalin Badea
3ab2d93fbd Bug 1143732 - Add exempt from limit for two service worker tests. r=bkelly 2015-03-16 19:57:42 +02:00
Aaron Klotz
3dfda22427 Bug 1116806: Enable dom.ipc.plugins.asyncInit by default; r=vladan 2015-02-08 15:57:23 -07:00
Jeff Muizelaar
d0961738de Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange 2015-03-16 14:19:32 -04:00
Ryan VanderMeulen
18cf67168a Backed out changeset 734e81bff9f3 (bug 1110487) for intermittent e10s cache test crashes.
CLOSED TREE
2015-03-16 13:51:33 -04:00
Ryan VanderMeulen
6ee2b1e654 Backed out changeset df82a0b667bb (bug 1137180) for causing intermittent crashes. 2015-03-16 13:17:19 -04:00
Paul Adenot
cce8353510 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Paul Adenot
d4f37ca0bf Bug 1141781 - Grip the VideoFrameContainer when queing a call to invalidate in the MediaStreamGraph. r=roc 2015-03-16 18:12:36 +01:00
Karina Li
5f5b858892 Bug 1143556 - Set screen sharing mode or video mode for GMP plugin r=jesup 2015-03-16 14:27:28 +08:00
Joel Maher
42ce341f1c Bug 1136395 - accessibility/mochitest/test/common.js could use some additional output to help debug issues. r=surkov 2015-03-16 13:05:50 -04:00
Terrence Cole
24c51d7995 Bug 1141234 - Part 7: Reorder the allocator methods for clarity; r=sfink 2015-03-11 11:11:29 -07:00
Terrence Cole
1bdb13d442 Bug 1141234 - Part 6: Namespace the allocator into GCRuntime; r=sfink 2015-03-11 11:09:31 -07:00