Commit Graph

3893 Commits

Author SHA1 Message Date
Phil Ringnalda
8f3fc80e6a Merge m-c to autoland 2016-10-31 18:46:45 -07:00
Phil Ringnalda
56dcb2694d Merge m-i to m-c, a=merge
MozReview-Commit-ID: J2Mx0f21eBE
2016-10-31 18:35:14 -07:00
Michael Layzell
209fba3a7f Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Michelangelo De Simone
8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone
6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Carsten "Tomcat" Book
65715bdbc7 Merge mozilla-central to autoland 2016-10-31 16:59:30 +01:00
David Anderson
fb068517da Refactor TelemetryHistogram to support multiple child process types. (bug 1304494 part 2, r=gfritzsche) 2016-10-30 22:35:57 -07:00
Valentin Gosu
6f5671acdd Bug 1307467 - Remove code that preopens and sends application.zip fd (bug 835698) r=bagder,baku
MozReview-Commit-ID: 5nER54Dq3eI

--HG--
extra : rebase_source : b37998bcaa17741dd8dd4d5d547e39d6650359be
2016-10-21 00:09:07 +02:00
Andrea Marchesini
c5001c6fb5 Bug 1313901 - Remove some duplicated code in nsFrameLoader, r=qdot 2016-10-31 19:03:12 +01:00
Bill McCloskey
70fdae2ea3 Bug 1311862 - Mark ScreenRefresh as inside_cpow (r=mrbkap) 2016-10-31 10:58:17 -07:00
Andrea Marchesini
9336676e49 Bug 1313902 - IPCTabContext should not have manual de/serialization of OriginAttributes, r=qdot 2016-10-31 18:49:29 +01:00
Andreas Farre
3aecf57375 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 6abd41c2de96b39004f1b2c3c740e81de570970c
2016-08-22 14:52:45 +02:00
Sebastian Hengst
f77ae8f5fe Backed out changeset bfee38f564ed (bug 1312960) 2016-10-29 13:45:14 +02:00
Bill McCloskey
72b96f975e Bug 1312960 - Fix test_child_docshell.html (r=ochameau) 2016-10-28 20:12:03 -07:00
Andrea Marchesini
a39665a2a2 Bug 1312817 - support {window,worker}.postMessage() of WebAssembly.Module, r=qdot, r=luke 2016-10-28 14:44:04 +02:00
Carsten "Tomcat" Book
fa86fa4b7f Backed out changeset 19e79becc540 (bug 1312817) for failures in own test on android 2016-10-28 12:14:30 +02:00
Andrea Marchesini
937298e1fb Bug 1312817 - support {window,worker}.postMessage() of WebAssembly.Module, r=qdot, r=luke 2016-10-27 20:50:23 +02:00
Phil Ringnalda
b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Carsten "Tomcat" Book
a15991721b Merge mozilla-central to autoland 2016-10-27 16:50:00 +02:00
Jon Coppeard
4f90a79a0c Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Phil Ringnalda
76f5d03bb6 Merge m-c to m-i
MozReview-Commit-ID: LUDPZ08eWBo
2016-10-26 18:58:54 -07:00
Matt Woodrow
4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Jed Davis
67a039045c Bug 1268733 - Move Linux sandboxing code back out to libmozsandbox.so. r=gcp r=glandium 2016-10-26 16:57:24 -06:00
Jed Davis
13fea0b617 Bug 1268733 - Move sandbox telemetry / crash annotation code from mozsandbox to libxul. r=haik 2016-10-26 16:57:10 -06:00
Michael Layzell
de29c95ed2 Bug 1303196 - Part 7: Updates to apply correctly after noopener changes, r=smaug
MozReview-Commit-ID: 25Ew2PLpP5c
2016-10-27 15:53:35 -04:00
Michael Layzell
f9eea2d135 Bug 1303196 - Part 2: Connect the DocGroup and TabGroup objects to nsGlobalWindow and nsDocument, ensuring that Opener is set early enough that it is correct, r=smaug
MozReview-Commit-ID: 3rZfLw3dXkF
2016-10-27 15:53:35 -04:00
Aaron Klotz
7689dc3caa Bug 1310833: Make nsAccessibilityService synchronously query for its MSAA content process ID if the ID is not yet present; r=tbsaunde
MozReview-Commit-ID: 9qZNzmwlBNC

--HG--
extra : rebase_source : c9135cb54dd223aef28189957701199f17d63e46
2016-10-27 12:40:50 -06:00
Aaron Klotz
e97105dc3a Bug 1310833: Modify PContentParent::SendActivateA11y to accept the content process's MSAA ID as a parameter; r=tbsaunde
MozReview-Commit-ID: DCnYvWQRA5W

