Wes Kocher
9c30d6953d
Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE
2015-07-10 15:59:01 -07:00
Wes Kocher
6782732de2
Backed out changeset df6593df027b (bug 1173912)
2015-07-10 15:58:24 -07:00
Ben Kelly
918ed053a7
Bug 1173912 Fail opaque responses for client requests. r=ehsan
2015-07-10 14:28:32 -07:00
Ben Kelly
6a200d95d9
Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm
2015-07-10 14:28:32 -07:00
Wes Kocher
a89a1a1447
Backed out changeset 9814f77d258b (bug 1179924) for frequent random serviceworkers failures CLOSED TREE
2015-07-10 12:48:34 -07:00
Andrew McCreight
7340de08b8
Bug 1179924 - Create a more modern JS object holder for cross-thread references to JS objects. r=smaug
2015-07-10 07:41:33 -07:00
Nicholas Nethercote
e7e7541033
Bug 1181445 (part 13) - Use nsBaseHashTable::Iterator in xpcom/ds/. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
4d241772da
Bug 1181445 (part 12) - Use nsBaseHashTable::Iterator in xpcom/threads/. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
8b5bd66a0f
Bug 1181445 (part 11) - Use nsBaseHashTable::Iterator in xpcom/glue/. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
fdf29836d5
Bug 1181445 (part 10) - Use nsBaseHashTable::Iterator in CycleCollectedJSRuntime. r=mccr8.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
8ed306e02d
Bug 1181445 (part 9) - Use nsBaseHashTable::Iterator in nsConsoleService. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
e9ffe574bf
Bug 1181445 (part 8) - Use nsBaseHashTable::Iterator in SystemMemoryReporter. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
6d4e3a6d5b
Bug 1181445 (part 7) - Use nsBaseHashTable::Iterator in xpcom/reflect/. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
079510d088
Bug 1181445 (part 6) - Use nsBaseHashTable::Iterator in xpcom/components/. r=froydnj.
...
Note that enumfunc_pentries and persistent_userstruct are unused, and so could
be removed.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
5434b5214c
Bug 1181445 (part 5) - Use nsTHashTable::Iterator in nsTHashtable.h. r=mccr8.
...
This is a particularly nice example of how iterators can be so much nicer than
Enumerate()-style functions:
1 file changed, 4 insertions(+), 33 deletions(-)
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
afe7b7aefd
Bug 1181445 (part 4) - Use nsTHashTable::Iterator in nsCategoryManager. r=froydnj.
2015-07-09 16:54:58 -07:00
Nicholas Nethercote
8a6e87eb69
Bug 1181445 (part 3) - Use nsTHashTable::Iterator in nsObserverService. r=froydnj.
2015-07-09 16:49:32 -07:00
Nicholas Nethercote
1840f58314
Bug 1181445 (part 2) - Use nsTHashTable::Iterator in nsMemoryReporterManager. r=froydnj.
2015-07-08 22:32:39 -07:00
Nicholas Nethercote
099f5c1870
Bug 1181445 (part 1) - Implement iterators for nsTHashtable and nsBaseHashtable. r=froydnj.
...
nsBaseHashtable has both EnumerateRead() and Enumerate(). A comment claims that
the latter locks the table, but this is false, so I removed the comment. Other
than that the only notable difference between them is that they have slightly
different types for dealing with values (|UserDataType| vs |DataType&|) so I've
implemented both GetUserData() and GetData(), allowing either type to be used.
2015-07-07 20:47:59 -07:00
Jim Mathies
ae4dea3e65
Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm
2015-07-09 19:07:49 -05:00
Randell Jesup
1a65dae1b5
Bug 1155059: Patch 3&7 - fix leaks in Promise, ConsoleService and JS Finalize r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
efc08ab894
Bug 1155059: Patch 4 - invoke NS_ASSERTION if DispatchToMainThread fails to get MainThread ptr r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
37ad9bc8b6
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
a7a84b1acd
Bug 1155059: Patch 0 - add do_AddRef() r=froydnj
2015-07-09 23:21:46 -04:00
Mike Hommey
2e6cb09122
Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
...
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.
The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.
Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
Randell Jesup
bf0dd2d19b
Bug 1178890: Update timer arrays after sleep to account for time sleeping r=bwc,froydnj
2015-07-09 20:18:34 -04:00
Nathan Froyd
380868c9df
Bug 1151506 - move nsIInterfaceInfo::isMainProcessScriptable to the end of the interface's vtable; r=dbaron
...
Adding isMainProcessScriptable() into the middle of nsIInterfaceInfo
caused problems with some binary addons that relied on the ordering of
the methods in nsIInterfaceInfo. In an attempt to placate those addons,
move isMainProcessScriptable() to the end of the vtable. This change is
a no-op for normal libxul usage.
2015-06-29 10:28:14 -04:00
Nicholas Nethercote
24ab7bcdca
Bug 1179071 - Merge RemovingIterator into Iterator. r=froydnj.
...
The original motivation for the Iterator/RemovingIterator split was that
PLDHashTable Checker class would treat them differently. But that didn't end up
happening (see bug 1131308). So this patch merges them. This is a small code
size win now but it will become bigger when I add iterators to nsTHashTable and
nsBaseHashtable.
The only complication is that PLDHashTable::Iter() is now non-const, which is
a problem if you use it in a const method. So I added PLDHashTable::ConstIter()
which is used in just two places. It's a bit of a hack -- effectively a
const_cast -- but I don't think it's too bad.
2015-07-06 22:02:26 -07:00
Nicholas Nethercote
0b6d896c26
Bug 1180084 - Convert TestPLDHash.cpp to a gtest. r=froydnj.
...
The switch to unsigned integer constants (e.g. "0u") are necessary to avoid
compiler warnings about signed/unsigned comparisons.
2015-07-07 17:54:03 -07:00
Birunthan Mohanathas
89f8804f4f
Bug 968520 - Add nsTArray::Assign. r=froydnj
2015-07-07 11:27:03 -07:00
Dragana Damjanovic
c7fc0a288e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Robert O'Callahan
3c3f108344
Bug 1143575. Avoid use of COMPARE macro which can clash with Android headers. r=bent
2015-06-07 12:26:40 +03:00
Nicholas Nethercote
b476985af5
Bug 1180072 - Remove PL_DHashTableEnumerate(). r=froydnj.
...
It's no longer used, and the Iterator classes are much nicer. Yay.
2015-06-18 22:19:10 -07:00
Bill McCloskey
b162c4e892
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-06 19:58:44 -07:00
Nicholas Nethercote
9e46a1c078
Bug 1131308 (part 1) - Improve PLDHashTable's internal checking. r=froydnj.
2015-05-20 23:11:35 -07:00
Nicholas Nethercote
dd9063908f
Bug 1131308 (part 0) - Fix minor problems with RemovingIterator. r=froydnj.
...
- Its move constructor was moving |aOther.mTable| instead of |aOther|. This
meant that |aOther| wasn't being zeroed out appropriately.
- test_pldhash_RemovingIterator() was testing Iterator's move constructor
instead of RemovingIterator's move constructor, due to a copy/paste
mistake.
2015-07-05 17:49:44 -07:00
Gabriele Svelto
4b943d4ca3
Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj
2015-07-06 18:01:09 +02:00
Andrea Marchesini
bfe593d668
Bug 1171603 - Better size check in nsTSubstring::ReplacePrep. r=ehsan
2015-07-06 14:27:35 -04:00
Fabrice Desré
e6be0311a5
Bug 1180533 - Disable BackgroundHangMonitor on gonk
2015-07-05 18:30:51 -07:00
Juan Gomez
21d73728f3
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Phil Ringnalda
6d43ab4967
Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
...
CLOSED TREE
Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
af77069eb7
Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander)
2015-07-02 17:18:10 -07:00
Nicholas Nethercote
6122d59008
Bug 1179657 - Remove PL_DHASHMETER. r=froydnj.
...
Because it's totally busted and not a very good way of getting that kind of
statistics.
2015-07-01 22:59:53 -07:00
Hamzata Diallo
9a79d7372b
Bug 1178513
- Export libxul symbols needed by ACL. r=mattwoodrow
2015-07-02 15:19:35 -07:00
Ryan VanderMeulen
9cd6cd7ca3
Backed out changeset 97c7e83acb6b (bug 1171603) for Windows Werror bustage.
...
CLOSED TREE
2015-07-02 15:33:10 -04:00
Andrea Marchesini
d9e5b0cca8
Bug 1171603 - Better size check in nsTSubstring::ReplacePrep. r=ehsan
2015-07-02 14:51:42 -04:00
Boris Kudryavtsev
68742d4ecb
Bug 1155968 - Fix variable use before initialization. r=khuey
2015-06-02 12:17:00 +02:00
Boris Kudryavtsev
e5e9e9d064
Bug 1155968 - Fix correct number of empty lines between objects to comply with PEP8. r=khuey
2015-05-20 21:56:00 +02:00
Boris Kudryavtsev
dd64bfcd7e
Bug 1155968 - Fix indentation warnings to comply with PEP8. r=khuey
2015-05-20 21:55:00 +02:00
Boris Kudryavtsev
73ede5653d
Bug 1155968 - Whitespace fixes in xpidl.py to comply with PEP8. r=khuey
2015-05-16 12:18:00 +02:00