Commit Graph

11055 Commits

Author SHA1 Message Date
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu
65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu
ae0295a290 Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
MozReview-Commit-ID: FGjPRf0g3Yt

--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu
aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu
4df235170d Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
MozReview-Commit-ID: CST7fV4h20h

--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu
b43be84495 Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
MozReview-Commit-ID: ysMKgcL3YQ

--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Carsten "Tomcat" Book
8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Thomas Nguyen
b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Carsten "Tomcat" Book
c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Ben Kelly
4332e670f2 Bug 1316837 P1 Only allow suspend/resume/freeze/thaw on current inner windows. r=smaug 2016-11-14 12:51:43 -08:00
Michelangelo De Simone
84c6b489b3 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3

--HG--
extra : rebase_source : 647c6531521c7317144c7bc436753be8c57f1327
2016-11-10 15:39:45 -08:00
Daosheng Mu
7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Gerald Squelart
0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Carsten "Tomcat" Book
06289a8493 Merge mozilla-central to autoland 2016-11-10 17:11:00 +01:00
Carsten "Tomcat" Book
4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Joel Maher
f0a52061b9 Bug 1316130 - remove items from storage when we are finished with them. r=baku
MozReview-Commit-ID: LviUGfMwbSV

--HG--
extra : rebase_source : 0e14b9bc7249591c532b8647b63fc8be977bdeec
2016-11-08 16:36:46 -05:00
Phil Ringnalda
e7fdca7c8d Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures
Backed out changeset adfcc194af1c (bug 1303113)
Backed out changeset 085035586d2b (bug 1303113)
Backed out changeset 81f3bb541c86 (bug 1301340)
Backed out changeset 05c42cf92851 (bug 1301340)
Backed out changeset cb45e90f6596 (bug 1301340)
Backed out changeset f54a717c6fc6 (bug 1301340)

MozReview-Commit-ID: BkwhFJNtF7G

--HG--
extra : rebase_source : cc47ef8587f08b12b53406efee1d5b915d3c833a
2016-11-09 19:11:12 -08:00
Carsten "Tomcat" Book
846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Joel Maher
e897b35591 Bug 1316114 - reset sjs file at the end of the test case. r=jmaher
MozReview-Commit-ID: FKm93zKuFe1

--HG--
extra : rebase_source : d6ae819e3ba5df555dfedb205d6d6e37538300f0
2016-11-09 16:18:08 -05:00
Wes Kocher
0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher
008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Kris Maglione
d31b2a7bb6 Bug 1315233: Add test for postMessage from system principal to window with non-default originAttributes. r=baku
MozReview-Commit-ID: 2rIiSghlvEA

--HG--
extra : rebase_source : dc0ce2e698f79d7a723b7e55ca88a6d8ae5971fb
2016-11-07 11:40:59 -08:00
Brad Werth
9806cee2f8 Bug 1314080 Part 5: Adds a mochitest to exercise getClientRectsAndTexts. r=smaug
MozReview-Commit-ID: IoSXK9vxPcn

--HG--
extra : rebase_source : 2b740bf3a1527887dbf458dc553ab65156e979a2
2016-11-03 11:54:34 -07:00
Christoph Kerschbaumer
f2776f1b8d Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz 2016-11-08 07:23:12 +01:00
Phil Ringnalda
592b02e148 Merge m-c to m-i
MozReview-Commit-ID: 8cFOopE3aHd
2016-11-07 20:40:30 -08:00
Phil Ringnalda
2c7a3afd66 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
Phil Ringnalda
0b5f008629 Merge autoland to m-c, a=merge
MozReview-Commit-ID: CjyRb7vVnBV
2016-11-07 20:37:27 -08:00
Matt Woodrow
9775890c70 Bug 1315581 - Notify MediaFormatReader when the compositor gets recreated. r=jya,smaug,jw_wang 2016-11-08 15:23:12 +13:00
Ben Kelly
134bb58051 Bug 1315796 Don't deref nullptr docshell in TabGroupOuter() validation code. r=smaug 2016-11-07 14:22:12 -08:00
Andrea Marchesini
a467e08b38 Bug 1315173 - Make nsIStringInputStream a builtinclass, r=valentin, r=njn 2016-11-07 08:45:42 +01:00
Ben Kelly
fff7097f0f Bug 1300659 P5 Suspend a window if its main thread TaskQueue falls to far behind. r=smaug 2016-11-07 12:30:18 -08:00
Ben Kelly
595fb0d20b Bug 1300659 P3 Make setTimeout() and setInterval() use the TabGroup ThrottledEventQueue. r=smaug 2016-11-07 12:30:17 -08:00
Ben Kelly
18e9d9bbcc Bug 1300659 P2 Expose a ThrottledEventQueue on TabGroup and nsPIDOMWindow. r=smaug 2016-11-07 12:30:17 -08:00
Kris Maglione
61eb2eb3ed Bug 1315233: Allow window.postMessage from system principal with mismatched origin attributes. r=baku
MozReview-Commit-ID: 1QlSjnrhlrG