--HG--
extra : rebase_source : 7f1ebc6d4aabdaec3ea51421c26621f90c8e61e6
2016-10-20 12:34:16 -06:00
Aaron Klotz
e6b863ac53 Bug 1309236: Move setting of MSAA ID to PDocAccessibleConstructor; r=tbsaunde
MozReview-Commit-ID: D5iFud9DiEh

--HG--
extra : rebase_source : d1a1ec17258e9be8023dd730593745d32a96cc0f
2016-10-27 13:16:24 -06:00
Carsten "Tomcat" Book
9031c83f32 Merge mozilla-central to autoland 2016-10-26 17:14:27 +02:00
Phil Ringnalda
0a5faee022 Merge m-c to autoland 2016-10-25 22:08:13 -07:00
Carsten "Tomcat" Book
b46ba94f25 Merge mozilla-central to mozilla-inbound 2016-10-25 12:36:02 +02:00
Carsten "Tomcat" Book
1895ce466b Backed out changeset eb2606332cb8 (bug 1198381) 2016-10-25 12:32:54 +02:00
Lars T Hansen
9f439ac1de Bug 1302036 - DOM changes to conform to new JS engine API for cloning. r=baku
--HG--
extra : rebase_source : bc9bda42eb0769f2fe76d702a41278e01bb497d7
2016-10-24 15:14:45 +02:00
Kan-Ru Chen
1f00a5d169 Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm
MozReview-Commit-ID: KcJj8VKjLpj

--HG--
extra : rebase_source : 11205452dd23a99b7f555c5069e22997d750739d
2016-10-24 14:40:18 +08:00
Michelangelo De Simone
144c0a5d23 Bug 1309719 - Remove DOM/telephony and related code. r=ehsan+251051
MozReview-Commit-ID: Gv3vnyH4Csi

--HG--
extra : rebase_source : 6267f92bc9104bace982297474dc978a06dff5ba
2016-10-12 15:19:09 -07:00
Jan Varga
2962fac045 Bug 1311466 - Part 5: Fix remote blobs to support nsIFileMetadata interface; r=baku 2016-10-25 21:18:55 +02:00
Andreas Farre
1380385c69 Bug 1198381 - Implement the requestIdleCallback feature, r=froydnj,mattwoodrow,smaug
Expose requestIdleCallback on Window and implement running callbacks
in idle periods by posting rICs to the main threads idle queue.

MozReview-Commit-ID: KSYQsyaZ6is

--HG--
extra : rebase_source : 4bdd578b654d05cab600489d30d859452d1bc888
2016-08-22 14:52:45 +02:00
Ryan VanderMeulen
a57d15ff6a Merge inbound to m-c. a=merge 2016-10-23 13:16:27 -04:00
Mike Conley
3916b50bc6 Bug 1312080 - Tell the BackgroundHangMonitor for force paint in the content process to wait after the next paint, even if we weren't interrupting JS. r=billm"
MozReview-Commit-ID: 1Rk2VN1pR3C

--HG--
extra : rebase_source : 18ce7fa7a1d85c3a337cddc0fa6d42991f0ff153
2016-10-21 14:56:46 -04:00
Ryan VanderMeulen
5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Michelangelo De Simone
07411b2cc6 Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan
MozReview-Commit-ID: ENmSuOCdTnA

--HG--
extra : rebase_source : a178eee07034fb2aa1415b64bec1946230fd1c5e
2016-10-17 17:26:51 -07:00
Ryan Hunt
1f39364320 Bug 1311786 - Ignore LayerAllocated messages when the GPU process is crashed. r=dvander
MozReview-Commit-ID: DivHp3U1EGz
2016-10-21 08:15:00 -04:00
Wes Kocher
2fd19a58c6 Backed out changeset 069958e96c3d (bug 1310833) for Windows VM mn-e10s bustage a=backout 2016-10-20 16:34:52 -07:00
Mike Conley
16e7fd83fa Bug 1310880 - Add a specialized BackgroundHangMonitor for content process force paints. r=jchen,billm
MozReview-Commit-ID: CccuQRDuaW2

--HG--
extra : rebase_source : 6a88e7f1f95d8886151b2fb021c9f259a9689670
extra : histedit_source : 0d565810d4055cf669085045e80a0e4ad6d66fe4
2016-10-19 14:33:13 -04:00
Mike Conley
7481809d32 Backed out changeset aeadb583041d (bug 1303077) because the work in the upcoming bug 1310880 supercedes it.
MozReview-Commit-ID: HUiVze5j4WD

