Commit Graph

284233 Commits

Author SHA1 Message Date
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
Andrzej Hunt
60b21f0b72 Bug 1246704 - Either create URLMetadataTable, or upgrade it, don't do both r=liuche
MozReview-Commit-ID: HyYPbIwqMGc
2016-02-08 10:55:44 -08:00
Julian Descottes
6dc0270966 Bug 1243131 - memory tool: select snapshot using ACCEL+{UP/DOWN};r=fitzgen
Adds a keydown listener on the memory panel window. Select previous/next snapshot
when user presses UP/DOWN with the accelKey modifier (metaKey on OSX, ctrlKey on
windows).

Keydown events with modifiers are no longer listened to by the tree node elements.

Updated tree node test.
Added new mochitest to test the new keyboard navigation on the census view. )
2016-02-08 16:30:01 +01:00
Tim Nguyen
ca9e89cbf5 Bug 1224660 - Followup: use 2 space indentaion for diff.svg. r=me 2016-02-12 00:32:32 +01:00
Gabriel Luong
441c99775b Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
Gijs Kruitbosch
18c72db2b3 Bug 408415 - fix favicon disappearance for hash changes during load, r=jaws
MozReview-Commit-ID: KCdXMKX5sIH
2016-02-10 14:42:46 +00: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
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
Morgan Phillips
98255076f4 Bug 1205298 - Date.parse() should accept a wider range of potential formats; r=jandem 2016-02-08 14:15:28 -06:00
Andrew Halberstadt
0fd2976392 Bug 1247054 - Fix |mach reftest| on Android, r=gbrown
There is an ImportError on Android, as well as a log related
regression from the structured log patch once that is fixed.

MozReview-Commit-ID: KxSEotr38qO
2016-02-09 16:19:44 -05:00
Nils Ohlmeier [:drno]
5eb6c07862 Bug 1246363: add logging to detect if relay only option is set. r=mjf 2016-02-05 22:56:14 -08:00
Terrence Cole
6f4a7a1099 Bug 1247381 - Restore a CC optimization dropped in bug 1105069 part 7; r=mccr8 2016-02-10 12:46:52 -08:00
Wes Kocher
2b848026d6 Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE 2016-02-10 13:40:41 -08:00
Kartikaya Gupta
6ba6b1ed40 Bug 1235899 - Add a test for frame reconstruction during an APZ scroll animation. r=botond
MozReview-Commit-ID: 3MDHWEfTD8e
2016-02-10 16:31:33 -05:00
Kartikaya Gupta
137b24536f Bug 1235899 - Don't allow frame reconstruction to clobber the APZ scroll offset. r=botond
MozReview-Commit-ID: HZMavMJNtmq
2016-02-10 16:31:20 -05:00
Paul Kerr [:pkerr]
b399a5e9b0 Bug 1219339 - Part2: Ensure close of webrtc trace file during shutdown. r=rjesup 2016-02-10 13:10:46 -08:00
Syd Polk
c3c0fb77c6 Bug 1243546 - Add mach command for external-media-tests - r=gps
MozReview-Commit-ID: 5BcunutbebG
2016-02-10 11:48:25 -06:00
Syd Polk
d273701620 Bug 1243807 - Update requirements in external-media-tests for CPOW errors. r=maja_zf
MozReview-Commit-ID: 9pG0Rhp8tGa
2016-02-09 14:45:14 -06:00
Terrence Cole
df4fa30d4a Bug 1247328 - Make PersistentRooted fully support Move semantics; r=sfink 2016-02-10 12:28:18 -08:00
Wes Kocher
b194a4b615 Backed out changeset 4dd8573b9dd8 (bug 1243808) for hazard build failures in CFG.js 2016-02-10 11:56:13 -08:00
Eitan Isaacson
507fa4c6be Bug 1237176 - Notify synth start if we get a finished event without a blocking-changed event. r=roc
MozReview-Commit-ID: BJSQOiyXmRh
2016-02-10 11:20:58 -08:00
Aki Sasaki
f8166ff1ff bug 1246991 - mozharness: mkdir_p(dest) before hg share. r=rail 2016-02-09 15:10:06 -08:00
Mike Taylor
0533cbd0b5 Bug 1246246. Part 3 - Add test for firing prefixed legacy event types (in capture phase). r=smaug 2016-02-10 12:55:09 -06:00
Mike Taylor
93da5e06b0 Bug 1246246. Part 2 - Remove root test div in mpTestDiffListenersEventBubbling. r=smaug 2016-02-10 12:55:08 -06:00
Mike Taylor
b72eb3375e Bug 1246246. Part 1 - Whitespace + rename existing test. (no review, whitespace + rename only) 2016-02-10 12:55:08 -06:00
Kyle Huey
f534f4aef3 Bug 1246828: Push QuotaManager shutdown back to profile-before-change2 2016-02-10 10:53:26 -08:00