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