Boris Zbarsky
22412e781e
Bug 707564 part 3. Give WebIDL bindings with NewResolve hooks Enumerate hooks as well, so enumerating them correctly resolves all the properties. r=smaug
2013-08-03 23:38:54 -04:00
Blake Kaplan
8c4b371602
Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking
2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
3a385f459a
Merge inbound to m-c.
2013-08-02 16:36:40 -04:00
Justin Lebar
3024bbcc2d
Back out 4ff7455f6720, "Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan" on a CLOSED TREE.
2013-08-02 10:53:34 -07:00
Ed Morley
05a37c3a43
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ms2ger
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
f8a25b94f5
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
d5d5885d4c
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Gina Yeh
93e89304fd
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Ryan VanderMeulen
501ddf3329
Merge m-c to fx-team.
2013-08-01 16:35:13 -04:00
Daniel Holbert
bb59ff0d44
Bug 900277 - Use ALLOW_THIS_IN_INITIALIZER_LIST macro to suppress windows warning in Element.cpp's StringBuilder constructor. r=smaug
2013-08-01 13:00:56 -04:00
Daniel Holbert
43ee09681b
Bug 900246: Mark variable as DebugOnly in DirectionalityUtils.cpp, to fix opt "unused variable" build warning. r=smontagu
2013-07-31 18:59:27 -07:00
Daniel Holbert
6c8c5a68b8
Bug 900209 - static_cast uint64_t value to "unsigned long long" when printing it with %llx, to silence Wformat build warning on 64-bit platforms. r=smaug
2013-07-31 21:15:26 -04:00
Bill McCloskey
f2eacd8ccc
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Neil Deakin
243c5a081d
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-02 11:37:05 -04:00
Tom Schuster
8ac55e5939
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Justin Lebar
9befee6c8d
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Mook
0ce5f94aa5
content: sync load service: don't die when channels have unknown size (b=894586 r=ehsan r=jduell)
2013-07-30 14:38:26 -07:00
Ryan VanderMeulen
77cb688076
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
c092dd4810
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ed Morley
4b841ae8c6
Bug 893714 - Disable test_cpows.xul on OS X for too many intermittent assertions, whilst the fix is finished
...
--HG--
extra : rebase_source : d3ad44b025610f5b1ec91f662eb9cbf5ba613a7d
2013-07-30 17:28:59 +01:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
f0098e9a95
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-30 01:47:28 -07:00
David Zbarsky
53f3f3f4df
Backout a0868fe02c2a because I suspect it caused the debug mochitest failures resulting in the CLOSED TREE
2013-07-29 19:51:39 -07:00
Bobby Holley
99246966e4
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Bobby Holley
9f3d1e24f0
Bug 899245 - Rename js::GetDefaultGlobalForContext to js::DefaultObjectForContextOrNull. r=luke
...
This is more correct, since the object very often is not a global.
2013-07-29 16:45:25 -07:00
David Zbarsky
1a7436ff31
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-29 16:04:09 -07:00
John Schoenick
4f47c01ab7
Bug 889614 - Followup, don't erroneously cancel other events. r=josh
2013-07-29 13:50:55 -07:00
Jon Coppeard
fd4d274d46
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Robert O'Callahan
343eac0301
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
Ryan VanderMeulen
d07905c6bc
Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE.
2013-07-26 22:49:13 -04:00
Mook
9a443aeeaf
content: sync load service: don't die when channels have unknown size (b=894586 r=jst r=jduell)
2013-07-26 15:25:27 -07:00
Ivan Alagenchev
2f05ea5a46
Bug 846918: adds hsts reporting from nsDocument. r=smaug.
2013-07-26 08:37:03 -07:00
Carsten "Tomcat" Book
ac22f0d0ad
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fed22eac4c
Bug 897484 - GC: Convert JS_GetProperty APIs to take MutableHandleValue r=terrence r=bholley r=smaug
2013-07-26 10:00:38 +01:00
Carsten "Tomcat" Book
f9fb745d15
Backed out changeset 44c751cee3b1 (bug 837242) for suspicion of causing OSX Bustage CLOSED TREE
2013-07-26 09:25:03 +02:00
Robert O'Callahan
aa23ef7e8f
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
...
--HG--
extra : rebase_source : e59fe41c41f2be6b4f0c78528cf954093f3011bd
2013-07-26 14:31:41 +12:00
Boris Zbarsky
a0857fe689
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Sid Stamm
ec103f9648
bug 898190 - fix test for bug 888172 to use a valid CSP policy for testing. r=grobinson
2013-07-25 17:11:12 -07:00
Garrett Robinson
2d5640ffce
Bug 888172 - CSP 1.0 does not process 'unsafe-inline' or 'unsafe-eval' for default-src. r=imelven
2013-07-24 17:48:30 -04:00
John Schoenick
3da5e26ba8
Bug 889614 - Fix test_object display:none checking issues found while testing. r=josh
2013-07-25 14:02:34 -07:00
John Schoenick
c97b82a961
Bug 889614 - Fix regression in plugin reparenting. r=josh
2013-07-25 14:02:33 -07:00
James Kitchener
5b157af303
Bug 885289 - Improve context menu behaviour for srcdoc iframes. r=mconley, r=bz
2013-07-25 09:32:50 -04:00
Joey Armstrong
4246f49c03
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Olli Pettay
0c5e1a74e7
Bug 900738 - Remove HasSameOwnerDoc, r=bz
...
--HG--
extra : rebase_source : c4456690ffbd53fb98ad08436da2c5d884b25faf
2013-08-02 13:24:41 +03:00
Ms2ger
8ab83f380e
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
3c5e135131
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00