Commit Graph

8877 Commits

Author SHA1 Message Date
Wes Kocher
2e6d1e7dfb Backed out changeset d12f758f5f36 (bug 1223647) for android csp test failures
--HG--
extra : commitid : GRTvvKDy9Ki
2015-11-11 14:27:52 -08:00
Jonas Sicking
ea6cf63b0f Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb 2015-11-10 21:16:12 -08: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
Kate McKinley
67f4155fe6 Bug 1045891 - CSP 2 child-src implementation r=ckerschb 2015-10-28 16:32:27 -07: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
Andrew McCreight
b0838418c8 Bug 1220324 - Remove old debugging code and reenable test_x-frame-options.html. r=mrbkap 2015-11-03 08:34:00 +01:00
Jorg K
151617b8ef Bug 1214377 - Hack to solve Thunderbird's need to detect style pre-wrap. r=roc 2015-10-13 13:21:00 +02: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
Masayuki Nakano
8973128bba Bug 1218032 part.4 Notify IMEContentObserver of enough safe timing to notify IME of something r=smaug 2015-11-10 11:49:05 +09:00
Masayuki Nakano
765a007510 Bug 1218032 part.1 nsContentIterator should warn if unexpected case occurs r=smaug 2015-11-10 11:49:04 +09:00
Daniel Holbert
b17285e6e8 Bug 1176968 part 3: Add support for "-webkit-device-pixel-ratio" media query, along with its min/max variants (behind a pref). r=heycam 2015-11-09 18:09:40 -08:00
Wes Kocher
8df6ddfb90 Merge m-c to inbound, a=merge
--HG--
rename : mobile/android/base/resources/drawable-hdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-hdpi/shareplane.png
rename : mobile/android/base/resources/drawable-xhdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-xhdpi/shareplane.png
rename : mobile/android/base/resources/drawable-xxhdpi/overlay_send_tab_icon.png => mobile/android/base/resources/drawable-xxhdpi/shareplane.png
extra : commitid : DZzg6KsUXKv
extra : rebase_source : 6583dc121ed84d975164d2c711721831d8aa9f38
2015-11-09 17:33:59 -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
Sotaro Ikeda
944f1c5ca2 Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice 2015-11-08 16:55:08 -08:00
Bill McCloskey
dba8372445 Backout bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-11-08 12:24:42 -08:00
Bill McCloskey
2f8ca7a3ce Bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process (r=Gijs) 2015-11-08 10:27:49 -08:00
Bill McCloskey
f2bc9495ec Bug 967873 - Fix browser_bug902350.js (r=Gijs) 2015-11-08 10:27:45 -08:00
Wes Kocher
e943bc8e33 Merge m-c to inbound a=merge
--HG--
extra : commitid : IcbfYN5aCjt
2015-11-06 15:13:35 -08:00
Wes Kocher
e23a341658 Backed out 2 changesets (bug 1207546, bug 1213154) for gij(11) bustage
Backed out changeset 771ace622de1 (bug 1207546)
Backed out changeset 786bc35f327a (bug 1213154)

--HG--
extra : commitid : Dtne0U4VRnB
2015-11-06 10:58:46 -08:00
Jan de Mooij
73b313f3b4 Bug 1125423 part 6 - Remove nsGlobalWindow::OuterObject and ObjectToOuterObjectValue. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
115d04ec63 Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke 2015-11-06 19:03:52 +01:00
Jan de Mooij
932f8cece3 Bug 1125423 part 3 - Use IsWindow/IsWindowProxy functions instead of checking for Class hooks. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
fffc37012e Bug 1125423 part 2 - Rename stopAtOuter argument to *Unwrap functions to stopAtWindowProxy. r=bz 2015-11-06 19:03:52 +01:00
Jan de Mooij
a84c33ecb0 Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke 2015-11-06 19:03:51 +01:00
Wes Kocher
f8ad8afb5a Backed out 4 changesets (bug 1045891) for b2g mochitest 7 failures
Backed out changeset c590b18c5885 (bug 1045891)
Backed out changeset 14818a2329a4 (bug 1045891)
Backed out changeset e44d41985fed (bug 1045891)
Backed out changeset 781a76befe01 (bug 1045891)

--HG--
extra : commitid : 77UlfZzjWcg
2015-11-06 09:36:49 -08:00
Andrea Marchesini
8584fec65c Bug 1207546 - Integrate WebRTC with audio channels, r=ehsan, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-11-06 16:17:39 +00:00
Kate McKinley
3b59b81c93 Bug 1045891 - CSP 2 child-src implementation. r=ckerschb 2015-10-28 16:32:27 -07:00
Christoph Kerschbaumer
a876eba5c9 Bug 1188028 - Use channel->ascynOpen2 in dom/security/nsCSPContext.cpp (r=sicking) 2015-07-27 11:57:56 -07:00
Jonathan Watt
b12d2b88dd Bug 1220822 - Rewrite the nsINode::OwnerDoc comment to not contradict itself and relate it to HTML5 terms. r=baku 2015-10-02 17:16:49 +01:00
Ben Kelly
671d5644f9 Bug 1220007 P1 Allow ConsoleReportCollectors to flush to another collector. r=bz 2015-11-02 12:04:29 -08:00
Jonathan Watt
f1deeaf5dd Bug 1220610 - Fix the nsIDocument::GetDocumentURI and nsIDocument::GetOriginalURI comments to be correct and up to date. r=baku 2015-10-01 10:12:36 +01:00
Jonathan Watt
56c5981cf3 Bug 1220604 - Remove dead code from nsGlobalWindow::SetNewDocument. r=baku 2015-09-28 12:51:14 +01:00
Nate Hughes ext:(%2C%20Valentin%20Gosu%20%3Cvalentin.gosu%40gmail.com%3E)
7e19134192 Bug 1154309 - Add New Resource Timing Fields r=bz,hurley 2015-07-24 08:49:25 -07:00
Carsten "Tomcat" Book
deb9310786 Backed out changeset 895c42544609 (bug 1045891) 2015-11-02 10:37:51 +01:00
dlee
f3324e8193 Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Kyle Machulis
b8d7a7349c Bug 1218952 - Add support for object tags to youtube telemetry tracking; r=cpeterson 2015-10-30 16:03:00 +01:00
Kate McKinley
d4da8266d4 Bug 1045891 - CSP 2 child-src implementation r=ckerschb 2015-10-28 16:32:27 -07:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Robert O'Callahan
00af2dcc78 Bug 264412. Optimize GetRenderedText. r=mats
With these changes we're slightly faster than Chrome on the non-reflowing part of
Olli's testcase.

