Граф коммитов

461775 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead f686ae54b9 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 ff840e5f16 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 2684992fcd 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 c36af23aae Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Trevor Saunders 8585d6f683 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 dacefebbaa Bug 1241558 - Re-enable testInputConnection on 4.3; r=gbrown 2016-02-09 23:36:41 -05:00
Jim Chen b9030e2e86 Bug 1241558 - Add test to testInputConnection; r=esawin 2016-02-09 23:36:41 -05:00
Jim Chen c3f9472ecd 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 6354772afd Bug 1246572 - Remove the two blue bars of the text selection for Fennec. r=snorp
--HG--
extra : commitid : BmeTWEfNcZY
extra : source : 2448d9675eb2d567db607d24a8e968871595a0a0
2016-02-09 23:19:43 +08:00
Kris Maglione 664692e5a4 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 8414d3b8d4 Bug 1235571: Add an `adoptTab` method to <tabbrowser> and remove duplicated code. r=billm
--HG--
extra : commitid : DthwEkfzjHB
extra : rebase_source : d5bcc106be49e118e60418a280dbaea2a6520899
2016-02-10 15:27:08 -08:00
Nicholas Nethercote a28a2e22e9 Bug 1246834 - Fix memory reporting of nsFontFamily{List,Name}. r=jfkthame.
--HG--
extra : rebase_source : 81da7c78a310c8e5e08bac75146b08367dbee1a2
2016-02-09 12:16:34 +11:00
Ben Kelly 9ee2a542d0 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 e20566c8ee 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 eb7b8fe7cf 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 0bcca14aa1 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 73fb651fae 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 dd22224777 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 383c4ab364 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. )

--HG--
extra : commitid : 20wu80BaRXB
2016-02-08 16:30:01 +01:00
Tim Nguyen fbccba0a37 Bug 1224660 - Followup: use 2 space indentaion for diff.svg. r=me
--HG--
extra : commitid : 4LeEQzJve8T
2016-02-12 00:32:32 +01:00
Gabriel Luong 0843c76b88 Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
Gijs Kruitbosch 639ffd2893 Bug 408415 - fix favicon disappearance for hash changes during load, r=jaws
MozReview-Commit-ID: KCdXMKX5sIH

--HG--
rename : browser/base/content/test/general/browser_bug550565.js => browser/base/content/test/general/browser_bug408415.js
rename : browser/base/content/test/general/file_bug550565_favicon.ico => browser/base/content/test/general/file_generic_favicon.ico
rename : browser/base/content/test/general/file_bug550565_popup.html => browser/base/content/test/general/file_with_favicon.html
extra : rebase_source : d95d2f911b855fda7ad4b100d59de96dfabec15a
2016-02-10 14:42:46 +00:00
Bogdan Postelnicu 139acc8e40 Bug 1239269 - as lastIndex cannot be negative change it's storage class from int32_t to uint32_t, r=Waldo
--HG--
extra : rebase_source : f723af7671bc493c07e100f3ad4c563c7a4af51c
2016-02-08 13:51:47 +02:00
Boris Zbarsky 98fb58a90f 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 e25e4580b2 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 b0e7faec5a 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 9f63f6adc2 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 fa9d6c7f85 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 2e53e8b7fb bug 1205199 keep the socket alive as long as the plug window r=acomminos
--HG--
extra : rebase_source : 773c5918bbc4b0d032e833e1e0ce7399a5d06c5b
2016-02-10 18:24:40 +13:00
Nicholas Nethercote cdf3731d12 Bug 1246846 (part 4) - Avoid nsTHashtable::RawRemoveEntry() in FramePropertyTable. r=roc.
--HG--
extra : rebase_source : 6d32e956aa0b9bdd2d234ec0bbccf827c72b8dd0
2016-02-09 13:56:07 +11:00
Nicholas Nethercote a008feb871 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.