--HG--
extra : rebase_source : a98896d3d39a5e31a370ccfda018d9d65ce4856f
2016-10-17 20:59:55 -04:00
Neil Deakin
8ff837e37c Bug 1301673, properly handle disabled drag feedback image and failed drag feedbacks in content processes, r=tn 2016-10-19 15:01:39 -04:00
Carsten "Tomcat" Book
036a7c4324 merge mozilla-inbound to mozilla-central a=merge 2016-10-19 17:02:38 +02:00
Aaron Klotz
bb77c6d42f Bug 1310788: Modify ContentParent to initialize Windows a11y on e10s; r=jimm
MozReview-Commit-ID: Kz92scZsbh2

--HG--
extra : rebase_source : f112662120d25564c4000a3ee4521ff5d6cf21bf
2016-10-17 13:08:21 -06:00
Carsten "Tomcat" Book
5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Ehsan Akhgari
c1d2c29601 Bug 1310094 - Part 2: Remove UserCustomizations.jsm; r=myk 2016-10-17 14:08:30 -04:00
Bill McCloskey
34a5d8fdc7 Bug 1309958 - Use urgent messages for stuff sent during painting (r=mrbkap) 2016-10-18 16:15:59 -07:00
Eric Rahm
1eb4ae7e0d Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug 2016-10-18 11:56:20 -07:00
Valentin Gosu
f6de8cad91 Bug 1307491 - (Part 5) Remove support for per-app-offline in dom/ipc [nukeb2g] r=baku
MozReview-Commit-ID: 88aPx7K7OsC

--HG--
extra : rebase_source : 1b1eeed587600316a3cb10512cbd5f5182de3f2d
2016-10-17 03:59:05 +02:00
Carsten "Tomcat" Book
d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Ehsan Akhgari
87f7da8481 Bug 1310014 - Avoid capturing JS backtraces in TabChild::DidRequestComposite(); r=tromey 2016-10-14 15:33:39 -04:00
Michelangelo De Simone
42dd1f7367 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL

--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Sebastian Hengst
3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Carsten "Tomcat" Book
b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Ehsan Akhgari
75d4b96af8 Bug 1306800 - Remove support for app theming; r=myk,baku 2016-10-13 13:23:03 -04:00
Ehsan Akhgari
9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Mike Conley
edf079f24b Bug 1303077 - Annotate hangs that occur on the content process main thread during paint forcing. r=aklotz,billm
MozReview-Commit-ID: 9UBsoy5sIJE

--HG--
extra : rebase_source : f05a7735690c92b284c01c4b92425ed451d23fd5
2016-10-13 16:41:28 -04:00
Ehsan Akhgari
960c84d107 Bug 980586 follow-up: Remove PContentDialog.ipdl
This is a remnant of the patch originally landed.  The file is unused.
2016-10-12 20:59:03 -04:00
Marcos Caceres
4b5d873c87 Bug 1309099 - Web manifest's window.oninstall renamed onappinstalled. r=qdot
MozReview-Commit-ID: lcX2LGGOrw
2016-10-12 12:45:35 -07:00
David Anderson
43c76f1bba Use CrashReporterHost/Client in the GPU process. (bug 1278717 part 3, r=billm) 2016-10-11 14:25:41 -07:00
David Anderson
45fe47d352 Add a PCrashReporter alternative that uses shmem instead of IPDL. (bug 1278717 part 1, r=billm) 2016-10-11 14:25:17 -07:00
Carsten "Tomcat" Book
cd1be634c9 merge mozilla-inbound to mozilla-central a=merge 2016-10-11 12:01:35 +02:00
Michelangelo De Simone
a35ec87644 Bug 1306779 - Remove DOM/fmradio and related code. r=jst
MozReview-Commit-ID: EAoALauFEco

--HG--
extra : rebase_source : fd3b9963f27f2fd2ae76538eff489d9783eee6a6
2016-10-03 16:22:41 -07:00
Ehsan Akhgari
69dce6c397 Bug 1310101 - Remove nsILoadContext::IsAppOfType; r=baku 2016-10-14 10:45:27 -04:00
Ehsan Akhgari
d4cf901767 Bug 1308319 - Remove app specific parts of the permission manager; r=baku 2016-10-10 11:11:12 -04:00
Michelangelo De Simone
3e5861c1f3 Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
MozReview-Commit-ID: EWBjamnhAyC

--HG--
extra : rebase_source : 84bc99a7fd0f9d74b5b25d3ddc295c132e51d987
2016-09-30 16:03:21 -07:00
Kartikaya Gupta
eae6ab8433 Bug 970125 - Rip out the BrowserElementPanning JS code that's not used any more. r=kanru
MozReview-Commit-ID: 9VRrVliiU6r

