sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Christoph Kerschbaumer
0a25bbf702
Bug 1226437 - Speculative CSP should set speculative referrer policy instead of actual referrer policy. r=sicking
2015-11-20 09:35:32 -08:00
L. David Baron
8b65346205
Bug 1226489 - Pass only a single rule to StyleRuleChanged. r=bzbarsky
...
--HG--
extra : transplant_source : g%3B%E8%9F%11/%88%E9R%85%0Dp5%CC%A7T%BC%10%0D%1E
2015-11-20 14:34:12 -08:00
Christoph Kerschbaumer
1a042dd25b
Bug 1226444 - Use helper function to identify preloads. r=sicking
2015-11-19 17:02:40 -08:00
Nigel Babu
ec972087c8
Backed out changeset 9c8f83fb5930 (bug 1190093) for Gij(11) bustage on a CLOSED TREE
2015-11-19 17:48:09 +05:30
Ross Lovas
9c07cb9430
Bug 1190093 - Stop throttling frame requests for loading pages by checking Hidden(), not isShowing. r=tnikkel
2015-11-19 03:43:34 -06:00
Birunthan Mohanathas
b568910a25
Bug 1217307
- Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02:00
Cameron McCormack
fd2fba0c73
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Christoph Kerschbaumer
d9f1276ace
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
Christoph Kerschbaumer
96f42dd458
Bug 663570 - MetaCSP Part 1: CSP parser changes (r=sicking)
2015-11-14 19:27:59 -08:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Carsten "Tomcat" Book
fde361620f
merge mozilla-inbound to mozilla-central a=merge
2015-11-12 12:00:55 +01:00
Victor Porof
a54b717a42
Bug 1218078 - Show onload and DOMContentLoaded markers in the netmonitor's frontend, r=smaug, jsantell, tromey
2015-11-11 23:11:40 +01:00
Nicholas Nethercote
ab7974e9a5
Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
...
This adds a three missing unit conversions for touch radii.
--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Christoph Kerschbaumer
50588ca7c1
Bug 1188028 - Queue up CSP console messages till windowID is available (r=sicking)
2015-11-11 06:23:57 -08:00
Nicholas Nethercote
33183a7673
Bug 1187782 (part 14) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 45763b6627f9e1b2bda371029b5ecc1c6f310c2e
2015-11-09 14:16:04 -08:00
Nicholas Nethercote
cb9cf0a6f7
Bug 1187782 (part 13) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 0a958f9660b61be37593b7d18175642c9a5dea9c
2015-11-09 14:16:03 -08:00
Nicholas Nethercote
8a39d7f82e
Bug 1187782 (part 12) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 7247529b5e4d52686ef1bb0653933ca19716012e
2015-11-09 14:16:02 -08:00
Nicholas Nethercote
d11d304085
Bug 1187782 (part 11) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
2015-11-08 20:55:05 -08:00
Nicholas Nethercote
91a79ee47e
Bug 1187782 (part 10) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
2015-11-08 20:54:58 -08:00
Nicholas Nethercote
bf48856d20
Bug 1187782 (part 9) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : ba1fd25e5bfa37bb01eaca3c5eb8045ef29c8464
2015-11-04 21:42:17 -08:00
Nicholas Nethercote
48e54fb700
Bug 1187782 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : cb9d9486674ee047f03106bf5c77f30960a99c33
2015-11-03 16:15:52 -08:00
L. David Baron
62e38bcd54
Bug 978833 patch 14 - Pass mozilla::css::Rule instead of nsIStyleRule to nsIDocument/nsIDocumentObserver style rule methods. r=heycam
...
This also fixes bug 980560.
This is needed for patch 15, which will make the rules passed to these
methods no longer implement nsIStyleRule.
TODO (bug 1221908): Given the amount that these parameters are used (not
at all), perhaps we should have a followup on removing them and
simplifying these notifications?
--HG--
extra : commitid : 2RmPg80eWs6
2015-11-05 16:44:10 +08:00
Cameron McCormack
fc548e7db1
Bug 1220496 - Create PresHint/StyleAttr rule processors in nsStyleSet::Init and make DirtyRuleProcessors private. r=bzbarsky
2015-11-05 18:24:22 +11:00
Ben Kelly
4e457a4ca4
Bug 1221279 Don't crash while clearing imgLoader cache when disconnected document is destroyed. r=smaug
2015-11-04 08:26:46 -08:00
Christoph Kerschbaumer
a876eba5c9
Bug 1188028 - Use channel->ascynOpen2 in dom/security/nsCSPContext.cpp (r=sicking)
2015-07-27 11:57:56 -07:00
Ehsan Akhgari
e5b08c2286
Bug 1202085 - Part 6: Clear the entries in the image cache belonging to a controlled document when it gets destroyed; r=seth
2015-10-30 16:03:13 -04:00
Seth Fowler
d8821b6da6
Bug 1207355
(Part 1) - Stop requesting decodes in nsDocument. r=tn
2015-10-29 16:37:42 -07:00
Phil Ringnalda
a727c1fe68
Back out 8 changesets (bug 1207355
) for OS X 10.10 reftest failures in generated-content/
...
CLOSED TREE
Backed out changeset aafd6db2fbb4 (bug 1207355
)
Backed out changeset 9dd950b837fb (bug 1207355
)
Backed out changeset e941e0e106a1 (bug 1207355
)
Backed out changeset ecebca101fcb (bug 1207355
)
Backed out changeset 08f2017137e1 (bug 1207355
)
Backed out changeset 3dc69e37c9b4 (bug 1207355
)
Backed out changeset bcdf51edb121 (bug 1207355
)
Backed out changeset 1d4c00dbf49a (bug 1207355
)
2015-10-28 22:57:43 -07:00
Seth Fowler
68cc239e9d
Bug 1207355
(Part 1) - Stop requesting decodes in nsDocument. r=tn
2015-10-28 16:40:42 -07:00
Nicholas Nethercote
4ea9c77760
Bug 1187782 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
...
--HG--
extra : rebase_source : 127ca38615a41d92b492b73b693e0ff781f29b86
2015-10-27 15:13:04 -07:00
Wes Kocher
94f75106e0
Merge fx-team to central, a=merge
...
--HG--
extra : commitid : EgSOvJNpPgi
2015-10-27 12:35:17 -07:00
Victor Porof
603fd3fe06
Bug 859042 - Show onload and DOMContentLoaded markers in the timeline, r=smaug, jsantell
2015-10-27 13:10:08 +01:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Birunthan Mohanathas
44936aabb2
Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
...
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Cameron McCormack
2f1046d287
Bug 1216043 - Rename nsStyleSheet::sheetType and make it an enum class. r=dbaron
...
The only substantive change here, apart from a few variables changing in
size from uint16_t to uint8_t, is FontFaceSet's use of SheetType::Unknown
(0xFF) instead of 0 for FontFaceRecords for script-created FontFaces.
2015-10-20 10:16:20 +11:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Eric Rahm
31cad9d79a
Bug 1214764 - Convert NS_ENSURE to a plain return in nsDocument::IsScriptEnabled. r=bholley
2015-10-16 11:20:38 -07:00
Boris Zbarsky
04e8705012
Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage.
2015-10-14 11:07:06 -04:00
Aryeh Gregor
f8cdabf861
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
Zack Weinberg
9b82cb1584
Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam
...
--HG--
extra : rebase_source : a8a5a27db01306d1de58974ebb4d06d29d4b72b0
2015-10-13 17:43:16 -04:00
Aryeh Gregor
67f02040d6
Bug 1213818 - Align document.title for SVG documents with HTML spec; r=bz
...
This allows setting, and for getting, pays attention to only children of
the root element (instead of all descendants as in HTML).
2015-10-13 18:14:43 +03:00
Xidorn Quan
57b9d7be94
Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug
...
--HG--
extra : source : b995b57bc1dd2003eeff6f568f5f22298ff81608
2015-10-12 11:24:23 +11:00
Xidorn Quan
f6fe1e11ba
Bug 1187801 part 3 - Add iframe fullscreen flag and stop auto-rollback when this flag presents. r=smaug
...
--HG--
extra : source : f7801f9c5b8e65862ead640f7b07ad87a40c9345
2015-10-08 17:47:39 +11:00
Xidorn Quan
2d891027c2
Bug 1187801 part 2 - Put clearing fullscreen state on element into an independent function. r=smaug
...
--HG--
extra : source : d461799695d7fe5325066d4134d0a57eac407627
2015-10-08 17:47:39 +11:00
Xidorn Quan
7ea7355828
Bug 1187801 part 1 - Rewrite nsDocument::RestorePreviousFullScreenState() to unify logic of reverting element in parent document. r=smaug
...
--HG--
extra : source : 05122469be2b1c792d19bf2fee7abb2a9cfa9d4d
2015-10-08 17:47:39 +11:00
Xidorn Quan
a030778467
Bug 1126230 part 6 - Add nsIDocument::GetFullscreenStack() method. r=smaug
...
--HG--
extra : source : fd0e6295736145ff6189b04d1ebc1948c3b5a3c3
2015-10-07 14:04:32 +11:00
Nicholas Nethercote
77d38112ab
Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
...
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Kartikaya Gupta
3b2d3a423c
Bug 1208023 - Avoid using a bad initial-scale when computing the CSS viewport. r=botond
...
--HG--
extra : commitid : bYtCKg4w35
2015-10-02 23:08:23 -04:00
Botond Ballo
72a3a301c4
Bug 1205511 - Use nsPresContext::DevToCSSPixelScale() where appropriate. r=kats
...
--HG--
extra : source : 16ed1b039eb1522f555c35e9df6e5632c69ff0a4
2015-09-28 20:14:26 -04:00