Michael Layzell
0ae1d338c3
Bug 1313739 - Move TabGroup into its own file, seperate from DocGroup, r=bkelly
...
MozReview-Commit-ID: AndPWOBpkox
2016-10-31 13:40:36 -04:00
Tobias Schneider
5b2ef3c1db
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
2016-10-28 10:24:00 -04:00
Michael Layzell
c72ea0d3f1
Bug 1310778 - Move TabGroup and GetDocGroup accessors onto nsPIDOMWindow{Inner,Outer}, r=smaug
...
MozReview-Commit-ID: Hl0QVktr0Lw
2016-10-28 15:38:28 -04:00
Wes Kocher
dcffb6b66c
Backout revision 111c1227f51e (bug 1243846) for test_intersectionobservers.html failures on android a=backout CLOSED TREE
...
--HG--
extra : histedit_source : deadf3597a7fdb80b5836c4588516dfb4a06445b%2C5de29fcbccbf12173908822681f6f789186bd3bf
2016-10-27 14:16:10 -07:00
Michael Layzell
f9eea2d135
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
aa61833e3d
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
...
--HG--
extra : rebase_source : de93bbd5bdecddc2cbf30b57de0fabfe1e4806c3
2016-10-26 22:04:00 -04:00
Ben Kelly
0983850a63
Bug 1303167 P6 Rename new suspend and freeze methods to final names. r=smaug
2016-10-26 10:20:16 -07:00
Ben Kelly
bf0ca72f77
Bug 1303167 P2 Use new window suspend and freeze methods. r=smaug
...
* * *
Bug 1303167 P2 interdiff 0001 Review feedback
2016-10-26 10:20:15 -07:00
Sebastian Hengst
3110d249d5
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
e7229ba450
Bug 1243846 - Implement Intersection Observer API. r=mrbkap, r=mstange
...
--HG--
extra : rebase_source : fed18f84d17be6f8d1a6196d3a0b6c66f005fa8b
extra : histedit_source : 2d2579bba67ba6bb1857ecbf92a1ab4a21e0d81e
2016-10-12 20:15:16 -07:00
Hiroyuki Ikezoe
556f24d093
Bug 1309198 - Hold a strong ref of the element for Element::GetAnimations. r=smaug
...
MozReview-Commit-ID: JP7EbGa8zsI
2016-10-19 07:40:15 +09:00
Ehsan Akhgari
f13c011369
Bug 1310895 - Remove support for app default and manifest CSP enforcement; r=baku
2016-10-18 09:40:41 -04:00
Ehsan Akhgari
1978fee9f2
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
Carsten "Tomcat" Book
d6850a3a86
merge mozilla-inbound to mozilla-central a=merge
2016-10-17 11:19:02 +02:00
John Dai
48b937b61e
Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
...
MozReview-Commit-ID: 3gYTaRVcV0y
--HG--
rename : dom/base/CustomElementsRegistry.cpp => dom/base/CustomElementRegistry.cpp
rename : dom/base/CustomElementsRegistry.h => dom/base/CustomElementRegistry.h
rename : dom/webidl/CustomElementsRegistry.webidl => dom/webidl/CustomElementRegistry.webidl
2016-10-12 15:26:02 +08:00
Andrea Marchesini
9215b7b957
Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug
2016-10-16 08:46:10 +02:00
Dhanesh B. Sabane
a2ef7b10a8
Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
...
MozReview-Commit-ID: 96g2DBfpfX9
--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
Xidorn Quan
ea2d289c2c
Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
...
MozReview-Commit-ID: 5AXhsuvvrwe
--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Ehsan Akhgari
75d4b96af8
Bug 1306800 - Remove support for app theming; r=myk,baku
2016-10-13 13:23:03 -04:00
Cameron McCormack
c1f0ee12ba
Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
...
MozReview-Commit-ID: 6yOIKKl8npT
--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack
58c32a9088
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
--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08:00
Thomas Wisniewski
a8940b87e6
Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug
2016-10-11 12:04:59 -04:00
Boris Zbarsky
3f10f5ed57
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
b813bcffe5
Bug 1302973 - Store timelines on document; r=smaug
...
MozReview-Commit-ID: KHtAq0VgPZW
--HG--
extra : rebase_source : 7daa2a4202f489308981e9cff02e2d7f3bf92c1e
2016-10-09 22:36:56 +09:00
Andrea Marchesini
0d3521f59a
Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan
2016-10-03 10:34:14 +02:00
Carsten "Tomcat" Book
5b45193594
merge mozilla-inbound to mozilla-central a=merge
2016-09-29 11:44:58 +02:00
Cameron McCormack
75460a4e5e
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
Boris Zbarsky
6a6430cf38
Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
...
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Phil Ringnalda
40fd25db11
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
21163fba88
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
Wes Kocher
63caea8af6
Backed out 2 changesets (bug 1305580) for Windows svgr crashes a=backout CLOSED TREE
...
Backed out changeset 1124e3458403 (bug 1305580)
Backed out changeset 521286426a93 (bug 1305580)
2016-09-28 16:52:15 -07:00
Boris Zbarsky
6d5e95674f
Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
...
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
James Cheng
48efb9caad
Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
...
MozReview-Commit-ID: JboGO0w4tcE
--HG--
extra : rebase_source : abfe53f30081f74fc39c900cab48d08c7574bfec
2016-09-08 18:06:20 +08:00
Xidorn Quan
2f49a48a09
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
--HG--
extra : source : e5682242db07203b5a91810fe1e243c955310588
2016-09-26 22:03:25 +10:00
Andrea Marchesini
72d886f7a3
Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug
2016-09-20 14:03:05 +02:00
Andrea Marchesini
56c54a3930
Bug 1302987 - Rename nsLocation to mozilla::dom::Location, r=smaug
...
--HG--
rename : dom/base/nsLocation.cpp => dom/base/Location.cpp
rename : dom/base/nsLocation.h => dom/base/Location.h
2016-09-16 09:18:18 +02:00
Thomas Wisniewski
e6afa43d92
Bug 812701 - Drop the prefixed version of the Visibility API. r=bz
...
--HG--
extra : rebase_source : 2d989414b2ccbb9c712e711c8373bdca6f87fc4b
2016-09-13 09:56:14 -04:00
Nicholas Nethercote
e4eb76b618
Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
...
--HG--
extra : rebase_source : 55e83aad222825b2dd1399fa42eee6b6c894d0ee
2016-09-08 14:17:58 +10:00
Michael Layzell
c47fca1cd7
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
John Dai
3315b2b7eb
Bug 1294100 - Part 4: Support DOMString as Argument 2 of Document.createElement. r=bz
2016-09-01 18:06:33 +08:00
John Dai
84e1621068
Bug 1294100 - Part 2: Modify CheckCustomElementName be 'const nsString*' and remove the const_cast. r=bz
2016-09-01 18:08:50 +08:00
Edgar Chen
eaa3aed9dd
Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
...
MozReview-Commit-ID: 10NPmzTRogc
--HG--
extra : rebase_source : 9f4b5b79f1ef4d65a457066b079a338fd3895c40
2016-09-01 15:11:32 +08:00
Edgar Chen
67946850ab
Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
...
MozReview-Commit-ID: 9gTSFrYW7o3
--HG--
extra : rebase_source : f123f21aadaa18641ddd7fa7fa67eb27a4152f83
2016-08-30 11:48:53 +08:00
Nicholas Nethercote
b71747b2ac
Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
...
The new name makes the sense of the condition much clearer. E.g. compare:
NS_WARN_IF_FALSE(!rv.Failed());
with:
NS_WARNING_ASSERTION(!rv.Failed());
The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Nicholas Nethercote
742fc7eb48
Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
...
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:
nsAutoCString spec;
uri->GetSpec(spec);
printf("uri: %s", spec.get());
to be changed to this:
printf("uri: %s", uri->GetSpecOrDefault().get());
This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.
I will fold this into part 1 before landing.
--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Wes Kocher
08fbeaaf2e
Merge m-c to autoland, a=merge
2016-08-29 17:57:01 -07:00
Wes Kocher
ed461fdf11
Merge inbound to m-c a=merge
2016-08-29 17:40:50 -07:00
Dan Glastonbury
b194d26e61
Bug 1262053 - part1 : unblock window's media when the page was first visited. r=baku
...
MozReview-Commit-ID: 5g5cYdgC8sg
--HG--
extra : rebase_source : 5af18ff846f464b1d3d195d7dc2634e03601cfcc
2016-08-29 10:41:02 +08:00
Matteo Ferretti
c0ce371e10
Bug 1241867 - override the DPR without affecting the rendering; r=dbaron
...
- added overrideDPPX to nsIContentViewer
- made CSSStyleSheet and GlobalWindow using the overrideDPPX value
- added unit test with frame check
MozReview-Commit-ID: AOWpGs4vb9H
--HG--
extra : rebase_source : 45d9ae2c9b7aad835b5602e805ec7260c69c05b8
2016-08-25 13:15:19 +02:00
Michael Layzell
b258dfaa89
Bug 1297802 - Remove unused RefPtr<> and COMPtr<> types in dom/, r=baku
...
MozReview-Commit-ID: CLUJZdbN7sW
2016-08-29 11:40:02 -04:00
Bobby Holley
92996399e8
Bug 1292279 - Explicitly handle dirtiness in BindToTree. r=heycam
...
Doing this in SetInDoc is kind of gross, and it leads to nice symmetry with
UnbindFromTree.
2016-08-25 21:34:27 -07:00
Ehsan Akhgari
f8deb6c387
Bug 1293570 - Revert parts of bug 1003741 which were added to make selection APIs work on <input type=number>; r=baku
...
In particular we keep the frame a form control frame so that it gets the
correct CSS box sizing by the layout code.
2016-08-24 10:04:39 -04:00
Andrea Marchesini
98d219d7f4
Bug 1295945 - Improve the implementation of multipart/x-mixed-replace headers, r=smaug
2016-08-23 20:02:54 +02:00
Mats Palmgren
3e4d560e67
Bug 1293985 part 2 - Make EnumerateSubDocuments resilient to adding/removing sub-documents. r=tn
2016-08-19 19:56:20 +02:00
dimi
9f35496517
Bug 1269253 - Blank error page in iframe with insecure connection. r=smaug
...
MozReview-Commit-ID: 8WCI8cgRZIo
--HG--
extra : rebase_source : fda416da14b9d60937cd5d86976b443d92d1e0bb
2016-08-16 09:47:14 +08:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kearwood (Kip) Gilbert
434f167559
Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
...
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Kearwood (Kip) Gilbert
0fa828c884
Bug 1250244 - Part 5: Rename VRDevice to VRDisplay,r=bz
...
- In order to reduce the size of the following patches
and increase their readability, we rename VRDevice
to VRDisplay here first.
MozReview-Commit-ID: 3pv8scdIi5w
2016-04-12 17:39:28 -07:00
Kearwood (Kip) Gilbert
2c3a6a5f88
Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
...
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07:00
Kearwood (Kip) Gilbert
a900318dec
Bug 1250244 - Part 1: Remove FullScreenOptions parameter from Element.RequestFullScreen,r=bz
...
MozReview-Commit-ID: 8wmexZT5SB4
2016-04-18 12:12:38 -07:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Mark Banner
44327fb657
Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap
2016-07-30 08:48:33 +01:00
Mark Banner
9b96b9599c
Backed out changeset 82d62650cfe4 (bug 1287827) for breaking tests
2016-07-29 18:17:15 +01:00
Mark Banner
f12f4ca9c9
Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap
2016-07-29 12:00:29 +01:00
Bobby Holley
7c2695a9d0
Bug 1290214 - Remove NS_ERROR for media queries and @font-face. r=emilio
2016-07-28 17:25:46 -07:00
Bobby Holley
81084cfef0
Bug 1290214 - Remove NS_ERROR in the case where we skip checking the stylesheet service. r=emilio
2016-07-28 17:25:44 -07:00
Bobby Holley
b92154b20a
Bug 1290214 - Stop asserting when we don't have enough information to use the servo backend. r=emilio
...
In practice I'm pretty sure these cases wouldn't have a content docshell anyway.
We probably don't need more robust machinery here, since eventually we'll just
make stylo pref-based for every new prescontext regardless of type.
2016-07-28 17:25:41 -07:00
Xidorn Quan
b83b9e7406
Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
...
MozReview-Commit-ID: 3af2D9IWI1Q
--HG--
extra : source : 527777bea747fb8ab363960e41b0a1ddb26d7749
2016-07-28 17:15:21 +10:00
Xidorn Quan
31f5ebf083
Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
...
So that we can avoid unnecessary refcount changes.
MozReview-Commit-ID: 4Mk9SJTj6AS
--HG--
extra : source : c35643f76ef33b6cdce115c8de0dfae8abccd644
2016-07-28 12:00:06 +10:00
John Dai
0ff1457b76
Bug 1274505 - Remove SVG-based custom element support. r=wchen
...
--HG--
extra : rebase_source : a2caaa0fc1a49ca989dafc9e73c55ad752b83752
2016-07-26 00:35:00 -04:00
Carsten "Tomcat" Book
a3904e8a8a
Merge mozilla-central to mozilla-inbound
2016-07-25 15:59:01 +02:00
Carsten "Tomcat" Book
b9a6c687fa
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02:00
John Dai
0744abcb80
Bug 1275833 - Move CustomElementDefinition and CustomElementHashKey from nsDocument to CustomElementRegistry. r=wchen
...
--HG--
extra : rebase_source : 014bdac82e416878f845ff84c54e1fc697d92b68
2016-07-21 23:42:00 +02:00
John Dai
7f2bb4c2c9
Bug 1275833 - Add window.customElements and CustomElementsRegistry interface for custom element v1. r=smaug, wchen
...
--HG--
extra : rebase_source : 5bed500eee0d4902703e4e2159e291779ff69ab5
2016-07-24 23:38:00 +02:00
Xidorn Quan
834c029b00
Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
...
MozReview-Commit-ID: HiPkCPrQQr0
--HG--
extra : rebase_source : ce3826834065242a4e99b82d52ac65ddc205ae61
2016-07-20 14:42:08 +10:00
Boris Zbarsky
ab51033732
Bug 1288581 part 2. Stop messing with the ExpandoAndGeneration's expando in CC code, since it's now traced by the reflector proxy. r=smaug
2016-07-22 16:19:52 -04:00
Carsten "Tomcat" Book
4a64baa9d4
merge mozilla-inbound to mozilla-central a=merge
2016-07-21 16:24:36 +02:00
Jocelyn Liu
9420e6fa26
Bug 1276579: Add 'options' argument into |document.createElement[NS]()| methods and remove overloaded |createElement[NS]()| methods. r=smaug,wchen
...
MozReview-Commit-ID: FWd6g33SSiR
--HG--
extra : rebase_source : 1b62a987d66952ea420e10e8350399cd26b5511d
2016-06-06 18:43:39 +08:00
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Thomas Nguyen
d90a1c6522
Bug 1264164 - Support Referrer Policy HTTP header. r=jdm
...
MozReview-Commit-ID: GANRqgAZQ5C
2016-07-19 15:38:26 +08:00
Emilio Cobos Álvarez
1a49c35a07
Bug 1286445: stylo: Support restyles of non-pseudo content on state change. r=heycam
...
This includes, for example :hover.
Also removes the call to IsStyledByServo() in the document constructor, it's not
only unnecessary, but also we call UpdateStyleBackendType() too early.
MozReview-Commit-ID: 4YfCdmLoSxu
2016-07-16 16:22:12 -07:00
Xidorn Quan
a392f65064
Bug 1284785 part 2 - Report reason to console if a pointer lock request is denied. r=smaug
...
MozReview-Commit-ID: 9kSYxDQYGLz
--HG--
extra : rebase_source : 7577d56c1cb774fe8c556957dc3822fc33cded62
extra : source : 7c8410f8b164791d50c7369ede66d31c608e51d4
2016-07-13 10:28:28 +10:00
Xidorn Quan
5056efcb42
Bug 1284785 part 1 - Make ShouldLockPointer have internal linkage rather than being a method of nsDocument. r=smaug
...
MozReview-Commit-ID: 9dYVmUnTEgR
--HG--
extra : rebase_source : b8431cfbadf88657510e3d567c1de8b2768cce83
extra : source : 33a7da7c10be659ee5e804bd260e9eb884066567
2016-07-13 10:28:28 +10:00
Xidorn Quan
2f4c9bbf67
Bug 1285069 part 3 - Move code around to make pointer lock code together. r=smaug
...
MozReview-Commit-ID: 932txaKsLQZ
--HG--
extra : rebase_source : 3b6127baa48e2f877f9a409139059b96ebd446fd
extra : source : 2f40ef38a271a197621b3326eb8a69ed2ec0547e
2016-07-13 10:28:28 +10:00
Xidorn Quan
4bbb9f1825
Bug 1285069 part 2 - Remove nsPointerLockPermissionRequest, only keep the Allow method under a different name. r=smaug
...
We still want to keep ApplyPointerLock asynchronous so that the timing
when pointer lock takes effect is not changed by this patch.
MozReview-Commit-ID: EA8c6uzOd8F
--HG--
extra : rebase_source : 1d6355b618e67ff42c65d8088d3ccb1dca339401
extra : source : 98e099aad4b57295ffdce68a0140179d50bfd044
2016-07-13 10:28:28 +10:00
Xidorn Quan
efc0e7f9af
Bug 1285069 part 1 - Remove code around pending fullscreen request. r=smaug
...
This code is no longer needed as we are always granting pointerlock request.
MozReview-Commit-ID: 3HVo3CddqWY
--HG--
extra : rebase_source : 53e72af037007d5d490cb9cb449492437e4c4714
extra : source : ce74d9d66912b6dfbe8e1379228b742baff119c3
2016-07-13 10:28:28 +10:00
John Dai
74ce0fbcb8
Bug 1278148 - Set createDocument()'s content type based on namespace. r=smaug
2016-07-11 07:02:00 +02:00
Cameron McCormack
acd21d26c0
Bug 1285474: Decide style system backend type for documents earlier. r=bholley
...
MozReview-Commit-ID: 7A4t3957CWe
2016-07-12 00:33:57 -07:00
Emilio Cobos Álvarez
474ff66ca4
Bug 1285474: stylo: Add dirtiness-tracking hooks for Servo and convenient methods. r=bholley
...
Also, guard with asserts the access to the new shared flags.
MozReview-Commit-ID: H9UFFHRPmiu
2016-07-12 00:33:57 -07:00
Phil Ringnalda
f69792c77b
Merge m-c to m-i
2016-07-09 09:01:35 -07:00
Phil Ringnalda
bc94fc8653
Merge f-t to m-c, a=merge
2016-07-09 08:53:47 -07:00
Phil Ringnalda
816f3fa167
Merge m-i to m-c, a=merge
2016-07-09 08:51:52 -07:00
Boris Zbarsky
efc4dcf284
Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv
2016-07-09 00:19:52 -04:00
Masayuki Nakano
9b6e26f0bb
Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8
...
This patch renames classes/structs as:
nsHTMLEditor -> mozilla::HTMLEditor
nsHTMLEditor::BlobReader -> mozilla::HTMLEditor::BlobReader
SetSelectionAfterTableEdit -> mozilla::AutoSelectionSetterAfterTableEdit
nsHTMLEditor.h -> HTMLEditor.h (exposed as mozilla/editor/HTMLEditor.h)
nsHTMLAbsPosition.cpp -> HTMLAbsPositionEditor.cpp
nsHTMLAnonymousUtils.cpp -> HTMLAnonymousNodeEditor.cpp
nsHTMLDataTransfer.cpp -> HTMLEditorDataTransfer.cpp
nsHTMLEditorStyle.cpp -> HTMLStyleEditor.cpp
nsHTMLInlineTableEditor.cpp -> HTMLInlineTableEditor.cpp
nsHTMLObjectResizer.cpp -> HTMLEditorObjectResizer.cpp
nsTableEditor.cpp -> HTMLTableEditor.cpp
These new file names are clearer names which related to HTMLEditor than old names.
MozReview-Commit-ID: DTWaoFvy0DF
--HG--
rename : editor/libeditor/nsHTMLAbsPosition.cpp => editor/libeditor/HTMLAbsPositionEditor.cpp
rename : editor/libeditor/nsHTMLAnonymousUtils.cpp => editor/libeditor/HTMLAnonymousNodeEditor.cpp
rename : editor/libeditor/nsHTMLEditor.cpp => editor/libeditor/HTMLEditor.cpp
rename : editor/libeditor/nsHTMLEditor.h => editor/libeditor/HTMLEditor.h
rename : editor/libeditor/nsHTMLDataTransfer.cpp => editor/libeditor/HTMLEditorDataTransfer.cpp
rename : editor/libeditor/nsHTMLObjectResizer.cpp => editor/libeditor/HTMLEditorObjectResizer.cpp
rename : editor/libeditor/nsHTMLInlineTableEditor.cpp => editor/libeditor/HTMLInlineTableEditor.cpp
rename : editor/libeditor/nsHTMLEditorStyle.cpp => editor/libeditor/HTMLStyleEditor.cpp
rename : editor/libeditor/nsTableEditor.cpp => editor/libeditor/HTMLTableEditor.cpp
2016-07-09 11:42:33 +09:00
Xidorn Quan
dc193d9f49
Bug 1283526 part 1 - Revert behavior of allowfullscreen attribute for non-sandboxed iframe. r=smaug
...
MozReview-Commit-ID: BayA4tQBsfC
--HG--
extra : rebase_source : 17818546cd0c1ec971412346d6e32d537442dd26
2016-07-04 10:19:35 +10:00
Dale Harvey
45e036dff5
Bug 1273351 - Remove pointerlock permission requirement. r=dao
...
--HG--
rename : browser/base/content/browser-fullScreen.js => browser/base/content/browser-fullScreenAndPointerLock.js
2016-07-08 13:58:31 +01:00
John Dai
a17aa0ded0
Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug
2016-06-30 03:58:00 +02:00
John Dai
36dfd1e50c
Bug 1264323 - Remove redundant trailing spaces. r=smaug
2016-06-30 03:30:00 +02:00
Carsten "Tomcat" Book
dfb499e050
Backed out changeset 38eebb8512cf (bug 1264323)
...
--HG--
extra : rebase_source : c19de40fb3ff4e6749153accce70cf437ec0f1c9
2016-07-01 14:07:38 +02:00
Carsten "Tomcat" Book
b9b02bb935
Backed out changeset b97c6b960d85 (bug 1264323)
...
--HG--
extra : rebase_source : 9eedd023a08c315be74fa7cdc832578c4bf5b5bf
2016-07-01 14:07:37 +02:00
John Dai
529d13327c
Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug
2016-06-30 03:58:00 +02:00
John Dai
25b47e2c0a
Bug 1264323 - Remove redundant trailing spaces. r=smaug
2016-06-30 03:30:00 +02:00
Thomas Nguyen
6516ad9dae
Bug 959388 - Deliver CSP from HTTP header. r=ckerschb, r=khuey
...
MozReview-Commit-ID: 13ndERn6rrL
--HG--
extra : rebase_source : e0ec31f9d322b1385994eb7d66bd885c91d75df3
2016-06-30 12:31:59 +08:00
Carsten "Tomcat" Book
3a42c363cc
merge mozilla-inbound to mozilla-central a=merge
2016-06-30 12:33:41 +02:00
Jocelyn Liu
36d3b49b3a
Bug 1276240 - Ignore typeExtension argument if the value is null or undefined. r=smaug
...
MozReview-Commit-ID: 4ZeySrIpgFr
--HG--
extra : rebase_source : 36d230e041b01622110027e00c7b0eb1188454ed
2016-06-28 17:07:32 +08:00
Kartikaya Gupta
31b88c18e8
Bug 1282587 - Remove telemetry probe expiring in Firefox 50. r=botond
...
MozReview-Commit-ID: IOBw3kRPNQY
--HG--
extra : rebase_source : 4a32c7e317f96256ed219e49cf2346160707074e
2016-06-27 17:52:50 -04:00
Mantaroh Yoshinaga
943f1fd84b
Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
...
MozReview-Commit-ID: Kf7PzzAH9Tj
--HG--
extra : rebase_source : 29f8eb0a6f3a624ff9c5af07f558bd5522847844
2016-06-29 10:59:35 +09:00
Paul Roberts
6707fd2982
Bug 671389 - Export document sandbox flags to chrome JS. r=smaug
...
--HG--
extra : rebase_source : 91463b43748b72283644d25b56242c244cc2a6bf
2016-06-19 12:34:08 -07:00
Paul Roberts
ec18fc5ff7
Bug 671389 - Implement CSP sandbox directive. r=ckerschb r=smaug
...
--HG--
extra : rebase_source : d9c5f5868c2558a3696cd489674da6f243be11ad
2016-06-29 07:48:44 -07:00
Xidorn Quan
737139c4a7
Bug 1216049 part 2 - Remove Element::IsFullScreenAncestor() and replace its trivial callsites. r=smaug
...
MozReview-Commit-ID: F46GXziXTIR
--HG--
extra : source : 7f41b62bbdc368ae1cc8b85e24c3582868805bfc
2016-06-30 09:24:41 +10:00
Wes Kocher
cd463132d8
Backed out 8 changesets (bug 1267510) for causing unacceptably frequent failures in animation mochitests a=backout
...
Backed out changeset 2a2c42608ff0 (bug 1267510)
Backed out changeset 4cdb7f5b6f7c (bug 1267510)
Backed out changeset e89ec30077a0 (bug 1267510)
Backed out changeset 884243ce4287 (bug 1267510)
Backed out changeset 130a231c5acc (bug 1267510)
Backed out changeset 1ace442f6123 (bug 1267510)
Backed out changeset 058ad3199edb (bug 1267510)
Backed out changeset a7d18185f28d (bug 1267510)
--HG--
rename : testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html
rename : testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html
2016-06-27 11:49:06 -07:00
Mantaroh Yoshinaga
a9ead4dd43
Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
...
MozReview-Commit-ID: Kf7PzzAH9Tj
--HG--
extra : rebase_source : 1cb1ff9f06c778d55f8a4a6beedccba946a31fbc
2016-06-27 08:09:31 +09:00
Xidorn Quan
0c0d683ac3
Bug 1279613 - Apply fullscreen enabled flag to about:blank as well. r=smaug
...
MozReview-Commit-ID: JL3ZIdXpLiX
--HG--
extra : source : 10b1a71568775ba904a916c2cce603337367c582
2016-06-20 07:16:00 +10:00
Thomas Nguyen
4b7ad0e2c5
Bug 1223838 - Fix wrong policy associated with empty string. r=fkiefer,hsivonen
...
MozReview-Commit-ID: 7kFH39cegmH
2016-05-30 15:17:45 +08:00
Bob Owen
7c3321c672
Bug 1277475 Part 1: Add a chrome and XBL accessor for the sandboxed scripts flag to Document WEBIDL. r=bz
...
This also incldues changes to use the new function instead of getting and checking the sandbox flags in most places.
MozReview-Commit-ID: Cv0vJCdLH4D
2016-06-09 11:22:22 +01:00
Kannan Vijayan ext:(%2C%20Jonas%20Sicking%20%3Cjonas%40sicking.cc%3E)
8687d34336
Bug 1272099, Bug 1272101 - FlyWeb core implementation, DOM and Network changes. r=baku r=hurley
...
--HG--
extra : amend_source : 73ed6e6bccb6b39d7aafd5851bb836a46bcd4e10
2016-06-02 02:47:00 -04:00
Olli Pettay
dfb20cda68
Bug 1276477, make document update less malloc heavy, r=baku
...
--HG--
extra : rebase_source : 5cf067fb8a874c144fcf7c1f85210a944ed75878
2016-05-30 18:47:32 +03:00
Boris Zbarsky
dc120449d2
Bug 1275698. Get rid of nsScriptSecurityManager::ScriptAllowed and replace it with xpc::Scriptability::Get(obj).Allowed() for better performance and less indirection. r=khuey
2016-05-27 20:26:56 -04:00
Samael Wang
698e3512dd
Bug 1069772 - Part 1: Update document to support prerender visibility state. r=smaug
2016-05-25 16:52:24 +08:00
Carsten "Tomcat" Book
927b1a0b3a
Backed out changeset 7469725d7461 (bug 959388)
2016-05-23 11:36:12 +02:00
Thomas Nguyen
32e38271c9
Bug 959388 - Deliver CSP from HTTP header. r=ckerschb r=khuey
...
MozReview-Commit-ID: LUl5LyO94m3
--HG--
extra : rebase_source : f2ddfcbf6237b11ebb19adfabf346cf76f4a6ab8
2016-05-19 11:57:32 +08:00
Christoph Kerschbaumer
d7757bf8dd
Bug 1273364 - Trying to set a CSP on a SystemPrincipal should return NS_ERROR (r=njn)
2016-05-21 19:36:24 +02:00
Boris Zbarsky
ee97bc5aed
Bug 1267989 part 3. Make suppressing event handling on a document also block script execution for that document. r=smaug
...
Note that we do this here instead of when we suspend timeouts, because it makes
it simpler to handle situations in which a window's document changes while
things are suspended/blocked.
The nsDocumentViewer.cpp is not strictly needed, but avoids some extraneous
calls to SuppressEventHandling with a 0 suppression count.
2016-05-20 23:13:18 -04:00
Xidorn Quan
51e715f73c
Bug 1270648 part 4 - Make fullscreen enabled flag not be affected after document is loaded. r=smaug
...
MozReview-Commit-ID: L2dMAUr63qv
--HG--
extra : source : 363d7ac04cbf98fa67cad3214ac62330c2652fa8
2016-05-18 09:08:12 +10:00
Xidorn Quan
2baf1f45c4
Bug 1270648 part 3 - Make document state not affect the value of fullscreenEnabled. r=smaug
...
The function GetFullscreenError() is only used in fullscreen element
ready check and computing value of fullscreenEnabled attribute. And for
the latter case, the state of the document (visibility and subdocument
fullscreen) should not be considered as a factor per spec.
In addition, allowing chrome to enter fullscreen when the document is
invisible or already has a fullscreen subdocument would likely ruin
things, as we have assumptions elsewhere those should not happen at all.
MozReview-Commit-ID: ETSBQMQpJPv
--HG--
extra : source : aacffb72253037e0d6a89f741c0c218edc63b919
2016-05-18 09:08:12 +10:00
Trevor Saunders
1e81548029
bug 1271436 - use nsIDocShellTreeItem::GetDocument() more r=smaug
2016-05-17 18:16:07 -04:00
Jonathan Watt
bdfb04809e
Bug 1270174 - Scope SVG ID references in content inserted via Document.insertAnonymousContent() to the inserted element. r=smaug
2016-05-09 18:33:19 +01:00
Xidorn Quan
efc89967ed
Bug 1269157 - Add Document.fullscreen attribute. r=smaug
...
MozReview-Commit-ID: 7mMjGoc7cvA
--HG--
extra : source : 0a5755272461d84a6a8082ca706d10b1ece84bc6
2016-05-12 10:28:56 +10:00
Ben Tian
1d3df2ccde
Bug 1261499 - Make nsContentUtils::AddScriptRunner return void, r=khuey
2016-05-06 16:09:03 +08:00
Makoto Kato
833bf3893a
Bug 1261012 - Check whether nsIObserverService is nullptr. r=smaug
...
During shutdown, mozilla::services::GetObserverServie will return nullptr. So we should check it. Add another nullptr check
MozReview-Commit-ID: 9xBbltRatJF
--HG--
extra : rebase_source : a859de09f30eeba344c317aec4cf4ed2cce8da2b
extra : histedit_source : 325aba902eff367d046807e9be3a73ad3100ee67
2016-04-27 19:10:11 +09:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Henry Chang
b754b05d43
Bug 1251152 - Part 1: Apply the default CSP to signed content. r=ckerschb
2016-05-05 11:10:55 +08:00
Xidorn Quan
eb882bc07f
Bug 1268749 part 4 - Hide unprefixed Fullscreen API from content when disabled. r=smaug
...
MozReview-Commit-ID: KpjNFYYyCWh
--HG--
extra : rebase_source : 43eebf0398c3accbe2f901d482f9d4399bdf03e6
2016-05-02 14:26:04 +10:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Christoph Kerschbaumer
232720eac5
Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz
2016-04-26 11:48:29 +02:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ben Kelly
2464cb6262
Bug 1265771 P1 Only store active documents in the global observer list. r=bz
2016-04-24 08:11:32 -07:00
Kris Maglione
6d36833e42
Bug 1254194: Apply a content security policy to all WebExtension documents. r=gabor
...
MozReview-Commit-ID: HsFFbWdq00b
--HG--
extra : rebase_source : 07e4b6ec8c32f696d5b5987091ffc5ebde2c3061
extra : histedit_source : 20983fe6a9590d7f410276fac248c3d2f711caaa
2016-04-23 20:56:56 -07:00
Phil Ringnalda
296f3a95c3
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
ad90cd164e
Bug 1265771 P1 Only store active documents in the global observer list. r=bz
2016-04-22 00:50:13 -07:00
Ben Kelly
67cfa5a9ee
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
e07a0186e8
Bug 1265795 P1 Uncontrolled service workers when global is removed from document. r=bz
2016-04-21 16:10:40 -07:00
Brian Birtles
05276091f4
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
fb7bb15e68
Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku
2016-03-31 11:58:25 +01:00
Xidorn Quan
90aa942f6f
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
52a7f283b3
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
d59dcd41d0
Bug 1251361 - "Assertion failure: cache->PreservingWrapper()" with <marquee>, navigation, adoptNode. r=smaug.
...
Remove explicit calls to ReleaseWrapper and rely on cycle collection.
--HG--
extra : rebase_source : 3e641270347cea197034946cbb06edd3677675fd
2016-03-04 17:54:10 +01:00
Kyle Huey
b98d3ef86c
Bug 1259581: Remove MOZ_MEDIA_NAVIGATOR. r=jesup
2016-04-05 20:12:03 -07:00
Wes Kocher
953cf80ae2
Backed out changeset 54ee322b50cf (bug 1251361) for apparently causing a bunch of OSX m(bc) leaks
...
MozReview-Commit-ID: 8v0LiT3sA15
--HG--
extra : rebase_source : 9cdefc51f45a40aed71289958f89883faa757e43
2016-04-04 12:32:42 -07:00
Peter Van der Beken
cd3d6088a5
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
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Daisuke Akatsuka
ed48c0cba4
Bug 1254761 - Part 2: Removes extra whitespaces. r=birtles
...
--HG--
extra : rebase_source : 18299c47072d972e9b40c7e0f848584ac976e01e
2016-03-22 09:33:05 +09:00
Daisuke Akatsuka
c89239f3ad
Bug 1254761 - Part 1: Implement getAnimations({ subtree: true }). r=smaug
...
--HG--
extra : rebase_source : 3079ffea84919cb6b43dce8c28b256edddce4746
2016-03-22 09:33:02 +09:00
Carsten "Tomcat" Book
f298917442
merge mozilla-inbound to mozilla-central a=merge
2016-03-17 11:00:17 +01:00
Mark Capella
ab13c38790
Bug 1254096 - Update CaretPositionFromPoint() for type=number, r=ehsan
2016-03-16 16:15:17 -04:00
Christoph Kerschbaumer
39f2d53360
Bug 1122236 - CSP: Implement block-all-mixed-content (r=tanvi,kate,mrbkap)
2016-01-13 20:58:16 -08:00
Franziskus Kiefer
bf87c6c564
Bug 1252829 - CSP Telemetry. r=ckerschb, p=bsmedberg
...
MozReview-Commit-ID: CiNAxh2ZrHB
--HG--
extra : transplant_source : %B8%00%E0%83%1B%29%BDI%DE%09%CDPN%AE%7B9Tk%8B%99
2016-03-02 13:00:09 +01:00
sakshi
1af0b67296
Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj
2016-02-17 14:23:39 -05:00
Daniel Holbert
e23c4f231b
Bug 1247478: Rename FirstAdditionalAuthorSheet() to GetFirstAdditionalAuthorSheet(), since it can return null. r=heycam
2016-02-29 15:09:13 -08:00
Daniel Holbert
61ab7f2b20
Bug 1246464: Add 'const' to some stylesheet args in nsDocument methods. r=heycam
2016-02-29 13:24:25 -08:00
Franziskus Kiefer
56bdfe820a
Bug 1244116 - Telemetry for mixed content requests by plugins. r=smaug, p=ally
...
MozReview-Commit-ID: F9rOb1SdPnL
--HG--
extra : rebase_source : 0b2aa83761880fb6e5a18c3a80ac86fe5ca16923
2016-02-16 15:46:36 +01:00
Cameron McCormack
49f6905565
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
277bbf98a5
Bug 1234403 - Part 2: Implement document.getAnimations. r=birtles
2016-02-18 02:24:00 +01:00
Boris Chiou
1c9da6a517
Bug 1234403 - Part 1: Implement CSSPseudoElement.getAnimations. r=birtles
2016-02-18 02:21:00 +01:00
Cameron McCormack
3633214b94
Bug 1250379 - Create css::Loaders for specific style backend types. r=dholbert
2016-02-24 18:01:12 +11:00
Cameron McCormack
0ecd5593cc
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
7c95c39734
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
cf344838d0
Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
...
MozReview-Commit-ID: DfPI5U531ad
--HG--
extra : source : bcfb7b8155c7460b861ef3e11d92900ecb6c5029
2016-02-24 08:40:08 +08:00
Andrew McCreight
b80e656e9e
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
8e0830e21c
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
--HG--
extra : rebase_source : 4e37d4244e39b012e8c1eab989bf1c5d2ceef994
2016-02-15 23:46:49 +00:00
Xidorn Quan
7f068cc774
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.
--HG--
extra : source : 1e9ab6a7503102b5562475784510581720bd1bad
2016-02-17 08:47:11 +08:00
Xidorn Quan
775aed278a
Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
...
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Xidorn Quan
52ccd4a553
Bug 743198 part 4 - Rename LogFullScreenDenied to nsIDocument::DispatchFullscreenError, and reuse it in Element::RequestFullscreen. r=smaug
...
--HG--
extra : source : 3896197f9747aab588f6226efce4d67998619407
2016-02-17 08:47:11 +08:00
Xidorn Quan
0007f9248b
Bug 743198 part 3 - Refactor nsDocument::IsFullScreenEnabled to be static local function GetFullscreenError. r=smaug
...
--HG--
extra : source : e628336d1358c0fa5f614a27061809bc5aa08d00
2016-02-17 08:47:11 +08:00
Xidorn Quan
61f1684757
Bug 743198 part 2 - Add unprefixed Fullscreen API to Document and Element. r=smaug
...
--HG--
extra : source : aaf4d12b511ba25ba93e6135cb849a3264435f7c
2016-02-17 08:47:11 +08:00
Xidorn Quan
49647faf41
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.
--HG--
extra : source : f32a1aeb6835fd4b4c47ef3abe6b9d7366ae4f07
2016-02-17 08:47:11 +08:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Christoph Kerschbaumer
27f2dec937
Bug 1247807 - Fix Mixed Content UI when using upgrade-insecure-requests (r=bz)
2016-02-12 14:51:07 -08:00
Nicholas Nethercote
8c78eddc4e
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.
--HG--
extra : rebase_source : 2012becaa759d4330910534375b7ac2a9839fe50
2016-02-09 13:52:21 +11:00
Kyle Huey
730d44a1af
Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE
2016-02-05 12:24:54 -08:00
Kyle Huey
9d72cec3c2
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.
--HG--
extra : rebase_source : 3f0a71db0fb1dc48411aee19734446ea4f6e2e82
2016-02-05 10:12:25 -08:00
Kyle Huey
8fc93f94a2
Bug 1245306: Devirtualize RefreshCompartmentPrincipal. r=smaug
2016-02-03 13:30:45 -08:00
Kartikaya Gupta
8565e8a521
Bug 1245245 - Fix typo in error string URL. r=botond
...
--HG--
extra : commitid : GbcqwZqYZzE
2016-02-03 14:07:33 -05:00
Olli Pettay
e26a45c2dc
Bug 1245011, null check window object before testing whether speech synthesis is active, r=eeejay
...
--HG--
extra : rebase_source : b35edc480a33779a6a91be8221ece1d6a0147459
2016-02-02 19:59:44 +02:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Kyle Machulis
739327e165
Bug 1164427 - Implement elementsFromPoint; r=roc r=khuey
2016-02-01 14:33:51 -08:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Tom Schuster
4d6aaf2f25
Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug
2016-01-28 11:28:04 +01:00
Olli Pettay
baf69da299
Bug 1153322 - Implement Document.scrollingElement, r=bz
...
--HG--
extra : rebase_source : 733ede0178b80b518e488bf9768e57498080f0b2
2016-01-27 02:44:05 +02:00
Chris Peterson
c824bef9fe
Bug 1240265 - Annotate intentional switch fallthroughs in dom/. r=mrbkap
...
dom/base/Element.cpp:2920:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/Element.cpp:2935:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:6595:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7631:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsDocument.cpp:7922:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsGlobalWindow.cpp:7573:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/base/nsXMLContentSerializer.cpp:1393:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/cache/AutoUtils.cpp:487:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3808:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/html/HTMLInputElement.cpp:3836:15 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/storage/DOMStorageDBThread.cpp:224:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/workers/ScriptLoader.cpp:1994:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
--HG--
extra : rebase_source : ba9bd93b2c65e2db05b26e7b4c203dd7710516f3
2015-11-25 23:26:32 -08:00
Christoph Kerschbaumer
fecee7be59
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-14 13:21:31 -08:00
Christoph Kerschbaumer
071f422450
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-14 12:38:15 -08:00
Nigel Babu
ccbf22eae8
Backed out changeset f001a01c85d7 (bug 1224694) for browser-chrome bustage on a CLOSED TREE
...
--HG--
extra : commitid : 5BUjoFsY8bv
2016-01-14 08:04:50 +05:30
Nigel Babu
7089beabc7
Backed out changeset f51b921e1ccf (bug 1233098) for browser-chrome bustage
...
--HG--
extra : commitid : ytS8fc4lFu
2016-01-14 08:04:37 +05:30
Christoph Kerschbaumer
c42851930c
Bug 1233098 - Refactor CSP upgrade insecure requests flag within loadInfo (r=sicking)
2016-01-13 15:51:43 -08:00
Christoph Kerschbaumer
86457169b6
Bug 1224694 - Unify and clean up initialization of CSP (r=sicking)
2016-01-13 15:51:30 -08:00
Boris Zbarsky
0ea951e98c
Bug 1236258 part 2. Remove the unused mNsAware member of nsIAttribute. r=smaug
2016-01-11 13:01:31 -05:00
Ross Lovas
c58011d852
Bug 1190093 - Stop throttling frame requests for loading pages by checking Hidden(), not isShowing. r=tnikkel
2016-01-08 15:20:34 -06:00
Hiroyuki Ikezoe
df09492fe4
Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug
2016-01-06 14:21:00 -05:00
Nicholas Nethercote
f037e41391
Bug 1232852 (part 8) - Remove some unused parameters in and around layout/base/. r=roc.
...
--HG--
extra : rebase_source : e02f99c78221be0f12fe11e50110fd49f718857f
2016-01-05 16:08:17 -08:00
Nicholas Nethercote
5721b2ad2e
Bug 1232852 (part 5) - Remove some unused parameters in and around layout/base/. r=heycam.
...
--HG--
extra : rebase_source : 3f114d32650a260fe2eda847f24c2967a9d94185
2016-01-05 16:08:17 -08:00
Eitan Isaacson
d0d4c1ba6a
Bug 1230533 - Cancel speech when controlling window goes away. r=smaug
...
Don't allow bfcache when there is an active or queued utterance in the window.
2016-01-05 18:01:24 -08:00
Olli Pettay
424c4549bf
Bug 1236607, pointerlock code should null check inner window before using it, r=xidorn
...
--HG--
extra : rebase_source : a7fb6d88673ffe40c3ee0ff59b140adbcc5fd769
2016-01-05 02:11:36 +02:00
Kearwood (Kip) Gilbert
0c83ce5c05
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Bogdan Postelnicu
ec74b18936
Bug 1234554 - verify pointer validity and if valid dereference it otherwise use default value. r=jst
...
--HG--
extra : rebase_source : d5a80674e077db682fb7859fbe2b61edbb17e33c
2015-12-22 23:28:00 +01:00
Brian Birtles
98bde3e131
Bug 1232829 - Detach obsolete DocumentTimeline from refresh driver when the document is reset; r=smaug
2015-12-22 10:08:19 +09:00
Kartikaya Gupta
84dccc6676
Bug 1229052 - Add a telemetry histogram to gather data on the number of top-level pages with scroll-linked positioning effects. r=vladan
2015-12-14 14:47:28 -05: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
4e9e4989ed
Bug 1229052 - Add a telemetry histogram to gather data on the number of top-level pages with scroll-linked positioning effects. r=vladan
2015-12-14 14:47:28 -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
Christoph Kerschbaumer
9666152c0e
Bug 1223743 - CSP: Check baseChannel for CSP when loading multipart channel (r=sicking)
2015-12-14 10:06:56 -08:00
Ben Kelly
6078977989
Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan
2015-12-11 14:53:11 -05:00
Phil Ringnalda
9229dc1d27
Back out 13 changesets (bug 1226443, bug 1227015) for a variety of serviceworker web-platform-test failures
...
CLOSED TREE
Backed out changeset d518261eb3b1 (bug 1226443)
Backed out changeset a7def186c1d3 (bug 1226443)
Backed out changeset e2f21ee1cd4c (bug 1226443)
Backed out changeset 8c4aff8bbfaf (bug 1226443)
Backed out changeset 4c85bf5e9bf5 (bug 1226443)
Backed out changeset 8fbc71a2912a (bug 1227015)
Backed out changeset 00ac71165014 (bug 1227015)
Backed out changeset e261f601b14d (bug 1227015)
Backed out changeset 78896c0bcb95 (bug 1227015)
Backed out changeset 244093d57c03 (bug 1227015)
Backed out changeset 03abf4d48e38 (bug 1227015)
Backed out changeset 2090c1e30933 (bug 1227015)
Backed out changeset 84e011be4e35 (bug 1227015)
2015-12-10 18:49:48 -08:00
Ben Kelly
33b46308aa
Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan
2015-12-10 18:08:14 -05:00
Olli Pettay
c1987714e7
Bug 1229760 - CustomElement registry keeps strong reference to the unresolved elements, r=wchen
2015-12-03 18:21:04 +02:00
Ehsan Akhgari
c76c0c47b6
Use nsContentUtils::GenerateUUIDInPlace() in nsIDocument::GenerateDocumentId(), no bug
2015-12-02 21:15:44 -05:00
Ehsan Akhgari
5ac100af7e
Bug 1222464 - Part 3: Implement Clients.get(); r=jdm
2015-12-02 20:37:01 -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
Gabor Krizsanits
a0ff959566
Bug 1228542 - Resetting AuthorStyleSheets. r=bz
2015-12-01 13:54:34 +01:00
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