Carsten "Tomcat" Book
aadd508ffe
Backed out changeset 85ce8cb0639a (bug 1268313)
2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
L. David Baron
36c46e7d9c
Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
...
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Nicholas Nethercote
7f7c26ed62
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
2016-03-29 10:09:43 +11:00
4893fdc227
Bug 409885 - Use SetHostPort in nsHTMLDocument::SetDomain. r=bz
2016-03-24 02:14:00 +01:00
Trevor Saunders
35886ea2e2
bug 1257287 - add nsIDocShell::GetEdItingSession()
2016-03-18 15:54:07 -04:00
Christoph Kerschbaumer
136a31bb4c
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal. r=sicking
2016-03-09 13:55:59 -08:00
Wes Kocher
77087623ff
Backed out changeset 7cbab9ec76d5 (bug 1254689) for browser_dbg_addon-sources.js failures
...
MozReview-Commit-ID: 3zPliH7mmPj
2016-03-09 10:56:23 -08:00
Christoph Kerschbaumer
3b1ca5ae52
Bug 1254689 - Remove SEC_NORMAL where loadingPrincipal is SystemPrincipal or NullPrincipal (r=sicking)
...
MozReview-Commit-ID: LKK3MGMODNI
2016-03-09 09:01:45 -08:00
Cameron McCormack
c0e9a631c2
Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
8a879b8032
Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert
2016-02-24 18:01:11 +11:00
Andrew McCreight
13dad00239
Bug 1249377 - Hold a strong reference to |root| in nsHTMLDocument::SetBody. r=bz
2016-02-19 06:26:07 -08:00
Valentin Gosu
e5d955fbf5
Bug 583170 - Handling IPv6 literal address differently to other browsers r=bz
2016-02-10 13:13:00 +01:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Nicholas Nethercote
44ff3e796f
Bug 1232852 (part 5) - Remove some unused parameters in and around layout/base/. r=heycam.
2016-01-05 16:08:17 -08:00
Cameron McCormack
654179bc68
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Michael Layzell
f071e84266
Bug 1223041 - Emit console warning when document.execCommand('copy'/'cut') is triggered outside of a short-lived user-initiated event, r=bz
2015-11-12 09:36:42 -05:00
Bill McCloskey
4dee4d6fa4
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-11-11 18:04:21 -08:00
Jonathan Watt
6eb9490d6f
Bug 1220827 - Replace question comment in nsHTMLDocument::Open with an explanatory comment to explain why we create a new Window. r=smaug
2015-10-05 18:34:46 +01:00
Jonathan Watt
8abb6d6c96
Bug 1220599 - Fix erroneous nsHTMLDocument::Open comment to note that we reuse the document rather than creating a new one. r=baku
2015-09-23 11:12:24 +01:00
Birunthan Mohanathas
d382a21947
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Boris Zbarsky
165bd43fb4
Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage.
2015-10-14 11:07:06 -04:00
Aryeh Gregor
b713aa426f
Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
...
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly. For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
Bill McCloskey
8612a67a22
Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process
2015-10-07 11:15:11 -07:00
Ehsan Akhgari
bfcf1b7a20
Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking
2015-10-06 20:26:46 -04:00
Bill McCloskey
aa1b6377d3
Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs)
2015-10-01 21:18:48 -07:00
Bobby Holley
53f8074964
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Birunthan Mohanathas
a0f7c73250
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Kyle Huey
a1b3153fd0
Bug 1182316: Part 3 - Add assertions to most other WebIDL entry points, clean up nsIDOMJSWindow cruft. r=peterv
2015-07-16 22:10:35 -07:00
Ehsan Akhgari
0a5819219a
Bug 1182976 follow-up: Address njn's drive-by comment
2015-07-16 14:56:47 -04:00
Ehsan Akhgari
51bdca56d6
Bug 1182976 - Part 1: Get rid of IdentifierMapEntryAddNames; r=baku
2015-07-16 14:47:54 -04:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Cameron McCormack
3311e2699e
Bug 1171342 - Store contenteditable.css and designmode.css in the style sheet cache. r=jwatt
2015-06-16 11:34:48 +10:00
Michael Layzell
645a0984ed
Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan
2015-06-02 09:07:00 -04:00
Xidorn Quan
d0a603fa67
Bug 1170911 - Add pref for switching off execCommand("cut"/"copy"). r=ehsan
2015-06-08 10:21:58 +12:00
Michael Layzell
fc085b5f4c
Bug 1012662 - Part 1 - Allow document.execCommand('copy'/'cut') in user-generated event handlers. r=ehsan
2015-05-25 13:43:00 +02:00
Carsten "Tomcat" Book
98ea5d764b
Backed out changeset 265d0878ecd4 (bug 1012662) for B2G ICS Emulator debug m16 test failures
2015-05-26 13:41:37 +02:00
Carsten "Tomcat" Book
b323c81289
Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests
2015-05-26 13:13:48 +02:00
Michael Layzell
f69030aa19
Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan
2015-05-14 06:46:00 +02:00
Michael Layzell
d1a990d00a
Bug 1012662 - Allow document.execCommand('copy'/'cut') in user-generated event handlers. r=ehsan
2015-05-25 13:43:00 +02:00
Michael Layzell
07d387cb7f
Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan
2015-05-25 10:09:00 +02:00
Michael Layzell
cc08f4c79d
Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan
2015-05-21 06:37:00 -04:00
Christoph Kerschbaumer
5e352aa485
Bug 1038756 - Extending LoadInfo and storing LoadInfo on all channels created through NS_NewChannel - followup: removal of duplicate error check (r=sicking)
2015-05-04 17:02:38 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Masayuki Nakano
edd1e85cd6
Bug 1128787 part.2 nsHTMLDocument should clear focus before making itself editable when designMode is enabled and it makes the focused content non-focusable r=smaug+enndeakin
2015-04-21 15:27:10 +09:00
Mike Hommey
338d086ead
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00