Ryan VanderMeulen
df483806f5
Merge m-c to inbound.
2013-08-12 21:59:20 -04:00
Ryan VanderMeulen
1f7ca11ce8
Backed out 4 changesets (bug 887690) for suspicion of causing frequent mochitest-2 failures.
...
Backed out changeset 106ae6eee902 (bug 887690)
Backed out changeset e2c72cb029f4 (bug 887690)
Backed out changeset 9eea090ed6f7 (bug 887690)
Backed out changeset 1defeb691f5c (bug 887690)
2013-08-12 19:13:38 -04:00
Kan-Ru Chen (陳侃如)
e2a7b7064f
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Kyle Huey
9fe1cac069
Bug 803612 - Add deprecation warnings for mozGetAsFile. r=sicking
2013-08-12 13:26:31 -04:00
Jon Coppeard
11678aa48c
Bug 903352 - Handlify remaining PropertyDescriptor APIs r=terrence r=bholley r=smaug
2013-08-12 12:09:14 +01:00
Gavin Sharp
662673d49c
Bug 897399: handle the inner window disappearing after beforescriptexecute without crashing, r=sicking
...
--HG--
extra : transplant_source : %90GW%01%C7%BA%FB%3E%FF%8A%F2%EFf%E7%81%C6s%F6%E9%2B
2013-08-02 10:55:50 -07:00
Ryan VanderMeulen
73ebf67a95
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Martijn Wargers
286c4907b4
Bug 902611 - test_bug475156.html failing on b2g mochitest with (NS_NOINTERFACE) [nsISupports.QueryInterface]. r=jduell
2013-08-12 01:48:10 +02:00
Szu-Yu Chen [:aknow]
01d5ef3e7c
Bug 887690 - Part 2: Add emergency callback mode support (dom). r=bent
2013-08-12 08:25:09 -04:00
Ryan VanderMeulen
90bda8a707
Backed out changeset e91392042137 (bug 892488) for mochitest-3 failures.
...
CLOSED TREE
2013-08-14 13:29:10 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Honza Bambas
e83bbcc4cd
Bug 892488 - Get rid of the offline application cache prompt, r=ehsan+jonas
2013-08-14 17:17:00 +02:00
David Zbarsky
68527f0cce
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
David Zbarsky
4f8354ad9d
[Bug 901656] nsIRadioGroupContainer can use HTMLInputElement r=Ms2ger
2013-08-09 21:17:51 -04:00
Ryan VanderMeulen
2cb6b07d20
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
1c27efb8bd
Merge b2g-inbound to m-c.
2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
4bdd6d2653
Merge m-c to b2g-inbound.
2013-08-08 16:24:53 -04:00
Justin Lebar
67b4356bb2
Bug 902714 - Test for nsIMessageManager.addWeakMessageListener. r=smaug
...
--HG--
extra : rebase_source : 75a15479fd45f9e6a6092356ff96fb26d5f27338
2013-08-08 11:36:56 -07:00
Justin Lebar
7af9d5e825
Bug 902714 - Add {add,remove}WeakMessageListener to nsIMessageManager. r=smaug
...
--HG--
extra : rebase_source : 3fa06e18fce1c1338924ec940a6833f87c450106
2013-08-08 11:36:56 -07:00
Tim Taubert
a3f554c40b
Bug 888972 - part 1 - add nsIFrameScriptLoader.getDelayedFrameScripts(); r=smaug
2013-08-09 04:36:37 +02:00
Mark Hammond
ac7c070103
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ehsan Akhgari
ad1141baba
Bug 901773 - Remove the duplicate _moz-type atom from nsGkAtomList; r=khuey
2013-08-09 18:08:56 -04:00
Gabor Krizsanits
3cadbc3509
Bug 877164 - nsDocument should call GetJunkScope later. r=smaug
2013-08-08 14:23:33 +02:00
Boris Zbarsky
95be140e8b
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
Simon Montagu
f3f164aa69
Add a routine to clear the direction set by a textnode without resetting it. Bug 894137, r=ehsan
2013-08-08 09:54:18 +03:00
David Zbarsky
de328bd8e8
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Boris Zbarsky
27c0e89dfb
Back out revision ab9642207875 (bug 897811) for browser-chrome test failures.
2013-08-08 01:13:45 -04:00
Mark Hammond
00e585ad0e
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Ed Morley
e586dabad5
Backed out changeset 9e8edeb0539e (bug 897913)
2013-08-07 15:50:16 -07:00
Boris Zbarsky
146cff469c
Bug 897913 part 1. Don't assert that app id exists when asked for app status; just claim not installed if there is no app id. r=sicking
2013-08-07 17:40:00 -04:00
David Zbarsky
d0e051e4b7
Bug 901060 - Make nsGenericHTMLElement implement nsIDOMHTMLElement r=bz
2013-08-07 16:23:08 -04:00
Neil Deakin
2a4b390410
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
David Dahl
7a1662853b
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-06 21:46:05 -05:00
Mark Hammond
337fcff3ff
Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin
2013-08-07 11:10:58 +10:00
Ehsan Akhgari
d8b97b0c48
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
Arnaud Sourioux
d270c23205
Bug 900274: Mark content/base/src as FAIL_ON_WARNINGS in Makefile.in r=smaug
2013-08-06 09:51:40 -07:00
Bob Owen
d12e2d913c
Bug 886262 - Ensure sandbox flags and, where necessary, null principal are set for child objects. r=bz
2013-08-06 11:01:23 +01:00
Yuan Xulei
29356f6115
Bug 895239 - Serialize non-textual container element as placeholder if OutputNonTextContentAsPlaceholder is set. r=smaug
2013-08-06 10:40:38 -04:00
Daniel Holbert
f23929b30f
Bug 900260: Explicitly cast 64-bit value to size_t, to fix build warning on 32-bit platforms (which won't run this code anyway). r=froydnj
2013-08-06 07:13:59 -07:00
Nicholas Nethercote
ba723f1034
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Daniel Holbert
7255b73424
Bug 901645: Mark some variables in content/base/src as DebugOnly. r=smaug
2013-08-05 21:35:08 -04:00
Boris Zbarsky
bc04cffaba
Bug 901682. Rev the IID for nsXMLHttpRequest. r=gavin
2013-08-05 21:28:51 -04:00
Ryan VanderMeulen
8e33abb5a7
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Ryan VanderMeulen
57186da9cf
Backed out changeset a4dd0dc4e354 (bug 824652) for Android M1 orange.
2013-08-05 19:21:17 -04:00
David Keeler
f9040f2187
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-08-02 16:23:18 -07:00
David Keeler
9cbdeb8d74
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-08-02 15:48:37 -07:00
David Dahl
18d09d5877
Bug 824652 - crypto.generateCRMFRequest bypasses CSP (allows script execution from a string, without unsafe-eval) r=bsmith r=khuey r=keeler
2013-08-05 16:15:22 -05:00
Ryan VanderMeulen
f5e9dc8c73
Backed out changesets 5f8a88c6d0c8 and 97fcb5a154d8 (bug 887052) for OSX mochitest-other orange.
...
--HG--
rename : netwerk/base/public/nsISiteSecurityService.idl => netwerk/base/public/nsIStrictTransportSecurityService.idl
rename : security/manager/boot/src/nsSiteSecurityService.cpp => security/manager/boot/src/nsStrictTransportSecurityService.cpp
rename : security/manager/boot/src/nsSiteSecurityService.h => security/manager/boot/src/nsStrictTransportSecurityService.h
2013-08-05 16:18:06 -04:00
Szu-Yu Chen [:aknow]
3481e9835d
Bug 743150 - Part 2: Add remoteheld/remoteresumed event (dom). r=bent, r=gyeh
2013-08-05 16:28:14 -04:00
Martijn Wargers
f965e8b467
Bug 901385 - test_mutationobservers.html failing on b2g and Android mochitest because of the use of showModalDialog. r=smaug
2013-08-05 13:02:57 +02:00
David Keeler
aa164754ac
bug 887052 - refactor nsISiteSecurityService for multiple headers r=cviecco r=mcmanus r=jst sr=jst
2013-07-01 10:49:40 -07:00
David Keeler
2333ac300d
bug 887052 - rename nsIStrictTransportSecurityService to nsISiteSecurityService for refactoring r=cviecco r=mcmanus r=jst sr=jst
...
--HG--
rename : netwerk/base/public/nsIStrictTransportSecurityService.idl => netwerk/base/public/nsISiteSecurityService.idl
rename : security/manager/boot/src/nsStrictTransportSecurityService.cpp => security/manager/boot/src/nsSiteSecurityService.cpp
rename : security/manager/boot/src/nsStrictTransportSecurityService.h => security/manager/boot/src/nsSiteSecurityService.h
2013-07-01 09:30:11 -07:00
Boris Zbarsky
cad540afeb
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Daniel Holbert
8ffe2cf4f1
Bug 901529: Declare bitmask as uint16_t, rather than implicitly as a signed short function-arg, to fix "truncation of constant value" build warning. r=jlebar
2013-08-05 12:45:50 -04:00
Jon Coppeard
71a6b47923
Bug 900986 - Convert JS_*Element API to use MutableHandleValue for out params r=terrence r=bholley r=smaug
2013-08-05 14:02:47 +01:00
Boris Zbarsky
acdf381c53
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
8a7f2a19b6
Bug 897386 - Hack to allow adopted browsers to still have XBL bindings. r=sicking
2013-08-02 14:05:02 -07:00
Ryan VanderMeulen
e44fa2bc7c
Merge inbound to m-c.
2013-08-02 16:36:40 -04:00
Justin Lebar
a04662fd5d
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
d0a6230a88
Merge mozilla-central and b2g-inbound
2013-08-02 13:51:22 +01:00
Ms2ger
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
023dc49091
Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley
2013-08-02 09:09:11 +02:00
Ms2ger
62183dfe63
Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8
2013-08-02 09:04:01 +02:00
Mike Hommey
d01b5df996
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
2d4b9278a9
Bug 853221 - Patch 2: Distribute events from BluetoothAdapter, r=smaug, sr=mrbkap
2013-08-02 18:33:15 +08:00
Ryan VanderMeulen
08d6011fa3
Merge m-c to fx-team.
2013-08-01 16:35:13 -04:00
Daniel Holbert
b168795293
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
315e2872cb
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
e31f4de611
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
ca26060518
Bug 899812 - Error reporters should consistently report errors to stderr (r=bholley)
2013-07-31 17:04:49 -07:00
Neil Deakin
9a82a91cb0
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
0b021a6fa2
Bug 884410 - Handlify JS_GetPrototype. r=terrence
2013-07-31 12:20:33 -04:00
Justin Lebar
e07ad9bb36
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
fabd18c538
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
877a52adaf
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
bf4b322de3
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
5ee21d6d3f
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
7b9d7844ff
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
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
David Zbarsky
c20f51dc6b
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-30 01:47:28 -07:00
David Zbarsky
9bd3567fd7
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
c00f6379ec
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
488031ac4d
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
96da4fe14d
Bug 898947 - Remove nsIInlineEventHandlers from nodes r=bz
2013-07-29 16:04:09 -07:00
John Schoenick
6e04b0893e
Bug 889614 - Followup, don't erroneously cancel other events. r=josh
2013-07-29 13:50:55 -07:00
Jon Coppeard
8278efd42a
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
9d7b42cb9c
Bug 837242. Part 1: Convert bool parameters to flags. r=mats
2013-07-26 14:31:41 +12:00
Ryan VanderMeulen
79884fe9cb
Backed out changeset f570fc641c5f (bug 894586) for xpcshell failures on a CLOSED TREE.
2013-07-26 22:49:13 -04:00
Mook
725ebd7b5b
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
404e69fa83
Bug 846918: adds hsts reporting from nsDocument. r=smaug.
2013-07-26 08:37:03 -07:00
Carsten "Tomcat" Book
8c89deb65b
Backed out changeset ae8d72538dee (bug 897484) for b2g bustage
2013-07-26 12:34:25 +02:00
Jon Coppeard
fc9b509d4f
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
d6c5183f6b
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
7e76ab4eb6
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
cc0e521ed8
Bug 894448 part 1. Move IsChromeOrXBL to xpcpublic.h. r=bholley
2013-07-25 19:41:46 -07:00
Ryan VanderMeulen
bc61d30573
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Sid Stamm
87382fb5b6
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
6df3e759cf
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
1613521d1a
Bug 889614 - Fix test_object display:none checking issues found while testing. r=josh
2013-07-25 14:02:34 -07:00
John Schoenick
ef97434481
Bug 889614 - Fix regression in plugin reparenting. r=josh
2013-07-25 14:02:33 -07:00
James Kitchener
d60ef2c22d
Bug 885289 - Improve context menu behaviour for srcdoc iframes. r=mconley, r=bz
2013-07-25 09:32:50 -04:00
Joey Armstrong
9bdf289b5e
Bug 870370 - Move EXTRA_COMPONENTS to mozbuild (file batch #3 ); r=mshal
2013-06-11 16:38:22 -04:00
Andrew McCreight
ccacde7823
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
f74cd40dfd
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
Olli Pettay
f99aa27fba
Bug 900738 - Remove HasSameOwnerDoc, r=bz
...
--HG--
extra : rebase_source : c4456690ffbd53fb98ad08436da2c5d884b25faf
2013-08-02 13:24:41 +03:00
Ms2ger
834f814430
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
4f51466484
Bug 896280 - Pass MutableHandleValue to JS::Call(); r=terrence
2013-07-24 09:40:01 +02:00
Ms2ger
a185a3e840
Bug 776517 - Move GetExistingAttrNameFromQName from nsIContent to dom::Element; r=smaug
2013-07-24 09:39:46 +02:00
Ms2ger
36f3f6ae03
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Ms2ger
fb6790e6d8
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Olli Pettay
5d5c8bf66f
Bug 895222, improve skippability optimization for nodes, r=mccr8
...
--HG--
extra : rebase_source : ce3ebc2020a26d22f7cf2636d63657a8fe6ebb2d
2013-07-22 20:47:20 +03:00
David Zbarsky
a8e101cf37
Bug 897211: Remove nsITouchEventReceiver from nodes r=bz
2013-07-23 23:20:16 -07:00
David Zbarsky
18c3813707
Bug 897211: Remove nsIDOMDocumentTouch r=bz
2013-07-23 23:20:16 -07:00
David Zbarsky
040dbd4c2b
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Boris Zbarsky
0d417e5c5f
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Joshua Cranmer
08dac03f44
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Jon Coppeard
1bb7f2a908
Bug 888338 - 1 - Add TenuredHeap<T> class r=terrence r=bz
2013-07-23 10:58:26 +01:00
Ryan VanderMeulen
cc66360dac
Backed out changesets 0a196c0e9f96 (bug 895974) and 0d8aa14f5ed3 (bug 895009) for causing intermittent Linux32 mochitest-1 asserts on a CLOSED TREE.
2013-07-22 18:18:17 -04:00
Boris Zbarsky
efe9593f06
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Ed Morley
22064a4365
Backed out changeset 9e7d1f4496ff (bug 888839) for B2G failures in test_copypaste.xhtml
2013-07-22 08:55:34 +01:00
Drew Willcoxon
dd9e48914b
Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug
2013-07-19 19:56:18 -07:00
Benjamin Smedberg
c416701cd3
Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
...
--HG--
extra : rebase_source : a60ae3259579ea63d51921dc3c70836da2d7ab3a
2013-07-19 10:02:48 -04:00
Ehsan Akhgari
779083a287
Bug 895168 - Part 1: Stop using LL_I2L in the tree; r=jcranmer
...
--HG--
extra : rebase_source : b66b363de4c4e132ef94181d2b7d8f008caa643a
2013-07-18 16:47:55 -04:00
Ryan VanderMeulen
0439786998
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Justin Lebar
f55bb48aa5
Bug 895123 - Change nsFrameLoader::mChildHost from nsCOMPtr<nsIObserver> to nsRefPtr<ContentParent>, and rename it to mContentParent.
...
This doesn't change any behavior; the only effect of this change is to make it easier to figure out, from GDB, which ContentParent a nsFrameLoader points to.
2013-07-17 16:34:57 -07:00
Ryan VanderMeulen
f8d4e81bc8
Backed out changeset 8421bc750585 (bug 888864) for Werror bustage.
2013-07-16 12:03:59 -04:00
Tom Schuster
8b2781aaba
Bug 893858 - More testing for CPOWs and fix some small bugs. r=dvander
2013-07-17 09:27:49 -04:00
Andrew McCreight
e64257dd9f
Bug 903524 - Rename TestJSHolder to IsJSHolder. r=smaug
2013-08-15 10:29:02 -07:00
Boris Zbarsky
b0b6675b91
Bug 894874. Fix .selectedStyleSheetSet to consider all the sheets even after it finds an enabled sheet. r=smaug
2013-07-17 23:23:52 -04:00
Boris Zbarsky
b554ae3bd7
Bug 892510. Cache whether we're only-whitespace on textnodes so we don't have to keep figuring that out over and over again. r=smaug
2013-07-17 23:23:52 -04:00
Ryan VanderMeulen
5131a6768c
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
William Chen
9e883ad8f5
Bug 796061 - Part 2: Remove mInsertionParentTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:06 -07:00
William Chen
ca763cf5e3
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager. r=mrbkap
2013-07-17 09:05:03 -07:00
Ryan VanderMeulen
8f0d3e140e
Backed out 3 changesets (bug 889480, bug 889788, bug 888908) for mochitest-bc orange.
...
Backed out changeset d1c616745325 (bug 889788)
Backed out changeset 6fe281a19554 (bug 888908)
Backed out changeset 9b855bab8073 (bug 889480)
2013-07-17 11:34:25 -04:00
Mina Almasry
d3ee8222e1
Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz
2013-07-17 10:09:04 -04:00
Mihnea Dobrescu-Balaur
c9c6847ad2
Bug 887480 - Make the content/base xpcshell tests use dynamic httpd ports so they can be run concurrently. r=bz
2013-07-15 17:13:37 -07:00
Tom Schuster
40feac8ae5
Bug 893858 - More testing for CPOWs and two small bug fixes. r=dvander
2013-07-17 09:27:49 -04:00
Benjamin Smedberg
1de4d3c8fe
Bug 889788 - Plugin doorhanger breaks when plugins are dynamically removed from a page. This implements the short-term solution of hiding the plugin doorhanger when no more plugins are on the page (the better long-term solution will keep showing the UI and track all the plugins a page ever uses). This also implements a short-term solution when a user enables a plugin. Also bug 887088 - Short-term UI solution: when a user loads multiple tabs from a site and enables a plugin on one of them, the plugins are not enabled on other tabs but the "continue allowing" button does nothing. This patch makes the "Continue Allowing" button enable existing plugins of that type. r=jaws r=jschoenick
...
--HG--
extra : rebase_source : 4b24a6d5bf3b5c33b1e19702eca676b340b5d8b1
2013-07-17 09:21:02 -04:00
Drew Willcoxon
8f51741b51
Bug 888839 - Don't pretty print text/plain when copying and pasting non-(X)HTML documents. r=smaug
2013-07-19 19:56:18 -07:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Jonathan Kew
f2a90fffff
bug 878786 - relax assertion requiring a loadGroup when the loading document is an SVG-glyph document loaded from a font table. r=bz
2013-08-26 22:31:02 -07:00
Edwin Flores
390c8fb307
Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz
2013-06-10 13:25:12 +01:00
Mina Almasry
d65907254a
Bug 888864 - Changing a stylesheet ProcessingInstruction's data no longer applies immediately. r=bz
2013-07-16 11:18:33 -04:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Gabor Krizsanits
bd04fc57e9
Bug 874158 - Crash in GetNativeForGlobal. r=bholley
2013-07-16 15:04:28 +02:00
Boris Zbarsky
8c66d8be6a
Bug 881087. Skip unnecessary work resetting visited state on links if the base URI only changes its fragment identifier. r=smaug
2013-07-16 01:31:43 -04:00
Boris Zbarsky
145e2ef11a
Bug 838146 part 9. Make Xrays play nice with WebIDL resolve hooks. r=bholley
2013-07-16 01:31:03 -04:00
Mina Almasry
529857dfeb
Bug 713564 - Add an API to declare a stylesheet obsolete. r=bz
2013-07-15 17:28:33 -04:00
David Anderson
0f90d00ec4
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Ryan VanderMeulen
48411f99e3
Merge m-c to inbound.
2013-07-12 09:29:59 -04:00
Olli Pettay
4549fd3374
Bug 892582 - crash in nsContentSink::WillParseImpl , r=bz
...
--HG--
extra : rebase_source : 23cba75e0470c0170ea48e7deb44f24f191dee38
2013-07-11 22:39:06 -04:00
Boris Zbarsky
cea78a3062
Bug 883889 followup: nsChildContentList is not an nsINode subclass. r=orange
2013-07-11 12:59:53 -04:00
Boris Zbarsky
45006a7480
Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
...
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Yuan Xulei
4f5e53c28d
Bug 890580 - Add test cases for nsIDocumentEncoder.OutputNonTextContentAsPlaceholder. r=hsivonen
2013-07-11 11:48:59 -04:00
Yuan Xulei
264bbe04fb
Bug 890580 - Enable plaintext serializer to output non-text content as placeholder. r=hsivonen
2013-07-11 11:48:43 -04:00
J. Ryan Stinnett
a08a5efb58
Bug 282097 - Part 2: Rename field from nsNativeKeyEvent. r=masayuki
2013-07-09 22:45:10 -05:00
Ed Morley
881a35e05a
Merge latest green fx-team changeset and mozilla-central
2013-07-11 10:12:37 +01:00
Tim Taubert
65cc5f15e6
Bug 891806 - part 2 - replace 'yield;' with 'yield undefined;' in content/; r=smaug
2013-07-10 23:52:14 +02:00
Ryan VanderMeulen
aaee3cf638
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Wes Kocher
5ed483fdc1
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
66c5f1450d
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Scott Johnson
f6b9497b4e
Bug 890309: Use GetPrimaryFrame() instead of directly accessing mPrimaryFrame in Element::FontSizeInflation() in order to prevent crashing when an element is not part of a document. [r=tn]
2013-07-10 14:47:50 -05:00
John Schoenick
4ddb403a04
Bug 889821 - Extend interface shim to allow nsIStreamListener callbacks to object/embed/applet tags to be used from script. r=bz
2013-07-10 15:15:41 -04:00
Ryan VanderMeulen
c9d5a706a1
Backed out changeset b7d6458d2a3c (bug 887483) for apparently causing Android robocop-2 failures.
2013-07-10 13:51:28 -04:00
David Zbarsky
b9d239aaeb
Bug 879475 - Make PBrowser manually keep track of its manager r=jlebar
2013-07-10 13:07:51 -04:00
John Schoenick
c497b9a417
Bug 788031 - For object/embed/applet tags, pass baseURI to shouldProcess if mURI is null. r=josh
2013-07-10 12:55:26 -04:00
Trevor Saunders
c3f96258c3
bug 887483 - rm a bunch of useless assignments to FORCE_STATIC_LIB r=mshal
2013-06-25 14:29:26 -04:00
Olli Pettay
2bf2214fbe
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Nicholas Nethercote
0d3b60738e
Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
...
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
David Zbarsky
8dd45769d2
Bug 859193 - Cleanup nsRange r=smaug
2013-07-11 23:29:24 -04:00
Blake Kaplan
2a5c30ab9f
Bug 890775 - Not all xbl:children elements should be treated specially. r=peterv
2013-07-11 17:52:49 -04:00
Masatoshi Kimura
e58e1a162c
Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz
2013-07-12 06:26:54 +09:00
Nathan Froyd
f67df7c06e
Bug 892511 - rewrite test_{title,window}.xul to not rely on shared setTimeout between windows; r=smaug
2013-01-11 11:28:22 -05:00
Ms2ger
db26bfced0
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Peter Van der Beken
9c3bffc341
Bug 734503 - Add new DOM binding for TouchList; r=jst.
2013-07-10 11:53:53 +02:00
Blake Kaplan
ea4da60962
Bug 891088 - Rename nsXBLChildrenElement -> mozilla::dom::XBLChildrenElement. r=peterv
...
--HG--
rename : content/xbl/src/nsXBLChildrenElement.cpp => content/xbl/src/XBLChildrenElement.cpp
rename : content/xbl/src/nsXBLChildrenElement.h => content/xbl/src/XBLChildrenElement.h
2013-07-01 15:09:37 -07:00
Ryan VanderMeulen
75a32c409f
Backed out changeset 4903ca450b3f (bug 890081) for widespread mochitest orange.
...
CLOSED TREE
2013-07-08 15:19:30 -04:00
Bobby Holley
aa04d7f824
Bug 890081 - Make 'document' permanent in nsIDocument::WrapObject. r=bz
2013-07-08 10:31:21 -07:00
Bobby Holley
9b3cb6faeb
Bug 867486 - Remove |Components| from content sandboxes. r=gabor
2013-07-08 10:05:31 -07:00
Jacek Caban
b5e7c18341
Bug 816343 - Add querySelector* to *Element/DocumentFragment/Document.idl r=bz
2013-07-08 14:09:18 +02:00
Randy Lin
d2aff89854
Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc
2013-07-05 09:50:25 +08:00
Randy Lin
0b91b4cb79
Bug 803414 - Part 2: Add DOMTemporaryFileBlob and TemporaryFileInputStream. r=roc
2013-07-02 11:00:37 +08:00
Birunthan Mohanathas
074406a500
Bug 571635 - Make nsCSSStyleSheet::GetStyleRuleAt return a css::Rule*. r=dbaron
2013-07-07 16:23:13 -04:00
Cameron McCormack
27fbbd563b
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
Kartikaya Gupta
61cece35c8
Bug 803207 - Kill GetDevicePixelsPerMetaViewportPixel and use widget scaling correctly on Fennec. r=mbrubeck
2013-07-04 09:02:29 -04:00
Cameron McCormack
e761ecd940
Comment typo fix, no bug (DONTBUILD)
2013-07-04 14:00:06 +10:00
Ben Turner
bae1005969
Bug 879787 - Fix up old tests to use SpecialPowers. r=smaug, a=abillings.
...
--HG--
rename : content/base/test/test_bug383430.html => content/base/test/chrome/test_bug383430.html
2013-07-03 14:04:43 -07:00
Kyle Huey
49b422d01c
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Ehsan Akhgari
f691095054
Bug 910857 - Minimize #includes in content/events; r=smaug
2013-08-29 17:18:25 -04:00
Doug Turner
805876c713
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Ivan Alagenchev
348f705990
Bug 838396 - Don't set hasMixedDisplayContentLoaded and hasMixedDisplayContentBlocked flag in nsMixedContentBlocker.cpp. r=smaug, r=bz
2013-08-29 16:46:25 -04:00
Andrea Marchesini
a022e43e0e
Bug 885539 - Crash - Heap-use-after-free in nsTArray_base. r=bz
2013-07-03 09:21:30 -04:00
Bobby Holley
a36ee4c482
Bug 888682 - Inline traverse/unlink for mGlobal and simplify CC goop for nsInProcessTabChildGlobal.cpp. r=smaug
2013-07-02 23:30:36 -06:00
Matthew Gregan
bd54a22c11
Bug 855130 - Implement URL::createObjectURL overload for
...
MediaSources. Add MediaSources to HostObjectProtocolHandler. Make
MediaSource a real interface. r=khuey
2013-06-21 15:15:15 +12:00
John Schoenick
f60e63eca2
Bug 888834 - Java sees no-explicit-codebase as . not baseURI. r=josh
2013-07-02 16:40:40 -07:00
John Schoenick
ca8c9cb156
Bug 406541 - Add check for java file codebase security. r=bsmedberg
2013-07-02 16:40:40 -07:00
Mike Shal
37bbfefcec
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Scott Johnson
b741a6aa9d
Bug 878931: Add a FontSizeInflation() method to Element in order to retrieve font size inflation to use during reflow-on-zoom. [r=kats,mounir]
...
The reflow-on-zoom behavior needs a more robust determination of the font size inflation, so
that it can adjust its behavior depending on whether font size inflation has been
enabled for a given element's text. This patch also modifies the behavior of reflow-
on-zoom such that it will zoom in to piece of text, with reflow, if the minimum
specified font size in the font size inflation preferences is greater than the
current font size, with font size inflation, of the element.
2013-07-02 09:04:27 -05:00
Phil Ringnalda
caf26c910c
Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
...
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
2c56844ced
Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
...
---
content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
content/base/src/nsHostObjectProtocolHandler.cpp | 65 +++++++++++++++++------
content/base/src/nsHostObjectURI.h | 5 +-
content/media/mediasource/MediaSource.cpp | 1 +
content/media/mediasource/MediaSource.h | 7 +++
dom/base/URL.cpp | 12 +++++
dom/base/URL.h | 7 +++
dom/webidl/URL.webidl | 6 +++
layout/build/nsLayoutModule.cpp | 4 ++
9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Garrett Robinson
28b1f24a9f
Bug 885433 - CSP should not block inline scripts or eval unless script-src or default-src are included (r=imelven)
2013-07-01 17:46:21 -07:00
Jim Mathies
a669aed386
Bug 810399 - Add new css selectors and media queries for windows os versions. r=bz
2013-07-01 11:02:29 -05:00
David Rajchenbach-Teller
1dec8aa24d
Bug 887288 - Make nsDOMMemoryFileDataOwnerMemoryReporter thread-safe. r=khuey
2013-07-01 09:55:04 -04:00
Alexandre Poirot
f1e658ee40
Bug 887781 - Send message-manager-disconnect notification event when any message manager get disconnected. r=smaug
2013-07-01 09:46:53 -04:00
Ryan VanderMeulen
1a472aefb6
Merge inbound and m-c.
2013-07-01 08:12:24 -04:00
Ms2ger
9a38df8e56
Bug 888321 - Pass CSSIntPoint to ScrollToCSSPixels; f=kats r=roc
2013-07-01 09:14:36 +02:00
Bobby Holley
988b00b6eb
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
1206d0898d
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-30 09:00:20 -06:00
Bobby Holley
1a4e55b7ac
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
541f6a00f9
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-30 09:00:19 -06:00
Bobby Holley
d337596c9c
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-30 09:00:19 -06:00
Bobby Holley
9a64b0af07
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-30 09:00:18 -06:00
Bobby Holley
a7e12a1fed
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-30 09:00:18 -06:00
Bobby Holley
e29b19b08f
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-30 09:00:18 -06:00
Bobby Holley
ef90f8d39a
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-30 09:00:18 -06:00
Bobby Holley
57550f5a87
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-30 09:00:17 -06:00
Phil Ringnalda
154f8fcd88
Back out 9a57cd3e5a93:b62548e26499 (bug 865745) for causing an unexpected exception in a mochiperf test
2013-06-29 20:27:48 -07:00
Bobby Holley
e689963ce5
Bug 865745 - Remove nsFrameScriptExecutor::DestroyCx. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
493debc74c
Bug 865745 - Remove mCx from nsFrameScriptExecutor. r=smaug
2013-06-29 18:44:06 -06:00
Bobby Holley
a1b9c40166
Bug 865745 - Return the safe JSContext for Tab Children in GetJSContextForEventHandlers. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
ee83c8bf21
Bug 865745 - Check mGlobal instead of mCx to see if we're in a functional state. r=smaug
...
Their lifetimes should be the same, and the latter is going away.
2013-06-29 18:44:05 -06:00
Bobby Holley
43e05e2159
Bug 865745 - Remove mContext from nsFrameMessageManager. r=smaug
2013-06-29 18:44:05 -06:00
Bobby Holley
43f796458e
Bug 865745 - Remove redundant cx push. r=smaug
...
AutoSafeJSContext will always push.
2013-06-29 18:44:04 -06:00
Bobby Holley
ee0eec3b74
Bug 865745 - Use an AutoSafeJSContext in nsFrameMessageManager::ReceiveMessage. r=smaug
...
This function proceeds to push its cx and enters a compartment, so it can't be
depending on any compartment or callstack state of the cx it's using. The only
potential issue would then be reporting the error to the correct DOM window, but
this stuff is used only for chrome, where that doesn't matter. The safe JSContext
uses the same error reporter as JSMs and such, which is probably fine.
2013-06-29 18:44:04 -06:00
Bobby Holley
b3db761665
Bug 865745 - Hold a strong ref to the global for the duration that each nsFrameScriptCx is on the stack. r=smaug
...
These things currently do a complicated refcounting dance to avoid destroying the
cx until all the consumers of it are gone. That stuff can mostly go away now that
we're just using the SafeJSContext, but DestroyCx also nulls out the global, so
we should make sure to keep that alive for anyone that might be using it.
2013-06-29 18:44:04 -06:00
Bobby Holley
6cfd72f068
Bug 865745 - Rename nsFrameScriptExecutor::DidCreateCx. r=smaug
2013-06-29 18:44:04 -06:00
Bobby Holley
ede6f4ff01
Bug 865745 - Stop depending on mCx during frame script execution. r=smaug
2013-06-29 18:44:03 -06:00
Phil Ringnalda
c6482a5eeb
Merge birch and m-i to m-c
2013-06-29 17:29:09 -07:00
Bobby Holley
f77eb1e574
Bug 880917 - Convert JS_SetVersion API consumers to per-compartment versions. r=luke
2013-06-29 09:11:18 -06:00
Bobby Holley
f5f7bf3be5
Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
...
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Phil Ringnalda
4099cadf2a
Merge m-c to birch
2013-06-29 06:55:30 -07:00
Reuben Morais
998c2ba4bf
Bug 882911 - Add nsIProcessChecker.checkAppHasStatus. r=smaug
2013-06-29 03:52:16 -07:00
Catalin Iacob
ff12d6de33
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
James Kitchener
7206e512a6
Bug 802895 - Implement srcdoc attribute for iframe r=bz
2013-06-28 23:13:23 -04:00
James Kitchener
0d4bb8c90d
Bug 802895 - Docshell related changes for srcdoc iframe r=bz
2013-06-28 23:13:22 -04:00
James Kitchener
33a9f769ee
Bug 802895 - ns(I)document changes for iframe srcdoc implementation r=bz
2013-06-28 23:13:22 -04:00
Gavin Sharp
506f2d6e96
Bug 883592: stop trying to evaluate scripts for documents with no inner windows, r=sicking
...
--HG--
extra : transplant_source : %99%1Ap-%EC%80b%2B%DE%A5%05%EE%9C%24Dl%22%E7G%D3
2013-06-15 22:06:27 -04:00
Garrett Robinson
f4fc3a1bf0
Bug 887974 - CSP 'unsafe-eval' directive ignored (r=sstamm)
2013-06-27 19:50:03 -07:00
Tanvi Vyas
ce83a6c1db
Bug 781018 - Collect telemetry information about the number of websites a user visits with Mixed Active/Passive Content. r=smaug
...
--HG--
extra : rebase_source : d06dd4b07cb68c7dc5b36ab05f6bf8d6bb2a1924
2013-06-27 16:52:20 -07:00
John Schoenick
5f2fbccd09
Bug 738396 - Only pass canonicalized codebase to Java. r=bsmedberg sr=jst
2013-06-27 13:59:37 -07:00
John Schoenick
f5b3708515
Bug 738396 - Construct codebase URI for Java plugins as java would. r=bsmedberg sr=jst
2013-06-27 13:59:36 -07:00
Blake Kaplan
55ee93f1af
Bug 653881 - Rework XBL insertion points and clean up related code to more closely follow the Web Components model. Instead of maintaining a hashtable of insertion points in bindings (and removing insertions points from the tree) leave the insertion points in the tree as explicit placeholders and teach all other relevant code how to walk the explicit children of elements via two iterators (ExplicitChildIterator and FlattenedChildIterator). Note that this patch does not maintain 100% compatibility with the previous code: there are bug fixes and behavior changes included. For example, by having explicit insertion points in the bindings, it is now easier to handle dynamic changes to the bound element correctly (as well as, eventually, handling dynamic changes to the binding correctly). Patch originally by sicking. r=bzbarsky
...
--HG--
extra : rebase_source : 6926ae8ea57b20f4067b16bd3d7bd85bda854756
2013-05-01 15:50:08 -07:00
Justin Lebar
6c46d0633d
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
75c400493b
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Andrew McCreight
489737d1e7
Bug 882997 - Don't DROP or clear wrapper cache flag in GetAndClearExpandoObject. r=peterv
2013-06-28 12:32:27 -07:00
Peter Van der Beken
a8bde00d60
Bug 908997 - Simplify XPathEvaluator - remove aggregation from XPathEvaluator. r=bz.
...
--HG--
rename : content/xslt/src/xpath/nsXPathEvaluator.cpp => content/xslt/src/xpath/XPathEvaluator.cpp
rename : content/xslt/src/xpath/nsXPathEvaluator.h => content/xslt/src/xpath/XPathEvaluator.h
extra : rebase_source : 163d25a36f52f8f8fa8b6952bcf1bc83de14230b
2013-07-04 17:39:24 +02:00
Peter Van der Beken
1d7a65fbba
Bug 908997 - Simplify XPathEvaluator - remove nsIXPathEvaluatorInternal. r=bz.
...
--HG--
rename : content/xslt/src/xpath/nsXPathEvaluator.cpp => content/xslt/src/xpath/XPathEvaluator.cpp
rename : content/xslt/src/xpath/nsXPathEvaluator.h => content/xslt/src/xpath/XPathEvaluator.h
extra : rebase_source : 3aa2f8f50c683b641904a0653a128c06cf1afb30
2013-07-04 17:29:29 +02:00