Commit Graph
474 Commits
Author SHA1 Message Date
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
John Dai 1b35d89ef0 Bug 1275833 - Add window.customElements and CustomElementsRegistry interface for custom element v1. r=smaug, wchen 2016-07-24 23:38:00 +02:00
Xidorn Quan 099924b6b8 Bug 1284788 - Allow change target of pointer lock when the pointer has been locked in the document. r=smaug
MozReview-Commit-ID: HiPkCPrQQr0
2016-07-20 14:42:08 +10:00
Boris Zbarsky e527b7fb88 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 9265f02f72 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Jocelyn Liu 419a432528 Bug 1276579: Add 'options' argument into |document.createElement[NS]()| methods and remove overloaded |createElement[NS]()| methods. r=smaug,wchen
MozReview-Commit-ID: FWd6g33SSiR
2016-06-06 18:43:39 +08:00
Chris Peterson 6c0f810682 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Thomas Nguyen 80249f809a Bug 1264164 - Support Referrer Policy HTTP header. r=jdm
MozReview-Commit-ID: GANRqgAZQ5C
2016-07-19 15:38:26 +08:00
Emilio Cobos Álvarez 95dc632f01 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 8c45561487 Bug 1284785 part 2 - Report reason to console if a pointer lock request is denied. r=smaug
MozReview-Commit-ID: 9kSYxDQYGLz
2016-07-13 10:28:28 +10:00
Xidorn Quan 638a5ccef6 Bug 1284785 part 1 - Make ShouldLockPointer have internal linkage rather than being a method of nsDocument. r=smaug
MozReview-Commit-ID: 9dYVmUnTEgR
2016-07-13 10:28:28 +10:00
Xidorn Quan aeac6aa240 Bug 1285069 part 3 - Move code around to make pointer lock code together. r=smaug
MozReview-Commit-ID: 932txaKsLQZ
2016-07-13 10:28:28 +10:00
Xidorn Quan 9c598a7eda 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
2016-07-13 10:28:28 +10:00
Xidorn Quan 7248a87499 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
2016-07-13 10:28:28 +10:00
John Dai df664b600c Bug 1278148 - Set createDocument()'s content type based on namespace. r=smaug 2016-07-11 07:02:00 +02:00
Cameron McCormack 3824a27d80 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 948a479bad 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 c97ac7c10e Merge m-c to m-i 2016-07-09 09:01:35 -07:00
Phil Ringnalda 9f7a578e0a Merge f-t to m-c, a=merge 2016-07-09 08:53:47 -07:00
Phil Ringnalda c6914cec69 Merge m-i to m-c, a=merge 2016-07-09 08:51:52 -07:00
Boris Zbarsky 32ec08aef5 Bug 1275315 part 2. Use the new Realm getters in binding code. r=peterv 2016-07-09 00:19:52 -04:00
Masayuki Nakano 58f2b7d302 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
2016-07-09 11:42:33 +09:00
Xidorn Quan 26868bd866 Bug 1283526 part 1 - Revert behavior of allowfullscreen attribute for non-sandboxed iframe. r=smaug
MozReview-Commit-ID: BayA4tQBsfC
2016-07-04 10:19:35 +10:00
Dale Harvey 03907e80af Bug 1273351 - Remove pointerlock permission requirement. r=dao 2016-07-08 13:58:31 +01:00
John Dai 8b44b94da3 Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug 2016-06-30 03:58:00 +02:00
John Dai 84b864f878 Bug 1264323 - Remove redundant trailing spaces. r=smaug 2016-06-30 03:30:00 +02:00
Carsten "Tomcat" Book 3fc03cc623 Backed out changeset 38eebb8512cf (bug 1264323) 2016-07-01 14:07:38 +02:00
Carsten "Tomcat" Book f7d990c053 Backed out changeset b97c6b960d85 (bug 1264323) 2016-07-01 14:07:37 +02:00
John Dai 968d99501a Bug 1264323 - Set namespace when DOMParser.parseFromString(application/xhtml+xml). r=smaug 2016-06-30 03:58:00 +02:00
John Dai 807b843899 Bug 1264323 - Remove redundant trailing spaces. r=smaug 2016-06-30 03:30:00 +02:00
Thomas Nguyen 58a1a26905 Bug 959388 - Deliver CSP from HTTP header. r=ckerschb, r=khuey
MozReview-Commit-ID: 13ndERn6rrL
2016-06-30 12:31:59 +08:00
Carsten "Tomcat" Book 877d717533 merge mozilla-inbound to mozilla-central a=merge 2016-06-30 12:33:41 +02:00
Jocelyn Liu 4ba089ebb0 Bug 1276240 - Ignore typeExtension argument if the value is null or undefined. r=smaug
MozReview-Commit-ID: 4ZeySrIpgFr
2016-06-28 17:07:32 +08:00
Kartikaya Gupta 14d3d0f302 Bug 1282587 - Remove telemetry probe expiring in Firefox 50. r=botond
MozReview-Commit-ID: IOBw3kRPNQY
2016-06-27 17:52:50 -04:00
Mantaroh Yoshinaga a564cdda59 Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
MozReview-Commit-ID: Kf7PzzAH9Tj
2016-06-29 10:59:35 +09:00
Paul Roberts 70cc007622 Bug 671389 - Export document sandbox flags to chrome JS. r=smaug 2016-06-19 12:34:08 -07:00
Paul Roberts 2108c2d0b5 Bug 671389 - Implement CSP sandbox directive. r=ckerschb r=smaug 2016-06-29 07:48:44 -07:00
Xidorn Quan a3d1caac95 Bug 1216049 part 2 - Remove Element::IsFullScreenAncestor() and replace its trivial callsites. r=smaug
MozReview-Commit-ID: F46GXziXTIR
2016-06-30 09:24:41 +10:00