Andrea Marchesini
c25c38926b
Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan
2016-10-03 10:34:14 +02:00
Carsten "Tomcat" Book
63402ac422
merge mozilla-inbound to mozilla-central a=merge
2016-09-29 11:44:58 +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
Boris Zbarsky
bae70558b5
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
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
Wes Kocher
043b7da7cf
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
9023f3e85b
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
42e8029df1
Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
...
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08: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
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
Michael Layzell
f2f13378b5
Bug 1018486 - Part 1: Changes in dom/, r=baku
...
MozReview-Commit-ID: 4tCUM4KRe81
2016-09-07 10:50:35 -04:00
John Dai
fbdbcfada9
Bug 1294100 - Part 4: Support DOMString as Argument 2 of Document.createElement. r=bz
2016-09-01 18:06:33 +08:00
John Dai
1708e1cd07
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
18999f5333
Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
...
MozReview-Commit-ID: 10NPmzTRogc
2016-09-01 15:11:32 +08:00
Edgar Chen
f37acbbb74
Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
...
MozReview-Commit-ID: 9gTSFrYW7o3
2016-08-30 11:48:53 +08:00
Nicholas Nethercote
887efe04d5
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.
2016-09-01 15:01:16 +10:00
Nicholas Nethercote
62b6b0fce6
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.
2016-08-26 16:02:31 +10:00
Wes Kocher
b99cb85e83
Merge m-c to autoland, a=merge
2016-08-29 17:57:01 -07:00
Wes Kocher
98ce02eceb
Merge inbound to m-c a=merge
2016-08-29 17:40:50 -07:00
Dan Glastonbury
3a838dfd98
Bug 1262053 - part1 : unblock window's media when the page was first visited. r=baku
...
MozReview-Commit-ID: 5g5cYdgC8sg
2016-08-29 10:41:02 +08:00
Matteo Ferretti
69ce27db31
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
2016-08-25 13:15:19 +02:00
Michael Layzell
5b51c96616
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
fbf5ab3289
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
c8d154be84
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
80fb7804f1
Bug 1295945 - Improve the implementation of multipart/x-mixed-replace headers, r=smaug
2016-08-23 20:02:54 +02:00
Mats Palmgren
18f78162b0
Bug 1293985 part 2 - Make EnumerateSubDocuments resilient to adding/removing sub-documents. r=tn
2016-08-19 19:56:20 +02:00
dimi
9ead6fe5b0
Bug 1269253 - Blank error page in iframe with insecure connection. r=smaug
...
MozReview-Commit-ID: 8WCI8cgRZIo
2016-08-16 09:47:14 +08:00
Igor
9c81c3c1ee
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
972b8460e2
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kearwood (Kip) Gilbert
429c0c2603
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
bbfa14d4ea
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
f9fd286412
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
63dd60be74
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
1f65390cc9
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.
2016-08-08 12:18:10 +10:00
Mark Banner
36e97e94e0
Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap
2016-07-30 08:48:33 +01:00
Mark Banner
b1c59538e6
Backed out changeset 82d62650cfe4 (bug 1287827) for breaking tests
2016-07-29 18:17:15 +01:00
Mark Banner
a085252939
Bug 1287827 - Part 4. Remove the special-case Loop CSP setting. r=mrbkap
2016-07-29 12:00:29 +01:00
Bobby Holley
96fa967f15
Bug 1290214 - Remove NS_ERROR for media queries and @font-face. r=emilio
2016-07-28 17:25:46 -07:00
Bobby Holley
b11c5d7a76
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
ef1eb7ee13
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
fc4359c93c
Bug 991899 part 1 - Add unprefixed API for PointerLock. r=smaug
...
MozReview-Commit-ID: 3af2D9IWI1Q
2016-07-28 17:15:21 +10:00
Xidorn Quan
4839378866
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
2016-07-28 12:00:06 +10:00
John Dai
7f28ffbef3
Bug 1274505 - Remove SVG-based custom element support. r=wchen
2016-07-26 00:35:00 -04:00
Carsten "Tomcat" Book
552a86d41e
Merge mozilla-central to mozilla-inbound
2016-07-25 15:59:01 +02:00
Carsten "Tomcat" Book
19af329f0e
merge mozilla-inbound to mozilla-central a=merge
2016-07-25 15:50:41 +02:00
John Dai
5512cd4543
Bug 1275833 - Move CustomElementDefinition and CustomElementHashKey from nsDocument to CustomElementRegistry. r=wchen
2016-07-21 23:42:00 +02:00