Christoph Kerschbaumer
758ca2eb80
Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz
2016-04-26 11:48:29 +02: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
Ben Kelly
fa9823a865
Bug 1265771 P1 Only store active documents in the global observer list. r=bz
2016-04-24 08:11:32 -07:00
Kris Maglione
304488f5b5
Bug 1254194: Apply a content security policy to all WebExtension documents. r=gabor
...
MozReview-Commit-ID: HsFFbWdq00b
2016-04-23 20:56:56 -07:00
Phil Ringnalda
6fa074ec92
Back out 4 changesets (bug 1265771, bug 1266857) for leaks in browser_DownloadPDFSaver.js on Windows
...
CLOSED TREE
Backed out changeset a0c85ccffafd (bug 1266857)
Backed out changeset 1cf8785bdc0c (bug 1265771)
Backed out changeset e411c3ccd7b6 (bug 1265771)
Backed out changeset a298cd2c9417 (bug 1265771)
2016-04-22 21:27:11 -07:00
Ben Kelly
823a12e211
Bug 1265771 P1 Only store active documents in the global observer list. r=bz
2016-04-22 00:50:13 -07:00
Ben Kelly
4aba0d28c2
Bug 1265795 P4 Always call nsDocument::SetScriptGlobalObject(nullptr) from nsDocument::Destroy(). r=bz
...
Currently there are certain paths in nsDocumentViewer that can call
nsDocument::Destroy(), but fail to call SetScriptGlobalObject(nullptr). This
results in the global never being cleared.
This patch refactors things so nsDocument::Destroy() always clears the global.
This ensures a more consistent document teardown since we don't rely on
external callers to get multiple method calls correct.
2016-04-21 16:10:40 -07:00
Ben Kelly
e5223d7a0c
Bug 1265795 P1 Uncontrolled service workers when global is removed from document. r=bz
2016-04-21 16:10:40 -07:00
Brian Birtles
b470f3d3f4
Bug 1245000 part 1 - Add a preference for enabling Element.animate; r=bz
...
MozReview-Commit-ID: H3HPYWeyGCL
2016-04-18 09:16:04 +09:00
Jonathan Watt
d714197cfc
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Xidorn Quan
75bab51611
Bug 1261933 - Continue unlocking pointer even if the widget has gone. r=smaug
...
MozReview-Commit-ID: 1siQhemFf9O
2016-04-06 11:43:16 +10:00
Christoph Kerschbaumer
8ffee19dd7
Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth
2016-04-11 10:58:03 +02:00
Peter Van der Beken
52321d522c
Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
...
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
2016-03-04 17:54:10 +01:00
Kyle Huey
868be4ee52
Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup
2016-04-05 20:12:03 -07:00
Wes Kocher
fbe760c236
Backed out changeset 54ee322b50cf (bug 1251361) for apparently causing a bunch of OSX m(bc) leaks
...
MozReview-Commit-ID: 8v0LiT3sA15
2016-04-04 12:32:42 -07:00
Peter Van der Beken
1972e35fe2
Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
...
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
2016-03-04 17:54:10 +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
Daisuke Akatsuka
33c8db0323
Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
2016-03-22 09:33:05 +09:00
Daisuke Akatsuka
050b3a8d65
Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
2016-03-22 09:33:02 +09:00
Carsten "Tomcat" Book
c70f5f1592
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
Mark Capella
02d6944d8a
Bug 1254096 - Update CaretPositionFromPoint() for type=number, r=ehsan
2016-03-16 16:15:17 -04:00
Christoph Kerschbaumer
c2e478fafa
Bug 1122236 - CSP: Implement block-all-mixed-content (r=tanvi,kate,mrbkap)
2016-01-13 20:58:16 -08:00
Franziskus Kiefer
3fb93d6cf2
Bug 1252829 - CSP Telemetry. r=ckerschb, p=bsmedberg
...
MozReview-Commit-ID: CiNAxh2ZrHB
2016-03-02 13:00:09 +01:00
sakshi
3771c6cf7d
Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj
2016-02-17 14:23:39 -05:00
Daniel Holbert
836101e726
Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam
2016-02-29 15:09:13 -08:00
Daniel Holbert
0501974dd4
Bug 1246464: Add 'const' to some stylesheet args in nsDocument methods. r=heycam
2016-02-29 13:24:25 -08:00
Franziskus Kiefer
7b12729768
Bug 1244116 - Telemetry for mixed content requests by plugins. r=smaug, p=ally
...
MozReview-Commit-ID: F9rOb1SdPnL
2016-02-16 15:46:36 +01:00
Cameron McCormack
985faf97fd
Bug 1250790 - Don't try to add CSSStyleSheets from the style sheet service to a ServoStyleSet. r=bholley
2016-02-26 12:51:02 +11:00
Boris Chiou
504b6306d3
Bug 1234403 - Part 2: Implement document.getAnimations. r=birtles
2016-02-18 02:24:00 +01:00
Boris Chiou
6d44338773
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01:00
Cameron McCormack
1b2002825d
Bug 1250379 - Create css::Loaders for specific style backend types. r=dholbert
2016-02-24 18:01:12 +11: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
Xidorn Quan
59468828c3
Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
...
MozReview-Commit-ID: DfPI5U531ad
2016-02-24 08:40:08 +08:00
Andrew McCreight
9f6b653800
Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug
2016-02-22 10:11:02 -08:00
Gijs Kruitbosch
528edb98b9
Bug 1220160 - part 1: add chromeonly getter for documenturi that returns the original document when on an error page, r=bz
...
MozReview-Commit-ID: KaOc0WBxcIS
2016-02-15 23:46:49 +00:00
Xidorn Quan
e70941ea20
Bug 743198 part 11 - Update locales string to the new spelling as well as unprefixed API. r=smaug
...
The main motivation of this patch is to fix the prefixed function name
used in one string. But updated string should have different a different
identifier, otherwise it might be ignored. Since we should eventually
prefer using word "fullscreen" over "full-screen", it is easier to just
change all of them together.
2016-02-17 08:47:11 +08:00
Xidorn Quan
b3af14b27f
Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
2016-02-17 08:47:11 +08:00
Xidorn Quan
fb34a8467e
Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug
2016-02-17 08:47:11 +08:00
Xidorn Quan
13735c15aa
Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug
2016-02-17 08:47:11 +08:00
Xidorn Quan
8cad72a020
Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
2016-02-17 08:47:11 +08:00
Xidorn Quan
cf95c9eb88
Bug 743198 part 1 - Drop [Throws] of document.mozFullScreenElement. r=smaug
...
This method actually never throws. IsFullScreenDoc() simply checks
whether GetFullScreenElement() returns nullptr, which means if that
method returns true, the "!el" check would never fail.
2016-02-17 08:47:11 +08:00
Aidin Gharibnavaz
9e61252906
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
Christoph Kerschbaumer
0c369253ab
Bug 1247807 - Fix Mixed Content UI when using upgrade-insecure-requests (r=bz)
2016-02-12 14:51:07 -08:00
Nicholas Nethercote
a18297615c
Bug 1246846 (part 1) - Avoid nsTHashtable::RawRemoveEntry() in dom/. r=bz.
...
This assumes that it's safe to possibly shrink the tables after the removal,
i.e. there are no surprising subtleties with how these tables are managed.
2016-02-09 13:52:21 +11:00
Kyle Huey
50f448b7f9
Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE
2016-02-05 12:24:54 -08:00
Kyle Huey
f1b7636ca9
Bug 1245950: Privately inherit from legacy interfaces nsIDOMWindow/nsIDOMWindowInternal. r=smaug
...
If you still need to get to these from C++ for some reason, you need to go through QueryInterface.
2016-02-05 10:12:25 -08:00
Kyle Huey
27ea4f01b5
Bug 1245306: Devirtualize RefreshCompartmentPrincipal. r=smaug
2016-02-03 13:30:45 -08:00
Kartikaya Gupta
1afa272b17
Bug 1245245 - Fix typo in error string URL. r=botond
2016-02-03 14:07:33 -05:00
Olli Pettay
a20d1c22a3
Bug 1245011, null check window object before testing whether speech synthesis is active, r=eeejay
2016-02-02 19:59:44 +02:00