--HG--
extra : rebase_source : ba49e5f270b37c80dd12258b3820f7e82cba6fef
2016-10-06 10:36:17 -04:00
Andrea Marchesini
ec85a91f65 Bug 1307747 - Remote Blob must have the correct size, r=smaug 2016-10-06 22:44:34 +02:00
Samael Wang
ff785edf2c Bug 1276553 - Part 4: Implement frameloader level GroupedSHistory. r=smaug
MozReview-Commit-ID: E5hOVOPW0nl

--HG--
extra : rebase_source : 24b660929ee30869ef1d3294fea4dcae9bd9e8e4
2016-10-14 15:31:02 +08:00
Samael Wang
421b32c7bd Bug 1276553 - Part 2: Move nsIBrowser to dom/interfaces/base. r?=smaug
nsIBrowser looks not strictly related to IPC but more like an XPCOM
representation of <xul:browser>. Since even nsIRemoteBrowser which is
for <xul:remote-browser> lives in dom/interfaces, moving nsIBrowser
to dom/interfaces makes more sense.

MozReview-Commit-ID: 5DnWaBrkzaJ

--HG--
rename : dom/ipc/nsIBrowser.idl => dom/interfaces/base/nsIBrowser.idl
extra : rebase_source : 68fed039fda73b60683b3297d14b2bad78e07483
2016-10-18 16:14:10 -04:00
Benjamin Smedberg
b251dfc1b5 Bug 1290766 - Return the scroll capture information from the PPluginWidget Create method, instead of using a separate asynchronous method which is delivered later and may race with fast shutdown. r=billm
MozReview-Commit-ID: JJA1VaIuDxL

--HG--
extra : rebase_source : 13a97843b3f2dbfd66478d5ba41e2365dd94a11f
2016-10-05 11:36:26 -04:00
Aaron Klotz
5a833e9437 Bug 1304449: Part 2 - Modify ContentParent to obtain/release MSAA ids; r=jimm
MozReview-Commit-ID: 4FJVpe3I1Qt

--HG--
extra : rebase_source : a3376503157afdb4f6b2ed0dd808287a61554852
2016-09-26 16:17:58 -06:00
Carsten "Tomcat" Book
38abad8db7 Backed out changeset c743f069da42 (bug 1307747) for test failures in test_blob_sliced_from_child_process.html 2016-10-05 17:06:29 +02:00
Andrea Marchesini
1657aa4418 Bug 1307747 - Remote Blob should use the real size of the blob and not what available from the inputStream, r=smaug 2016-10-05 14:33:35 +02:00
Kartikaya Gupta
a640f97b00 Bug 1306603 - Remove rest of mozpasspointerevents code as it is not needed any more. r=kanru
MozReview-Commit-ID: 5N3hUq2lGuU
2016-10-05 08:27:02 -04:00
Kartikaya Gupta
2478ce37cb Bug 1306603 - Remove APZ code that uses the mozpasspointerevents update region. r=kanru
MozReview-Commit-ID: L8QQkoSjFTu
2016-10-05 08:26:59 -04:00
Bill McCloskey
f478d1188c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 20:34:54 -07:00
Bill McCloskey
b83db28a45 Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey
eddd80027c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 15:28:14 -07:00
Aaron Klotz
40b7b97fd0 Bug 1310833: Modify PContentParent::SendActivateA11y to accept the content process's MSAA ID as a parameter; r=tbsaunde
MozReview-Commit-ID: 9OIpO0G0Q7j
2016-10-20 12:34:16 -06:00
Bill McCloskey
eca946ddee Bug 1311592 - Stop using sync image decoding for tab switch paint (r=mattwoodrow)
DONTBUILD

--HG--
extra : source : 7b09d25fba1281a1fe2b9bb41d816a3ce7c53d8e
2016-10-19 20:32:33 -07:00
Ryan VanderMeulen
b8f18d8b91 Backed out changeset 7b09d25fba12 for landing with the wrong bug number in the commit message. 2016-10-20 14:14:55 -04:00
Bill McCloskey
6247fe7314 Bug 1279086 - Stop using sync image decoding for tab switch paint (r=mattwoodrow) 2016-10-20 11:09:26 -07:00
Aryeh Gregor
f0ca6ef4ca Bug 1271125 part 2 - Port editor mochitests that depend on ChromeUtils.js to mochitest-plain; r=masayuki
The change from ok() to is() in tests is so that the failure message is
more informative -- it now tells you the returned exception.

