Hiroyuki Ikezoe
df09492fe4
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Kearwood (Kip) Gilbert
0c83ce5c05
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Kartikaya Gupta
0dcf99f8a4
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Kartikaya Gupta
6b0c32286a
Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout
2015-12-14 15:52:31 -05:00
Kartikaya Gupta
fcb193563c
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Ehsan Akhgari
f9035eb119
Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
...
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05: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
Cameron McCormack
fd2fba0c73
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Seth Fowler
8ef1e0cbe1
Bug 1190093 (Comment Tweak) - Add better comments for nsIDocument::mIsShowing and mVisible. r=me DONTBUILD
2015-11-15 16:28:11 -08:00
Christoph Kerschbaumer
d9f1276ace
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
L. David Baron
87dc808e91
Bug 978833 patch 20 - Rev IIDs that I should have revised in Bug 978833 patch 14.
...
--HG--
extra : commitid : 8t5dAVZf9MN
2015-11-05 20:56:56 +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
Jonathan Watt
f1deeaf5dd
Bug 1220610 - Fix the nsIDocument::GetDocumentURI and nsIDocument::GetOriginalURI comments to be correct and up to date. r=baku
2015-10-01 10:12:36 +01:00
Nathan Froyd
4331d7171e
Bug 1217939 - part 1 - remove nsContentUtils::GetViewportInfo; r=smaug
...
All it was doing was forwarding to the provided document, which is an
unnecessary layer of indirection.
2015-10-23 13:21:57 -04: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
Aryeh Gregor
5e39e259c1
Bug 492933 - getElementsByTagName should match on localName not tagName, r=smaug
...
dom-level2-core test changes by Ms2ger.
2015-10-15 10:03:30 -04:00
Andrea Marchesini
ba17d96287
Bug 1212842 - part 1 - BroadcastChannel should not remove the document from bfcache when not used, r=smaug
2015-10-13 12:04:17 +01: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
Nigel Babu
a47d2e063f
Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
...
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Xidorn Quan
a6b216549e
Bug 1126230 part 5 - Add nsIDocument::GetFullscreenStack() method. r=smaug
...
--HG--
extra : source : 21918c2112ed8cdf821e5e6eac72ee57fc8c8960
2015-10-02 16:34:09 +10:00
Gijs Kruitbosch
8e06164f35
Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug
...
--HG--
extra : commitid : ACnhGw56lMO
extra : rebase_source : 31c54c568da52ff724f11a9b7c0e833095171ae5
2015-09-26 14:54:29 +01:00
Masatoshi Kimura
fce903a0f0
Bug 647621 - Implement document.charset and update document.inputEncoding to the latest spec. r=bz
2015-09-23 09:32:29 +09:00
Olli Pettay
68663347da
Bug 1205466
, make HasApzAwareListeners check faster, r=masayuki
...
--HG--
extra : rebase_source : 41c94b02117a09785938349dc9ad513af9bf048b
2015-09-17 13:16:20 +03:00
Jeff Gilbert
738d8e8d98
Bug 1192467 - Formalize precondition that SetDisplayDocument must not be called with null. - r=peterv
2015-08-31 14:26:19 -07:00
Xidorn Quan
f691d21a6e
Bug 1198563 part 1 - Encapsulate iterating fullscreen request list code. r=smaug
...
--HG--
extra : source : 6cd137c01c101c3dd10f30056fac255c38332eed
2015-08-27 11:21:29 +10:00
William Chen
326cceef61
Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku
...
--HG--
extra : rebase_source : 115753be382c7694c775915d5944ae2dabd9d0c3
2015-08-18 14:55:21 -07:00
Cameron McCormack
125f6d0f18
Bug 968923 - part 3a - add core DOM use counter functionality; r=smaug
...
This patch gives ns{I,}Document the ability to track use counters and
also to send those to telemetry at document destruction time. We push
things to telemetry lazily because we're can't definitively say whether
something has been used until the document is torn down.
2015-06-03 12:39:18 -04:00
Aryeh Gregor
4cb17f538e
Bug 874838 - Make CreateElem return Element. r=khuey
2015-08-13 07:50:00 -04:00
Francois Marier
34de332db0
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor
80ea0a3e53
Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
...
--HG--
rename : dom/bindings/OwningNonNull.h => xpcom/base/OwningNonNull.h
2015-08-05 15:28:27 +03:00
Xidorn Quan
7624cf6395
Bug 1164725 - Convert flags in nsIDocument into bit fields. r=smaug
...
--HG--
extra : source : 49e416beae3c398890d13eb8690b9fa90ed79135
2015-08-01 10:49:19 +10:00
Xidorn Quan
460ed18474
Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
...
--HG--
extra : source : 790e3e8a52cac1ddabebf59bc98a2da0c52ba624
2015-07-21 20:50:20 +10:00
Boris Zbarsky
a435429163
Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly
2015-07-20 10:14:24 -04:00
Xidorn Quan
e5ea6fe8a3
Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug
...
--HG--
extra : source : 237250013b141f622112c0284e0db8a65fc28c3d
2015-07-19 10:30:52 +10:00
Christoph Kerschbaumer
a324eb0764
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - document changes (r=smaug)
...
--HG--
extra : rebase_source : 10806f18d4cb891b6916f1362504459a670988f8
2015-07-10 09:14:09 -07:00
Jeff Gilbert
76a0dd8a03
No bug - Strip EOL whitespace from nsIDocument.h
2015-07-09 19:48:59 -07:00
Cameron McCormack
e32a5afe7f
Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug
2015-06-27 11:39:54 +10:00
Patrick McManus
cc04db5e46
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -04:00
Xidorn Quan
598078ac23
Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug
...
--HG--
extra : source : 6982222c120fbd6022b00aa81f3dc7fa76086b7c
2015-06-19 10:09:52 +10:00
Carsten "Tomcat" Book
325cd7219a
Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
...
--HG--
extra : rebase_source : aabdc3669df5b252c4373b9fb6049565e6560a0c
2015-06-17 16:58:57 +02:00
Patrick McManus
78c4fb4975
bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen
2015-05-06 10:09:27 -04:00
Xidorn Quan
29eb0a646b
Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
...
--HG--
extra : source : fafd0c5759b8273aa30f37f014d2d5347a72b6d2
2015-06-10 23:13:12 +12:00
Xidorn Quan
97afd6bc25
Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug
...
--HG--
extra : source : ec89a08d30b7d8bb742d94200a1efc6882dc417b
2015-06-10 23:13:12 +12:00
Nathan Froyd
bcf85166a1
Bug 1171061 - use std::bitset for deprecation and document warnings in nsDocument; r=smaug
2015-06-02 16:01:37 -04:00
Xidorn Quan
c5555b3c2d
Bug 1170328
- Mark nsIDocument::WarnOnceAbout() with const. r=smaug
...
--HG--
extra : source : 694549cb658b3df005efacba085ef87cabf97e04
2015-06-03 11:27:27 +12:00
Patrick McManus
57ade7a8a4
bug 1150136 - rel=preconnect from html parser r=hsivonen
2015-05-05 20:55:18 -04:00
Xidorn Quan
ae0095611c
Bug 1053413 part 3 - Remove fullscreen-origin-change notification, and make browser element rely on the fullscreen events. r=smaug
...
--HG--
extra : source : 5fb435684c91c57343b68ba3bf6caddb0ee0e778
2015-05-21 09:52:26 +12:00
Xidorn Quan
3116f3bf53
Bug 1157685 - Remove full-screen-api.content-only pref and its friends. r=smaug
...
--HG--
extra : source : 00be0263af62b29007d286d6d7dbac4ee4fdba01
2015-05-15 14:39:25 +12:00
Cameron McCormack
9c54cff9b7
Comment typo fix; no bug.
2015-05-13 12:25:22 +10:00