Christoph Kerschbaumer
fe3f1cdf0a
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-14 12:38:15 -08:00
Boris Zbarsky
cc0585ca98
Bug 1238804. Make <base> actually work in a srcdoc document. r=smaug
2016-01-13 21:36:24 -05:00
Nigel Babu
282b0d0ae0
Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
be2601f810
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-13 15:51:43 -08:00
Hiroyuki Ikezoe
190c095a55
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Kearwood (Kip) Gilbert
2773eeacb8
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Kartikaya Gupta
c660d0e969
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
3881869736
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
1c4abeb130
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
f08794455e
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
28e210dee6
Bug 1226489 - Pass only a single rule to StyleRuleChanged. r=bzbarsky
2015-11-20 14:34:12 -08:00
Cameron McCormack
654179bc68
Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron
2015-11-17 17:04:09 +11:00
Seth Fowler
8f932564dc
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
c7ee12f6aa
Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz)
2015-11-14 19:28:38 -08:00
L. David Baron
9bb3b46415
Bug 978833 patch 20 - Rev IIDs that I should have revised in Bug 978833 patch 14.
2015-11-05 20:56:56 +08:00
L. David Baron
a0369e5599
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?
2015-11-05 16:44:10 +08:00
Jonathan Watt
7ce8ce4f72
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
10d1391330
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
b5fd6acd46
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
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
Aryeh Gregor
351c69458d
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
451a17b5ee
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
f461f39c4c
Bug 1126230 part 6 - Add nsIDocument::GetFullscreenStack() method. r=smaug
2015-10-07 14:04:32 +11:00
Nigel Babu
b3962e0c30
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
64533f79a0
Bug 1126230 part 5 - Add nsIDocument::GetFullscreenStack() method. r=smaug
2015-10-02 16:34:09 +10:00
Gijs Kruitbosch
ef17d8e720
Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug
2015-09-26 14:54:29 +01:00
Masatoshi Kimura
1e5d7d8513
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
c52f81f93e
Bug 1205466, make HasApzAwareListeners check faster, r=masayuki
2015-09-17 13:16:20 +03:00
Jeff Gilbert
58eed306cd
Bug 1192467 - Formalize precondition that SetDisplayDocument must not be called with null. - r=peterv
2015-08-31 14:26:19 -07:00
Xidorn Quan
ad1c4aab22
Bug 1198563 part 1 - Encapsulate iterating fullscreen request list code. r=smaug
2015-08-27 11:21:29 +10:00
William Chen
24793a0aee
Bug 1131470 - Part 3: Implement ScreenOrientation interface. r=baku
2015-08-18 14:55:21 -07:00
Cameron McCormack
37d6d7d684
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
666c1973e1
Bug 874838 - Make CreateElem return Element. r=khuey
2015-08-13 07:50:00 -04:00
Francois Marier
0c5febeb03
Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
...
Code changes
2015-08-12 20:19:11 -07:00
Aryeh Gregor
6dc0679b1b
Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
2015-08-05 15:28:27 +03:00
Xidorn Quan
7b72a9f366
Bug 1164725 - Convert flags in nsIDocument into bit fields. r=smaug
2015-08-01 10:49:19 +10:00
Xidorn Quan
78af55b64d
Bug 1160017 part 1 - Remove fullscreen permission code from nsDocument. r=smaug
2015-07-21 20:50:20 +10:00
Boris Zbarsky
980b01eecd
Bug 909154. Remove the prefixed mozRequestAnimationFrame and its accoutrements. r=bkelly
2015-07-20 10:14:24 -04:00
Xidorn Quan
a9eeb693db
Bug 1184443 - Make async ExitFullscreen call ask the window to exit fullscreen first. r=smaug
2015-07-19 10:30:52 +10:00
Christoph Kerschbaumer
1db7f6a887
Bug 1139297 - Implement CSP upgrade-insecure-requests directive - document changes (r=smaug)
2015-07-10 09:14:09 -07:00
Jeff Gilbert
4b0ac8b3b8
No bug - Strip EOL whitespace from nsIDocument.h
2015-07-09 19:48:59 -07:00
Cameron McCormack
5040660045
Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug
2015-06-27 11:39:54 +10:00
Patrick McManus
5b5cf0d404
bug 1174152 - crossorigin attribute for link rel=preconnect r=hsivonen
2015-06-19 17:11:42 -04:00
Xidorn Quan
390e5bcb6a
Bug 1174966 part 3 - Merge FullScreenOptions and FullscreenRequest and makes the latter a single object in the whole lifetime of a request. r=smaug
2015-06-19 10:09:52 +10:00
Carsten "Tomcat" Book
707c9e1393
Backed out changeset feb7cd25aafb (bug 1174152) for mulet timeout in test_rel_preconnect.html
2015-06-17 16:58:57 +02:00
Patrick McManus
5216e64bac
bug 1174152 link rel=preconnect crossorigin=anonymous r=hsivonen
2015-05-06 10:09:27 -04:00
Xidorn Quan
bcb81d180c
Bug 1161802 part 7 - Put document into fullscreen state after window becomes fullscreen. r=smaug,dao
2015-06-10 23:13:12 +12:00
Xidorn Quan
db5fa26fde
Bug 1161802 part 4 - Move bool parameters info FullScreenOptions for clearer call sites. r=smaug
2015-06-10 23:13:12 +12:00
Nathan Froyd
247cd78d02
Bug 1171061 - use std::bitset for deprecation and document warnings in nsDocument; r=smaug
2015-06-02 16:01:37 -04:00
Xidorn Quan
9efa9ef548
Bug 1170328 - Mark nsIDocument::WarnOnceAbout() with const. r=smaug
2015-06-03 11:27:27 +12:00