Commit Graph

483 Commits

Author SHA1 Message Date
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