--HG--
extra : rebase_source : 92d9487503069467178e016dbca4fc30e35ca9c0
2016-11-05 16:11:54 -07:00
Brad Werth
175fc88729 Bug 1314080 Part 4: Implement the new text retrieval behavior. r=smaug
MozReview-Commit-ID: 7j5BjruBNb9

--HG--
extra : rebase_source : a5649d5552a0ee9f1a9bc5e07cac2ca12610d5a1
2016-11-02 16:39:43 -07:00
Brad Werth
112882e6c5 Bug 1314080 Part 3: Add a new ChromeOnly DOM method and wire it to CollectClientRectsAndText. r=smaug
MozReview-Commit-ID: GRM87Pi3g4G

--HG--
extra : rebase_source : e18a1740203cf32be2000a0f6214f4c34a71cd7e
2016-11-02 13:31:06 -07:00
Brad Werth
8046b08b3f Bug 1314080 Part 2: Expand GetPartialTextRect with a new text collecting parameter. r=smaug
MozReview-Commit-ID: 6eEDFFwKh0c

--HG--
extra : rebase_source : eaecfa5db80dde81de2b57bbbb91dcdf603d8480
2016-11-02 12:07:49 -07:00
Brad Werth
1e29a9cf1c Bug 1314080 Part 1: Rename CollectClientRects method and add a new parameter for collecting text. r=smaug
MozReview-Commit-ID: KQPky6Fh8sG

--HG--
extra : rebase_source : 33bce65c1752aeb7a2225a981f2dadf7e2ce5916
2016-11-02 13:49:43 -07:00
Nicholas Nethercote
3dcb97c78c Bug 1314827 (attempt 2) - gtestify dom/base/test/*.cpp. r=baku.
--HG--
rename : dom/base/test/TestNativeXMLHttpRequest.cpp => dom/base/test/gtest/TestNativeXMLHttpRequest.cpp
rename : dom/base/test/TestPlainTextSerializer.cpp => dom/base/test/gtest/TestPlainTextSerializer.cpp
2016-11-04 14:36:23 +11:00
George Wright
51a59d1d02 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
Xidorn Quan
6fc5f92154 Bug 1294299 - Followup: Serialize style attribute for Element.getAttribute. r=heycam
MozReview-Commit-ID: DBDDpqV9eUM

--HG--
extra : rebase_source : 35498bf3202fb98863b5c44967ea28841ddf3f6c
2016-11-07 15:28:19 +11:00
Andrea Marchesini
f8cf3b6565 Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 3 - Console API in worklet, r=smaug 2016-11-06 09:54:52 +01:00
Andrea Marchesini
8524257019 Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 2 - WorkletGlobalScope, r=smaug 2016-11-06 09:54:29 +01:00
Andrea Marchesini
31cddcde1d Bug 1290021 - Implement a prototype version of Houdini "Worklets Level 1" spec - part 1 - WebIDL interface, r=smaug 2016-11-06 09:53:34 +01:00
Phil Ringnalda
a7bc94158c Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD

--HG--
rename : xpcom/tests/TestAutoRef.cpp => xpcom/tests/gtest/TestAutoRef.cpp
rename : xpcom/tests/TestCOMArray.cpp => xpcom/tests/gtest/TestCOMArray.cpp
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/gtest/TestCOMPtr.cpp
rename : xpcom/tests/TestCOMPtrEq.cpp => xpcom/tests/gtest/TestCOMPtrEq.cpp
rename : xpcom/tests/TestFile.cpp => xpcom/tests/gtest/TestFile.cpp
rename : xpcom/tests/TestHashtables.cpp => xpcom/tests/gtest/TestHashtables.cpp
rename : xpcom/tests/TestID.cpp => xpcom/tests/gtest/TestID.cpp
2016-11-05 13:36:25 -07:00
Tim Huang
0a787f4951 Bug 1304219 - Part 3: Update the speculativeConnect() to speculativeConnect2() for DOM. This will make rel=preconnect using nodePrincipal to make connection. r=hsivonen
--HG--
extra : rebase_source : 98c703987812ac21ff37a6533c86179f8b8c770b
extra : histedit_source : f48fa4f9714195a5f0e35722655c08e93d326465
2016-10-24 17:42:43 +08:00
Frederik Braun
61b919525e Bug 1312272 - Marquee event handlers to adhere CSP. r=smaug
MozReview-Commit-ID: 6MxGnFAIhMP

--HG--
extra : histedit_source : 592bae3f50983d107169811411ab444d5efa3f22
2016-11-04 22:54:59 -04:00
Wes Kocher
db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Michael Layzell
d53091c307 Bug 1314792 - Extract process changing logic into nsContentUtils::GetDocShellProcessLock, r=bkelly
MozReview-Commit-ID: FI0pIvHPN0h
2016-11-04 13:40:55 -04:00
Jon Coppeard
37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00