This commit omits test_contenteditable_text_input_handling.html because of test
failures that I haven't figured out.

MozReview-Commit-ID: 37cYlQlJZm7
2016-10-31 18:38:04 +02:00
Bill McCloskey
00e4e382d6 Bug 1308039 - Preempt GC to paint (r=mrbkap) 2016-10-10 18:06:18 -07:00
Bill McCloskey
9da76d0563 Bug 1308039 - Add AutoAssertOnBarrier to painting code (r=mrbkap) 2016-10-10 18:06:16 -07:00
Matt Woodrow
6b75399b35 Bug 1297826 - Override FatalError for IPDL protocols that access the GPU process and make it non-fatal. r=billm 2016-10-04 21:31:27 +13:00
Andrea Marchesini
84a2b86752 Bug 1288997 - AutoIPCStream DTOR must run after the use of the inputStream for PBlob, r=jld 2016-10-04 09:19:04 +02:00
David Anderson
9b20680b31 Recreate RemoteContentControllers for tabs after the GPU process restarts. (bug 1302236, r=kats) 2016-10-03 00:37:14 -07:00
Kartikaya Gupta
7251da3333 Bug 1306644 - Have TabParent call TakeFocusForClickFromTap rather than doing it over a sync IPC roundtrip. r=dvander
MozReview-Commit-ID: 4anzBR6YoA
2016-09-30 15:03:42 -04:00
Kartikaya Gupta
1d5a942431 Bug 1300421 - Back out 4 csets from bug 1288760 for regressing event coordinate reporting. r=jfkthame
MozReview-Commit-ID: AJ2PkSfYCpv
2016-09-29 10:20:52 -04:00
Kartikaya Gupta
cf44e08da9 Bug 1302736 - Fire click events with a clickCount of 2 when the user does a double-tap gesture with double taps not allowed. r=botond
MozReview-Commit-ID: 5qxHMoHXDXh
2016-09-29 10:05:25 -04:00
Josh Matthews
ee8da66177 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
Carsten "Tomcat" Book
762cd18602 Merge mozilla-central to autoland 2016-09-28 16:52:13 +02:00
Xidorn Quan
52de92c14c Bug 1304692 - Make puppet widget get coordinate rounding from parent. r=smaug
MozReview-Commit-ID: A3ornUMDmt8
2016-09-27 16:37:07 +10:00
Kate McKinley
c57d400961 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX

--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -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
Xidorn Quan
1dc2955ab8 Bug 1304302 part 8 - Change include of {CSS,Servo}StyleSheet.h to StyleSheetInlines.h. r=heycam
It is a preparation for later patch which moves functions from those
classes into StyleSheet. Some of the functions are better defined in
StyleSheetInlines.h.

This commit is generated by the following command:

find . \( -name '*.h' -or -name '*.cpp' \) -not -name '*StyleSheet*' -exec sed -i -b \
  -e '/^#include/ s_/\(CSS\|Servo\)StyleSheet\.h_/StyleSheetInlines.h_' \
  -e '1,\_^#include "mozilla/StyleSheetInlines.h"_ ! { \_^#include "mozilla/StyleSheetInlines.h"_d }' {} +

MozReview-Commit-ID: 54H5x27Pmso

--HG--
extra : source : e4fe253a8f82c3c58e5191d6af66fb0e85f2df19
2016-09-26 22:03:25 +10:00
David Anderson
2735c8bee7 Support tab-switching in the GPU process. (bug 1298507, r=billm) 2016-09-23 18:12:45 -07:00
Thomas Wisniewski
ba6cb5196e Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
Josh Matthews
ee501c8947 Bug 1167730 - Make nsTemporaryFileStream serializable. r=baku 2016-09-23 10:34:42 -04:00
Kartikaya Gupta
6d057a3060 Bug 1298173 - Push HandleTap from the GPU process back to the parent process before passing it on to the child process. r=dvander
Sending it back via the parent process ensures that it will take the same path
that regular touch events do, and so guarantees that the Tap event won't overtake
the touch events and get dispatched to content first.

MozReview-Commit-ID: 8TiHY2PFPvE
2016-09-21 10:26:33 -04:00
Kartikaya Gupta
15ae08f0b4 Bug 1298173 - Remove redundant parameter. r=dvander
The parameter is always true if the tap type is a eSingleTap and false in
all other cases, so it's redundant. As it was added as an optimization in bug
1020199 removing it should be safe.

