Neil Deakin
adeb13252c
Bug 1071562, e10s, support non-text types in clipboard (html, images, etc), r=smaug
2015-04-10 12:51:06 -04:00
Wes Kocher
b40d092c3b
Merge m-c to inbound a=merge
2015-04-08 17:33:36 -07:00
Nick Fitzgerald
3f3592c5e0
Bug 1151703 - Part 1: Add timeline tracing markers for HTML and XML parsing; r=smaug
2015-04-08 11:25:56 -07:00
Olli Pettay
9e7f6dc78a
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
2015-04-08 21:48:11 +03:00
Ryan VanderMeulen
b9052e5c3e
Backed out changesets 33d37539c4ab and 55524bdeb708 (bug 936092) for suspicion of causing e10s test_bug417418.html asserts on Linux.
...
CLOSED TREE
2015-04-08 13:52:21 -04:00
Olli Pettay
39278dff15
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
2015-04-08 18:30:03 +03:00
Boris Zbarsky
b78834621a
Bug 1149280 part 1. Make nullprincipal creation faster. r=smaug
2015-03-31 13:11:00 -04:00
Mike Hommey
44945d9d4c
Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
...
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Blake Kaplan
e94f8a2642
Bug 1112040 - Report invalid regular expressions to the console. r=bholley
2015-03-16 08:39:46 -07:00
Boris Zbarsky
17423b591f
Bug 1142478 followup. Fix bogus test, and don't get the value of an invalid CheckedInt. Then we can reopen the CLOSED TREE.
2015-03-12 22:59:00 -04:00
Boris Zbarsky
94d5a86690
Bug 1142478. Fix integer attribute parsing to not lose track of leading zeroes. r=sicking
2015-03-12 21:46:57 -04:00
Andrea Marchesini
3b8e923142
Bug 1134280 - Get rid of Tag() - patch 3 - nsContentUtils::IsHTMLBlock should work with nsIContent inste nsIAtom, r=smaug
2015-03-03 11:09:00 +00:00
Andrea Marchesini
ae571f51bb
Bug 1134280 - Get rid of Tag() - patch 2.3 - dom/base and docshell - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
6b10d5e43e
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Andrea Marchesini
0ba2794c41
Bug 1137814 - nsAString and nsACString in URL.cpp/h. r=nsm
2015-02-27 14:10:20 -05:00
Ting-Yu Lin
0150330dad
Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
...
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Boris Zbarsky
4e8d9b9061
Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug
2015-02-25 10:26:51 -05:00
Olli Pettay
23da1dbac3
Bug 1118689, Don't try to load an image if its container docshell is gone, r=bz
2015-02-13 04:44:32 +02:00
Nicholas Nethercote
3b0764a330
Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Morris Tseng
1c291a2fae
Bug 1120750 - Part 1: Move GetSelectionBoundingRect to nsContentUtils. r=roc
2015-02-04 21:58:00 -05:00
Andrew McCreight
414d2fb22b
Bug 1131199, part 2 - Make PLDHashtInitEntry infallible. r=froydnj
...
Also, drop the unused table argument.
2015-02-11 09:46:40 -08:00
Nicholas Nethercote
1ce96de5ae
Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
2015-02-10 14:39:49 -08:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Kyle Machulis
ac67676c85
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-06 16:00:51 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Ryan VanderMeulen
1b50a36452
Backed out 4 changesets (bug 671389) for frequent B2G debug test_tcpsocket_client_and_server_basics.html crashes.
...
Backed out changeset b782435e5640 (bug 671389)
Backed out changeset 0f8d62109bfe (bug 671389)
Backed out changeset 8d6021f66c49 (bug 671389)
Backed out changeset cd3e227df9dc (bug 671389)
2015-02-05 16:48:18 -05:00
Kan-Ru Chen (陳侃如)
4d157a60e2
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
046308fdac
Backed out changeset 39f991c2bd71 (bug 1115130) for Werror bustage.
...
CLOSED TREE
2015-02-05 14:36:25 -05:00
Ryan VanderMeulen
f90c1c2e5f
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kyle Machulis
19df6a38c4
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-05 11:02:53 -08:00
Kan-Ru Chen (陳侃如)
4b95fd5436
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Deian Stefan
0b6b4a8c33
Bug 671389 - Part 2: Export document sandbox flags to chrome JS r=smaug
2015-02-03 23:45:00 +01:00
Deian Stefan
b42a1f8a52
Bug 671389 - Part 1: Implement CSP sandbox directive r=ckerschb,smaug
2015-02-03 23:40:00 +01:00
Nicholas Nethercote
a3bf151ee6
Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
...
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.
2015-02-02 14:48:58 -08:00
Mike Hommey
715db83e04
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
2015-02-02 09:56:13 +09:00
Nicholas Nethercote
c38455902a
Bug 1124973 (part 2) - Introduce PL_DHashTableSearch(), and replace most PL_DHashTableLookup() calls with it. r=froydnj.
...
It feels safer to use a function with a new name, rather than just changing the
behaviour of the existing function.
For most of these cases the PL_DHashTableLookup() result was checked with
PL_DHASH_ENTRY_IS_{FREE,BUSY} so the conversion was easy. A few of them
preceded that check with a useless null check, but the intent of these was
still easy to determine.
I'll do the trickier ones in subsequent patches.
2015-01-22 21:06:55 -08:00
Andrew McCreight
5bc8e9c72c
Bug 1124268, part 3 - Rename nsContentUtils::GetSameOriginChecker to SameOriginChecker. r=smaug
...
This method is infallible, so the name should reflect that.
2015-01-26 09:28:15 -08:00
Andrew McCreight
9656e0603f
Bug 1124268, part 2 - Rename SameOriginChecker to SameOriginCheckerImpl. r=smaug
2015-01-26 09:28:15 -08:00
Andrew McCreight
4216290a9e
Bug 1124268, part 1 - Take advantage of the infallibility of nsContentUtils::GetSameOriginChecker(). r=smaug
2015-01-26 09:28:15 -08:00
Olli Pettay
86960abf23
Bug 1089861 - Don't dispatch activate/deactivate to content window objects., r=masayuki
2015-01-21 13:45:47 +02:00
Nicholas Nethercote
4604f714c6
Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
...
This encapsulates most of the uses of PLDHashTable::ops.
2015-01-19 16:11:34 -08:00
Nicholas Nethercote
009293c72a
Bug 1123151 (part 1) - Set PLDHashTable::ops consistently. r=froydnj.
...
Currently the setting of PLDHashTable::ops is very haphazard.
- PLDHashTable has no constructor, so it's not auto-nulled, so lots of places
null it themselves.
- In the fallible PLDHashTable::Init() function, if the entry storage
allocation fails we'll be left with a table that has |ops| set -- indicating
it's been initialized -- but has null entry storage. I'm not certain this can
cause problems but it feels unsafe, and some (but not all) callers of Init()
null it on failure.
- PLDHashTable does not null |ops| in Finish(), so some (but not all) callers
do this themselves.
This patch makes things simpler.
- It adds a constructor that zeroes |ops|.
- It modifies Init() so that it only sets |ops| once success is ensured.
- It zeroes |ops| in Finish().
- Finally, it removes all the now-unnecessary |ops| nulling done by the users
of PLDHashTable.
2015-01-19 16:01:24 -08:00
Olli Pettay
03fb9ea773
Bug 1121473, define the list of void tags only in one place, r=hsivonen
2015-01-19 13:17:22 +02:00
Nicholas Nethercote
d746138aca
Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Phil Ringnalda
41e41579d9
Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
...
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
Nicholas Nethercote
70f5bf6167
Bug 1121304 (part 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
2015-01-14 14:35:56 -08:00
Nicholas Nethercote
43fc26b699
Bug 1120476 (part 4) - Remove PLDHashTableOps::finalize. r=froydnj.
2015-01-13 19:02:35 -08:00