Commit Graph

41861 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
b285f554ba Bug 1182546 - Use channel->Open2() in parser/htmlparser/nsExpatDriver.cpp (r=bz) 2015-11-20 10:55:54 -08:00
Boris Zbarsky
d6a774fa3d Bug 1226479. Change ErrorResult::ThrowTypeError/ThrowRangeError to take string references, not pointers. r=mccr8 2015-11-20 13:36:46 -05:00
Boris Zbarsky
b9c0a9adb5 Bug 1226448. Fix Optional::Construct to do perfect forwarding, and fix the dictionary assignment operator code for members that can have missing values to not try constructing and already constructed member. r=jib 2015-11-20 13:36:45 -05:00
Andrew McCreight
35709d56e7 Bug 1226291 - Add SpecialPowers API for importing a jsm into the main process. r=jmaher 2015-11-20 09:18:22 -08:00
Andrew McCreight
1e0a8fd2e2 Bug 1222522, part 2 - Inline devicestorage_cleanup() in dom/devicestorage/ tests. r=dhylands 2015-11-20 09:18:22 -08:00
Andrew McCreight
a653efc2fb Bug 1222522, part 1 - Make most dom/devicestorage/ tests work with e10s. r=dhylands
These tests use devicestorage_setup() in devicestorage_common() to do
two things:

a) Set up preferences using pushPrefEnv().

b) Delete a special directory for testing device storage things, to
make sure it is empty. This requires running a chrome script and
waiting for it to finish.

Actually converting the individual tests requires wrapping up the
rest of the test inside a giant function.

This patch also removes the non-e10s ipc tests, because the other
changes break them. They should not be needed any more, as with this
patch we will be running devicestorage tests on e10s and b2g.
2015-11-20 09:18:22 -08:00
Nick Fitzgerald
4d5f410954 Bug 1226176 - Compute retained sizes in dominator trees and expose them to JavaScript; r=bz,sfink 2015-11-20 09:08:15 -08:00
Ehsan Akhgari
97c6396483 Bug 1198078 - Part 2: Add tests for mixed content blocking of scripts in workers; r=ckerschb 2015-11-20 10:56:57 -05:00
Carsten "Tomcat" Book
d699f69c9a Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
dimi
975a910254 Bug 1217367 - Service workers update algorithm optimization. r=bkelly 2015-11-20 16:43:07 +08:00
Nicolas Silva
a857691a15 Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Edwin Flores
1e88742bab Bug 1226003 - Stop using MaybeRejectBrokenly in DetailedPromise - r=bz 2015-11-20 13:21:48 +00:00
John Daggett
ae328c81d0 Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame 2015-11-20 22:01:12 +09:00
Jean-Yves Avenard
18f33f508a Bug 1222866: P3. Fix mochitest. r=me
Actual calculated duration was 9.2879819869995117. The new behaviour and rounded value is as such more correct
2015-11-20 22:59:52 +11:00
Jean-Yves Avenard
417c7f398e Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 22:59:51 +11:00
Jean-Yves Avenard
3035da2ea1 Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 22:59:51 +11:00
Sotaro Ikeda
b77bcf0c20 Bug 1226483 - Add ASSERT check to AudioManager::SelectDeviceFromDevices() r=alwu 2015-11-20 03:19:28 -08:00
Sotaro Ikeda
f41a0f2a4b Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Jean-Yves Avenard
16252c8db3 Bug 1222387: P2. Add mochitest for negative seek time. r=jwwang 2015-11-20 20:05:07 +11:00
Jean-Yves Avenard
ba6317c7e5 Bug 1222387: P1. Properly handle negative seeks when readyState is HAVE_NOTHING. r=jwwang 2015-11-20 19:43:38 +11:00
Xidorn Quan
7ddd4c664c Bug 1186750 part 11 - Convert all usage of Dispatch/NS_DispatchToMainThread in dom/devicestorage to pass in either already_AddRefed or raw pointer. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
3dc5d34675 Bug 1186750 part 10 - Simplify code in DeviceStorageRequestParent::Dispatch. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
5908b57d86 Bug 1186750 part 9 - Use already_AddRefed&& to initialize mFile of device storage requests. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
306516d167 Bug 1186750 part 8 - Convert DeviceStorageUsedSpaceCache::Dispatch to use already_AddRef&&. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
3808902eed Bug 1186750 part 7 - Convert DispatchToOwningThread and DispatchOrAbandon to take already_AddRefed&&. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
ae6e78a933 Bug 1186750 part 6 - Remove unused and unimplemented method nsDOMDeviceStorage::StorePermission. r=dhylands 2015-11-20 18:47:49 +11:00
Xidorn Quan
e4ecee9d0d Bug 1186750 part 5 - Convert nsDOMDeviceStorage::CheckPermission to take already_AddRefed&&. r=dhylands 2015-11-20 18:47:49 +11:00
Christoph Kerschbaumer
2c50be44cf Bug 1226444 - Use helper function to identify preloads. r=sicking 2015-11-19 17:02:40 -08:00
Carsten "Tomcat" Book
c0261d4a01 Backed out changeset 002714e2ccba (bug 1222866) for m2 test failures 2015-11-20 08:28:09 +01:00
Carsten "Tomcat" Book
0c995ca23b Backed out changeset 74caf0456e1e (bug 1222866) 2015-11-20 08:24:11 +01:00
Christoph Kerschbaumer
4e23a308ac Bug 1226324 - Do not use NS_ENSURCE_SUCCESS(rv, NS_OK) within nsContentSecurityManager. r=tanvi 2015-11-19 14:22:57 -08:00
Chris Peterson
0a7ae0bd77 Bug 1223265 - Fix -Wunreachable-code and -Wimplicit-fallthrough warnings in dom/bindings and dom/ipc. r=khuey 2015-11-08 21:41:40 -08:00
Jean-Yves Avenard
fe83b807e4 Bug 1222866: P2. Add gtest checking on seconds -> microseconds -> seconds. r=gerald 2015-11-20 15:41:13 +11:00
Jean-Yves Avenard
2e8516bf53 Bug 1222866: P1. Round second to closest microseconds. r=gerald.
Due to the internal double representation as per IEEE 754, during conversion the use of ints would have rounded down our value.
2015-11-20 15:41:13 +11:00
Randall Barker
e5d90dc581 Bug 1226193 - Fix test_animation_observers.html timing out on Fennec with C++APZ enabled. r=heycam
Fix: INFO TEST-UNEXPECTED-FAIL | dom/animation/test/chrome/test_animation_observers.html | Test timed out.
By extending animation observer timeout.
2015-11-19 23:06:43 -05:00
Randall Barker
8209431852 Bug 1223937 - test_bug388794.html fails string match test due to off by one error in Fennec with C++APZ. r=roc
When C++APZ is enabled in Fennec, events that are generated by nsWindowUtil may result in
off by one errors when received by the DOM. This is caused by the fact that the PresShell
resolution must be applied to the event coordinates before being dispatched which introduces
rounding errors. To work around the failure in test_bug388794.html it is necessary to
convert the string compares to regex so that the off by one rounding errors may be accounted for.
2015-11-19 21:40:05 -05:00
Nicholas Nethercote
f140009bf7 Bug 1186811 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/storage/ with iterators. r=baku. 2015-11-01 19:37:45 -08:00
Nicholas Nethercote
6d4f334c3c Bug 1186811 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/storage/ with iterators. r=baku. 2015-11-01 19:35:30 -08:00
Nicholas Nethercote
b1e6d1743b Bug 1186811 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/storage/ with iterators. r=baku. 2015-11-01 19:24:46 -08:00
Nicholas Nethercote
4beb686126 Bug 1186811 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/storage/ with iterators. r=baku. 2015-11-01 19:23:05 -08:00
Nicholas Nethercote
bef04866b0 Bug 1187115 - Replace nsBaseHashtable::EnumerateRead() calls in dom/{bluetooth,messagechannel}/ with iterators. r=khuey. 2015-11-18 19:38:55 -08:00
L. David Baron
ac323569ff Bug 1223653 patch 2 - Use an enum class for NS_STYLE_BOX_SIZING_*. r=heycam
The casts in nsCSSProps.cpp (defining kBoxSizingKTable) and in
nsComputedDOMStyle::DoGetBoxSizing (using
nsCSSProps::ValueToKeywordEnum) are a little bit annoying, though aren't
a net reduction in typesafety.

