Commit Graph

283914 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
34fa41e49c Merge mozilla-central to fx-team 2016-02-11 11:57:05 +01:00
Carsten "Tomcat" Book
d80c849001 merge mozilla-inbound to mozilla-central a=merge 2016-02-11 11:52:01 +01:00
Carsten "Tomcat" Book
7f96779651 merge fx-team to mozilla-central a=merge 2016-02-11 11:47:12 +01:00
J. Ryan Stinnett
63f767ee13 Bug 1244226 - Fix promise error in simulator test. r=ochameau
MozReview-Commit-ID: B6UpRTlJYDM
2016-02-11 00:43:59 -06:00
Carsten "Tomcat" Book
fc5accc431 Backed out changeset 5bf07e98c4ee (bug 1243750) for breaking Linux and OS X Nightly Builds 2016-02-10 16:08:27 +01:00
Carsten "Tomcat" Book
67a51393f3 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Brian Grinstead
21ba65f010 Bug 1246843 - Add a default page for mozscreenshots mochitest;r=MattN
MozReview-Commit-ID: Cv74fVKrUkQ
2016-02-09 19:57:34 -08:00
Nicholas Nethercote
c1d7c00a37 Bug 1246855 (part 2) - Measure CompartmentPrivates during memory reporting. r=terrence.
This also expands the coverage to include the hash table elements in the
mWrappedJSMap.
2016-02-10 08:41:38 +11:00
Nicholas Nethercote
b1264afac3 Bug 1246855 (part 1) - Remove the in-advance measurement of CompartmentPrivates. r=terrence.
Measuring in advance confuses DMD. It's better to measure during reporting.
The next patch will reinstate the measurement, but during reporting.
2016-02-10 08:36:35 +11:00
Phil Ringnalda
dd7f173d2c Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Trevor Saunders
800eab2f05 bug 1246772 - work around x87 floating point truncation issues in gecko r=dholbert
test_value_storage.html needs floating point numbers to round trip through css
parsing and serialization, but floating point isn't exact so we should be
careful what numbers we test.  It turns out the value 0.9 the test was using is
close to the border between 229 and 230 when converted to an 8 bit int, but 0.8
is safer so change to that since the test doesn't depend on the value.  Note
that this does not fix the issue that numbers don't always round trip, but only
wall papers over it by changing the test.
2016-02-10 00:10:56 -05:00
Jim Chen
5451975ff8 Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen
60a13b1d38 Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen
f7a33911b4 Bug 1241558 - Don't ignore Gecko selection when Gecko commits composition; r=esawin
When Java is changing the composition, we should ignore the Gecko
selection. However, when Gecko is committing its composition, we should
not be ignoring the corresponding Gecko selection change. In other
words, we should only ignore selection changes when we know the change
is from Java.
2016-02-09 23:36:41 -05:00
Ting-Yu Lin
973c79ee13 Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp 2016-02-09 23:19:43 +08:00
Kris Maglione
34f2aa64d1 Backout one changeset from bug 1213895 for M-oth bustage. r=bustage
MozReview-Commit-ID: KQFSnPH49Bl
2016-02-10 19:14:21 -08:00
Kris Maglione
3134588844 Bug 1235571: Add an adoptTab method to <tabbrowser> and remove duplicated code. r=billm 2016-02-10 15:27:08 -08:00
Nicholas Nethercote
9f2979d955 Bug 1246834 - Fix memory reporting of nsFontFamily{List,Name}. r=jfkthame. 2016-02-09 12:16:34 +11:00
Ben Kelly
aec7a2026d Bug 1227344 Try to ensure script content is always different in update tests by using .clock(). r=jdm 2016-02-09 19:55:23 -08:00
Ehsan Akhgari
439d38c792 Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari
d7ae3a8410 Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Ben Kelly
6626ad92b9 Bug 1238954 P2 Fix csp service worker tests to register and unregister separate scopes. r=ehsan 2016-02-09 19:33:40 -08:00
Ben Kelly
ae3100c50b Bug 1238954 P1 Purge potentially controlled document entries when evicting service worker registrations. r=ehsan 2016-02-09 19:33:40 -08:00
Bogdan Postelnicu
e9c6094a9f Bug 1239269 - as lastIndex cannot be negative change it's storage class from int32_t to uint32_t, r=Waldo 2016-02-08 13:51:47 +02:00
Boris Zbarsky
ecd9fe75cd Bug 1241349 part 5. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in dictionary ToJSON conversions. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
6f5b609e2f Bug 1241349 part 4. Start using binding_detail::UnprivilegedJunkScopeOrWorkerGlobal in maplike/setlike code. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
f6386cf130 Bug 1241349 part 3. Add a binding_detail::UnprivilegedJunkScopeOrWorkerGlobal function which returns a global object that can be used for some bindings things. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
36ebc908d4 Bug 1241349 part 2. Restrict generation of ToJSON methods on dictionaries to only dictionaries we can safely stringify with JS::ToJSONMaybeSafely. r=bholley 2016-02-10 23:31:33 -05:00
Boris Zbarsky
731afb1063 Bug 1241349 part 1. Introduce a JS::ToJSONMaybeSafely API that's kind of like JS_Stringify but will give you a chance of not having side-effects as long as the input is nice enough. r=waldo 2016-02-10 23:31:33 -05:00
Karl Tomlinson
88d22608ef bug 1205199 keep the socket alive as long as the plug window r=acomminos 2016-02-10 18:24:40 +13:00
Nicholas Nethercote
4f37e224aa Bug 1246846 (part 4) - Avoid nsTHashtable::RawRemoveEntry() in FramePropertyTable. r=roc. 2016-02-09 13:56:07 +11:00
Nicholas Nethercote
162a4bd384 Bug 1246846 (part 3) - Avoid nsTHashtable::RawRemoveEntry() in gfxFontconfigUtils. r=jfkthame.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2016-02-09 13:55:42 +11:00
Nicholas Nethercote
09241317ba Bug 1246846 (part 2) - Avoid nsTHashtable::RawRemoveEntry() in nsPermissionManager. r=mconnor.
This assumes that it's safe to possibly shrink the table after the removal,
i.e. there are no surprising subtleties with how this table is managed.
2016-02-09 13:52:40 +11:00
Nicholas Nethercote
845c4da724 Bug 1246846 (part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.
2016-02-09 13:52:21 +11:00
Tracy Walker
2b89a6eb29 Bug 1245225 - [e10s] Renabled working test cases. Remove relevant skip-if e10s in toolkit/components/thumbnails/test/browser.ini for browser_thumbnails_bg_crash_while_idle.js, browser_thumbnails_bg_no_cookies_sent.js, browser_thumbnails_bug727765.js and browser_thumbnails_capture.js. r=jimm 2016-02-05 10:18:36 -06:00
Nicholas Nethercote
904ff0fe4a Bug 1246054 - Fix an erroneous nsNPObjWrapper assertion. r=froydnj. 2016-02-05 16:36:05 +11:00
Chris Pearce
4471a3ca24 Bug 1246835 - Reduce #ifdefs pain in GMPChild.cpp. r=gerald 2016-02-10 15:48:45 +13:00
Nicholas Nethercote
9b551819ec Bug 1238558 (part 2) - Add a test. r=tnikkel. 2016-02-10 09:55:37 +11:00
Nicholas Nethercote
56ed215893 Bug 1245737 (part 2) - Don't bother measuring DtoaState. r=bhackett.
It's gone from 4,096 bytes per JS thread to 72 bytes per thread. (Also, the
old code only measured the DtoaState for the main thread.)
2016-02-05 14:50:55 +11:00
Nicholas Nethercote
adbc15ef66 Bug 1245737 (part 1) - Enable |Omit_Private_Memory| for our dtoa implementation. r=bhackett.
This saves 50--60 KiB of memory per process.
2016-02-05 14:50:55 +11:00
Nicholas Nethercote
bf1676291b Bug 1245737 (part 0) - Fix a leak in DtoaState. r=sfink.
DtoaState has a field |p5s| that stores a linked list of Bigints which never
gets freed. This patch adds freeing code for it to destroydtoa().