--HG--
extra : commitid : 75liwqsBeJY
extra : rebase_source : 34ee5d1fdfbb3b9d2ef8945f78ded935debb9106
2015-10-30 19:22:33 +13:00
Robert O'Callahan
7c373233ed Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : KjCvQzulwP3
extra : rebase_source : 01aae50d1ee8304e56d3d1e21a7c65c2f9060a72
2015-10-30 18:37:03 +13:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Phil Ringnalda
ac9b0f76d1 Back out changeset 6c239220f990 (bug 1207546) on desperate last-ditch suspicion of causing Mulet bustage in webgl-capturestream-test.html?preserve 2015-10-31 15:01:09 -07:00
Andrea Marchesini
ae9778a6b2 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
2015-10-31 15:21:40 +00:00
Andrew McCreight
5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Ehsan Akhgari
e5b08c2286 Bug 1202085 - Part 6: Clear the entries in the image cache belonging to a controlled document when it gets destroyed; r=seth 2015-10-30 16:03:13 -04:00
Ehsan Akhgari
91329749b1 Bug 1202085 - Part 2: Add an optional document argument to imgICache::FindEntryProperties(); r=seth 2015-10-30 16:03:09 -04:00
Olli Pettay
7b4b8fba48 Bug 1218195, mark MutationObserver as observing in all the nested DOM mutations, r=bz
--HG--
extra : rebase_source : bcd409561ff147edffb728b08595903b3ce54408
2015-10-30 19:18:19 +02:00
Tooru Fujisawa
e9c240cbcb Bug 1219837 - Part 4: Remove use of expression closure from dom/. r=smaug
--HG--
extra : commitid : 7PIC9nuHSZh
extra : rebase_source : a59e275425589af307cb923d2ee334683be009ac
extra : amend_source : c291ae1b3bce2b4eccdb5edf75f2eb2b232a7c1a
2015-10-30 02:48:41 +09:00
Carsten "Tomcat" Book
4c0ed54e29 Backed out changeset 9093e927a247 (bug 1201997)
--HG--
extra : rebase_source : c47b13e37a7756243a68cf15555bf176c0de8600
2015-10-30 15:52:18 +01:00
sajitk
fe2a36f981 Bug 1201997 - Part 4 - Change size and offset variables to size_t.r=froydn
--HG--
extra : rebase_source : 0fd59eb6513e1af0162a9a02c6041182e556b9e7
2015-10-29 19:58:00 +01:00
Ben Kelly
e3bee41820 Bug 1215140 P9 Provide file and line number when FetchEvent.preventDefault() cancels a request. r=bz
* * *
Bug 1215140 P9 interdiff 001
2015-10-29 19:53:25 -07:00
Ben Kelly
00f7f89915 Bug 1215140 P7 Remove old service worker interception logging. r=bz 2015-10-29 19:53:25 -07:00
Ben Kelly
98d6940a9c Bug 1215140 P1 Add an nsIConsoleReportCollector interface to support navigation channel logging. r=bz 2015-10-29 19:53:25 -07:00
Seth Fowler
05c936ffd3 Bug 1207355 (Part 2) - Stop requesting decodes in nsImageLoadingContent. r=tn 2015-10-29 16:37:42 -07:00
Seth Fowler
d8821b6da6 Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-29 16:37:42 -07:00
Catalin Badea
8255b13467 Bug 1172870 - Part 2 - Enable ServiceWorkerClients::OpenWindow on e10s desktop. r=smaug 2015-10-30 01:30:57 +02:00
Phil Ringnalda
a727c1fe68 Back out 8 changesets (bug 1207355) for OS X 10.10 reftest failures in generated-content/
CLOSED TREE

