Commit Graph

59641 Commits

Author SHA1 Message Date
Wes Kocher
5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Jonathan Kew
2e0c0497f2 Bug 1312049 - Switch nsChromeRegistry::GetDirectionForLocale to use uloc_isRightToLeft instead of a list of known-rtl locales, and replace the now-obsolete intl.uidirection.* prefs with a single override intl.uidirection for testing purposes. r=gandalf 2017-02-02 22:12:50 +00:00
Olli Pettay
4999914c19 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:11:00 +02:00
Olli Pettay
01dc764f79 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:07:07 +02:00
Olli Pettay
9cd6e244e9 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=mccr8
--HG--
extra : rebase_source : ed3294efccdcd35f7da5f1b4c59a7d8a30fc491f
2017-02-02 23:32:17 +02:00
Tim Huang
3e5d172c95 Bug 1319773 - Part 1: Add a SubsumesConsideringDomainIgnoringFPD in BasePrincipal. r=baku
--HG--
extra : rebase_source : db853a600e666cd11a140153536427c1f4e5882c
2017-01-18 20:17:19 +08:00
Alastor Wu
504a266d7c Bug 1329179 - only display 'play tab' icon for background tab. r=baku
When user open new tab and then go to the pasted URL (which has autoplaying
media), the "play tab" icon would be displayed briefly, and then change to the
"mute tab" icon.

That is the media element starts before calling nsDocument::PageShow() which
would resume all blocked media in the tab. Before that moment, even the tab is
in the foreground, but we doesn't resume the media yet.

Therefore, we need to check the document's visibility by ourself, and only show
the "play tab" icon for the background blocked tab.

MozReview-Commit-ID: Eg2SD5kpG0j

--HG--
extra : rebase_source : ccf25537904a10e17de2e70650b62fac8f5a3434
2017-01-17 16:30:22 +08:00
JW Wang
dc7d9fc978 Bug 1333289. Part 2 - retrieve debugging data from MediaDecoder/MDSM. r=jya
MozReview-Commit-ID: F4AxZFBPVPB

--HG--
extra : rebase_source : 2f70995597808332749332de8a2b27046b2a702e
extra : source : 66b5a72457bf49b0be90397abfc5bd8c4fe9f828
2017-01-24 10:49:37 +08:00
JW Wang
c6bbdcd459 Bug 1333289. Part 1 - add a function to the webidl to retrieve debugging data in an asynchronous way. r=bz
MozReview-Commit-ID: AXTpOYaq56A

--HG--
extra : rebase_source : 7a04919aa07c71f42e26d35f81b055dea2ed19f2
extra : intermediate-source : 0ddcc9dc7ba1952a06e2b48593e8b16378847b69
extra : source : 7c1de996eaa5989359debd34b4ec1a5af37f9ee7
2017-01-18 16:14:57 +08:00
Wes Kocher
ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Stone Shih
c1cc98fed4 Bug 1304308: Investigate failure of test_pointerevent_setpointercapture_inactive_button_mouse-manual.html. r=masayuki
This test case should be triggered by pointerover and pointerout. Add new test API to fire mouse event at the specified position and refine the synthesized events fired to the test case to trigger it correctly.

MozReview-Commit-ID: DkLYrD6MwYc

--HG--
extra : rebase_source : f0ae002edcb6f39d301e83fea9bf1e74dc21c62a
2017-01-24 13:03:21 +08:00
Mantaroh Yoshinaga
cbf08f5f05 Bug 1322970 - Use primary frame for checking throttle instead of using style context. r=dholbert,hiro
This changeset will skip finding the first SMIL animation function to affect the sandwich from multiple functions if element hasn't primary frame when composing attributes.
This mean that target element's animation don't need to animate in the following cases.
- ancestor elements has display:none attribute.
- target element have display:none attribute.
- ancestor element's tag produces a non-rendering subtree, by definition (like <desc>).

MozReview-Commit-ID: 253qTpBLc8L

--HG--
extra : rebase_source : c6f0eff440fa5448fc28e5283be68b6e33335b9e
2017-02-02 15:23:22 +09:00
Jean-Yves Avenard
95b4a438ea Bug 1335624: Check mDecoder. r=gerald
Revert commit dd429b170253 (bug 1335390)

Fix CID 1399621

MozReview-Commit-ID: 571uyotVb5c