MozReview-Commit-ID: IPB8BUagQl6
2016-09-21 10:25:05 -04:00
Andrea Marchesini
9d38619302 Bug 1288997 - memory blob should not be shared across processes - part 3 - SendStream for memory blobs, r=bkelly 2016-09-21 12:27:26 +02:00
Andrea Marchesini
db15f776a7 Bug 1288997 - memory blob should not be shared across processes - part 1 -PSendStream should use nsIContentChild, r=jld, f=bkelly 2016-09-21 12:27:26 +02:00
Matt Woodrow
7756c8a512 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Carsten "Tomcat" Book
f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
c4fcc19e35 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander
--HG--
extra : rebase_source : f330066c3e301299f541939ac170217625dcdca5
2016-09-21 15:36:39 +12:00
Bill McCloskey
26c5049b5a Bug 1303967 - Don't set mIPCOpen until TabChild is initialized (r=mrbkap) 2016-09-20 19:20:42 -07:00
Nathan Froyd
817fe1571d Bug 1304017 - improve MultipartBlobImpl refcounting; r=baku
MultipartBlobImpl always requires copying the incoming BlobImpl array.
This copying, and its associated refcounting, is unnecessary in many
cases, as we're just going to delete the copied-from array anyway.  We
might as well pass in ownership when creating the multipart blob and
avoid all the overhead associated with copying and refcounting.
2016-09-20 21:29:28 -04:00
Nathan Froyd
9709651f99 Bug 1303910 - remove superfluous FallibleTArray in Blob.cpp; r=baku
This array only exists to be initialized fallibly so we can swap it into
the infallible array we actually want to use.  But we can fallibly
initialize the infallible array directly, so let's do that.
2016-09-20 21:29:28 -04:00
Andi-Bogdan Postelnicu
f0fc76e6d7 Bug 1282408 - Add ignore-initialization-check annotation to mForcePaintEpoch from HangMonitorChild. r=baku
MozReview-Commit-ID: EkreJsiAIZH
2016-09-20 12:13:40 +03:00
David Anderson
f2cfe86ef2 Recreate PLayerTransactions for TabChildren when the compositor restarts. (bug 1300936 part 4, r=mattwoodrow, r=billm)
--HG--
extra : rebase_source : ea92ecc5738e830a86f3b323d262f3537afe4534
2016-09-20 01:19:32 -07:00
David Anderson
81234feb8d Recreate content compositor endpoints when the GPU process dies. (bug 1300936 part 3, r=mattwoodrow,billm)
--HG--
extra : rebase_source : 054937d0adf92ab90c0a630034808e5069b6a956
2016-09-20 01:18:50 -07:00
David Anderson
27c5a863e6 Send content compositor bridges atomically rather than individually. (bug 1300936 part 1, r=billm)
--HG--
extra : rebase_source : 3d642f674ecb21c4a1c95ad9312c7afd87c5931a
2016-09-20 01:15:49 -07:00
Tooru Fujisawa
e933275fe8 Bug 92737 - Part 3: Open multiple tabs when multiple items are dropped on remote content area. r=enndeakin 2015-11-11 07:35:12 +09:00
Aaron Klotz
b9b9c1ca1f Bug 1297549: Part 2 - Propagate changes in tab native window down to content for a11y; r=jimm
MozReview-Commit-ID: 4akhzCtYciq
2016-09-15 13:37:04 -06:00
Chris H-C
7876f2ef1e bug 1218576 - Accumulate child histograms in the parent process r=froydnj
Batch the accumulations to only transmit every so often, so we don't incur
too much in the way of IPC overhead penalties.

What this doesn't do:
* remove or restructure child telemetry code to adapt to the new way
* send the telemetry anywhere
* allow for the child process to clear child histograms
* support anything but histograms (but this is expected and okay)

MozReview-Commit-ID: JnUkcmN3Ya7
2016-09-19 13:30:25 -04:00
Phil Ringnalda
99be2eef50 Backed out changeset d1cfae63f790 (bug 1297549) for talos bustage 2016-09-18 11:18:17 -07:00
Bill McCloskey
50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Aaron Klotz
6775220daf Bug 1297549: Part 2 - Propagate changes in tab native window down to content for a11y; r=jimm
MozReview-Commit-ID: LA5yLIGufEb
2016-09-15 13:37:04 -06:00
Wes Kocher
8805e85679 Backed out 3 changesets (bug 1297549) for Windows VM Mn-e10s failures a=backout
Backed out changeset c3f82cedfb27 (bug 1297549)
Backed out changeset c643278d88c8 (bug 1297549)
Backed out changeset 3d515669d3e0 (bug 1297549)
2016-09-15 16:45:31 -07:00
Aaron Klotz
cd649a45e3 Bug 1297549: Part 2 - Propagate changes in tab native window down to content for a11y; r=jimm
MozReview-Commit-ID: E96pONRnHt0