Backed out changeset aafd6db2fbb4 (bug 1207355)
Backed out changeset 9dd950b837fb (bug 1207355)
Backed out changeset e941e0e106a1 (bug 1207355)
Backed out changeset ecebca101fcb (bug 1207355)
Backed out changeset 08f2017137e1 (bug 1207355)
Backed out changeset 3dc69e37c9b4 (bug 1207355)
Backed out changeset bcdf51edb121 (bug 1207355)
Backed out changeset 1d4c00dbf49a (bug 1207355)
2015-10-28 22:57:43 -07:00
Xidorn Quan
c5789b066e Bug 962249 followup - Fix the bug of Window.scroll{Max,Min}{X,Y} that they incorrectly return app units instead of css pixels. r=roc
--HG--
extra : source : 6e8a9147cab01c95c57f979c7831122c3c6cef19
2015-10-29 09:35:10 +09:00
Seth Fowler
0f6a340e58 Bug 1207355 (Part 2) - Stop requesting decodes in nsImageLoadingContent. r=tn 2015-10-28 16:40:43 -07:00
Seth Fowler
68cc239e9d Bug 1207355 (Part 1) - Stop requesting decodes in nsDocument. r=tn 2015-10-28 16:40:42 -07:00
Nicholas Nethercote
4ea9c77760 Bug 1187782 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : 127ca38615a41d92b492b73b693e0ff781f29b86
2015-10-27 15:13:04 -07:00
Nicholas Nethercote
b6011893da Bug 1187782 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : 01299d13b755c9abf6706cd8b44448e980ff431f
2015-10-26 22:22:31 -07:00
Nicholas Nethercote
d4891260a7 Bug 1187782 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : 2011a2b7432d217470da2651a9184fc76776b3f7
2015-10-26 22:22:10 -07:00
Nicholas Nethercote
499c07231c Bug 1187782 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : e731e832371a92b40b1dd2591dffae1c5a682b3b
2015-10-26 22:21:51 -07:00
Nicholas Nethercote
2e6272c4e5 Bug 1187782 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/base/ with iterators. r=khuey.
--HG--
extra : rebase_source : d051f883dc42d5f31806fb1aef46e97b147bf78e
2015-10-26 22:19:59 -07:00
Andrea Marchesini
cee356be8e Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 19:11:25 +00:00
Andrea Marchesini
419e060633 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 19:11:05 +00:00
Andrea Marchesini
b121e7da05 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 19:10:20 +00:00
Nathan Froyd
ce836868f3 Bug 1218488 - clarify buffer ownership for nsICanvasRenderingContextInternal::GetBuffer; r=Bas,baku
This patch started life as making ImageEncoder.cpp:EncodingRunnable not
use nsAutoArrayPtr, but the API effects rippled out from there.  On the
whole, I think using UniquePtr throughout has made the code clearer.
2015-10-26 14:31:12 -04:00
Carsten "Tomcat" Book
bc50966763 Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE
--HG--
rename : netwerk/protocol/websocket/PWebSocketEventListener.ipdl => netwerk/protocol/websocket/PWebSocketFrameListener.ipdl
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.cpp => netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerChild.h => netwerk/protocol/websocket/WebSocketFrameListenerChild.h
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.cpp => netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketEventListenerParent.h => netwerk/protocol/websocket/WebSocketFrameListenerParent.h
rename : netwerk/protocol/websocket/WebSocketEventService.cpp => netwerk/protocol/websocket/WebSocketFrameService.cpp
rename : netwerk/protocol/websocket/WebSocketEventService.h => netwerk/protocol/websocket/WebSocketFrameService.h
rename : netwerk/protocol/websocket/nsIWebSocketEventService.idl => netwerk/protocol/websocket/nsIWebSocketFrameService.idl
2015-10-28 14:28:59 +01:00
Carsten "Tomcat" Book
b8bc8b9405 Backed out changeset f527785e39c6 (bug 1215092) 2015-10-28 14:28:35 +01:00
Carsten "Tomcat" Book
b9f731bd8e Backed out changeset 2730cc97c6ec (bug 1215092) 2015-10-28 14:28:34 +01:00
Andrea Marchesini
17e360f5e5 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 4 - MessageAvailable event, r=michal 2015-10-28 11:42:53 +00:00
Andrea Marchesini
7a36913896 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 3 - Events, r=michal 2015-10-28 11:42:21 +00:00
Andrea Marchesini
4d8e79e969 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal
--HG--
rename : netwerk/protocol/websocket/PWebSocketFrameListener.ipdl => netwerk/protocol/websocket/PWebSocketEventListener.ipdl
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.cpp => netwerk/protocol/websocket/WebSocketEventListenerChild.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerChild.h => netwerk/protocol/websocket/WebSocketEventListenerChild.h
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.cpp => netwerk/protocol/websocket/WebSocketEventListenerParent.cpp
rename : netwerk/protocol/websocket/WebSocketFrameListenerParent.h => netwerk/protocol/websocket/WebSocketEventListenerParent.h
rename : netwerk/protocol/websocket/WebSocketFrameService.cpp => netwerk/protocol/websocket/WebSocketEventService.cpp
rename : netwerk/protocol/websocket/WebSocketFrameService.h => netwerk/protocol/websocket/WebSocketEventService.h
rename : netwerk/protocol/websocket/nsIWebSocketFrameService.idl => netwerk/protocol/websocket/nsIWebSocketEventService.idl
2015-10-28 11:41:24 +00:00
Tanvi Vyas
710233de9f Bug 1217585 - Enable browser_bug902350.js mochitest in e10s. r=mrbkap 2015-10-22 13:51:00 +02:00
Makoto Kato
1929f6c7c4 Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on dom. r=nfroyd 2015-10-28 14:29:57 +09:00
Blake Kaplan
54d6604951 Bug 1169268 - Don't crash when pasting files. r=ndeakin 2015-10-27 14:41:58 -07:00
Wes Kocher
8d99befba7 Merge m-c to inbound, a=merge
--HG--
extra : commitid : CprilDXCNVx
2015-10-27 14:15:23 -07:00
Wes Kocher
bef1f84b4d Merge b2ginbound to central, a=merge
--HG--
extra : commitid : 8BWHv45ENi2
2015-10-27 14:12:08 -07:00
Wes Kocher
94f75106e0 Merge fx-team to central, a=merge
--HG--
extra : commitid : EgSOvJNpPgi
2015-10-27 12:35:17 -07:00
Carsten "Tomcat" Book
88714ae0a0 Backed out changeset 90edb8c62dee (bug 1214293) for Valgrind test failures on a CLOSED TREE 2015-10-27 15:39:16 +01:00
Victor Porof
603fd3fe06 Bug 859042 - Show onload and DOMContentLoaded markers in the timeline, r=smaug, jsantell 2015-10-27 13:10:08 +01:00
Xidorn Quan
1a693cf130 Bug 962249 part 3 - Add Window.scrollMin{X,Y} (chrome-only) and convert most of scrollMaxX uses and part of scrollMaxY uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : a07399cae357020c4f6dd33dac16eae82882cc83
2015-10-27 13:38:02 +09:00
Xidorn Quan
9c39f97e15 Bug 962249 part 1 - Add Element.scroll{Top,Left}Min (chrome-only) and convert most of scrollLeftMax uses and part of scrollTopMax uses to combinations with the new properties. r=roc,bz
--HG--
extra : source : 06ea81fe3f64c072d100e42b76678eaa9fb7448c
2015-10-27 13:38:02 +09:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Olli Pettay
6c9a90e086 bug 120684 may have changed which .cpp files are compiled together in unified builds causing ScreenOrientation.cpp to not compile on Windows, a=bustage, CLOSED TREE 2015-10-27 20:52:58 +02:00
Olli Pettay
2e683ca304 bug 120684, add ChromeNodeList so that chrome JS can create proper NodeList objects, r=baku
--HG--
extra : rebase_source : 7a06c3b8a9b485cd86c511fa0c2b13e9bd88106c
2015-10-27 19:48:46 +02:00
Neil Deakin
a38d52b60a Bug 1214293, initialize show focus rings state properly in all child frames, r=smaug 2015-10-27 08:53:00 -04:00
Ms2ger
b7bf2ba511 Bug 1207512 - Remove the JS_IsRunning call in nsObjectLoadingContent::ScriptRequestPluginInstance; r=bholley 2015-10-27 09:18:11 +01:00
Christoph Kerschbaumer
d4eaf0fdf6 Bug 1191645 - Use channel->asycnOpen2 in dom/base/nsSyncLoadService.cpp. r=sicking 2015-10-26 14:22:59 -07:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Yoshi Huang
176a15f268 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley
From 7bb0fbba24f4f65d3fa83efe223b1431cd71fdb6 Mon Sep 17 00:00:00 2001
---
 dom/apps/tests/test_third_party_homescreen.html    |   8 +-
 .../test/test_messagemanager_assertpermission.html |   4 +-
 dom/base/test/test_messagemanager_targetchain.html |  16 +--
 ...rowserElement_AllowEmbedAppsInNestedOOIframe.js |  11 +-
 .../mochitest/browserElement_CopyPaste.js          |   9 +-
 .../browserElement_DisallowEmbedAppsInOOP.js       |   9 +-
 .../mochitest/browserElement_Proxy.js              |  10 +-
 .../browserElement_SetInputMethodActive.js         |   3 +-
 .../mochitest/browserElement_SetVisibleFrames.js   |  17 ++--
 .../mochitest/browserElement_SetVisibleFrames2.js  |  16 +--
 .../priority/test_ExpectingSystemMessage2.html     |  16 +--
 .../mochitest/priority/test_NestedFrames.html      |  16 +--
 dom/cache/test/mochitest/driver.js                 |  11 +-
 .../test/mochitest/test_cache_orphaned_body.html   |  33 +-----
 .../test/mochitest/test_cache_orphaned_cache.html  |  33 +-----
 dom/cache/test/mochitest/test_cache_restart.html   |  11 +-
 dom/cache/test/mochitest/test_cache_shrink.html    |  33 +-----
 dom/indexedDB/test/file.js                         |  12 +--
 dom/indexedDB/test/helpers.js                      |   9 +-
 dom/indexedDB/test/webapp_clearBrowserData.js      |   6 +-
 dom/inputmethod/mochitest/test_bug1043828.html     |   5 +-
 dom/inputmethod/mochitest/test_bug944397.html      |   5 +-
 .../mochitest/test_focus_blur_manage_events.html   |   5 +-
 .../mochitest/test_input_registry_events.html      |   5 +-
 .../mochitest/test_simple_manage_events.html       |   5 +-
 .../tests/test_permission_for_nested_oop_app.html  |   3 +-
 .../tests/test_permission_for_two_oop_apps.html    |   3 +-
 dom/ipc/tests/test_permission_helper.js            |  21 ++--
 .../test_permission_when_oop_app_crashes.html      |   3 +-
 dom/tv/test/mochitest/head.js                      |   5 +-
 .../test_SpecialPowersPushAppPermissions.html      |  14 ++-
 .../tests/Harness_sanity/test_bug816847.html       |   6 +-
 .../components/SpecialPowersObserver.js            |   4 +-
 .../content/SpecialPowersObserverAPI.js            |  24 +----
 testing/specialpowers/content/specialpowersAPI.js  | 111 ++++++++-------------
 35 files changed, 173 insertions(+), 329 deletions(-)