The casts in nsRuleNode.cpp (SetDiscrete) are a little more annoying,
though the change in this patch should be sufficient for converting all
properties -- but that may also mean reducing typesafety a bit for all
properties.

I'd like to find something better to do about them, but I think I'm ok
landing this before doing that.  Bug 1224918 covers doing better.
2015-11-19 18:09:29 -08:00
Ben Kelly
5d8546a611 Bug 1186856 ServiceWorker .register() should always stop current registration from uninstalling. r=jdm 2015-11-19 17:42:09 -08:00
Wes Kocher
af004452e1 Merge m-c to inbound, a=merge 2015-11-19 13:47:54 -08:00
Wes Kocher
069905e5d9 Merge b2ginbound to central, a=merge 2015-11-19 13:36:16 -08:00
Kartikaya Gupta
71a2577e6e Bug 1203058 - Set the paint sync id on the top-level window rather than the tab's window, because then it won't get lost during page unload. r=rbarker 2015-11-19 09:57:51 -05:00
Kartikaya Gupta
98c58be991 Bug 1223928 - Update various reftests that now pass/fail with gecko scrollbars on Android&&asyncPan. r=snorp 2015-11-19 09:55:21 -05:00
Nathan Froyd
8384f35242 Bug 1226063 - take advantage of UniquePtr in BluetoothMapSmsManager::SendMasObexData; r=btian
Now that UnixSocketRawData can assume ownership of UniquePtrs, we can
enhance SendMasObexData to accept UniquePtrs where possible.
2015-11-18 17:14:07 -05:00
Andrea Marchesini
74dc0347bd Bug 1169068 - Performance.translateTime(), r=bz 2015-11-19 14:04:47 +00:00
Nigel Babu
af60fd140c Backed out changeset 9c8f83fb5930 (bug 1190093) for Gij(11) bustage on a CLOSED TREE 2015-11-19 17:48:09 +05:30