--HG--
extra : rebase_source : 9a0581f30e752f2f0f42b35062e62052488d1912
2016-02-09 13:55:42 +11:00
Nicholas Nethercote 10a90ba878 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.

--HG--
extra : rebase_source : e1a4a477fc68e7b3a0187670aea4a846832e7003
2016-02-09 13:52:40 +11:00
Nicholas Nethercote 8c78eddc4e 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.

--HG--
extra : rebase_source : 2012becaa759d4330910534375b7ac2a9839fe50
2016-02-09 13:52:21 +11:00
Nicholas Nethercote 85ef8faae4 Bug 1246054 - Fix an erroneous nsNPObjWrapper assertion. r=froydnj.
--HG--
extra : rebase_source : 773edadad38b1a549194d1fa2cfad8d952b55d12
2016-02-05 16:36:05 +11:00
Chris Pearce c098d0e875 Bug 1246835 - Reduce #ifdefs pain in GMPChild.cpp. r=gerald 2016-02-10 15:48:45 +13:00
Nicholas Nethercote 774871bbdd Bug 1238558 (part 2) - Add a test. r=tnikkel.
--HG--
extra : rebase_source : f3d89f88873920e6b2c8a4d0c403bf84a5e52d42
2016-02-10 09:55:37 +11:00
Nicholas Nethercote 462eb9a0d4 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.)

--HG--
extra : rebase_source : bfe0772b8c760a45ca3665e2c0939b121189520a
2016-02-05 14:50:55 +11:00
Nicholas Nethercote 608cc251e1 Bug 1245737 (part 1) - Enable |Omit_Private_Memory| for our dtoa implementation. r=bhackett.
This saves 50--60 KiB of memory per process.

--HG--
extra : rebase_source : a3dafe685d15213202c254328f7f54bc90427d0a
2016-02-05 14:50:55 +11:00
Nicholas Nethercote 8b7aa223ec 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.

--HG--
extra : rebase_source : 3b731f95b7a58fe9e3b4cecc18a240ad49352448
2016-02-10 17:17:56 +11:00
Jim Chen 47c75a8d3e 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 144bb37d6e 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 7f52ab42ea 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 2970550b4e Bug 1245925 - Don't allow expiring the displayport on root scrollframes. r=tnikkel
MozReview-Commit-ID: 8LGsk9uKyL5

--HG--
extra : rebase_source : 9edf7c6a4ce795da670f1ad06c8f86f9f05e4850
2016-02-10 17:11:28 -05:00
Steffen Wilberg deb846be89 Bug 1246128: F11 displays the audio container in fullscreen instead of the browser. r=bz
MozReview-Commit-ID: IWKJvwDaFsG

--HG--
extra : rebase_source : 7e23ddd384b01282b6c05412764061ebbda5c49a
extra : source : baf5dfffbc347cef3d7152f5b5d7ad7408a3f69d
2016-02-07 17:55:48 +01:00
Christoph Kerschbaumer f379b78525 Bug 1232901 - Use channel.asyncOpen2 within dom/browser-element/BrowserElementParent.js (r=sicking,aus) 2016-02-10 13:58:08 -08:00
Christoph Kerschbaumer 3b41395c13 Bug 1232906 - Use channel.asyncOpen2 within dom/apps/AppsUtils.jsm (r=sicking) 2016-02-10 13:58:27 -08:00
Christoph Kerschbaumer 5f60adea1a Bug 1247108 - Pass securityFlag when creating a new channel within webapps (r=fabrice) 2016-02-10 13:57:47 -08:00
Morgan Phillips 2df2806a94 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 ab230b500a Bug 1205298 - Date.parse() should accept a wider range of potential formats; r=jandem 2016-02-08 14:15:28 -06:00
Andrew Halberstadt 97c3a77bc1 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

--HG--
extra : rebase_source : 15d8421aab813d9e0dbf6d00611f921aaa779a49
2016-02-09 16:19:44 -05:00