2015-10-07 14:35:43 +08:00
Carsten "Tomcat" Book
0cf91e9a15 Merge mozilla-central to b2g-inbound 2015-10-27 11:02:49 +01:00
Yoshi Huang
0f75eb4970 Backout e54c3b878993 2015-10-27 15:49:11 +08:00
Juan Gomez
ec4e358c32 Bug 1217187 - Modify navigator.hasFeature method to detect new
replaceable homescreen and add the unit test. r=ehsan
2015-10-27 13:40:41 +08:00
Juan Gomez
31872e0b2b Bug 1216207 - Modify navigator.hasFeature method to implement new
late-customization feature detection and change the test as well
r=ehsan
2015-10-27 13:39:35 +08:00
Yoshi Huang
425b3272f5 Bug 1196665 - Add originAttributes into SpecialPowers. r=bholley 2015-10-07 14:35:43 +08:00
Andrea Marchesini
2cabb2ac76 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 3 - timestamp, r=michal 2015-10-26 15:30:39 +00:00
Andrea Marchesini
08f3fd3539 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal 2015-10-26 15:30:11 +00:00
Andrea Marchesini
8ec6671244 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 1 - WindowID added into WebSocketChannel, r=michal 2015-10-26 15:29:28 +00:00
Nathan Froyd
055e2365e3 Bug 1217939 - part 2 - move nsContentUtils::GetSelectionBoundingRect to nsLayoutUtils; r=smaug
All callers of this function are in layout/base/ and it uses a lot of
things from nsLayoutUtils, so nsLayoutUtils seems like a better fit for
it.
2015-10-23 13:39:00 -04:00
Nathan Froyd
4331d7171e Bug 1217939 - part 1 - remove nsContentUtils::GetViewportInfo; r=smaug
All it was doing was forwarding to the provided document, which is an
unnecessary layer of indirection.
2015-10-23 13:21:57 -04:00
Chris Pearce
7beb9c132d Bug 1189196 - Clean up logging of navigator.requestMediaKeySystemAccess. r=jwwang 2015-10-27 14:10:51 +13:00
Chris Pearce
51df37a7c8 Bug 1189196 - Rename MediaKeySystemOptions to MediaKeySystemConfiguration and update WebIDL. r=bz 2015-10-27 14:10:51 +13:00
Carsten "Tomcat" Book
758c43af6b merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
Carsten "Tomcat" Book
a1c13d0acf merge fx-team to mozilla-central a=merge 2015-10-26 10:56:02 +01:00
Wes Kocher
2625db041f Merge m-c to b2ginbound, a=merge
--HG--
extra : commitid : IGU3ThODOFR
2015-10-23 15:52:06 -07:00
Wes Kocher
4fa57a6039 Merge inbound to central, a=merge
--HG--
extra : commitid : DZp5o9P5r4R
2015-10-23 15:37:37 -07:00
Fabrice Desré
59bf225b8b Bug 1201685 - Limit the number of indexedDB open() calls in IndexedDBHelper r=gwagner 2015-10-23 14:40:52 -07:00
Carsten "Tomcat" Book
c138c48fd1 Merge m-c to fx-team 2015-10-23 11:51:27 +02:00
Victor Porof
9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Ryan VanderMeulen
5dfded4cea Bug 729431 - Add crashtest. 2015-10-25 00:06:24 -04:00
Robert O'Callahan
0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan
b09242d6c1 Bug 264412. Implement HTMLElement.innerText. r=smaug,mats
--HG--
extra : commitid : LLiSI8usEMT
extra : rebase_source : 928b4fd451c28b57a43a873f05b7bf030ba13083
2015-10-21 10:23:17 +13:00
Wes Kocher
2fc1737838 Merge m-c to inbound, a=merge 2015-10-22 16:56:10 -07:00
Wes Kocher
5ba2dcfe5c Merge b2ginbound to central, a=merge 2015-10-22 16:50:22 -07:00
Ben Kelly
2a1f6bf379 Bug 1212904 P5 Make XHR respect channel tainting. r=ehsan r=sicking 2015-10-22 11:07:32 -07:00
Nathan Froyd
9f16f39c05 Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Tom Tromey
64050c40ce Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
--HG--
extra : rebase_source : a39ad1bdc73ac53d0f611c3b5e43327aea36ec6f
2015-10-21 08:40:00 +02:00
Sean Lin
4dce1c7f21 Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug 2015-10-21 14:01:08 +08:00
William Chen
16cbe794df Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Henry
9fe43dfb43 Bug 1180088 - Use origin-based permission check on parent side for signed packaged web app. r=kanru. 2015-10-22 05:44:00 +02:00
Masayuki Nakano
dd6ab2bd5f Bug 1215816 nsContentIterator::Init(nsIDOMRange*) should not include end node if it's an empty element and the end offset is 0 when mPre is true r=smaug 2015-10-21 23:26:20 +09:00
Cameron McCormack
235db06383 Bug 1208951 - Part 9: Implement KeyframeEffectReadOnly constructor. r=bzbarsky r=birtles 2015-10-22 19:22:38 +11:00
Tooru Fujisawa
24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Brian Birtles
5d800ef88f Bug 1194639 part 1 - Add AutoMutationBatchForAnimation; r=heycam 2015-10-22 15:16:18 +09:00
Michael Layzell
d2d7336d08 Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz 2015-10-20 15:54:15 -04:00
Michael Layzell
3a0f4a517e Bug 918771 - Part 1: Move Fragment Serialization logic into nsContentUtils::SerializeNodeToMarkup, r=bz 2015-10-20 15:54:14 -04:00
Masayuki Nakano
7f8882730a Bug 1215798 nsContentIterator::Init(nsIDOMRange*) should not skip empty start node when mPre is true r=smaug 2015-10-21 01:45:03 +09:00
Andrea Marchesini
7e6f1c0dce Bug 1127703 - "Support iteration on FormData" r=bz
--HG--
extra : rebase_source : a98ecef5346fd2936474e4056d2f99019162d13b
2015-10-20 04:06:00 +02:00
Christoph Kerschbaumer
ddb2d645e5 Bug 1194526 - Use channel->asycnOpen2 in dom/base/nsScriptLoader.cpp (r=sicking) 2015-10-19 18:33:37 -07:00
Jonas Sicking
be2deca017 Bug 1195167 part 1: Let necko handle all protocols. r=bkelly 2015-10-19 18:24:36 -07:00
Boris Zbarsky
5019244e1d Bug 1216193. Implement webkitMatchesSelector. r=khuey 2015-10-19 20:18:09 -04:00
Cameron McCormack
2f1046d287 Bug 1216043 - Rename nsStyleSheet::sheetType and make it an enum class. r=dbaron
The only substantive change here, apart from a few variables changing in
size from uint16_t to uint8_t, is FontFaceSet's use of SheetType::Unknown
(0xFF) instead of 0 for FontFaceRecords for script-created FontFaces.
2015-10-20 10:16:20 +11:00
Xidorn Quan
932d0fcec1 Bug 1216087 - Unlock pointer whenever the element is unbound from the tree. r=smaug
--HG--
extra : rebase_source : c23d4bd5ac8c90fc2bfd4dac7c9df846a4378bce
extra : source : 5afd69a459ec2840e452f16cabcd8736a1d3921b
2015-10-20 10:02:03 +11:00
Wes Kocher
4713742f00 Backed out changeset c159526f9145 (bug 1127703) for test_formSubmission.html failures 2015-10-19 16:02:06 -07:00
Bobby Holley
3f0e560af7 Bug 1216072 - Pass aCallerIsChrome in more places. r=bz 2015-10-19 13:57:01 -07:00
Jonas Sicking
1b60ff836b Bug 1182571: Followup bustage fix from merge fail. CLOSED TREE 2015-10-19 11:48:41 -07:00
Andrea Marchesini
c628603a97 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 19:23:52 +01:00
Jonas Sicking
cc10dd7ad3 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-19 11:14:54 -07:00
Wes Kocher
db78fde55b Backed out changeset 736f0981762c (bug 1127703) for build bustage 2015-10-19 10:55:41 -07:00
Andrea Marchesini
c94d30fc34 Bug 1127703 - Support iteration on FormData, r=bz 2015-10-19 16:16:42 +01:00
Andrea Marchesini
097bae44d1 Bug 1085284 - Implement URLSearchParams iterable<>, r=bz 2015-10-19 16:07:40 +01:00
Aryeh Gregor
9a6f8aa5dd Bug 801545 - Remove DocumentType.internalSubset, r=bz
The C++ method GetInternalSubset() and related apparatus remains, and is
used by the XML serializer etc.

