Commit Graph

504641 Commits

Author SHA1 Message Date
Tim Nguyen
53316683b8 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Denis Scott
22a88e9693 Bug 1323115 - Enable BaselineJIT on aarch64. r=jandem,jolesen 2016-12-23 15:45:12 +01:00
Jan de Mooij
1c2495cf81 Bug 1322093 followup - Make idempotent ICs handle unshadowed DOM proxies to fix Dromaeo regressions. r=evilpie on IRC 2016-12-23 15:17:32 +01:00
Bob Owen
f1c3bb06f7 Bug 1321020 Part 2: Test that a file:// URI window opened from a file:// page can be navigated to web content. r=gijs
--HG--
rename : browser/base/content/test/general/dummy_page.html => browser/base/content/test/tabs/dummy_page.html
2016-12-23 12:27:03 +00:00
Bob Owen
680bfa7eaf Bug 1321020 Part 1: Ensure that a new tab opened from content with non-default remote type, gets correct remote type. r=gijs 2016-12-23 12:27:03 +00:00
Jim Blandy
02e31428a8 Bug 1302441 - Break assertion down into smaller assertions. r=shu 2016-12-20 23:37:52 -08:00
Alessio Placitelli
3d3b6b38af Bug 1282782 - Add sourcestamp file to the source package. r=ted
MozReview-Commit-ID: GPuTKfeg7oy
2016-12-22 09:14:00 +01:00
David Parks
a01d83514b Bug 1185472 - Only allow NPAPI HWNDs to be adopted by an HWND in the chrome process. r=jimm
Add the set of plugin process PIDs to PluginProcessParent and, when attempting to reparent plugin windows in the chrome process, validate that those windows originated with the plugin process (by checking the window's PID against the set in the PluginProcessParent).
2016-12-22 10:50:03 -08:00
28354c5944 Bug 1325473 - "A TypeError should be thrown when accessing 'arguments' or 'caller' on any of the new function types". r=shu 2016-12-22 16:20:00 +01:00
Jan de Mooij
631ba83416 Bug 1322093 part 19 - Enable the new IonGetPropertyIC that's based on CacheIR. r=h4writer 2016-12-23 08:34:03 +01:00
Jan de Mooij
d671b32ca5 Bug 1322093 part 18 - Add IonCacheIRCompiler to compile Ion IC stubs from CacheIR. r=h4writer 2016-12-23 08:15:01 +01:00
Jan de Mooij
dd4f284a52 Bug 1322093 part 17 - Barrier reads from typed objects so we can attach a typed object IC stub. r=bhackett 2016-12-23 08:14:58 +01:00
Jan de Mooij
fedd890dd1 Bug 1322093 part 16 - Add IonIC infrastructure. r=h4writer 2016-12-23 08:14:51 +01:00
Timothy Nikkel
937a0a32fb Bug 1325297. Use the return value of StartDecoding to determine if an image finished decoding during painting. r=aosmond
This saves us from having to do another paint for an image that is already decoded.
2016-12-19 19:01:53 -06:00
Timothy Nikkel
748db52939 Bug 1325297. Create a variant of imgIContainer::StartDecoding that returns if the current image frame is complete. r=aosmond
During painting we do some image decoding, but we want to send the image progress notifications from that decoding async. The CSS image renderer checks if the image is complete before painting it. So if the decoding we did during painting resulted in the images becoming complete there is no way to tell that during the same paint. Thus making that decoding a waste of time.

So we add a limited way of telling if the result of a StartDecoding call has resulting in an image that is ready to paint so we can get that result during the same paint.

I would have prefered to change StartDecoding to just return a bool but that would have made the bool an outparam, which would make every StartDecoding call uglier with extra code. Changing it to a notxpcom function would have fixed that, but I'm not sure if that is safe.
2016-12-23 01:07:45 -06:00
cku
a1ac3d58d1 Bug 1311270 - Part 9. Test cases for new mask-clip/mask-origin values.
MozReview-Commit-ID: 2zdh6tHXXqg

--HG--
extra : rebase_source : 166ccd5c661338f6f4d090275b486b6463fa4fc6
2016-11-25 00:10:23 +08:00
cku
2e82af6e3a Bug 1311270 - Part 8. Add assertion for margin-box.
MozReview-Commit-ID: FEkEf3ps83k

--HG--
extra : rebase_source : b1c1deb914ba23f74953670e8e79cc0d3ba635c4
2016-11-30 15:51:05 +08:00
cku
ad2eb9a55d Bug 1311270 - Part 7. Rename local variable in GetImageLayerClip and ComputeImageLayerPositioningArea.
GetImageLayerClip and ComputeImageLayerPositioningArea are used by both
background and mask layer. Rename local variables to reveal this fact.

MozReview-Commit-ID: FjScl95eWJg

--HG--
extra : rebase_source : cad013dabea9af3f5636f894f867ff913d004cce
2016-11-24 17:23:01 +08:00
cku
cf0d863191 Bug 1311270 - Part 6. Handle mask-origin.
MozReview-Commit-ID: EGuK4TIy7wp

--HG--
extra : rebase_source : d9925011bd36dc82dccdb9ffb8fdcb7c085ccc33
2016-11-24 02:52:44 +08:00
cku
786cafedab Bug 1311270 - Part 5. Handle rendering of mask-clip:fill-box/stroke-box/view-box.
MozReview-Commit-ID: JhInquHEgmy

--HG--
extra : rebase_source : bfd590b7897c7b1eebda7b642afcdd0bddb3faea
2016-11-23 18:23:32 +08:00
cku
8ac56b97a3 Bug 1311270 - Part 4. Handle rendering of mask-clip:no-clip.
MozReview-Commit-ID: 42n7ywfrc3P

--HG--
extra : rebase_source : 74732dd4185f554e226c712738592448df215798
2016-11-23 02:36:04 +08:00
cku
286c728e90 Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
MozReview-Commit-ID: DYokhDa9fFQ

--HG--
extra : rebase_source : a187c3f9519efb8b031913ce0dbf643c05232fa2
2016-11-22 15:30:01 +08:00
cku
d44e01d03c Bug 1311270 - Part 2. Rename StyleClipPathGeometryBox to StyleGeometryBox and extend contained values.
MozReview-Commit-ID: 85zjcifAycX

--HG--
extra : rebase_source : 6c2a7c7913251c89888527d70b3b1fe27c475b4a
2016-11-22 14:49:43 +08:00
cku
e7a4b94286 Bug 1311270 - Part 1. Move geomery box computing from nsCSSClipPathInstance to nsLayoutUtils.
Simply move ComputeHTMLReferenceRect and ComputeSVGReferenceRect from
nsCSSClipPathInstance to nsLayoutUtils to reuse the code in both clip-path and
mask.

MozReview-Commit-ID: 59LofAeEhKQ

--HG--
extra : rebase_source : d974c7e2170a43242ae839c34ae5cef946d4264a
2016-11-22 11:19:11 +08:00
Ethan Lin
f85a0b4881 Bug 1303623 - Part5. Testcase changes. r=heycam
MozReview-Commit-ID: 89A8ESHo2yJ

--HG--
extra : rebase_source : 65f651498283275f20f47582fea078a9f0aecdb1
2016-10-19 15:54:04 +08:00
Ethan Lin
21706065db Bug 1303623 - Part4. Rendering changes. r=heycam
MozReview-Commit-ID: AXKoabclfz9

--HG--
extra : rebase_source : f4d9d5c7f18fdc40bd87f661b0e0a15e02a0d084
2016-10-19 15:49:57 +08:00
Ethan Lin
118c327468 Bug 1303623 - Part3. Parser changes. r=heycam
MozReview-Commit-ID: AQz596lVFnd

--HG--
extra : rebase_source : 05763779146dbd91586317345b742a043730fb5c
2016-10-19 15:49:10 +08:00
Ethan Lin
f1d376b659 Bug 1303623 - Part2. Style structure changes. r=heycam
MozReview-Commit-ID: Lkdd5nAQRwG

--HG--
extra : rebase_source : 644ad5a39359d956c6c102be3735278c42872ce3
2016-10-19 15:48:47 +08:00
Ethan Lin
a8763b0e05 Bug 1303623 - Part1. Style const changes. r=heycam
MozReview-Commit-ID: 7QfVXegiiqc

--HG--
extra : rebase_source : d98165a7ef1981bbe2fbd3d0ea028db2a9cd7bf9
2016-10-19 15:45:05 +08:00
Chris Peterson
8a72eabcc1 Bug 1142403 - Part 4: Clobber to force jemalloc to rerun configure. r=glandium
--HG--
extra : rebase_source : 7cdca16b57d03a7f0e0bfa134da1fa2619a09924
2016-12-22 18:57:57 -08:00
Chris Peterson
b9fd4f1b11 Bug 1142403 - Part 3: jemalloc4 no longer requires ctl.c to be built in non-unified mode in debug builds. r=glandium
--HG--
extra : rebase_source : 9c1e00514be306552722ebd855d364b9b98b5c87
2016-12-22 18:54:59 -08:00
Mike Hommey
2f5d7b1ace Bug 1142403 - Part 2: Enable jemalloc debug on debug builds. r=njn
--HG--
extra : rebase_source : c72e042fdbfc51e6bef289f499c54d9f9682cb0b
extra : source : 1b13dab24bd1a2694d30756a0daeca4c14525590
2015-03-12 15:54:43 +09:00
Mike Hommey
bbde532853 Bug 1142403 - Part 1: Don't build jemalloc4 with unified sources when built with --enable-debug. r=mshal
When built with --enable-debug, jemalloc4 makes headers define functions that
are normally inlined, and that prevents unified sources from working.

--HG--
extra : rebase_source : 9490a0a8312e9be18e639384e3450a9c924e3daf
extra : source : a67867200ec31a040bb6bf8320bde20beb34aa3e
2015-08-12 16:04:53 +09:00
Franziskus Kiefer
231f3c3fd6 Bug 1317947 - land NSS 0x6353ce63e18f, r=me 2016-12-23 06:00:57 +01:00
Wes Kocher
25645ecbc9 Merge m-c to inbound, a=merge 2016-12-22 18:44:47 -08:00
Wes Kocher
60785fce6d Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Ehsan Akhgari
41b2cc8dd4 Bug 1325255 - Don't crash during shutdown if the deserialization of the principal fails; r=bkelly 2016-12-22 15:09:12 -05:00
Sebastian Hengst
8b13894203 Backed out changeset d539253e91ae (bug 1313276) for failing own test paint-on-maskLayer-1c.html on Android debug. r=backout 2016-12-22 20:16:20 +01:00
Sebastian Hengst
dc41e31e4c Backed out changeset d90a8fc45b74 (bug 1313276) 2016-12-22 20:15:40 +01:00
Sebastian Hengst
056db35cc3 Backed out changeset f9e979367a0c (bug 1313276) 2016-12-22 20:15:36 +01:00
Hammad Akhtar
f9115424f2 Bug 1325429 - fix formatting in transforms.rst; r=dustin
MozReview-Commit-ID: 5C85qk9Asqp

--HG--
extra : rebase_source : 55c224143d4d2de286d8f4459072c3031ae43b49
2016-12-23 00:27:40 +05:30
Grisha Kruglov
e05b65163b Bug 1320798 - Re-order context menu items for Activity Stream r=ahunt
MozReview-Commit-ID: Ldt0H5XQxsz

--HG--
extra : rebase_source : f5467ada9237ad4db1ce8b481e7c29bcce6e6ec5
2016-12-21 14:30:50 -08:00
Mark Banner
071c48e792 Bug 1325374 - Specify more globals in browser.js/nsBrowserGlue.js, and start fixing up some of places. r=mossop
MozReview-Commit-ID: C22lTfaUzHB

--HG--
extra : rebase_source : 8d186d18814a84363ebf2657dd7584a26edd845f
2016-12-22 12:14:05 +00:00
Mark Banner
59a8c923af Bug 1325339 - tools/lint/eslint/eslint-plugin-mozilla isn't being linted. r=mossop
MozReview-Commit-ID: ImgANPcndoF

--HG--
extra : rebase_source : 0eb85c185d907ac9c07ba26662f60dbb81511610
2016-12-22 10:53:51 +00:00
Sebastian Hengst
010d63ba33 Bug 1324280 - Revert MarginLayoutParamsCompat with setting margin left/right by current layout direction: lint style fixes. r=lint-fixes 2016-12-22 18:52:34 +01:00
Tobias Schneider
7702c68f7a Bug 1324209 - Safely iterate over mIntersectionObservers in nsDocument::NotifyIntersectionObservers. r=mstange
MozReview-Commit-ID: DmtTUiCObHM
2016-12-21 11:36:41 -08:00
Timothy Nikkel
b46e1a9d16 Bug 1325296. RasterImage::LookupFrame does not return a surface if it was created as a result of a sync decode from with the FLAG_SYNC_DECODE_IF_FAST flag. r=aosmond
The Decode call may result in synchronously creating the surface, but we only check again if the surface is there for FLAG_SYNC_DECODE, not FLAG_SYNC_DECODE_IF_FAST.

All of the decoding we do during painting is of the type FLAG_SYNC_DECODE_IF_FAST, which means it would be useless to do that decoding synchronously during painting because the paint doesn't benefit from the result of that decoding.

Looking at the history of this code it looks like https://hg.mozilla.org/mozilla-central/rev/435df926eb10 (part 6 of bug 1119774) was where this bug was introduced. Before that changeset we always did another LookupFrameInternal call after the Decode (called WantDecodedFrames back then). But that changeset changed it to only be done for standard sync decodes, not "sync decode if fast".
2016-12-22 13:15:41 -06:00
Boris Zbarsky
9023b20a12 Bug 1325028 part 5. Change nsGlonalWindow::CanMoveResizeWindows to take CallerType. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky
7cd914777b Bug 1325028 part 4. Remove IsCallerChrome use from nsGlobalWindow::MoveTo/MoveBy. r=bkelly 2016-12-22 11:06:32 -08:00
Boris Zbarsky
5323953edf Bug 1325028 part 3. Remove IsCallerChrome use from nsGlobalWindow::ResizeTo/ResizeBy/SizeToContent. r=bkelly 2016-12-22 11:06:32 -08:00