Commit Graph

369 Commits

Author SHA1 Message Date
Trevor Saunders
324dfcc313 bug 852379 - remove unecessary nsHashtable.h includes r=Ms2ger 2013-03-18 21:18:26 -04:00
William Chen
929291a8d9 Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap 2012-11-01 11:18:08 -07:00
Chris Pearce
6a6b754413 Bug 805613 - Don't remove fullscreen approved observer on documents which don't add it, prevents assertion failure spam. r=bz 2013-02-26 18:40:53 +13:00
Chris Pearce
b8e8ab3f2f Bug 805613 - Support multiple concurrent fullscreen documents. r=bz 2013-02-26 18:40:53 +13:00
Olli Pettay
7318061b07 Bug 830975, make sure to flush all the documents, yet keep the no-flush-needed case fast, r=mccr8,f=bz,a=abillings 2013-01-24 11:09:06 +02:00
Henri Sivonen
10a04a0909 Bug 234628 part 2 - Make manual encoding overrides not apply to internal URL schemes or to docs declared as UTF-16 on the HTTP level; make docshells able to report when the encoding menu should be disabled. r=bzbarsky. 2013-01-18 16:27:03 +02:00
Brad Lassey
ba5d7731f7 bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3 2013-01-03 22:27:06 -05:00
Cameron McCormack
ecfc7c3212 Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron 2013-01-09 10:25:47 +11:00
Cameron McCormack
4129a6997c Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack
df56da34c4 Bug 508725 - Part 2: Record on nsCSSStyleSheets whether they are for a <style scoped>. r=dbaron 2013-01-08 19:09:22 +11:00
Ed Morley
f701529d81 Backout ee16318ac67b (bug 793755) for test_meta_viewport[0-9].html failures 2013-01-07 20:34:36 +00:00
Brad Lassey
568425c975 bug 793755 - Talos Regressions Trobopan, Tdhtml, tp4m_nochrome on Sept 22, cache information about the viewport r=jwir3 2013-01-03 22:27:06 -05:00
Robert O'Callahan
a9f8b202ea Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
9297efcdad Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09 Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
William Chen
8f2a3385ae Bug 617532 - Implement UndoManager. r=ehsan 2013-01-03 22:54:26 -08:00
Boris Zbarsky
cd2c495c6c Bug 816421. Make Document.visibilityState a WebIDL enum. r=peterv
A lot of the changes here are just so I can actually build after including DocumentBinding.h in nsIDocument.h
2012-12-25 14:00:15 -08:00
Boris Zbarsky
c4e0d0fac2 Bug 804631. Add the WebIDL API for Document. r=peterv
I'm not entirely happy with the XPath bits.  If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Boris Zbarsky
e1514144fb Back out bug 818371 because what we used to do actually matches the spec. 2012-12-16 00:16:47 -05:00
Boris Zbarsky
51facedc88 Bug 818371. Don't fire visibility change events until we're done updating vsibility states in the entire docshell tree. r=smaug 2012-12-06 15:21:18 -05:00
Boris Zbarsky
f58af7c09d Bug 811021. Tell catalog sheets they have the document as an owning node so they won't get double-counted by memory reporters. r=dbaron 2012-11-29 18:24:04 -05:00
Simon Montagu
38b4818ffd Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv. 2012-11-21 02:13:57 -08:00
Phil Ringnalda
742e53a9d6 Backout b7e492bf7c13, a64c112c6858, 84b9a773104b, 4bd4aabbaf28 and 24ad2de34061 (bug 548206) for Win Ru orange 2012-11-20 08:44:04 -08:00
Simon Montagu
8738532f96 Implementation of HTML5 dir=auto. Bug 548206, r=ehsan, peterv 2012-11-20 06:21:15 -08:00
Boris Zbarsky
156adc13b1 Bug 812086 part 1. Add unprefixed version of page visibility API. r=smaug 2012-11-16 14:22:55 -08:00
Olli Pettay
bd393f0158 Bug 656311 - Remove XML Events, r=bz 2012-11-15 14:29:58 +02:00
Boris Zbarsky
fa61227956 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Peter Van der Beken
451ff8f738 Fix for bug 804950 (New DOM binding APIs for Element). r=bz.
--HG--
extra : rebase_source : a8691ead07dfa8ecca812396047627dc15474d83
2012-10-16 13:51:00 +02:00
Robert O'Callahan
7b4c5ebb95 Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.

--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Gabor Krizsanits
6a87d375cf Bug 804120 - Offer a way to apply author stylesheet on a given document. r=bz 2012-10-29 12:21:15 +01:00
Peter Van der Beken
a69ce442c1 Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Ms2ger
08d30aac5a Bug 798481 - Make IndexOf a little more const-correct; r=mounir 2012-10-06 09:19:46 +02:00
Timothy Nikkel
e597215240 Bug 784591. Add an optional argument to the unlock image api on documents so that we can request that the image be discarded only in some situations. r=khuey 2012-10-01 12:53:57 -05:00
Sid Stamm
c356d3cd85 Bug 768029 - Apply CSP Policy to trusted and certified apps. Temporarily using a overly permissive policy for certified apps until Gaia is updated to handle the desired policy. r=sicking Parts by sicking, r=mounir 2012-09-25 16:28:17 -07:00
Fabrice Desré
3fd41470ed Backout Bug 768029 because that breaks Gaia (see https://github.com/mozilla-b2g/gaia/issues/5177) 2012-09-25 15:32:20 -07:00
Sid Stamm
bc5dd19449 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Devdatta Akhawe
43b37007df Bug 790747 Move CSP code to before principal reset (r=bz) 2012-09-13 20:36:35 -07:00
Gabor Krizsanits
0156aa35d9 Bug 737003 - Offer a way to apply user agent stylesheet on a given document; r=bz 2012-09-11 13:51:10 +02:00
Boris Zbarsky
b958f016c5 Bug 732209 part 3. Communicate the CORS state of preloads to the CSS loader. r=sicking,hsivonen 2012-08-28 13:10:08 -04:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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 "*.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ian Melven
915cb4516e Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst 2012-08-20 11:34:32 -07:00
Simon Montagu
6a90f135a3 Bug 562169. Add support for :dir(ltr/rtl) CSS selector, content part, r=bz 2012-04-17 07:03:10 +03:00
Matt Brubeck
9636508719 Back out bug 562169 because of Dromaeo DOM regressions
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Simon Montagu
3e005dc1f4 Add support for :dir(ltr/rtl) CSS selector, content part, Bug 562169, r=bz 2012-04-17 07:03:10 +03:00
Luqman A.
774b060f9c Bug 775049 - DeCOMtaminate nsIRadioGroupContainer; f=Ms2ger r=mounir 2012-08-03 12:38:52 +02:00
Ms2ger
3c04315f82 Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Ed Morley
4eb11bee72 Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE 2012-08-04 18:05:15 +01:00
Ms2ger
ac082f4d3f Bug 636123 - Part a: Split nsDocument::GetRadioGroup in two methods: one to get the radio group and one to create it; r=mounir 2012-08-04 09:44:00 +02:00
Chris Pearce
174ba270dc Bug 684620 - Implement cross process fullscreen API for B2G apps and web content. r=jlebar
* * *
Bug 684620 - Fix in-process fullscreen in B2G. r=?
2012-07-31 14:09:31 +12:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00