--HG--
extra : rebase_source : d7095510f2c0006afc6ac16676bf7f03268abbd8
2017-02-01 13:25:12 +01:00
Sylvestre Ledru
21e7d4ff3c Bug 1335324 - Fix a -Wmax-unsigned-zero warnings (std::max(unsigned int, 0u) r=jwatt
MozReview-Commit-ID: BYraLQCG24S

--HG--
extra : rebase_source : 869c42d589176d8e844a873aa16e9826750e593e
2017-02-06 16:21:54 +01:00
Andrea Marchesini
fc26940d57 Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug 2017-02-06 11:07:54 +01:00
Jean-Yves Avenard
c64edca1b9 Bug 1319987: P4. Refactor H264 Converter. r=cpearce
We can make some assumptions now that the Input method is only called once and never again while a decode is pending.

MozReview-Commit-ID: EmzKEcwNY2J

--HG--
extra : rebase_source : 42ae59878962b425970a60abe25d98c023ef4fdf
2016-12-30 21:51:42 +11:00
Jean-Yves Avenard
6a0bd6027f Bug 1319987: P3. Remove Gonk PDM. r=cpearce
The platform is no longer supported, and the promisifying of the MediaDataDecoder makes it not worthwhile to continue maintenance.

MozReview-Commit-ID: FjDzRk5YQp3

--HG--
extra : rebase_source : a28f0e2cada698f5be93c9115b1af6c7789f9d4e
2016-12-30 01:26:12 +11:00
Jean-Yves Avenard
6e774a7bcd Bug 1319987: P2. Remove FuzzingWrapper. r=gerald
It is no longer used and in its current state incompatible with promise based decoders.

We'll re-add it later.

MozReview-Commit-ID: DHsyTsFvTZB

--HG--
extra : rebase_source : 4b1a7dba2a001ff32ffe4ef4df63b91f15a43e83
2016-12-21 10:52:01 +11:00
Jean-Yves Avenard
d144f37888 Bug 1319987: P1. Remove handling for WaitingForKey in MFR. r=cpearce
This is not compatible with promise based decoders. We'll re-implement it in a different fashion later on.

MozReview-Commit-ID: HYBNKVxEUmB

--HG--
extra : rebase_source : fe9f26e47b77a64099a422be844d20f4108663d0
2016-12-20 18:53:39 +11:00
Karl Tomlinson
9c0be75890 bug 1331320 test that a crashreport is generated on X11 protocol error in plugin r=glandium
MozReview-Commit-ID: HSKgzjqRZh6

--HG--
rename : dom/plugins/test/mochitest/test_CrashService_crash.html => dom/plugins/test/mochitest/test_x11_error_crash.html
extra : rebase_source : c432eded8a4dedc4e4b85b90eb699cad54c29204
2017-01-16 14:48:33 +13:00
Karl Tomlinson
dbb3d944e5 bug 1331320 document requestFlakyTimeout for crashAndGetCrashServiceRecord() r=glandium
MozReview-Commit-ID: 4l2qxJfRbkq

--HG--
extra : rebase_source : 87c70a124406287434847c7e4a23ab062dbb60de
2017-01-16 18:57:03 +13:00
Karl Tomlinson
671fdc9bae bug 1331320 install X11 error handler through Xlib in plugin process as GTK2 does not use g_error r=glandium
MozReview-Commit-ID: 9Io2fABc2hI

--HG--
extra : rebase_source : 7da1b83d5003d49d0eaddd94509f50a40c043825
2017-01-13 20:50:58 +13:00
Wes Kocher
9576aa1519 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HXFQTGJASw4
2017-02-08 16:21:53 -08:00
Manish Goregaokar
e4852035e0 Bug 1334330 - Part 11: stylo: Use ServoUtils abstraction for GenericSpecifiedValues to remove virtual dispatch overhead in nostylo mode; r=bz,emilio
MozReview-Commit-ID: 8yGWs2uOjES

--HG--
extra : rebase_source : 2fed3ab11c243a3b045116abd04dbb9e939c5dc2
2017-01-26 16:51:01 -08:00
Manish Goregaokar
f70f115d57 Bug 1334330 - Part 10: stylo: Use GenericSpecifiedValue abstraction for <body>; r=bz,emilio
MozReview-Commit-ID: 8yGWs2uOjES

--HG--
extra : rebase_source : 5146186ff7ff572ea72219dd419f77a6d6ab84ee
2017-01-26 16:51:01 -08:00
Manish Goregaokar
f61fd43189 Bug 1334330 - Part 9: stylo: Use GenericSpecifiedValue abstraction for <hr>; r=bz,emilio
MozReview-Commit-ID: CvKYf9To9mD

--HG--
extra : rebase_source : 53ad6beff484ab295400d5ae1130e14af49af10b
2017-01-26 16:51:01 -08:00
Manish Goregaokar
38d26acfd2 Bug 1334330 - Part 8: stylo: Use GenericSpecifiedValue abstraction for <iframe>; r=bz,emilio
MozReview-Commit-ID: GUiRcgSlLWI

--HG--
extra : rebase_source : ed0e910dc05314db70484ed895edf0c9fb3fcfe7
2017-01-26 16:51:01 -08:00
Manish Goregaokar
156cbb9222 Bug 1334330 - Part 7: stylo: Use GenericSpecifiedValue abstraction for <font>; r=bz,emilio
MozReview-Commit-ID: E2FwWTF2MVI

--HG--
extra : rebase_source : 1650a23b29c43b8abc5516514a584feb381f55da
2017-01-26 16:51:01 -08:00
Manish Goregaokar
7a9ea12241 Bug 1334330 - Part 6: stylo: Use GenericSpecifiedValue abstraction for table elements; r=emilio
MozReview-Commit-ID: 6wo4iw4zEWP

--HG--
extra : rebase_source : d5980fcfd00fa75f198565dbd75cf7ccc48b0364
2017-01-26 16:51:01 -08:00
Manish Goregaokar
18a42c058c Bug 1334330 - Part 5: stylo: Use GenericSpecifiedValue abstraction for <li>,<pre>,<ol>,<ul>,<textarea>; r=bz,emilio
MozReview-Commit-ID: JQaa26ay5va

--HG--
extra : rebase_source : b4ca53adbf1e1be2fd6c081bfe6c704c434fb2e6
2017-01-26 16:51:01 -08:00
Manish Goregaokar
e1aeede86c Bug 1334330 - Part 4: stylo: Use GenericSpecifiedValue abstraction for <br>; r=bz,emilio
MozReview-Commit-ID: LjoqZ5R8tNb

--HG--
extra : rebase_source : fe86d6f781d8b6e2bfc76ac9a8374385f3ab249e
2017-01-26 16:51:01 -08:00
Manish Goregaokar
7aca0c8cd0 Bug 1334330 - Part 3: stylo: Use GenericSpecifiedValue abstraction in elements using only common mappers; r=bz,emilio
MozReview-Commit-ID: B8vg4ZiqRGK

--HG--
extra : rebase_source : c1c73d3f8dd695717e368ce28028ad75dbf9838c
2017-01-26 16:51:01 -08:00
Manish Goregaokar
fbe60a8ba6 Bug 1334330 - Part 2: stylo: Use GenericSpecifiedValue abstraction in nsGenericHTMLElement; r=bz,emilio
MozReview-Commit-ID: 7Njz7pUkgft

--HG--
extra : rebase_source : a0356df72c349c294b5b7e4cef804b994fb6b383
2017-01-26 16:51:01 -08:00
Manish Goregaokar
48bc1c741c Bug 1334330 - Part 1: stylo: Abstractify nsMappedAttributes to work on arbitrary containers of specified value data; r=bz,emilio
MozReview-Commit-ID: BSM4TC9RKot

--HG--
extra : rebase_source : 5f2c5d998b9e2bc10a2c9ce8d0b3ce90817a0d39
2017-01-26 13:39:13 -08:00
Carsten "Tomcat" Book
5131dfea4e Merge mozilla-central to mozilla-inbound 2017-02-02 14:28:07 +01:00
Carsten "Tomcat" Book
72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Olli Pettay
b003a7de36 Bug 1110928, first request GC should be a full GC, r=jonco
--HG--
extra : rebase_source : 6949e66d52d5ab4f75bf2a1875e50c49465f5818
2017-02-01 23:55:38 +02:00
Olli Pettay
96d3270619 Bug 1110928, ensure zone GC collects the zone from which canvas context is originated, r=mccr8
--HG--
extra : rebase_source : d9e4b2cb9ff5e683efc1ce25aec3ab5cead22481
2017-01-23 19:26:37 +02:00
Olli Pettay
ba57b14f47 Bug 1110928 trigger full GC only when closing top level outer window , r=mccr8
--HG--
extra : rebase_source : 5fd026939961004be1456624625f5d2ed1768da0
2017-01-23 19:23:57 +02:00
continuation@gmail.com
3c54dab20c Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : 839ac8ef6e0de1a69240f2986c07e1793e750b21
2017-01-23 19:22:26 +02:00
Andrew McCreight
c77b68df2f Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : 2d78ae196882d056bdf03e014ff928d7769ba81a
2017-01-23 19:20:54 +02:00
Joel Maher
d85b37d5f5 Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus
MozReview-Commit-ID: AeIuBnLx6IF
2017-02-02 06:33:47 -05:00
Joel Maher
0006d179f5 Bug 1335082 - add BUG_COMPONENT to dom/xul/* files. r=Neil
MozReview-Commit-ID: 2ydrODhOI27
2017-02-02 06:33:47 -05:00
Joel Maher
49c98716b8 Bug 1334476 - add BUG_COMPONENT to dom/canvas/* files. r=milan
MozReview-Commit-ID: 1ySit4Kh3Yh
2017-02-02 06:33:47 -05:00
Joel Maher
64f1bc3955 Bug 1319801 - Move Linux64 mochitest-gl to Ubuntu 16.04. r=jgilbert
This patch has a few parts to make this work:
1) more tests pass on ubuntu 16, so remove old fail-if conditions
2) no support for GL_ARB_gpu_shader5, we cherry pick from updated ANGLE code
3) disable test_capture.html as it leaks on ASAN

MozReview-Commit-ID: BSSiTFvF9jN
2017-02-02 06:33:46 -05:00
vincentliu
d427770671 Bug 1331925 - Add mochitest. r=smaug 2017-02-02 17:00:27 +08:00
vincentliu
8da5275969 Bug 1331925 - blob returns null if canvas width or height is zero. sr=smaug 2017-02-02 16:59:38 +08:00
Andrea Marchesini
a63d7359fa Bug 1335250 - Fix an ambiguous ipc header in MediaEngine.h, r=ehsan 2017-02-02 08:04:13 +01:00
Wes Kocher
f5eab47fb9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HVH8TbXbw7N
2017-02-01 16:30:50 -08:00
Wes Kocher
f2cb5e7c63 Merge inbound to m-c a=merge
MozReview-Commit-ID: EZrwvZH5DsY
2017-02-01 16:22:11 -08:00
Jeff Muizelaar
5e016321e6 Bug 1335149. Remove unnecessary flush() calls from canvas implementation.
Flushing should usually be done by the moz2d backend unless we're accessing
the data through other mechanisms.
2017-02-01 15:09:38 -05:00
Michael Layzell
9e64cf4a27 Bug 1332790 - Don't assert mLastWindowLeft in ~TabGroup when destroying the chrome TabGroup, r=billm
MozReview-Commit-ID: 33C5lF31HDI
2017-02-01 14:03:36 -05:00
Eric Rahm
84dd992f72 Bug 1335477 - Stop warning if content type is emtpy. r=jya 2017-02-01 10:58:58 -08:00
Sebastian Hengst
ccd3fc9950 Backed out changeset 99587cc6ef23 (bug 1335536) for failing robocop testFilePicker on Android. r=backout 2017-02-01 19:08:22 +01:00
Sebastian Hengst
2e0afbcbee Backed out changeset 2ad6a2821772 (bug 1335536) 2017-02-01 19:07:36 +01:00
Andrea Marchesini
ff2e202053 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 2 - code, r=smaug 2017-02-01 17:13:56 +01:00
Andrea Marchesini
3b9eaa7785 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-01 17:13:08 +01:00
Kartikaya Gupta
cf091ea0eb Bug 1328066 - Don't broadcast the live-resize events to all browser windows unnecessarily. r=mstange
The machinery for suppressing the displayport during live resizes
was using the Observer service. However, in the case of multiple
browser windows, this meant that all the open browser windows would
have their displayport suppressed if *any* of the browser windows
was being resized. This was mostly ok, as the displayport suppression
would be turned off once the resize ended. However, the code to
kick off a repaint with the unsuppressed displayport would only get
triggered on one of the windows (whichever happened to process the
unsuppress message last).

This patch stops using the Observer service for the implementation
machinery, and instead locates the active TabParent of the relevant
nsWindow, and invokes the displayport suppression directly on that.
This fixes the repainting bug and also avoids unnecessarily
broadcasting the suppression/unsuppression notification to windows
that don't neccessarily need it.

MozReview-Commit-ID: LBHOgOW9KUp
2017-02-01 10:38:16 -05:00
Andreas Farre
c8192bce58 Bug 1313864 - Use the timeout handle to cancel rIC timeout. r=bkelly
MozReview-Commit-ID: I0OVIXn3fZT
2017-02-01 16:16:36 +01:00
Andreas Farre
5600a0a638 Bug 1313864 - Move running idle callbacks to executor. r=bkelly
MozReview-Commit-ID: EuJfpkM6Acf
2017-02-01 16:16:29 +01:00
Ben Kelly
4c2a1798cd Bug 1335425 Improve ScriptLoader CacheCreator's ability to handle failures and cancelation. r=baku 2017-02-01 06:48:07 -08:00
Ben Kelly
de35243abb Bug 1334677 Make PostMessageRunnable handle the port being cycle collected. r=baku 2017-02-01 06:43:58 -08:00
Andrew Sutherland
246770dae0 Bug 1285898 - [e10s-multi] fixup PContent ordering via immediate event dispatch. r=baku
--HG--
extra : rebase_source : 5cb6cd38cd099abbbc9fa9c73e3726cc729b6bf5
2017-01-31 03:42:38 -05:00
Andrew Sutherland
2da25e9c13 Bug 1285898 - [e10s-multi] Make precaching without keepalive work by stashing on the window. r=baku
--HG--
extra : rebase_source : 75ec00b41bc1835c681c7269a1dc9afe55bc83b5
extra : source : 9c6057cde326f707076f4bda766f31df4888c5bb
2017-01-26 06:39:24 -05:00
Andrew Sutherland
df205e0505 Bug 1285898 - [e10s-multi] LocalStorage e10s multiple write avoidance. r=baku
--HG--
extra : rebase_source : 886332cf04667d720f32456f5831764fdd022c81
extra : source : bd68ebab64faaabe9a9d4cc294fc4243ca9d8cc3
2017-01-24 06:45:11 -05:00
Manish Goregaokar
5b55368eda Bug 1330041 - Basic handling framework for presentation attributes in Stylo, with handling for font-size and color; r=bz,emilio
This introduces a basic framework for servo's style system to be able
to query the style of presentation attributes which it can then insert
into the cascade. It uses that framework to implement the size and
color attributes on <font>.

There are a number of improvements that can be done on top of this:

 - Implement all other properties
 - Abstractify the ruledata parameter of the mappers using templates or virtual dispatch so that it can be a Servo decl block instead
 - Implement aforementiond abstraction over Servo decl blocks (this obsoletes the code in the first item above, so it might just be better to skip that and directly do this)
 - Replace uses of nsHTMLStyleSheet with an abstract base class containing common elements between Servo and Gecko

I'd prefer for these to be done in separate steps.

MozReview-Commit-ID: GO60qfeZOfl

--HG--
extra : rebase_source : 516d369a8627e413983361aaf85ccb7132b0a06c
2017-01-19 15:56:53 -08:00
Andrew Sutherland
93beea7eba Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku
--HG--
extra : rebase_source : 9e67a030af0a653c7382bc9c1c790a8af60a968a
extra : source : 6fdb24e1256d20fc1ff22f20cc47c1955a3962c4
2017-01-18 17:45:09 -05:00
Andrea Marchesini
1e58b980f5 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth
--HG--
extra : rebase_source : 9968fd96960aecd516bfcc5c239b9de85280ab8a
extra : source : 6681b50c1f6d0d2d22d5f631234402e020c0b78a
2017-01-17 15:43:12 -05:00
Gabor Krizsanits
882d1434a2 Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
Carsten "Tomcat" Book
ac517a4bf4 Merge mozilla-central to mozilla-inbound 2017-02-01 13:18:56 +01:00
Carsten "Tomcat" Book
005011be4c merge mozilla-inbound to mozilla-central a=merge 2017-02-01 13:14:23 +01:00
Cameron McCormack
f7f9c5f69e Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 15:10:45 +08:00
Cameron McCormack
41bbd156cf Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 15:10:45 +08:00
David Major
940f1b7413 Bug 1335207 followup build fix on a CLOSED TREE
MozReview-Commit-ID: HPhI9ngjcSj
2017-02-01 16:09:28 +13:00
Mike Conley
5431c3f1e3 Bug 1334960 - Enable unprefixed fullscreen API for more fullscreen plugin crash tests to avoid perma-oranging on beta / release. r=philor
MozReview-Commit-ID: Biw4I5uitwI
2017-01-31 09:55:57 -05:00
David Major
c45f3a66c0 Bug 1335207: Add constexpr to data tables under dom/ for better codegen on Windows. r=ehsan
MozReview-Commit-ID: 6tEIqjq4Guo
2017-02-01 15:42:33 +13:00
Wes Kocher
3a2daab431 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 4FysKITPKa4
2017-01-31 15:14:29 -08:00
Wes Kocher
e95e4ed8b5 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: EznJuwqcCfw
2017-01-31 15:13:44 -08:00
Nathan Froyd
d5472817de Bug 1335460 - release globals properly when GetFilesHelper is destroyed on the main thread; r=smaug 2017-01-31 13:08:28 -05:00
Sebastian Hengst
2664cfc0a9 Backed out changeset 0d069e7395e9 (bug 1314045) for Windows build bustage: warning at Loader.cpp(1885). r=backout on a CLOSED TREE 2017-01-31 18:17:09 +01:00
Andrea Marchesini
cbcc3bb043 Bug 1335365 - Add telemetry to see if we can remove moz-only XHR.reponseType, r=me CLOSED TREE 2017-01-31 18:06:14 +01:00
Andrea Marchesini
d4efdb7c26 Bug 1335365 - Add telemetry to see if we can remove moz-only XHR.reponseType, r=smaug, data-review=bsmedberg 2017-01-31 17:34:08 +01:00
Cameron McCormack
8731638062 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Cameron McCormack
0ba5cf9cc4 Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack
590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst
ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst
24430aff14 Backed out changeset 4787d54f7aa6 (bug 1314045) 2017-01-31 17:30:25 +01:00
Sebastian Hengst
82170bb7cf Backed out changeset 7771169d9f8a (bug 1324647) 2017-01-31 17:30:21 +01:00
Sebastian Hengst
79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Lee Salzman
28449c344a Bug 1334647 - add crashtest for bug 1334647. r=rhunt
MozReview-Commit-ID: C1QuJk2Mweb
2017-01-31 11:17:50 -05:00
Lee Salzman
c994984df2 Bug 1334366 - add crashtest for bug 1334366. r=mchang
MozReview-Commit-ID: H8rRT3OgMsN
2017-01-31 11:17:31 -05:00
Geoff Brown
0770ac9471 Bug 1318809 - Skip test_peerConnection_promiseSendOnly.html on Android, for intermittent failures; r=me 2017-01-31 09:11:02 -07:00
Nicolas B. Pierron
ca59a6685f Bug 900784 part 0.10 - Fix MOZ_LOG arguments indentation in nsScriptLoader.cpp. r=nbp 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
4c286a9c0c Bug 900784 part 0.9 - Add ScriptLoader LazyLogModule. r=jonco 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
493097a692 Bug 900784 part 0.7 - Remove trailing whitespace in nsScriptLoader.h comments. r=nbp 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
2acbb289f0 Bug 900784 part 0.6 - Remove useless static_cast from nsScriptLoader::OnStreamComplete. r=bkelly 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
cee2c0f92d Bug 900784 part 0.5 - Replace manual handling of the ScriptText buffer of nsScriptLoadRequest. r=bkelly
Replace mScriptTextBug and mScriptTextLEngth of the nsScriptLoadRequest by an
equivalent Vector.

Also remove the aString argument from the nsScriptLoader::PrepareLoadedRequest
and nsScriptLoader::OnStreamComplete, as the nsScriptLoadHandler is now writing
to the Vector held by the nsScriptLoadRequest.

Doing so is needed to avoid adding more arguments to OnStreamComplete, as we are
going to add the bytecode cache input in a similar way as the text input.
2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
e2298251e0 Bug 900784 part 0.4 - Move aScriptFromHead to the ScriptLoadRequest. r=bkelly
Moving aScriptFromHead to a field of the ScriptLoadRequest ensure that all the
state to call StartLoad is either in the ScriptLoader or in the
ScriptLoadRequest.

Thus, we can later add new calls to StartLoad, if we have to restart a request
because of some decoding issues.
2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
56de00a22d Bug 900784 part 0.3 - Remove unused aType argument from nsScriptLoader::StartLoad. r=bkelly
This is a clean-up patch comming after Bug 1194526 and Bug 1268147 which removed
the need for the aType argument which used to be required by the CSP.
2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
f21b4e724a Bug 900784 part 0.2 - Rename nsScriptLoadHandler::TryDecodeRawData to DecodeRawData. r=jonco 2017-01-31 20:03:57 +00:00
Nicolas B. Pierron
57981315de Bug 900784 part 0.1 - Fix typo in nsScriptLoader::StartLoad. r=jonco 2017-01-31 20:03:56 +00:00
Michael Layzell
dbacf5d9f5 Bug 1331087 - Part 2: Add a new string console message for non-win32 large allocation loads, r=ehsan
MozReview-Commit-ID: J4Zyt8Ygnfb
2017-01-31 14:08:20 -05:00
Michael Layzell
086fc9186e Bug 1331087 - Part 1: Disable the largeAllocation header by default outside of Win32 builds, r=ehsan
MozReview-Commit-ID: 4jUFLv4fMZa
2017-01-31 14:08:20 -05:00
Michael Layzell
59bf5ae02d Bug 1334586 - Propagate reload flags when reloading pages with Large-Allocation headers, r=smaug
MozReview-Commit-ID: ESfCqSc0BJK
2017-01-31 14:08:20 -05:00
Michael Layzell
e05f540cb8 Bug 1333936 - Lift the Large-Allocation header process cap to 10, r=smaug
MozReview-Commit-ID: L3dvIhhV2Ga
2017-01-31 14:08:20 -05:00
Michael Layzell
7a66b1dc95 Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Michael Layzell
149c8c2a40 Bug 1332343 - Fix browser_largeAllocation.js in multi-e10s, r=smaug
MozReview-Commit-ID: EdNYf1saOI0
2017-01-31 14:08:20 -05:00
Cameron McCormack
0333846acf Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Cameron McCormack
95f75d80be Bug 1324647 - stylo: Downgrade "Need to flush before destroying!" assertion since it occurs frequently. r=me
MozReview-Commit-ID: AOUnCyG4I2O
2017-01-31 23:36:29 +08:00
Cameron McCormack
e64744beef Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack
946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Ben Kelly
e552aee61a Bug 1335414 Make ServiceWorkerManager::CreateNewRegistration() safer. r=asuth 2017-01-31 07:29:34 -08:00
Carsten "Tomcat" Book
c8b8a3f357 Merge mozilla-central to mozilla-inbound 2017-01-31 15:57:48 +01:00
Carsten "Tomcat" Book
0745d54a39 merge mozilla-inbound to mozilla-central a=merge 2017-01-31 15:54:35 +01:00
Trevor Saunders
edb970e875 bug 1334966 - make TabParent::GetTopLevelDocAccessible() only return documents that are top level r=eeejay
There can be cases where a non top level document currently has no parent
 document, for example when a child doc has been unbound from its parent but
 not yet reattached to a new outer doc.
2017-01-31 09:43:03 -05:00
Andrew Osmond
42a6948d63 Bug 1331938 - Part 2c. Fix rooting hazard in CanvasRenderingContext2D::GetImageDataArray. r=nical
--HG--
extra : amend_source : 4aaf395e3206a3953895a64e717ac73835bb4407
2017-01-31 09:23:25 -05:00
Sebastian Hengst
38d5cba419 Bug 1335260 - Drop annotations for Windows XP from webgl-conf mochitests. r=jgilbert
MozReview-Commit-ID: FeeGFdiRx5A
2017-01-31 01:23:00 +01:00
Andrea Marchesini
dd65bf8d09 Bug 1333898 - MessageChannel messaging sets .ports to null, r=qdot 2017-01-31 08:47:11 +01:00
Hiroyuki Ikezoe
97a3868830 Bug 1334982 - Convert animation restyle hints only if we are not in process of restyling. r=heycam
MozReview-Commit-ID: 4pWeWhGaTJv
2017-01-31 16:37:39 +09:00
Phil Ringnalda
85843f4cff Backed out 4 changesets (bug 1285898) for browser_localStorage_e10s.js failure
Backed out changeset 9c6057cde326 (bug 1285898)
Backed out changeset bd68ebab64fa (bug 1285898)
Backed out changeset 6fdb24e1256d (bug 1285898)
Backed out changeset 6681b50c1f6d (bug 1285898)
2017-01-30 21:49:42 -08:00
Andrew Sutherland
78ee8c8c65 Bug 1285898 - [e10s-multi] Make precaching without keepalive work by stashing on the window. r=baku 2017-01-30 22:47:56 -05:00
Andrew Sutherland
e36c53a285 Bug 1285898 - [e10s-multi] LocalStorage e10s multiple write avoidance. r=baku 2017-01-30 22:47:45 -05:00
Andrew Sutherland
57b997c027 Bug 1285898 - [e10s-multi] LocalStorage e10s Test. r=baku 2017-01-30 22:47:28 -05:00
Andrea Marchesini
db2311e1e0 Bug 1285898 - [e10s-multi] Localstorage "storage" event is not fired with multiple content processes. r=asuth 2017-01-30 22:47:06 -05:00
Jeff Gilbert
e36f50acd0 Bug 1333930 - Update ES3 compressed texture test's ext name.
MozReview-Commit-ID: 6lH9mDhk8gW
2017-01-30 19:06:07 -08:00
Jeff Gilbert
17669cefd3 Bug 1333930 - Disable ETC textures on ANGLE, where they are emulated. - r=daoshengmu
MozReview-Commit-ID: EQL4jjQLmwO
2017-01-30 19:06:05 -08:00
Andrew Osmond
48eeda9e2c Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical 2017-01-18 10:12:32 -05:00
Catalin Badea
3d75f82b5f Bug 1316659 - Use OpenWindowRunnable as an observer when waiting for fennec to start before executing an open window operation. r=bkelly
This patch also changes the order in which pending openWindow operations
are executed.
2017-01-31 14:21:52 +00:00
Wes Kocher
8d4bb91470 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Am6M5iHxmAr
2017-02-01 16:31:23 -08:00
Andrew McCreight
87a0a37e72 Bug 1333915, part 2 - Stop using bridges and spawns in plugins. r=jimm
The old code would do the content process portion of the open by
immediately sending a message back to the content process, but this
has some weird issues with nesting and priorities. Instead of doing
that, I return the endpoint for the content process back to the
original sync call. This requires more code changes, to thread the
endpoint along, but it is conceptually simpler.

Once I removed the bridges and got it working, I was just able to
remove the spawns from the IPDL file and it worked.

MozReview-Commit-ID: 1tfiJrV4jbV

--HG--
extra : rebase_source : 1ce0012d3f51b0cdebb1954cf473811a9d6c47a7
2017-01-25 14:17:17 -08:00
Andrew McCreight
b6f21443e2 Bug 1333915, part 1 - Don't open the channel in CommonInit. r=jimm
The next patch will open the channel differently in each case, so move
that code into the callers.

MozReview-Commit-ID: 4zkLTcoZhUu

--HG--
extra : rebase_source : 65e8bf90a628034914c5526c8efef9e61fc624ab
2017-01-25 16:15:44 -08:00
Tomislav Jovanovic
460e6f68ee Bug 1310318 - Part 1: Allow access to canvas drawWindow() with web extensions permission r=bz
MozReview-Commit-ID: 4ee3pRfduIj

--HG--
extra : rebase_source : 428cf25f732c27ffd34e1a47105a96919c3cb36e
extra : source : 1063bdd7940796e9c4e8634b82d55f417e289e28
2017-02-01 21:47:59 +01:00
Wes Kocher
371cf3f61e Merge m-c to inbound, a=merge
MozReview-Commit-ID: CyHV6tHPt5Y
2017-01-30 15:54:05 -08:00
Wes Kocher
584127af5f Merge inbound to central, a=merge
MozReview-Commit-ID: 4GYZ5Pzy7BY
2017-01-30 15:44:58 -08:00
Boris Zbarsky
11b7c7920e Bug 1334749. Avoid creating a temporary cairo surface, just to copy its data to a skia surface, in putImageData. r=lsalzman 2017-01-30 15:45:23 -05:00
Paul Adenot
7b3f33ea5b Bug 1335066 - Fix logging in TrackEncoder.cpp. r=pehrsons
This was a mix of Android logging for b2g and normal logging and also noop
logging statement. This makes everything use MOZ_LOG.

MozReview-Commit-ID: BGE2JVcCVdF
2017-01-30 17:44:07 +01:00
Brian Hackett
8033ed29a8 Bug 1324002 - Mark atoms separately in each zone, r=jonco,mccr8,peterv.
--HG--
extra : rebase_source : 53cf4fa94f122a991c2adbd7bae3714de4391bb4
2017-01-30 06:31:47 -07:00
Kartikaya Gupta
d492ef8935 Bug 1322633 - Don't initialize APZ protocols unless PLayerTransaction was successfully set up. r=dvander
MozReview-Commit-ID: Ja8TsCeGZ9
2017-01-30 10:05:43 -05:00
Carsten "Tomcat" Book
86d6d898a4 Merge mozilla-central to mozilla-inbound 2017-01-30 16:02:19 +01:00
Carsten "Tomcat" Book
29cd257175 merge mozilla-inbound to mozilla-central a=merge 2017-01-30 15:59:14 +01:00
Masayuki Nakano
c6705b1fde Bug 1333927 Make ScrollAreaEvent::mClientArea cycle collected r=smaug
ScrollAreaEvent extends a cycle collected class UIEvent.  It also contains a cycle collected DOMRect member field.

MozReview-Commit-ID: D1xsod4es0r

--HG--
extra : rebase_source : 1da827caecec7748ba8d89743b3bab59ba0faa73
2017-01-27 15:57:38 +09:00
Cameron McCormack
01afae2b4b Bug 1334768 - stylo: Test expectation adjustments for 2017-01-30 merge.
MozReview-Commit-ID: 5Uua9zyS9Db
2017-01-30 21:27:43 +08:00
Cameron McCormack
9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Andrew Sutherland
8e593b76bd Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
IndexedDB database operations are written such that they must execute
synchronously.  For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion.  However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption.  However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce.  (rr and its enforced single-threading is a
good way to reproduce, however.  Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)

Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
  only allows a single path component to be appended.  In other words,
  file creation is limited to files at the root of the profile
  directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided.  This is
  essential on windows where file deletion only occurs when all handles
  are closed.  Without this fix, "RemoveFiles" side-effect of deleting
  the created files might not take effect until garbage collection runs
  and collects the outStream.
2017-01-30 01:07:27 -05:00
Cameron McCormack
35486c881a Bug 1334768 - stylo: More reftest expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: 8TT4JzUIBZl
2017-01-30 10:53:58 +08:00
Nicholas Nethercote
fd25b06c81 Bug 1328365 (part 1) - Replace tlsTicker with gSampler. r=mstange.
There is a single GeckoSampler and it is currently only accessed on the main
thread, so it's silly to use TLS for it; a normal global variable is better.

This patch also adds main thread assertions to a number of the profiler_*()
functions. Even though bug 1330184 may get rid of some of them, right now they
are a useful as both a sanity check and documentation.

--HG--
extra : rebase_source : 7613eb3cc8089b31180365f6463c81f4556c7b66
2017-01-25 16:00:47 +11:00
Andrew McCreight
f31f538622 Backed out changeset a0d8fb1244c5 (bug 1313864) for causing bug 1334904. 2017-01-29 10:29:27 -08:00
Joel Maher
3d044d99d0 Bug 1334541 - add BUG_COMPONENT to dom/animation/* files. r=hiro
MozReview-Commit-ID: Bnyj9mWOYms
2017-01-29 06:51:47 -05:00
Joel Maher
8c153d5857 Bug 1334551 - add BUG_COMPONENT to dom/archivereader/* and dom/asmjscache/* files. r=overholt
MozReview-Commit-ID: IKPWxOsadTa
2017-01-29 06:51:35 -05:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Hiroyuki Ikezoe
9ce5c619b0 Bug 1328787 - Part 1: Factor out Keyframe and PropertyValuePair into Keyframe.h. r=heycam
KeyframeEffectReadOnly.h has lots of unnecesarry stuff for stylo for now, so
is split stuff which needs for stylo into Keyframe.h.
2017-01-29 12:58:23 +09:00
Phil Ringnalda
b6c9ea587d Merge m-c to m-i 2017-01-28 13:12:17 -08:00
Phil Ringnalda
5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Andrea Marchesini
98f845f364 Bug 1320170 - dom/media should use nsIPrincipal (and PrincipalInfo) instead origin as string, r=rjesup, r=ehsan 2017-01-28 18:29:13 +01:00
Phil Ringnalda
439b10ced6 Backed out 2 changesets (bug 1288768) for wptlint failure
Backed out changeset 3361d527f683 (bug 1288768)
Backed out changeset d8b8219c20d6 (bug 1288768)
2017-01-28 08:10:26 -08:00
Andrea Marchesini
cab859bea8 Bug 1288768 - Better error reporting for network errors in workers - WPT, r=bz 2017-01-28 15:40:08 +01:00
Andrea Marchesini
bc538fc7e0 Bug 1288768 - Better error reporting for network errors in workers, r=bz 2017-01-28 15:39:24 +01:00
Kate McKinley
0baeefeea1 Bug 1328460 - Don't send priming to IP or non-standard ports r=ckerschb
MozReview-Commit-ID: GLyLfp8gqYt

--HG--
extra : rebase_source : f722504803ed63c5d3be9b84d5053cb1abea984e
2017-01-23 14:01:43 -08:00
Haik Aftandilian
9086ac87fb Bug 1332522 - Part 2 - Remove read restrictions from level 2 policy for file content processes; r=gcp
Update MacSandboxInfo struct to include file system read flag and remove
filesytem read restrictions from the file content process sandbox.

MozReview-Commit-ID: B9LPocvb0W3

--HG--
extra : rebase_source : 7c80335c28dbdb7146d2ad0b447959db5e06cf0f
2017-01-24 15:20:08 -08:00
Haik Aftandilian
fdf0d81ece Bug 1332522 - Part 1 - Send the remote type to the child before enabling the content sandbox; r=bobowen
Call SendRemoteType() before calling SendSetProcessSandbox() so the
child can use the remote type value when setting up the sandbox.

MozReview-Commit-ID: 28Xeyn9cqDf

--HG--
extra : rebase_source : 534354e67a4f46f99be157ed468fc466e96fd0e9
2017-01-24 14:26:21 -08:00
Wes Kocher
4cf8a40463 Merge m-c to autoland, a=merge
MozReview-Commit-ID: J5UyPvoy89k
2017-01-27 16:39:56 -08:00
Wes Kocher
7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Sebastian Hengst
e1d5db133e Backed out changeset e87ae43ca443 (bug 1330326) 2017-01-27 20:59:55 +01:00
Gian-Carlo Pascutto
0d2bf66dfd Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
MozReview-Commit-ID: 9P0bSLLKRWp

--HG--
extra : rebase_source : ab7d7da81459bd08c6aec7d7c89949ca7207471f
2017-01-26 19:59:50 +01:00
Beekill95
ebd1ad47ba Bug 1308434 - Add testcase for calling DecodeAudioData on detached buffer. r=padenot,dminor
MozReview-Commit-ID: 25zz7RfVHxO

--HG--
extra : rebase_source : 35f8364bf8025a5c440934add359d440c09af9bb
2017-01-26 13:45:51 +07:00
Andrew McCreight
4499bcb90f Bug 1329797 - Convert PBackground to use endpoints instead of opens. r=billm
Instead of an opens, the child sends a new message InitBackground to
the parent to create the parent side.

Most of this is threading around the endpoints instead of the
transport stuff.

MozReview-Commit-ID: 2c5SrCEAGyY

--HG--
extra : rebase_source : 1ee3d6631c5a7755d8e43342932ab16d9da161cd
2017-01-24 11:49:13 -08:00
Gijs Kruitbosch
8faf5c08a8 Bug 1333164 - fix invalid references to mochitest stylesheet, r=erahm
MozReview-Commit-ID: 1Xxt72jYdm7

--HG--
extra : rebase_source : 15d854ffd6a142687fe5232149a0e370f1c058c2
2017-01-24 14:24:04 +00:00
Boris Chiou
56b53b069d Bug 1324691 - Part 4: Remove conditions on some crashtests. r=heycam
We should pass these animation tests now:
* 1216842-3.html
* 1216842-4.html
* 1278485-1.html
* 1290535-1.html
* layout/style/crashtest/1290994-1.html
* layout/style/crashtest/1290994-2.html
* layout/style/crashtest/1290994-3.html

And these tests still need to be verified by Bug 1334036.
* 1216842-1.html
* 1216842-2.html
* 1216842-5.html
* 1216842-6.html

MozReview-Commit-ID: 1qLcS9ovsYp

--HG--
extra : rebase_source : 7b013fd62a79352d429e2bf28246a2587a327db5
2017-01-27 14:38:55 +08:00
Boris Chiou
dd957f850b Bug 1324691 - Part 1: Use warnings instead of assertions for unsupported OMTA. r=heycam
Make FindAnimationsForCompositor return false because we don't support
OMTA, and use warnings, instead of assertions, because animations sill
work.

We call RequestRestyle(Layer) not only for OMTA but also for
non-compositor-driven animations, so just skip the animation generation part,
and use warnings, instead of assertions.

MozReview-Commit-ID: LNw5aC8jOvh

--HG--
extra : rebase_source : e573c2ec8ef4b32796764e869dc3e1fd58cfa6cb
2017-01-26 15:27:44 +08:00
Carsten "Tomcat" Book
9af2aa6b47 Merge mozilla-central to autoland 2017-01-27 11:26:26 +01:00
Carsten "Tomcat" Book
a516a86a24 merge mozilla-inbound to mozilla-central a=merge 2017-01-27 10:42:54 +01:00
Munro Mengjue Chiang
fc47b05585 Bug 1330350 - add holding mechanism to fix faulty device counter; r=jib
MozReview-Commit-ID: CIUucjaglK1

--HG--
extra : rebase_source : 128dbc5001a1211faa79cf3821c4a9ed00f01622
2017-01-27 00:08:06 +08:00
Michelangelo De Simone
a011917b2b Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm
MozReview-Commit-ID: 4WPUsGAO7xF

--HG--
extra : rebase_source : a0616dff53d547ab6c5b5d9f9b4e965e60b862b5
2017-01-26 15:38:16 -07:00
JW Wang
9b0debfda1 Bug 1333576 - Ensure Shutdown() is called before releasing the decoder. r=gerald
MozReview-Commit-ID: CBEOgh5v90L
2017-01-25 10:49:29 +08:00
Kartikaya Gupta
f41ed85d6d Bug 1333892 - Remove unused IPC message leftover from B2G days. r=kanru
MozReview-Commit-ID: 2qBq6WjzbcO
2017-01-25 16:21:12 -05:00
David Anderson
1a407d3a95 Add GPU process support to nsMemoryReportingManager. (bug 1321492 part 7, r=erahm) 2017-01-26 16:35:55 -08:00
David Anderson
654acb89e0 Move MaybeFileDesc out of PContent and into an IPDL header. (bug 1321492 part 5, r=erahm) 2017-01-26 16:35:54 -08:00
David Anderson
79ae0d0a47 Factor ContentParent methods out of nsMemoryReportingManager. (bug 1321492 part 4, r=erahm) 2017-01-26 16:35:54 -08:00
David Anderson
694639356f Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm)
--HG--
rename : dom/ipc/PMemoryReportRequest.ipdl => dom/ipc/MemoryReportTypes.ipdlh
2017-01-26 16:35:54 -08:00
David Anderson
b953cadaaa Remove the MemoryReportRequestChild dependency on ContentChild. (bug 1321492 part 2, r=erahm) 2017-01-26 16:35:53 -08:00
David Anderson
356cc23a9a Move PMemoryReportRequest classes to a separate source file. (bug 1321492 part 1, r=erahm) 2017-01-26 16:35:53 -08:00
Wes Kocher
65216b775b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 5CIctUOTFma
2017-01-26 16:32:26 -08:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Chris Pearce
c4a0c6d738 Bug 1324925 - Backed out changeset 229e1278d976. r=backout
MozReview-Commit-ID: NnHo7YXFls
2017-01-27 12:30:33 +13:00
Catalin Badea
d766bfbd2b Bug 1333112 - Fix windowClient.Navigate leak. r=bkelly 2017-01-26 21:37:17 +02:00
Olli Pettay
c3fe34260f Bug 1333903 - ErrorEvent, CloseEvent, ProgressEvent and FileList should be exposed in workers, r=baku
--HG--
extra : rebase_source : efcc0f77c1ae9838f1c999ec53a129b6f76c4f01
2017-01-26 18:57:59 +02:00
Ben Kelly
3f5c467b20 Bug 1319278 P5 Removed unused TimerThreadEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly
aec8848418 Bug 1319278 P4 Make ServiceWorkerPrivate use new WorkerControlEventTarget instead of TimeThreadEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly
67f0e950f9 Bug 1319278 P3 Make worker GC use new WorkerControlEventTarget. r=baku 2017-01-26 08:01:33 -08:00
Ben Kelly
e3e5175758 Bug 1319278 P2 Make the WorkerPrivate create a WorkerControlEventTarget. r=baku 2017-01-26 08:01:32 -08:00
Ben Kelly
9dfba8baab Bug 1319278 P1 Add a WorkerControlEventTarget that executes runnables as WorkerControlRunnables. r=baku 2017-01-26 08:01:32 -08:00
Trevor Saunders
5e44465e8d bug 1333514 - fix race between PDocAccessibleConstructor messages and PBrowser::Destroy messages r=billm 2017-01-26 10:01:43 -05:00
Olli Pettay
121666c25e Bug 1333901, fix hazard issue, r=me
--HG--
extra : rebase_source : 204c37d51ab7534211364ddda8162da678b5734e
2017-01-26 16:09:24 +02:00
Olli Pettay
68d3ebc645 Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki
--HG--
extra : rebase_source : c0cb764a8d7d99fb681cafb7c99bb334627299c8
2017-01-26 12:00:16 +02:00
Bill McCloskey
4df03bc275 Bug 1332494 - Add comment to mozilla/dom/Dispatcher.h (r=froydnj)
MozReview-Commit-ID: 1moUgyz3lwe
2017-01-26 14:45:58 -08:00
Bill McCloskey
ec760e9fba Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Brad Lassey
95541ed5c6 bug 1333607 - fix some plugin tests to work on high dpi machines r=jimm 2017-01-26 16:09:41 -05:00
Boris Zbarsky
d07b805990 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Timothy Nikkel
ca4918b714 Bug 1332569. r=bzbarsky a=dveditz 2017-01-26 15:27:27 -06:00
Wes Kocher
200a7e4e9a Backed out changeset 9fae2a07dd43 (bug 1333838) for wplint failures a=backout
MozReview-Commit-ID: D6FEaIbDpMq

--HG--
extra : rebase_source : c33688ef80e6d00aed81498ff7899c578398d70b
2017-01-26 13:13:38 -08:00
Boris Zbarsky
bc88abc700 Bug 1333838. Only treat actual boolean return values from OnErrorEventHandlerNonNull as being able to cancel the event. r=smaug 2017-01-26 15:40:09 -05:00
Carsten "Tomcat" Book
3ba519c29b Backed out changeset 3f1285bd1cbd (bug 1319531) for test failures in own test on a CLOSED TREE 2017-01-26 14:41:33 +01:00
Carsten "Tomcat" Book
e8b6225b69 Backed out changeset fe6d35a774ed (bug 1333901) for causing hazard warnings after landing 2017-01-26 14:40:42 +01:00
Andrew Sutherland
a00fb459e2 Bug 1319531 - Ensure all streams provided by DatabaseFile can be read without generating NS_BASE_STREAM_WOULD_BLOCK errors. r=janv
IndexedDB database operations are written such that they must execute
synchronously.  For this reason, the add/put operation reads/writes its
Blobs to disk in a synchronous fashion.  However, with the introduction
of SendStream-backed Blobs for large (>1 MiB) blobs whose contents are
streamed to the parent replacing nsStringInputStream-backed Blobs
(whose contents were sent up in a single IPC message that might exceed
the size limit and cause a crash), this has no longer been a safe
assumption.  However, the problems weren't immediately obvious because
most pre-WASM Blobs are smaller than the 1MiB threshold and even when
they exceeded the size, their memory-backed contents could rapidly be
sent to the parent via IPC, making NS_BASE_STREAM_WOULD_BLOCK errors
rare/hard to reproduce.  (rr and its enforced single-threading is a
good way to reproduce, however.  Also, see the testing patch on the
bug that introduces artificial delays into SendStream.)

Included SpecialPowersObserver.jsm minor changes to "CreateFiles":
- appendRelativePath is used instead of appendPath because appendPath
  only allows a single path component to be appended.  In other words,
  file creation is limited to files at the root of the profile
  directory using appendPath, which is needlessly limiting.
- outStream is now closed even if no data is provided.  This is
  essential on windows where file deletion only occurs when all handles
  are closed.  Without this fix, "RemoveFiles" side-effect of deleting
  the created files might not take effect until garbage collection runs
  and collects the outStream.
2017-01-26 05:46:59 -05:00
Olli Pettay
c479f3ffbf Bug 1333901 - support document.createEvent(ErrorEvent), r=masayuki 2017-01-26 12:00:16 +02:00
Timothy Nikkel
a721701822 Bug 1264798. Include the composite end time in the MozAfterPaint event. r=smaug r=mattwoodrow 2017-01-25 23:01:33 -06:00
Phil Ringnalda
39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Phil Ringnalda
7da3c9dcf4 Merge autoland to m-c, a=merge 2017-01-25 20:37:29 -08:00
Wes Kocher
5856ed7acc Backed out changeset c429f0a0040e (bug 1316282) for timing out Windows PGO builds a=backout CLOSED TREE
MozReview-Commit-ID: K88JI9UiHqU
2017-01-25 16:59:20 -08:00
Bevis Tseng
aa7ad0363c Bug 1333371 - Fallback to AbstractThread::MainThread() if the inner window is not provided. r=billm 2017-01-25 13:43:30 +08:00
Liang-Heng Chen
413f0cb0b4 Bug 1328106 - check IPC state before sending event; r=jdm
MozReview-Commit-ID: CeWCIG0dyKS

--HG--
extra : rebase_source : c980a395bc61c1d21226c52568d62c69e1848175
2017-01-23 16:23:34 +08:00
Nils Ohlmeier [:drno]
ede12d1bfb Bug 1333185: memset PRNetAddr for UDPSocket::connect(). r=schien
MozReview-Commit-ID: JJb18xXNy1c

--HG--
extra : rebase_source : a13f661eeb9ba4bc0b6c38f522b3c89c62ef9cc4
2017-01-23 13:40:29 -08:00
Beekill95
0dc2d443bb Bug 1308434 - Throw TypeError if calling decodeAudioData on a detached buffer. r=padenot,dminor
MozReview-Commit-ID: JxFyFCECTeK

--HG--
extra : rebase_source : c69df64616cfe014684f1049c6e2b2b84b899b64
2017-01-21 13:11:46 +07:00
Carsten "Tomcat" Book
dca07ffc3a merge mozilla-central to mozilla-inbound 2017-01-27 11:16:17 +01:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze
f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Kate McKinley
88fa83b99b Bug 1329940 - Ignore window.opener for password manager warnings r=baku,jwatt,MattN
MozReview-Commit-ID: KiIR6WEddgO

--HG--
extra : rebase_source : eeae09dad3d10895b9266b249beacdedded3e1a2
2017-01-12 16:57:44 -08:00
Nils Ohlmeier [:drno]
5a71699e24 Bug 1332826: return error when calling addIceCandidate before setRemoteDescription. r=jib
MozReview-Commit-ID: LYeDkr5G7Tx

--HG--
extra : rebase_source : ecd3e3e1eff4ed11a2ca0989570b8a367f7527e7
2017-01-21 01:12:46 -08:00
Masayuki Nakano
7ab96b2cef Bug 1314053 part.2 Change EditorBase::IsAcceptableInputEvent()'s argument from nsIDOMEvent* to WidgetGUIEvent* r=smaug
MozReview-Commit-ID: Jo6EwQubUAM

--HG--
extra : rebase_source : 098b23946f349bbe7641a2059538ffb20ae4f5bb
2017-01-17 17:17:06 +09:00
Andrea Marchesini
43b97e9ea3 Bug 1288768 - Better error reporting for network errors in workers - WPT, r=bz 2017-01-28 15:40:08 +01:00
Andrea Marchesini
e14c51cdfd Bug 1288768 - Better error reporting for network errors in workers, r=bz 2017-01-28 15:39:24 +01:00
Cameron McCormack
5423a0c427 Bug 1334768 - stylo: Test expectation adjustments for 2017-02-01 merge. r=me
MozReview-Commit-ID: FxnEiBpZQQg
2017-02-01 17:29:28 +08:00
Andrea Marchesini
acb69b3cbc Bug 1332003 - Entries API must create BlobImpl in the parent process, r=smaug 2017-02-01 07:33:18 +01:00
Wes Kocher
18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Boris Zbarsky
39d50c2647 Bug 1332713 part 4. Make Promise-returning getters return a rejected Promise on exception instead of throwing. r=qdot 2017-01-27 18:53:37 -05:00
Boris Zbarsky
9894e14428 Bug 1332713 part 2. Disallow [SameObject] Promise-typed attributes. r=qdot 2017-01-27 18:53:36 -05:00
Boris Zbarsky
94a230e52a Bug 1332713 part 1. Disallow Promise-typed attributes with setters. r=qdot 2017-01-27 18:53:36 -05:00
Wes Kocher
ae4121c502 Backed out changeset 15a5f1ecca37 (bug 1216175) for m(oth)/m(c2) failures in test_WorkerDebugger.xul a=backout
MozReview-Commit-ID: LOu50H5NS2L
2017-01-27 13:50:12 -08:00
Lee Salzman
76fbeec1b5 Bug 1334647 - make canvas.drawImage trigger a JS error rather than a critical error on an invalid target. r=rhunt
MozReview-Commit-ID: 3TxJM0tjhVC
2017-01-27 16:35:10 -05:00
Ben Kelly
5484668122 Bug 1334480 Don't try to update a nullptr registration. r=asuth 2017-01-27 12:04:24 -08:00
Andrea Marchesini
8b33e80b44 Bug 1331864 - Implement URLSearchParams's sort(), r=qdot 2017-01-27 20:35:47 +01:00
Wes Kocher
3317135d5c Backed out 3 changesets (bug 1073952) for test_iframe_srcdoc.html failures a=backout
Backed out changeset e63233859ee1 (bug 1073952)
Backed out changeset 5534087efac3 (bug 1073952)
Backed out changeset 1e631015acc8 (bug 1073952)

MozReview-Commit-ID: Fmrv8mz4HYI
2017-01-27 10:37:05 -08:00
Ehsan Akhgari
c358786407 Bug 1334509 - Remove support for the NPNURLVCookie NPAPI; r=bsmedberg 2017-01-27 12:55:41 -05:00
Andreas Farre
a90b92f181 Bug 1313864 - Move running idle callbacks to executor. r=bkelly
MozReview-Commit-ID: EuJfpkM6Acf
2017-01-27 17:54:39 +01:00
Geoff Brown
a644396e1b Bug 1332850 - Skip test_browserElement_inproc_AudioChannel_nested.html on Android for frequent failures; r=me
Skip test_browserElement_inproc_AudioPlayback.html, since it sometimes fails also.
This manifest was recently enabled on Android, in bug 1287720.
2017-01-27 09:17:17 -07:00
Andrea Marchesini
6278ae48c8 Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan 2017-01-27 16:53:44 +01:00
Tooru Fujisawa
ddd36fec56 Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz
--HG--
rename : js/xpconnect/idl/nsIScriptError.idl => dom/bindings/nsIScriptError.idl
rename : js/xpconnect/src/nsScriptError.cpp => dom/bindings/nsScriptError.cpp
rename : js/xpconnect/src/nsScriptErrorWithStack.cpp => dom/bindings/nsScriptErrorWithStack.cpp
2017-01-28 00:42:47 +09:00
Andrew Osmond
945fae0492 Backed out changeset 53fee347291b (bug 1331938) r=backout 2017-01-27 09:15:52 -05:00
Ben Kelly
055c3491d8 Bug 1334165 Don't allow event dispatch after WebSocket allows worker thread to exit cleanly. r=baku 2017-01-27 06:06:33 -08:00
Andrew Osmond
cb555a4ef6 Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical 2017-01-18 10:12:32 -05:00
Joel Maher
2c0ed9cf64 Bug 1334242 - add BUG_COMPONENT to dom/security/* files. r=ckerschb
MozReview-Commit-ID: EeYWpLBI5G5
2017-01-27 08:18:50 -05:00
Frederik Braun
d15c007015 Bug 1073952 - Part 2 - tests for iframe sandbox srcdoc and data URIs with CSP r=ckerschb,dveditz
MozReview-Commit-ID: DPJRqEut5pu
2017-01-27 01:05:00 +01:00
Frederik Braun
f72672a461 Bug 1073952: inherit CSP into iframe sandbox srcdoc r=ckerschb,dveditz
MozReview-Commit-ID: KTzCLoDfYnd
2017-01-27 01:05:00 +01:00
Jay Harris
4b018f109d Bug 1316650 - Changes the NS_WARNING to an EME_LOG r=cpearce
MozReview-Commit-ID: 2dDipFVr2Ip

--HG--
extra : rebase_source : 3807dc7697a59908f889dff110770c08b51b7f0c
2017-02-01 10:42:37 +13:00
Ralph Giles
cb066b204d Bug 1333931 - Handle nullptr TextTrack objects in sorting. r=kinetik
Check for nullptr arguments passed to CompareTextTracks. Based
on Ben Kelly's analysis this can happen if the cycle collector
has cleared a TextTrack pointer while comparision is still
happening, perhaps in a queued event task.

This change makes nullptr sort to the end, and adds a
MOZ_DIAGNOSTIC_ASSERT for trying to get the position
of a nullptr track should someone add another call at
a later date.

--HG--
extra : rebase_source : 596dbe2fb718535946a65e02619ae1a7c4c6ce10
2017-01-31 17:24:17 -08:00
Masatoshi Kimura
fe5239ac72 Bug 1334868 - Remove Windows XP support from dom/ipc/. r=jimm
MozReview-Commit-ID: 59ud0n62opE

--HG--
extra : rebase_source : e0d7a0af21e680a0a6e738ff353140179d68544a
2017-01-29 16:27:33 +09:00
Chris Manchester
ce6e6eeda0 Bug 1333608 - Package testaddon.xpi during artifact builds. r=mshal
We're already installing the plugin binaries to the objdir, so by packaging
the addon during the build we can allow these builds to run tests using
the addon.

MozReview-Commit-ID: CnzrHXiWQjM

--HG--
extra : rebase_source : 73df9c714d0b1c7628cb3bc9667fb27e757cf89f
2017-01-26 16:10:09 -08:00