--HG--
extra : rebase_source : 10d653b125c0916d7c432a42a9011a7dc7985630
2016-09-15 13:37:04 -06:00
Carsten "Tomcat" Book
b6c7ec9860 Backed out changeset f981edef8f81 (bug 1288618) 2016-09-15 16:34:00 +02:00
Matt Woodrow
5fd458fdfa Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-15 23:18:00 +12:00
Nathan Froyd
ca183ff3cd Bug 1298149 - explicitly ignore the result of SendUpdateWindow in ContentParent::SendAsyncUpdate; r=baku
This change doesn't modify the behavior of the code, but it does silence
a clang-cl warning.
2016-09-14 19:28:26 -04:00
Haik Aftandilian
9de1898bc2 Bug 1290619 - Content sandbox rules should use actual profile directory, not Profiles/*/ regex's; r=jimm
Passes the profile dir to the content process as a -profile CLI
option so that the correct profile dir can be used in the OS X content
sandbox rules.  Only enabled on OS X for now.

On Nightly, profile directories will now be read/write protected
from the content process (apart from a few profile subdirectories) even
when they don't reside in ~/Library.

xpcshell tests invoke the content process without providing a
profile directory. In that case, we don't need to add filesystem
profile dir. read/write exclusion rules to the sandbox.

This patch adds two new macros to the content sandbox rule set:
|profileDir| holds the path to the profile or the emptry string;
|hasProfileDir| is a boolean (1 or 0) that indicates whether or
not the profile directory rules should be added. If |hasProfileDir|
is 0, profile directory exclusion rules don't need to be added
and |profileDir| is not used.

MozReview-Commit-ID: rrTcQwTNdT

--HG--
extra : rebase_source : 3d5b612c8eb3a1d0da028eba277cd9d6f0c9ac00
2016-08-30 13:32:21 -07:00
Andrea Marchesini
513886ee03 Bug 1301094 - part 2 - RemoteInputStream must be created using a ControlWorkerRunnable, r=smaug 2016-09-12 12:18:22 +02:00
Andrea Marchesini
2a473b5013 Bug 1301094 - part 1 - RemoteBlobImpl::CreateStreamHelper must be a CancelableRunnable, r=smaug 2016-09-12 12:17:08 +02:00
Kan-Ru Chen
8d637c482f Bug 1301339 - Annotate content shutdown hang due to nested event loop in RecvShutdown. r=billm
We currently allow nested event loop to delay ContentChild::RecvShutdown
which in turn might cause content process shutdown hang. This patch
attempts to annotate the crash report that a shutdown hang was after we
have received RecvShutdown but never reach SendFinishShutdown or the
hang happened before or after RecvShutdown.

MozReview-Commit-ID: 8pGqwzLlYpK

--HG--
extra : rebase_source : 78fdec0c29ded1abbd6651c67fe5c97f63555635
2016-09-08 17:23:57 +08:00
Wes Kocher
5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Carsten "Tomcat" Book
7c6c7db247 Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Carsten "Tomcat" Book
1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Wes Kocher
92e5271008 Backed out 17 changesets (bug 1277504, bug 1218577, bug 1218576) for ASAN bc2 failures a=backout
Backed out changeset 62009556e4ad (bug 1218576)
Backed out changeset 57f9849f0f8f (bug 1218576)
Backed out changeset 9595c56c9db2 (bug 1277504)
Backed out changeset 9d15ae92f2fa (bug 1218576)
Backed out changeset ea7282078b05 (bug 1218576)
Backed out changeset 848f4ef30978 (bug 1218576)
Backed out changeset 1b6666eb3b81 (bug 1218576)
Backed out changeset ce2a2dabb042 (bug 1218576)
Backed out changeset 3caacb5c213b (bug 1218576)
Backed out changeset c68fc5ad5ecf (bug 1218576)
Backed out changeset 1678482b2fad (bug 1218576)
Backed out changeset df28918fe236 (bug 1218576)
Backed out changeset eb5dbe28ab20 (bug 1218576)
Backed out changeset baf105cbe0c8 (bug 1218576)
Backed out changeset 7fdd6b6ab594 (bug 1218576)
Backed out changeset a0a4829d0ca0 (bug 1218577)
Backed out changeset fc16cda7781b (bug 1218576)
2016-09-07 10:18:17 -07:00
Mike Conley
b56cf3f8af Bug 1298219 - Don't fire oop-browser-crashed event if the browser has already flipped remoteness and moved on. r=billm
We currently make the initial browser in a window remote by default. If early
on in the session, that one remote browser goes away (and the content process
was still booting), there's about 5 seconds before the shutdown kill timer
will take that content process out for not quitting fast enough.

There are some cases during startup where the content process is waiting
on information from the parent, so it cannot respond to the request to
quit in time. The parents shutdown kill timer goes off, and the shutdown
kill occurs.

In this bug, what's happening is that the initial browser flips remoteness
from remote to non-remote when it goes to about:sessionrestore. This starts
the shutdown kill timer. The content process runs out of time, and the
shutdown kill timer fires, killing the content process. The TabParent::ActorDestroy
method (which still exists, even though the browser is no longer remote),
interprets this as an abnormal shutdown, and bubbles the oop-browser-crashed
event to the associated <xul:browser>, which causes the page to browser to
about:tabcrashed, when it had already loaded about:sessionrestore.

This patch makes it so that the TabParent::ActorDestroy method first checks
to ensure that the associated remote frameloader is still the one that the
frameloader owner cares about. If not (because, say, the remoteness has
flipped and a new non-remote frameloader has been created), then the
event is not fired, since the user has moved on.

MozReview-Commit-ID: G4jmR6lMMFl

--HG--
extra : rebase_source : 7e752d9854d6c17b2b346cc986c0fbad00292848
2016-08-31 18:23:40 -04:00
Wes Kocher
371d1cf853 Backed out 2 changesets (bug 1298219) for asan bc5 crashes a=backout
Backed out changeset 98b0e9b88212 (bug 1298219)
Backed out changeset 5948ae1f4218 (bug 1298219)
2016-09-06 14:40:32 -07:00
Mike Conley
b43b848475 Bug 1298219 - Don't fire oop-browser-crashed event if the browser has already flipped remoteness and moved on. r=billm
We currently make the initial browser in a window remote by default. If early
on in the session, that one remote browser goes away (and the content process
was still booting), there's about 5 seconds before the shutdown kill timer
will take that content process out for not quitting fast enough.

There are some cases during startup where the content process is waiting
on information from the parent, so it cannot respond to the request to
quit in time. The parents shutdown kill timer goes off, and the shutdown
kill occurs.

In this bug, what's happening is that the initial browser flips remoteness
from remote to non-remote when it goes to about:sessionrestore. This starts
the shutdown kill timer. The content process runs out of time, and the
shutdown kill timer fires, killing the content process. The TabParent::ActorDestroy
method (which still exists, even though the browser is no longer remote),
interprets this as an abnormal shutdown, and bubbles the oop-browser-crashed
event to the associated <xul:browser>, which causes the page to browser to
about:tabcrashed, when it had already loaded about:sessionrestore.

This patch makes it so that the TabParent::ActorDestroy method first checks
to ensure that the associated remote frameloader is still the one that the
frameloader owner cares about. If not (because, say, the remoteness has
flipped and a new non-remote frameloader has been created), then the
event is not fired, since the user has moved on.

MozReview-Commit-ID: G4jmR6lMMFl

--HG--
extra : rebase_source : 7e752d9854d6c17b2b346cc986c0fbad00292848
2016-08-31 18:23:40 -04:00
Carsten "Tomcat" Book
656d6db419 Merge mozilla-central to mozilla-inbound 2016-09-07 17:21:27 +02: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
Andi-Bogdan Postelnicu
59bbadfe2d Bug 1297075 - initialise with default value showAccelerators| and |showFocusRings|. r=baku
MozReview-Commit-ID: EB6F5RvoR9o

--HG--
extra : rebase_source : c746e4874acfb8e2679c01941dfecc96de9c9b10
2016-08-22 17:06:31 +03:00
Carsten "Tomcat" Book
a1c780edbb merge mozilla-inbound to mozilla-central a=merge 2016-09-06 15:28:44 +02:00
Chun-Min Chang
50ceb41bab Bug 1299061 - Expose the browser that the request was originated in; r=smaug
MozReview-Commit-ID: 2iFQiYeoxBh

--HG--
extra : rebase_source : c516a7d8cc70c85c0303e27d07854808fe9192aa
2016-08-31 20:56:17 +08:00
Kan-Ru Chen
78c48f9b6d Bug 1300512 - Remove OptionalContentId and replace it with Maybe<ContentParentId> in IndexedDB. r=janv
MozReview-Commit-ID: 6Cjlej1TwCY

--HG--
extra : rebase_source : 2a9990e842a05a2e75b473f6d038b946bf59fc5e
2016-09-05 18:31:21 +08:00
Phil Ringnalda
8d0d871432 Backed out changeset 85a53a4c3778 (bug 1299061) for merge conflicts 2016-09-05 13:28:36 -07:00