This has never shown up before because DtoaState currently uses a private chunk
for allocations instead of malloc/free and that private chunk does get freed.
But the next patch will turn off the use of that private chunk so we now need
to free |p5s| so that ASAN doesn't complain.

The new code follows the bizarre local style used by dtoa.c.
2016-02-10 17:17:56 +11:00
Jim Chen
4466c805b1 Bug 1246788 - Properly synchronize and manage UI thread tasks; r=rbarker
Add proper synchronization to the UI thread task queue so we don't run
into race conditions. Also use UniquePtr to manage the contained task,
to fix a previous memory leak.
2016-02-10 18:54:55 -05:00
Timothy Nikkel
89b661c251 Bug 1210057. Schedule a paint when an apz aware event listener is added so that event regions on the layer tree get updated. r=smaug 2016-02-10 17:47:59 -06:00
Timothy Nikkel
d54c4ab918 Bug 1210057. Make test_moz_mouse_pixel_scroll_event.html wait for a paint after adding a apz aware (MozMousePixelScroll) event listener. r=kats
Adding an apz aware event listener will change the event regions on the layer tree, so we want to wait until that has happened before running the test.
2016-02-10 17:47:58 -06:00
Kartikaya Gupta
fb7ac38fef Bug 1245925 - Don't allow expiring the displayport on root scrollframes. r=tnikkel
MozReview-Commit-ID: 8LGsk9uKyL5
2016-02-10 17:11:28 -05:00
Steffen Wilberg
9a0ebf8d35 Bug 1246128: F11 displays the audio container in fullscreen instead of the browser. r=bz
MozReview-Commit-ID: IWKJvwDaFsG
2016-02-07 17:55:48 +01:00
Christoph Kerschbaumer
d72b48de5b Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Christoph Kerschbaumer
2b67425eac Bug 1232906 - Use channel.asyncOpen2 within dom/apps/AppsUtils.jsm (r=sicking) 2016-02-10 13:58:27 -08:00
Christoph Kerschbaumer
496b99a5e8 Bug 1247108 - Pass securityFlag when creating a new channel within webapps (r=fabrice) 2016-02-10 13:57:47 -08:00
Morgan Phillips
360da7e742 Bug 1247283 - Improve self-hosted Array.sort performance; r=till
Decreasing reliance on _DefineDataProperty by using a List to store intermediate
values greatly improves performance.
2016-02-10 16:52:21 -06:00