Kirk Steuber
5c396352c6
Bug 1307604 - Add allow and deny lists for Flash Blocking r=bsmedberg,bz,francois
...
MozReview-Commit-ID: H2dgJX6Hsz7
2016-11-22 15:01:04 -08:00
Xidorn Quan
be8ec3f906
Bug 1334938 - Re-enable stylo in stylo builds. r=emilio
...
MozReview-Commit-ID: y7u7QNHYii
2017-01-30 12:09:25 +11:00
Bill McCloskey
be49fc768f
Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
...
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Mats Palmgren
7b1c2b5cc8
Bug 1323777 part 3 - Ensure that collecting telemetry on user font usage don't have unwanted side effects. r=smaug
2017-01-25 23:34:22 +02:00
Julian Seward
ee8c840e10
Bug 1232696 - Remove NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW as it causes segfaulting for GCC 6 builds (2 of 5, fixes for dom/). r=bkelly.
2017-01-24 17:10:39 +01:00
Bevis Tseng
ba2d99d8bb
Bug 1314833 - Part 1.2: Define AbstractThreadFor(TaskCategory aCategory) in Dispatcher and DispatcherTrait. r=billm
...
MozReview-Commit-ID: 2kt3EN2WyXl
2016-12-01 18:33:05 +08:00
Cameron McCormack
c570fae74a
Bug 1331326 - stylo: Shuffle some nsIDocument fields around to avoid rust-bindgen problem. r=bz
...
MozReview-Commit-ID: sYpRzC2t0E
2017-01-16 16:27:56 +08:00
Wes Kocher
737eb9ddae
Merge m-c to autoland, a=merge CLOSED TREE
...
MozReview-Commit-ID: 1X0vSt6PtFn
2017-01-12 16:20:57 -08:00
Xidorn Quan
d29e034a84
Bug 1298756 - Use uint8_t/uint16_t as underlying type for enums from webidl. r=bz
...
MozReview-Commit-ID: 3uS9s5ZrPFd
2017-01-12 12:23:37 +11:00
Tuhina
98e14ea94c
Bug 1303685: Add telemetry for CSP referrer directive. r=ckerschb,francois
2016-11-04 21:36:25 +05:30
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Cameron McCormack
a35ad172e6
Bug 1328832 - Part 1: Rename mozFlushType.h to FlushType.h. r=bzbarsky
...
MozReview-Commit-ID: 1ubwNkBEdfz
2017-01-05 14:54:02 +08:00
Bill McCloskey
a36d03f52a
Bug 1320753 - Stop using already_AddRefed for EventTargetFor (r=ehsan)
...
MozReview-Commit-ID: ECy1jlQ7qne
2016-12-23 11:48:13 -08:00
Michael Layzell
c6453a3b88
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Carsten "Tomcat" Book
d417824862
Backed out changeset 059753ec9117 (bug 1315105) for test failures in own test
2016-12-19 15:59:14 +01:00
Michael Layzell
f898aa0d8b
Bug 1315105 - Part 2: Implement <link rel=prerender> behind a pref, r=smaug
...
MozReview-Commit-ID: ARET98o1FTU
2016-12-19 15:05:31 +08:00
Emilio Cobos Álvarez
b169fed2a1
Bug 1322094: Fixes for Stylo's binding generation in master bindgen. r=heycam
...
MozReview-Commit-ID: FSp9XfwX3FJ
2016-12-05 03:39:24 +01:00
Ehsan Akhgari
7e0be11ac6
Bug 1321868 - Add an API to nsIDocument to determine whether a script is on the tracking protection list; r=bkelly
...
In order to be able to put timeouts in the correct bucket as soon as
they are scheduled, we need to be able to synchronously tell whether a
timeout is coming from a script that is on the tracking protection list.
But the URL Classifier API which we use for this task is asynchronous.
Because of this, and to avoid unnecessary IPC from the content to the
parent process every time we need to know where a script came from, we
cache this information in nsIDocument. The hash table mTrackingScripts
will have one entry per script loaded in the document which is on the
tracking protection list.
For performance reasons, we coalesce querying whether a script source
URL is on the tracking protection list with the load of the script from
the network. In most cases we'll have the response from the URL
Classifier service before the script load is finished, but on the off
chance that the load finishes first, we wait before finishing the script
load to get the response from the URL Classifier service.
2016-12-02 15:37:11 -05:00
Bill McCloskey
85fe8298e7
Bug 1320753 - Refactor for new event target idea (r=ehsan)
...
MozReview-Commit-ID: AyhemNqBedb
2016-11-30 18:01:59 -08:00
Bill McCloskey
10dff13526
Bug 1305926 - Custom event targets for Dispatcher API (r=ehsan)
...
MozReview-Commit-ID: 9FXq1BRXwku
2016-11-17 17:01:02 -08:00
Bill McCloskey
d23f8f598f
Bug 1305926 - Dispatcher API for assigning DocGroups to runnables (r=ehsan)
...
MozReview-Commit-ID: 8qO95a6z1Ut
2016-11-17 17:01:00 -08:00
Boris Zbarsky
310bfc49e5
Bug 1318117. Stop using IsCallerChrome in pointerlock API, fullscreen API, and documentURI getter. r=ehsan
2016-11-17 13:49:27 -05:00
Matt Woodrow
5ca18c1965
Bug 1315581 - Notify MediaFormatReader when the compositor gets recreated. r=jya,smaug,jw_wang
2016-11-08 15:23:12 +13:00
Frederik Braun
1f6e25e403
Bug 1312272 - Marquee event handlers to adhere CSP. r=smaug
...
MozReview-Commit-ID: 6MxGnFAIhMP
2016-11-04 22:54:59 -04:00
Tobias Schneider
0b1c8478a1
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Wes Kocher
70a23746aa
Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE
2016-10-27 14:16:10 -07:00
Michael Layzell
28edda560a
Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
...
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Tobias Schneider
5463357b52
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-26 22:04:00 -04:00
Sebastian Hengst
f355c0c113
Backed out changeset c55a20f1422b (bug 1243846) for failing modified test test_intersectionobservers.html. r=backout
2016-10-26 18:49:08 +02:00
Tobias Schneider
3a913eb17f
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-12 20:15:16 -07:00
Ehsan Akhgari
4a54efddd1
Bug 1310385 - Remove support for UndoManager; r=smaug
...
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.
We can revive this from VCS history in the future if we decide
to start working on it again. In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
John Dai
3aaae2af88
Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
...
MozReview-Commit-ID: 3gYTaRVcV0y
2016-10-12 15:26:02 +08:00
Andrea Marchesini
884f0f2753
Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug
2016-10-16 08:46:10 +02:00
Cameron McCormack
a8ce0e16c4
Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
...
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.
MozReview-Commit-ID: 994gE9tOjAn
2016-10-13 15:04:15 +08:00
Boris Zbarsky
65a99191a7
Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
...
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.
The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits. Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Brian Birtles
579a715b48
Bug 1302973 - Store timelines on document; r=smaug
...
MozReview-Commit-ID: KHtAq0VgPZW
2016-10-09 22:36:56 +09:00
Andrea Marchesini
c25c38926b
Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan
2016-10-03 10:34:14 +02:00
Cameron McCormack
cfc8335cff
Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
...
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Phil Ringnalda
dc0a674843
Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
...
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Cameron McCormack
2a3fb6ba1e
Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
...
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Kate McKinley
90c8afbeac
Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
...
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.
Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.
nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.
MozReview-Commit-ID: ES1JruCtDdX
2016-09-27 11:27:00 -04:00
Olli Pettay
d61a9893cd
Bug 1305309, backout Bug 1214805, r=backout
2016-09-27 01:03:24 +03:00
Xidorn Quan
7d6c4129ab
Bug 1304302 part 10 - Replace all uses of StyleSheetHandle. r=heycam
...
This commit is generated by the following commands with some minor
manual adjustment:
find . \( -name '*.h' -or -name '*.cpp' \) -not -path './layout/style/StyleSheet*' -exec sed -i -b \
-e '/^\(#include\|using\)/s/StyleSheetHandle/StyleSheet/g' \
-e 's/\(mozilla::\)\?StyleSheetHandle::RefPtr/RefPtr<\1StyleSheet>/g' \
-e 's/StyleSheetHandle()/nullptr/g' \
-e 's/->AsStyleSheet()//g' \
-e 's/StyleSheetHandle/StyleSheet*/g' {} +
sed -i -b 's/sheet->AsVoidPtr()/sheet.get()/' layout/style/Loader.cpp
sed -i -b 's/AsHandle()/this/' layout/style/StyleSheet.cpp
MozReview-Commit-ID: 7abdvlKHukd
2016-09-26 22:03:25 +10:00
Thomas Wisniewski
6b8aa7d187
Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug
2016-09-21 13:48:05 -04:00
Iris Hsiao
d7c0a9a2c4
Backed out changeset 6fb622c938de (bug 884693) for crashed @mozilla::dom::XMLHttpRequestMainThread
...
CLOSED TREE
2016-09-21 13:00:50 +08:00
Thomas Wisniewski
48e285527f
Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug
2016-09-19 19:36:03 -04:00
Andrea Marchesini
694032d66a
Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug
2016-09-20 14:03:05 +02:00
Andrea Marchesini
1f8c556ee5
Bug 1302987 - Rename nsLocation to mozilla::dom::Location, r=smaug
2016-09-16 09:18:18 +02:00
Thomas Wisniewski
a40610dd93
Bug 812701 - Drop the prefixed version of the Visibility API. r=bz
2016-09-13 09:56:14 -04:00
Nicholas Nethercote
8eaacb0d8b
Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
2016-09-08 14:17:58 +10:00