--HG--
extra : commitid : 3IVZZkyD3HI
extra : amend_source : 477c91b1bd4bfa8c77b0bec7ea7dbf6c57667094
2015-10-19 09:53:41 +01:00
Phil Ringnalda
9aeb5db9a1 Bug 1206995 - disable test_window_define_nonconfigurable.html for release_build, since the feature it tests is disabled there, which makes the test fail
--HG--
extra : rebase_source : c1d39ea0d6a7709de4411085030d8cdbd2a137f9
2015-09-21 19:43:47 -07:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Bobby Holley
cfa69d93e9 Bug 1215398 - Hoist the IsCallerChrome call in CanMoveResizeWindows to the script-only entry points. r=bz 2015-10-16 16:35:30 -07:00
Eric Rahm
31cad9d79a Bug 1214764 - Convert NS_ENSURE to a plain return in nsDocument::IsScriptEnabled. r=bholley 2015-10-16 11:20:38 -07:00
Nathan Froyd
fe57e31ffe Bug 1212027 - part 7 - modify IPDL codegen to store sub-protocols in a hashtable rather than an array; r=jld,nical,cpearce,billm 2015-10-07 14:30:33 -04:00
Andrea Marchesini
b5a7426545 Bug 1215236 - "Remove compilation warnings in StructuredCloneHolder". r=smaug 2015-10-15 11:37:00 +02:00
Wes Kocher
c2b3d9275b Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
2578b19458 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-15 12:18:21 -07:00
Boris Zbarsky
61bc9e5c55 Bug 1214857. Store the document-is-HTML state directly in nsContentList instead of refetching from the node being matched. r=smaug 2015-10-15 15:11:59 -04:00
Aryeh Gregor
5e39e259c1 Bug 492933 - getElementsByTagName should match on localName not tagName, r=smaug
dom-level2-core test changes by Ms2ger.
2015-10-15 10:03:30 -04:00
Andrea Marchesini
c6d2d4f8dd Bug 944616 - "Blob URLs don't allow query or fragment parts". r=bz 2015-10-14 13:48:00 +02:00
Bobby Holley
8f4ce5d160 Bug 1214495 - Bonus fix. r=bz
This should have been done in bug 839867.
2015-10-14 16:23:25 -07:00
Bobby Holley
e129a7fc70 Bug 1214495 - Move CallerSubsumes checks in nsLocation into the WebIDL entry points. r=bz 2015-10-14 16:23:24 -07:00
Bobby Holley
4d5db59c95 Bug 1214491 - Remove CanCallerAccess check for XPIDL version of nsGlobalWindow::AddEventListener. r=bz 2015-10-14 16:23:23 -07:00
Bobby Holley
79e78b4bf9 Bug 1214491 - Rejigger entry points for nsGlobalWindow::Close. r=bz 2015-10-14 16:23:23 -07:00
Michael Layzell
d4beae866a Backout of bug 1207233 due to web-compat concerns 2015-10-14 16:06:35 -04:00
George Wright
e8d8cb32c6 Bug 1187404 - Allow tab to select an option from a select element in e10s r=Enn 2015-10-14 13:59:29 -04:00
Boris Zbarsky
04e8705012 Backing out changeset f6759ed53f46 (bug 799937) due to causing extension breakage. 2015-10-14 11:07:06 -04:00
Carsten "Tomcat" Book
6ffd4fc09b Merge m-c to mozilla-inbound 2015-10-14 12:47:31 +02:00
Carsten "Tomcat" Book
0ecf764867 merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00
Carsten "Tomcat" Book
b89882ad11 merge fx-team to mozilla-central a=merge 2015-10-14 12:31:33 +02:00
Andrea Marchesini
0d7595b59b Bug 1214300 - AsyncErrorReporter doesn't use JSRuntime param., r=smaug 2015-10-14 11:29:55 +01:00
Bobby Holley
f8fad054ff Bug 1214488 - Allow native callers in GetEntryGlobal. r=me 2015-10-13 22:17:33 -07:00
Nigel Babu
a2f3106ede Backed out changeset e184609e1d13 (bug 1207546) for bustage ON A CLOSED TREE
--HG--
extra : amend_source : 2ba50d75927848525041bea8ab3bbf371c72342d
2015-10-14 13:29:03 +05:30
Kan-Ru Chen
8fe3285641 Bug 1191740 - Factor out nsFrameLoader::GetNewTabContext. r=bholley 2015-10-14 10:52:07 +08:00
Steven Englehardt
c184280166 Bug 1191740 - Add originAttributes in TabContext. r=bholley 2015-10-14 10:52:06 +08:00
Bobby Holley
eb5ef6a0e8 Bug 1072150 - Crash in SubjectPrincipal if there's no active AutoJSAPI. r=bz 2015-10-12 11:03:58 -07:00
Zack Weinberg
9b82cb1584 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam
--HG--
extra : rebase_source : a8a5a27db01306d1de58974ebb4d06d29d4b72b0
2015-10-13 17:43:16 -04:00
David Rajchenbach-Teller
cbe8e23af4 Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug
--HG--
extra : rebase_source : 50d89efacee7103452218782c92a53a7cf07dd9b
2015-10-07 12:42:43 +02:00
Andrea Marchesini
94c0ba5263 Bug 1207546 - Integrate WebRTC with audio channels, r=roc
--HG--
rename : dom/base/test/test_audioNotification.html => dom/base/test/test_audioNotificationStream.html
extra : histedit_source : 194f9f7d34be735e8359d0e769dd4783d46b304c
2015-10-14 11:32:23 +05:30
Aryeh Gregor
f8cdabf861 Bug 799937 - Make createElement()'s result always in the HTML namespace (except for XUL documents); r=bz
The new expected failures in web-platform are in a test that doesn't
match the spec, which has already been synced upstream and will be
synced shortly.  For the same test in imptests, I chose to modify the
test instead, because it's easier and imptests is going to be removed.
2015-10-14 11:16:08 +05:30
M Hamdy
67d215f8de Bug 606655 - delete cookies UI option AskMeEveryTime and its related comments and tests. r=mak
--HG--
extra : rebase_source : 242a074db54395e4b285110286e7692f26b57daa
2015-10-08 09:13:00 +02:00
Aryeh Gregor
67f02040d6 Bug 1213818 - Align document.title for SVG documents with HTML spec; r=bz
This allows setting, and for getting, pays attention to only children of
the root element (instead of all descendants as in HTML).
2015-10-13 18:14:43 +03:00
Aryeh Gregor
4b6346f4e0 Bug 1213842 - :lang() should not fall back to HTTP headers if empty lang attribute is specified; r=bz 2015-10-13 14:08:30 +03:00
Andrea Marchesini
ba17d96287 Bug 1212842 - part 1 - BroadcastChannel should not remove the document from bfcache when not used, r=smaug 2015-10-13 12:04:17 +01:00
Andrew Comminos
b408fe99ef Bug 1187385 - Use -moz-appearance: none to ignore widget style padding in test_caretPositionFromPoint. r=karlt 2015-10-13 00:08:22 -07:00
Ting-Yu Chou
171c1567f6 Bug 1213719 - Back out bug 1170314 for duplicate functionality. r=smaug 2015-10-12 10:50:54 +08:00
Aryeh Gregor
48f0e3033c Bug 1213859 - Focus and blur events should not be cancelable; r=smaug 2015-10-12 20:48:49 +03:00
Aryeh Gregor
c48c61128c Bug 1213862 - Align nsString whitespace handling with web specs; r=froydnj 2015-10-12 20:47:57 +03:00
Aryeh Gregor
97bf22c73e Bug 1212867 - Node.isEqualNode() should ignore internal subsets; r=bz 2015-10-12 20:44:23 +03:00
Sean Lin
734f22b0e0 Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug
--HG--
rename : dom/presentation/PresentationSession.cpp => dom/presentation/PresentationConnection.cpp
rename : dom/presentation/PresentationSession.h => dom/presentation/PresentationConnection.h
rename : dom/webidl/PresentationSession.webidl => dom/webidl/PresentationConnection.webidl
rename : dom/webidl/PresentationSessionConnectEvent.webidl => dom/webidl/PresentationConnectionAvailableEvent.webidl
2015-10-12 10:36:31 +08:00
Hiroyuki Ikezoe
4760d74c79 Bug 1167627 - Part 1: Use mozinfo in dom/. r=mrbkap 2015-10-11 21:47:00 +02:00
Morris Tseng
a8eab58fba Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
--HG--
extra : rebase_source : cc7761567d60d652b8d0bc9cab04cf310ef100e3
2015-10-12 11:21:03 +08:00
Morris Tseng
6c0c249c5a Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 5cbf8b9f53b7d1978c6371dbdb3771f80b94a171
2015-10-12 11:21:03 +08:00
Xidorn Quan
57b9d7be94 Bug 1212299 part 1 - Forbid documents inside elements other than iframe from requesting fullscreen. r=smaug
--HG--
extra : source : b995b57bc1dd2003eeff6f568f5f22298ff81608
2015-10-12 11:24:23 +11:00
sajitk
7b928e2258 Bug 1201740 - Prevent interception if the request is a System XHR. r=bkelly 2015-10-11 18:13:09 +02:00
Ehsan Akhgari
202348d36c Bug 1213514 - Don't bother checking for third party URLs at interception time unless if the user needs it; r=jdm
The current code is wasteful for the vast majority of our users.
2015-10-10 19:05:27 -04:00
Wes Kocher
95cce1f2c9 Merge m-c to inbound, a=merge 2015-10-09 16:45:31 -07:00
Boris Zbarsky
af065c06f0 Bug 1213289 part 3. Add a way to throw a DOMException with a custom message on ErrorResult. r=bkelly 2015-10-09 16:48:10 -04:00
Boris Zbarsky
a63708d836 Bug 1212360. Split up the MozStorageChanged event into separate events for sessionstorage and localstorage. r=khuey 2015-10-09 16:48:10 -04:00
Carsten "Tomcat" Book
4457b52a0c Merge m-c to b2g-i 2015-10-09 14:41:04 +02:00
Shawn Huang
8cb7ad155e Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap 2015-10-09 18:23:20 +08:00
Xidorn Quan
f6fe1e11ba Bug 1187801 part 3 - Add iframe fullscreen flag and stop auto-rollback when this flag presents. r=smaug
--HG--
extra : source : f7801f9c5b8e65862ead640f7b07ad87a40c9345
2015-10-08 17:47:39 +11:00
Xidorn Quan
2d891027c2 Bug 1187801 part 2 - Put clearing fullscreen state on element into an independent function. r=smaug
--HG--
extra : source : d461799695d7fe5325066d4134d0a57eac407627
2015-10-08 17:47:39 +11:00
Xidorn Quan
7ea7355828 Bug 1187801 part 1 - Rewrite nsDocument::RestorePreviousFullScreenState() to unify logic of reverting element in parent document. r=smaug
--HG--
extra : source : 05122469be2b1c792d19bf2fee7abb2a9cfa9d4d
2015-10-08 17:47:39 +11:00
Ehsan Akhgari
1869e89340 Bug 1212636 - Add a better error message for the content corrupcted error caused by the Promise being passed to FetchEvent.respondWith; r=bkelly 2015-10-07 18:06:26 -04:00
Andrew McCreight
bc16e7c355 Bug 1212148 - Outline DialogValueHolder::Get() and create the variant directly. r=bz 2015-10-07 13:11:09 -07:00
Andrea Marchesini
13352c21d4 Bug 1212009 - ReadFullySerializableObjects() doesn't use the aIndex param and it can be removed, r=smaug 2015-10-07 20:32:14 +01:00
Francois Marier
5adc75d084 Bug 1208629 - Properly support data: and blob: URIs with an integrity atribute. r=ckerschb 2015-10-07 11:27:19 -07:00
Bill McCloskey
c5d5457154 Back out bug 967873 - Proxy nsDocumentViewer::PermitUnload to the child process 2015-10-07 11:15:11 -07:00
Jeff Walden
97f503201e Bug 1052139 - Make more objects on the global prototype chain have immutable [[Prototype]], when we enable enforcement of this requirement. r=bz
--HG--
extra : rebase_source : bf51eb7770db290b639653cdcbf3586f888e8727
2015-10-08 15:07:57 -07:00
Andrew McCreight
ae5fe6a2ad Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Ehsan Akhgari
e6a62c4d9d Bug 1213151 - Part 2: Use SpecialPowers.cleanUpSTSData() in a few tests; r=jdm 2015-10-09 10:56:19 -04:00
Ehsan Akhgari
fbd4c8c55b Bug 1213150 - Part 1: Add a nsContentUtils::IsNonSubresourceRequest helper; r=jdm 2015-10-09 10:52:54 -04:00
Andrew McCreight
0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Boris Zbarsky
8a61b380af Bug 1211624. document.all should be iterable, and so should be various other things that have an anonymous indexed getter. r=qdot 2015-10-07 09:31:32 -04:00
Aryeh Gregor
006ecb6285 Bug 1192855 - Check validity in advance for nsRange::InsertNode; r=hsivonen 2015-10-07 16:07:39 +03:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Eddy Bruel
41c0e5355c Bug 1178721 - Implement SuspendWorkersForWindow;r=khuey 2015-10-07 12:20:59 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Xidorn Quan
a030778467 Bug 1126230 part 6 - Add nsIDocument::GetFullscreenStack() method. r=smaug
--HG--
extra : source : fd0e6295736145ff6189b04d1ebc1948c3b5a3c3
2015-10-07 14:04:32 +11:00
Ehsan Akhgari
158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Ehsan Akhgari
c3300a106e Bug 1210302 - Part 2: Rename NS_ParseContentType to NS_ParseResponseContentType; r=mcmanus,sicking 2015-10-06 20:24:51 -04:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Jonas Sicking
1b8726e80b Bug 1211751: Remove nsIChannelEventSink-forwarding from EventSource and FetchDriver. It's never needed. r=smaug 2015-10-08 13:41:38 -07:00
Ehsan Akhgari
93ed1d9a46 Bug 1204269 - Use the worker private in order to determine the origin of the entry settings object for workers; r=smaug 2015-10-06 10:08:46 -04:00
Ben Kelly
4ef3a4d97d Bug 1210941 P5 Use LOAD_BYPASS_SERVICE_WORKER in nsObjectLoadingContent instead of ForceNoIntercept(). r=ehsan 2015-10-06 06:37:07 -07:00
Neil Deakin
8760ec0272 Bug 1206559, forward PuppetWidget::SetFocus request to the parent process, r=smaug 2015-10-06 09:14:49 -04:00
Kyle Machulis
acaa031d49 Bug 1211046 - Remove url parsing warning message for youtube embed check; r=cpeterson 2015-10-05 15:21:05 -07:00
Wes Kocher
0628e22f00 Merge m-c to inbound, a=merge CLOSED TREE 2015-10-05 13:11:26 -07:00
Wes Kocher
ab9156d415 Merge b2ginbound to central, a=merge 2015-10-05 13:09:32 -07:00
Wes Kocher
7492fb02ac Merge inbound to central, a=merge 2015-10-05 13:02:21 -07:00
Andrew McCreight
5171450b27 Bug 1197893 - Check the number of arguments for ThrowTypeError() and ThrowRangeError() at compile time. r=peterv 2015-10-05 09:38:14 -07:00
Boris Zbarsky
3f6a60d5c6 Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly
--HG--
rename : parser/htmlparser/tests/mochitest/test_bug667533.html => parser/htmlparser/tests/mochitest/test_bug1209658.html
2015-10-05 12:23:26 -04:00
Boris Zbarsky
880bb3fc42 Bug 1209658 part 1. Refactor some parts of nsContentDLF to reduce code duplication and improve readability a bit. r=bkelly 2015-10-05 12:23:25 -04:00
Wes Kocher
c1750b75c7 Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Carsten "Tomcat" Book
f11b039d32 Merge m-c to b2g-i on a CLOSED TREE 2015-10-05 13:55:18 +02:00
Boris Chiou
50975ecf3c Bug 1210265 - Add a pref toggle for copying/pasting only plain text on B2G. r=timdream
Add a new preference, clibboard.plainTextOnly.
1. On:  we only support kUnicodeMIME in SetData/GetData.
2. Off: we can support different MIME types in SetData/GetData

BTW, "copy image" is dependent on non-text/rich text support, so this
menu item is also disabled after we turn the pref off.
2015-10-02 00:26:00 +02:00
Ting-Yu Chou
2b85c7b794 Bug 1209865 - Add gecko profiler marker when mark() of User Timing API is called. r=baku
--HG--
extra : rebase_source : 7dffbb685cae7a4d94fcba18ba15766b7a602451
2015-09-30 16:53:37 +08:00
Nick Fitzgerald
ee543a3018 Bug 1209263 - Allow embedders to tell SpiderMonkey how to structured clone principals; r=bz
--HG--
extra : rebase_source : 04835c034431953344e83203e7753043461474ba
2015-10-02 16:44:00 +02:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Carsten "Tomcat" Book
ca77b70a8d merge mozilla-inbound to mozilla-central a=merge 2015-10-02 11:52:49 +02:00
Nigel Babu
a47d2e063f Backed out 9 changesets (bug 1126230) for Mulet Gij(25) and M(5) failures
Backed out changeset 8a9d8a556183 (bug 1126230)
Backed out changeset 441b55f015c2 (bug 1126230)
Backed out changeset 7bfa2a2d4e29 (bug 1126230)
Backed out changeset b55511536c65 (bug 1126230)
Backed out changeset ada76e419aac (bug 1126230)
Backed out changeset 745d659bef49 (bug 1126230)
Backed out changeset 7c303cc4c30b (bug 1126230)
Backed out changeset 8bf708acbad4 (bug 1126230)
Backed out changeset 590404aac357 (bug 1126230)
2015-10-02 13:39:20 +05:30
Nicholas Nethercote
77d38112ab Bug 1209351 (part 2) - Optimize nsTHashTable::RemoveEntry() usage in dom/. r=bz.
--HG--
extra : rebase_source : 8550f181356550b6c0e540c12f61f2d1148d2050
2015-09-24 19:05:16 -07:00
Morris Tseng
861bb61b91 Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
--HG--
extra : rebase_source : bfdf6a97f372a3a5a2ecdd4a3c216ec64ec98e84
2015-10-05 10:50:16 +08:00
Morris Tseng
0e4c914203 Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
Thanks Jon Morton [:jmorton] (jonanin@gmail.com) for polishing patches.

--HG--
extra : rebase_source : 8ee6656a9c2008482967962fed280ef78d0ff991
2015-10-05 10:50:16 +08:00
Ehsan Akhgari
8388e828b8 Bug 1166714 - Increase the test timeout to make it pass on the slow b2g emulator 2015-10-03 11:40:29 -04:00
Phil Ringnalda
23f82e924e Back out 2 changesets (bug 1052139) for mochitest-jetpack bustage
Backed out changeset 3dc503961322 (bug 1052139)
Backed out changeset 6f278bc63614 (bug 1052139)
2015-10-02 22:10:24 -07:00