Commit Graph

11055 Commits

Author SHA1 Message Date
Wes Kocher
524df273d6 Merge m-c to autoland, a=merge 2016-10-14 14:49:31 -07:00
Xidorn Quan
80c70397ac Bug 1292432 part 10 - Make style/link elements return StyleSheet. r=heycam
MozReview-Commit-ID: EIcfdYGZ8UH

--HG--
extra : source : 3fd1c648a97cef67b9ae080f26e22dba4f7be62f
2016-10-14 22:25:38 +11:00
Xidorn Quan
ea2d289c2c Bug 1292432 part 9 - Change WebIDL interface of CSSStyleSheet to StyleSheet. r=heycam
MozReview-Commit-ID: 5AXhsuvvrwe

--HG--
extra : source : 218d4c72938f74f16af22239a99fbdf0e4c621cf
2016-10-14 22:25:38 +11:00
Carsten "Tomcat" Book
5194fbe95c Merge mozilla-central to mozilla-inbound 2016-10-14 12:20:46 +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
Boris Zbarsky
c2b1b76799 Bug 1309326. Fix the HTML serializer's handling of self-closing tags inside <pre> to correctly keep track of our mPreLevel. r=ehsan
The test change makes sure the test actually tests this codepath. The resulting
test expectation changes are all due to the test now recognizing <pre> as preformatted.
2016-10-13 12:44:20 -04:00
Boris Zbarsky
17ccfd1011 Bug 1306472. Back out bug 1268047, because the spec it tried to implement backs the web. r=smaug 2016-10-13 12:10:23 -04:00
Michelangelo De Simone
d089be15c2 Bug 1306778 - Remove DOM/tv and related code. r=jst
MozReview-Commit-ID: 25Mch3xznlh

--HG--
extra : rebase_source : 8ed0967556ee709fb7ca00713d29049a4515f1c7
2016-09-30 16:38:03 -07:00
Andreas Farre
7d049815d5 Bug 1309916 - Add missing namespace qualifier for BlobImpl. r=baku
MozReview-Commit-ID: 1RolRKrrZbc
2016-10-13 09:01:00 +02: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
Wes Kocher
726beea43f Merge m-c to inbound, a=merge 2016-10-12 14:44:03 -07:00
Olli Pettay
f3db1d65bd Bug 1308922, ensure expected DOM tree operations when calling prepend, r=ehsan 2016-10-13 00:34:25 +03:00
Wes Kocher
2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07: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
Andrea Marchesini
4f20f137bf Bug 1309139 - Get rid of NS_NewDOMMessageEvent, r=smaug 2016-10-12 15:17:10 +02:00
Carsten "Tomcat" Book
6c0aec63b8 Merge mozilla-central to mozilla-inbound 2016-10-12 12:03:34 +02:00
Carsten "Tomcat" Book
2844380bd4 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.cpp => media/psshparser/PsshParser.cpp
rename : media/gmp-clearkey/0.1/ClearKeyCencParser.h => media/psshparser/PsshParser.h
rename : media/gmp-clearkey/0.1/gtest/TestClearKeyUtils.cpp => media/psshparser/gtest/TestPsshParser.cpp
rename : media/gmp-clearkey/0.1/gtest/moz.build => media/psshparser/gtest/moz.build
2016-10-12 12:01:48 +02:00
Morris Tseng
caefbd2d51 Bug 1304767 - Deprecated ImageBitmapRenderingContext.transferImageBitmap. r=Ehsan
Deprecated ImageBitmapRenderingContext.transferImageBitmap and replaced
it with ImageBitmapRenderingContext.transferFromImageBitmap.

MozReview-Commit-ID: BbNgKrluhT7

--HG--
extra : rebase_source : 2aa3dbfc3acc5d8b1e451111ddbb2cac63f40433
2016-10-07 17:14:34 +08:00
Tim Huang
caaf3e63f4 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-12 17:32:05 +08:00
Tim Huang
0ceca5575d Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-10-12 17:32:03 +08:00
Thomas Wisniewski
a8940b87e6 Bug 1305928 - Part 2: Only allow <svg>, <math>, XUL, and HTML elements to requestFullscreen. r=smaug 2016-10-11 12:04:59 -04:00
Neil Deakin
0c8bb0cb96 Bug 1308479, use [NSApp isFullKeyboardAccessEnabled] to get keyboard access state, r=mstange 2016-10-11 14:13:36 -04:00
Boris Zbarsky
259fd6811e Bug 1308675. Fix the XHTML serializer's handling of self-closing tags inside <pre> to correctly keep track of our mPreLevel. r=ehsan
The test change makes sure the test actually tests this codepath.  The resulting
test changes are all due to the test now recognizing <pre> as preformatted.
2016-10-11 13:49:39 -04: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
Phil Ringnalda
25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky
e5598c42f7 Bug 1269052 part 2. Add IsSecureContext on nsPIDOMWindowInner. r=bkelly 2016-10-10 15:09:00 -04:00
Andi-Bogdan Postelnicu
0631839b00 Bug 1308871 - removed dead code from nsXMLContentSerializer::SerializeAttr. r=baku
MozReview-Commit-ID: AxxLN41TvZc

--HG--
extra : rebase_source : 4c1c411f4069a5ce62dfe6ff102ff78475384e9f
2016-10-10 13:14:42 +03:00
Brian Birtles
b813bcffe5 Bug 1302973 - Store timelines on document; r=smaug
MozReview-Commit-ID: KHtAq0VgPZW

--HG--
extra : rebase_source : 7daa2a4202f489308981e9cff02e2d7f3bf92c1e
2016-10-09 22:36:56 +09:00
Phil Ringnalda
080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Kartikaya Gupta
758d479cf5 Bug 1308483 - Allow firing the mouselongtap event to chrome JS for use in tests. r=smaug
MozReview-Commit-ID: GYfLAPle5Kl
2016-10-07 15:10:39 -04:00
Ehsan Akhgari
7cbf03adb5 Bug 1307730 - Disallow CORS fetches when we have an expanded principal; r=bzbarsky
It's not possible to construct a useful Origin header when we have
an expanded principal and are about to perform a CORS fetch.  Therefore,
instead of sending a CORS fetch with an |Origin: null| header, we
must fail the request.
2016-10-07 12:47:11 -04:00
John Dai
efa715302c Bug 1275839 - Implement CustomElementsRegistry whenDefined function. r=wchen 2016-10-07 02:16:00 -04:00
Yoshi Huang
00f6846c07 Bug 1301649 - nits for bug 1260931. r=smaug
- use MOZ_ASSERT_IF
- always call inherit function
2016-10-07 17:42:03 +08:00
Matt Woodrow
a36eef926a Bug 1300682 - Part 5: Use KnowsCompositor to initialize decoders and create one for VideoDecoderParent to use. r=nical,jya 2016-10-07 21:13:33 +13:00
Iris Hsiao
e6ab0adc40 Backed out changeset d283c59402ce (bug 1277803)
CLOSED TREE
2016-10-07 11:24:08 +08:00
Iris Hsiao
dd43a4748d Backed out changeset 1d88072cf36a (bug 1277803)
CLOSED TREE
2016-10-07 11:23:59 +08:00
Gerald Squelart
f600196067 Bug 1176218 - p1. Constify nsContentTypeParser::Get... methods - r=froydnj
GetType() and GetParameter() don't actually modify the nsContentTypeParser
object, so we can make them const.
It makes it possible to pass the parser as a const-ref, which I think makes
sense as getters (even those doing some actual work) are usually const.

MozReview-Commit-ID: 9vmqKbmt8y8

--HG--
extra : rebase_source : d07371c8cdcf116952bffafad0cd6cda78f59b20
2016-10-04 16:19:15 +11:00
Tim Huang
fc8ead3f01 Bug 1277803 - Part 2: Make favicons loaded through XUL:image use the correct principal. r=Gijs, r=tnikkel 2016-10-04 19:53:00 -04:00
Tim Huang
85a1cb6b99 Bug 1277803 - Part 1: Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-09-07 00:38:00 -04:00
Jessica Jong
b3014cc00b Bug 1288591 - Implement the layout for <input type=time>. r=mconley, r=dholbert, r=smaug 2016-10-06 00:17:00 -04:00
Olli Pettay
d04af0658f Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan
--HG--
extra : rebase_source : 9583d0f4aa9c395c3615f17244c4531a9d441534
2016-10-14 15:33:42 +03:00
Carsten "Tomcat" Book
c481713ead Merge mozilla-central to mozilla-inbound 2016-10-17 11:34:49 +02:00
Jonathan Kew
e6711537be Bug 1309582 - For text-transform:capitalize, apply capitalization after a literal newline as well as after a space character. r=m_kato 2016-10-17 08:53:15 +01:00
Ryan VanderMeulen
e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Phil Ringnalda
46dddfc99b Backed out 8 changesets (bug 1277803) for frequent failures in browser_privatebrowsing_favicon.js
Backed out changeset a046eef2014c (bug 1277803)
Backed out changeset 61947b3073ba (bug 1277803)
Backed out changeset ef181cdd290f (bug 1277803)
Backed out changeset b6ea3bd24359 (bug 1277803)
Backed out changeset 835470de461d (bug 1277803)
Backed out changeset f4adcb16d1ec (bug 1277803)
Backed out changeset 58c23d794ba5 (bug 1277803)
Backed out changeset f29f88c5c1b9 (bug 1277803)
2016-10-07 18:41:27 -07: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
Manish Goregaokar
180ff22bac Bug 1308234 - Fix signatures of Servo_ functions to match servo glue; r=emilio
MozReview-Commit-ID: K0k93JoFVKb

--HG--
extra : rebase_source : 2b801262ca0cb2daef589c8e1cde31e5f22260b7
2016-10-06 20:58:01 +05:30
Tim Huang
0c89a42cb1 Bug 1277803 - Part 2: Make favicons loaded through XUL:image use the correct principal. r=Gijs, r=tnikkel
--HG--
extra : rebase_source : defe714eda519459c2bd9bc54e6668a37c8fff28
2016-10-04 11:56:15 +08:00
Tim Huang
b7324dcec9 Bug 1277803 - Part 1: Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
--HG--
extra : rebase_source : 75a1dadecd0ef86940ab309d673aeffbf72013af
2016-10-04 11:56:14 +08:00
Andrea Marchesini
e865eab7d6 Bug 1308956 - Get rid of MessagePortList - part 2 - files removed, r=smaug 2016-10-13 15:19:52 +02:00
Andrea Marchesini
b88af2e644 Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug 2016-10-13 15:19:24 +02:00
Andrea Marchesini
793b227795 Bug 1309818 - Fixing some warning when compiling dom/*, r=smaug 2016-10-13 14:33:07 +02:00
Andrea Marchesini
913b042e06 Bug 1309832 - Remove warning message in nsHostObjectProtocolHandler.cpp, r=smaug 2016-10-13 13:43:21 +02:00
Tim Huang
b05fe5b871 Bug 1277803 - Part 2 : Make favicons loaded through XUL:image use the correct principal. r=Gijs, tnikkel 2016-10-13 15:43:56 +08:00
Tim Huang
372ec56ff4 Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb 2016-10-13 15:43:54 +08:00
Cameron McCormack
c1f0ee12ba Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
MozReview-Commit-ID: 6yOIKKl8npT

--HG--
extra : rebase_source : 247787a0e18640c878e461c4b600bc36a40bad6d
2016-10-13 15:04:19 +08:00
Cameron McCormack
58c32a9088 Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.

MozReview-Commit-ID: 994gE9tOjAn

--HG--
extra : rebase_source : 2d50059e51b42251c89a92a954cef7b49720ceba
2016-10-13 15:04:15 +08:00
Andrea Marchesini
ec85a91f65 Bug 1307747 - Remote Blob must have the correct size, r=smaug 2016-10-06 22:44:34 +02:00
Ehsan Akhgari
d4cf901767 Bug 1308319 - Remove app specific parts of the permission manager; r=baku 2016-10-10 11:11:12 -04:00
Samael Wang
8cb0ef55ad Bug 1276553 - Part 5: Add test case. r=smaug
MozReview-Commit-ID: Au9axjjKPqe

--HG--
extra : rebase_source : 7ef17589d509d57a667577ec86b77b01ca0427fc
2016-10-14 15:31:51 +08: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
Andrea Marchesini
d8ece54d80 Bug 1307791 - nsHostObjectURI must release BlobImpl when the underlying blob URL is revoked, r=smaug 2016-10-06 20:28:03 +02:00
Andrea Marchesini
2e8a673008 Bug 1308160 - Correct ::deserialize for nsHostObjectURI, r=smaug 2016-10-06 16:36:07 +02:00
Iris Hsiao
9d064bafbb Backed out changeset c24253346eac (bug 1288997) for crashtest failures
CLOSED TREE
2016-10-06 16:21:33 +08:00
Andrea Marchesini
66bb4acec3 Bug 1288997 - Crashtest added, r=marco 2016-10-06 08:57:22 +02:00
Xidorn Quan
cd39706e9b Bug 1306696 part 3 - Exit fullscreen in non-e10s when no fullscreen request is proceeded. r=smaug
MozReview-Commit-ID: AKCwRqAImc6

--HG--
extra : rebase_source : 4658c04e2977247cada192a990d87c32eaa44833
extra : source : ddb10aa484cc28f5b4b3913e32baad8d0419fb79
2016-10-06 10:48:32 +11: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
Brad Lassey
75da566dc9 bug 1298083 - Don't hide blocklisted Flash from navigator.plugins r=bsmedberg 2016-10-05 09:46:45 -04: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
Ben Tian
e2f03e4b07 Bug 1264769 - Patch 2: Dispatch loadstart event for image loading, r=hsivonen
--HG--
extra : rebase_source : 8d10beb495f631364a95c4247e31cae2b04c6f63
2016-10-05 10:06:27 +08: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
Andreas Farre
436c00e869 Bug 1307473 - Fix missing namespace errors. r=smaug
MozReview-Commit-ID: LkT0SV8DcU0
2016-10-04 08:20:00 -04:00
Nils Ohlmeier [:drno]
ec6fab657f Bug 1315470: booleans never turn negative. r=jesup
MozReview-Commit-ID: 7XbJd35uMSX
2016-11-07 15:28:50 -08:00
Tobias Schneider
0cb90d5992 Bug 1315837 - Fix crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap
--HG--
extra : rebase_source : 77edac309414e61dd103bc60668351d6e3548890
2016-11-09 09:10:00 -05:00
Wes Kocher
8dafd1ef34 Merge m-c to inbound, a=merge 2016-11-11 14:11:20 -08:00
Markus Stange
3994547b42 Bug 1307242 - Add a non-blank paint telemetry probe for foreground root content documents. r=bkelly, f=bsmedberg
This adds a probe called TIME_TO_NON_BLANK_PAINT_MS which reports time to
non-blank paint for root content documents whose docshell was active for the
entire time between navigation start and first non-blank paint.

MozReview-Commit-ID: 7JQdk5vHr1O

--HG--
extra : rebase_source : 66be2aab4c4a32d20fb44c88c5270c5b5cfc0b81
extra : histedit_source : 5d6bef86d4a2a2250405d24ce28c6bfd9d654f8d
2016-11-10 14:26:54 -05:00
Markus Stange
22f951e2b3 Bug 1307242 - Add infrastructure for measuring time to non-blank paint. r=bkelly
MozReview-Commit-ID: LZBQOvKZYes

--HG--
extra : rebase_source : 4bf315aab5b663fbc82b11d1961b7a6e98800d6d
extra : histedit_source : 02c003a780c0ba217d17f1c009252217010dd84e
2016-11-10 16:00:45 -05:00
Andrea Marchesini
2aba798852 Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
Boris Zbarsky
588a38e713 Bug 1222516 part 2. Add a window API for opening a window passing through a boolean indicating that no opener should be set on the result. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky
c2d8d70720 Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Boris Zbarsky
39be7c954d Bug 1267339 part 3. Add support for the noopener window feature in windowwatcher. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky
9c68071fa2 Bug 1267339 part 2. Push maintenance of the popup spam count down into the window watcher. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky
fe57b51a79 Bug 1267339 part 1. Remove the unused aOpenerFullZoom argument to nsPIWindowWatcher::OpenWindow2. r=mconley 2016-10-20 16:52:37 -04:00
Kyle Machulis
37074751dc Bug 1307694 - Remove reversal of attributes for plugins; r=bsmedberg
MozReview-Commit-ID: 75pULekS9s6
2016-10-20 11:28:02 -07:00
Phil Ringnalda
fe9d9c45d7 Merge m-c to m-i
MozReview-Commit-ID: B5Nf2oiDcqG
2016-10-10 19:13:45 -07:00
Boris Zbarsky
3f10f5ed57 Bug 1308287 part 1. Change [NeedsSubjectPrincipal] to only do the Maybe thing for interfaces that can be exposed to workers. r=baku
The idea is to not make consumers think about whether the principal exists or
not when the caller knows for sure that it does.

The substantive changes are in dom/bindings, nsHTMLDocument::SetDesignMode, and
around the CanUseStorage bits.  Everything else is pretty mechanical.
2016-10-10 21:07:48 -04:00
Boris Zbarsky
bae20efd7f Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs 2016-10-10 21:07:47 -04: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
Stone Shih
ce7f1ca7af Bug 1292063 - Part 3: Add mComposedInNativeAnonymousContent to determine which events can cross the boundary of native anonymous content. r=smaug
--HG--
extra : rebase_source : 6b3fcc52b2a099944cc1a0427a36624394fb3b2e
2016-09-12 18:15:16 +08:00
Stone Shih
d76caea5e4 Bug 1292063 - Part 1: Add Event.composed. r=smaug
--HG--
extra : rebase_source : 105f9cfddb083d48d3da25fa13bf9a3b4c2637f6
2016-08-31 11:16:11 +08:00
Brad Lassey
750d2949b7 bug 1294341 - add a fake filename to avoid an assertion that plugin filenames have periods in them r=bsmedberg 2016-09-29 12:37:20 -04:00
Brad Lassey
5dec39046b bug 1294341 - pref to control which CTP plugins should be hidden r=bsmedberg 2016-08-26 19:27:43 -04:00
Brad Lassey
92dc8fe4cc bug 1294341 - put dummy plugin in navigator.plugins when a click to play plugin is hidden and its the only plugin r=bsmedberg 2016-08-24 14:02:02 -04:00
Andrea Marchesini
7de21588c7 Bug 1306248 - Use NeedsSubjectPrincipal in DOMStorage, r=ehsan 2016-10-03 16:10:27 +02:00
Andrea Marchesini
c85da869c4 Bug 1288997 - We should not broadcast Blob URLs if we have only 1 content process, r=jdm 2016-10-03 16:07:52 +02:00
Iris Hsiao
2afc902dd2 Backed out changeset a99817b61d70 (bug 1306248) for crashed @nsContentUtils::SubjectPrincipal
CLOSED TREE
2016-10-03 18:04:06 +08:00
Andrea Marchesini
8b8568a4db Bug 1306248 - Use NeedsSubjectPrincipal in DOMStorage, r=ehsan 2016-10-03 10:35:57 +02:00
Andrea Marchesini
75ee078310 Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 2, r=ehsan 2016-10-03 10:34:29 +02:00
Andrea Marchesini
0d3521f59a Bug 1306241 - Use NeedsSubjectPrincipal in dom/html/* - part 1, r=ehsan 2016-10-03 10:34:14 +02:00
Edgar Chen
cf7304c3c6 Bug 1306007 - Part 1: Remove srcset/picture feature control preference; r=jdm,smaug
MozReview-Commit-ID: BsyTHeqiGZL

--HG--
extra : rebase_source : 2add2510dbe16c641fe997a8349c1a36009bec20
2016-04-16 18:07:56 -04:00
Terrence Cole
0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa
e0c7801dc3 Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
ba7a576409 Bug 1289050 - Part 5: Use ASCII variant of JS_ReportWarning. r=jwalden 2016-08-14 20:39:29 +09:00
Kirk Steuber
ad4b55af1f Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=enndeakin
MozReview-Commit-ID: Dh1npORCQ6J

--HG--
extra : rebase_source : 5df6076561a746791c44d249afa31009d0e1b30a
2016-08-16 15:33:05 -07:00
Ehsan Akhgari
51b70b73b8 Bug 1294577 - Don't issue a warning in ThirdPartyUtil::IsThirdPartyWindow when encountering a window with a null principal; r=erahm 2016-09-29 19:51:10 -04:00
Ehsan Akhgari
1b15246964 Bug 1301123 - Add assertions ensuring that documents and inner windows cannot end up with an expanded principal; r=bholley 2016-09-29 15:49:09 -04:00
Nathan Froyd
a0a85b8519 Bug 1305422 - part 13 - don't call size_forward in nsXMLContentSerializer.cpp; r=baku 2016-09-29 22:33:57 -04:00
Nathan Froyd
9a5274a7ca Bug 1305422 - part 12 - don't call size_forward in {Body,Fetch}Util.cpp; r=bkelly 2016-09-29 22:33:57 -04:00
Nathan Froyd
b6a306d931 Bug 1305422 - part 10 - don't call size_forward in nsHTMLContentSerializer.cpp; r=baku 2016-09-29 22:33:57 -04:00
Nathan Froyd
3fb4b33af7 Bug 1305422 - part 7 - simplify nsXMLContentSerializer::SerializeAttr; r=smaug
The implementation of SerializeAttr, with its multiply-nested loops,
dates from the time when string iterators could be fragmented into
multiple pieces.  We no longer have such iterators, so we can write
SerializeAttr much more straightforwardly.
2016-09-29 22:33:57 -04:00
Nathan Froyd
70d6d5515f Bug 1305422 - part 5 - simplify Is8bit; r=baku
The implementation of Is8bit, with its multiply-nested loops, dates from
the time when string iterators could be fragmented into multiple pieces.
We no longer have such iterators, so we can write Is8bit much more
straightforwardly, with the single loop you would expect.
2016-09-29 22:33:58 -04:00
Jorg K
cadd291ee3 Bug 456053 - Don't trim trailing space of quoted lines. r=masayuki 2016-09-29 07:10:00 +02:00
Andrea Marchesini
906dc920ad Bug 1306232 - Use NeedsSubjectPrincipal in Window, r=ehsan 2016-09-29 16:14:42 +02:00
Nathan Froyd
2b4b77f33b Bug 1224873 - part 2 - remove SVG background image tests from browser_use_counters.js; r=dholbert
These tests are racy, as we can receive all the data for the SVG image,
thereby unblocking the onload event, but the actual SVG image may not be
fully decoded, which means that we're not getting the use counters
updated that we need for the test.  Other SVG image tests should go
through the same codepaths as rendering SVG images for backgrounds,
though, so these tests are superfluous.
2016-09-29 17:56:33 -04:00
Nathan Froyd
235aa5827e Bug 1224873 - part 1 - remove unused xlink:href attributes; r=dholbert
Nothing in the tests uses them, and having them makes the tests spew
unnecessary warnings.  Let's remove them.
2016-09-29 17:56:33 -04:00
James Willcox
c6292bac48 Bug 1278581 - Add 'millisSinceLastUserInput' to nsIDOMWindowUtils r=smaug 2016-09-29 08:27:54 -05:00
Carsten "Tomcat" Book
5b45193594 merge mozilla-inbound to mozilla-central a=merge 2016-09-29 11:44:58 +02:00
Cameron McCormack
75460a4e5e Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Robert Longson
22f105c045 Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Andrea Marchesini
96405b7e87 Bug 1297393 - Make passing of subject principals to webidl entry points explicit - part 4 - Location, r=ehsan 2016-09-29 08:55:21 +02:00
Jonathan Kingston
8f10491335 Bug 1302157 - Remove images-in-menu and images-in-button code (& associated icons) since it's deprecated in GTK. r=bz,dholbert
MozReview-Commit-ID: IIj8PvgdaRp

--HG--
extra : rebase_source : 21eca47872a073b382c10fe84464fac8fafd6179
2016-09-29 00:22:32 +01:00
Andrea Marchesini
c69e585e9c Bug 1202006 - Memory Blob to Temporary File - part 4 - Temporary File, r=smaug 2016-09-29 07:12:56 +02:00
Andrea Marchesini
16f81ebb38 Bug 1202006 - Memory Blob to Temporary File - part 2 - BlobSet just for MultipartBlobImpl, r=smaug 2016-09-29 07:12:17 +02:00
Andrea Marchesini
5ab2cd6e5c Bug 1202006 - Memory Blob to Temporary File - part 1 - MutableBlobStorage for XHR, r=smaug
--HG--
rename : dom/base/BlobSet.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/base/BlobSet.h => dom/base/MutableBlobStorage.h
2016-09-29 07:12:00 +02:00
Boris Zbarsky
1bb443447d Bug 1305580 part 2. Change nsXMLDocument::Load telemetry to separately count chrome and content callers. r=smaug 2016-09-28 15:46:46 -04:00
Boris Zbarsky
6a6430cf38 Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Phil Ringnalda
40fd25db11 Backed out 3 changesets (bug 1293786) for wpt unexpected passes and fails
Backed out changeset f8911c81ee9a (bug 1293786)
Backed out changeset 8cba8a0a730c (bug 1293786)
Backed out changeset 5c60775f445e (bug 1293786)
2016-09-28 20:39:16 -07:00
Cameron McCormack
21163fba88 Bug 1293786 - Part 2: Move rootElement from the now-removed SVGDocument to Document. r=longsonr,smaug
MozReview-Commit-ID: 4y82o5MP6TU
2016-09-29 09:32:43 +08:00
Robert Longson
baaeeaf6ca Bug 1293786 - Part 1: Remove SVGDocument interface. r=heycam,smaug
MozReview-Commit-ID: 6AOtRtB7Tvl
2016-09-29 09:30:49 +08:00
Thomas Wisniewski
c190891418 Bug 1303121 - Do not fire one last progress event on XHR errors, to match a spec change. r=annevk
--HG--
extra : rebase_source : 9a59934cfe8fc7f2ee8ef7788813f97e2355ce2a
2016-09-28 13:05:32 -04:00
Thomas Wisniewski
778b8e1ef7 Bug 1300986 - Improve exception messages for XMLHttpRequest. r=smaug
--HG--
extra : rebase_source : 911c543155d894f106b4e32599db89da4d781add
2016-09-28 13:04:17 -04:00
Wes Kocher
63caea8af6 Backed out 2 changesets (bug 1305580) for Windows svgr crashes a=backout CLOSED TREE
Backed out changeset 1124e3458403 (bug 1305580)
Backed out changeset 521286426a93 (bug 1305580)
2016-09-28 16:52:15 -07:00
Wes Kocher
82e2302974 Backed out 5 changesets (bug 1294341) for frequent mochitest(cl) failures due to random plugins being discovered a=backout CLOSED TREE
Backed out changeset 183727ce6551 (bug 1294341)
Backed out changeset 0f9c9d933a42 (bug 1294341)
Backed out changeset 5a582bbcc549 (bug 1294341)
Backed out changeset be81e6841555 (bug 1294341)
Backed out changeset 154d446586b4 (bug 1294341)
2016-09-28 16:51:47 -07:00
Olli Pettay
efdc6ff74c Bug 1303471 - TraceBlack (remote) TabChildGlobals, r=mccr8
--HG--
extra : rebase_source : 97ff6f64b6e46325fc9f0794b5bddd6ca41bf8d3
2016-09-28 21:27:35 +03:00
Boris Zbarsky
ee2c7edb68 Bug 1305580 part 2. Change nsXMLDocument::Load telemetry to separately count chrome and content callers. r=smaug 2016-09-28 15:46:46 -04:00
Boris Zbarsky
6d5e95674f Bug 1305580 part 1. Remove all the methods from nsIDOMXMLDocument and make it not inherit from nsIDOMDocument anymore. r=smaug
This will let us know for sure that we're being called from script in things
like nsXMLDocument::Load.
2016-09-28 15:46:44 -04:00
Brad Lassey
95ea4c4e54 bug 1294341 - disable test on linux 32 and add a fake file name to avoid an assertion in debug builds r=bsmedberg 2016-09-26 15:06:10 -04:00
Brad Lassey
c5b78b24d7 bug 1294341 - pref to control which CTP plugins should be hidden r=bsmedberg 2016-08-26 19:27:43 -04:00
Brad Lassey
34a9b72257 bug 1294341 - put dummy plugin in navigator.plugins when a click to play plugin is hidden and its the only plugin r=bsmedberg 2016-08-24 14:02:02 -04:00
Carsten "Tomcat" Book
65a03894a6 Backed out changeset 218abd044ee6 (bug 1202006) for bustage 2016-09-28 15:04:02 +02:00
Carsten "Tomcat" Book
8524bc6b1c Backed out changeset 36f028447d58 (bug 1202006) 2016-09-28 15:03:51 +02:00
Carsten "Tomcat" Book
6e58dff2dc Backed out changeset 13637a65df3b (bug 1202006) 2016-09-28 15:03:48 +02:00
Andrea Marchesini
47460d0a88 Bug 1202006 - Memory Blob to Temporary File - part 4 - Temporary File, r=smaug 2016-09-28 14:39:03 +02:00
Andrea Marchesini
add61b5b64 Bug 1202006 - Memory Blob to Temporary File - part 2 - BlobSet just for MultipartBlobImpl, r=smaug 2016-09-28 14:38:20 +02:00
Andrea Marchesini
6420171857 Bug 1202006 - Memory Blob to Temporary File - part 1 - MutableBlobStorage for XHR, r=smaug
--HG--
rename : dom/base/BlobSet.cpp => dom/base/MutableBlobStorage.cpp
rename : dom/base/BlobSet.h => dom/base/MutableBlobStorage.h
2016-09-28 14:37:54 +02:00
Phil Ringnalda
398815ad9b Backed out changeset 490c671f8047 (bug 1303121) for failures in test_CrossSiteXHR.html 2016-09-27 22:39:00 -07:00
Thomas Wisniewski
fb058e68f6 Bug 1303121 - Do not fire one last progress event on XHR errors, to match a spec change. r=annevk 2016-09-15 14:19:23 -04: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
Olli Pettay
588f79ddd9 Bug 1301777 - Use nsCOMPtr for stack variables. r=mccr8
--HG--
extra : rebase_source : cdbc82c57f3904ea98d5392a9587351447496763
2016-09-27 15:36:41 -04:00
Olli Pettay
bddafc48dd Bug 1305309, backout Bug 1214805, r=backout
--HG--
extra : rebase_source : d86f67ef53b26027d739725829a2ee736d71221e
2016-09-27 01:03:24 +03:00
Carsten "Tomcat" Book
762cd18602 Merge mozilla-central to autoland 2016-09-28 16:52:13 +02: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
Iris Hsiao
767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Sebastian Hengst
c4c650a082 Backed out changeset b0be7d1b7a9a (bug 1303196) for asserting in devtools test: top->mTabGroup == mTabGroup, at dom/base/nsGlobalWindow.cpp:14425. r=backout 2016-09-25 09:23:40 +02:00
Michael Layzell
eb68349900 Bug 1303196 - Add TabGroup and DocGroup objects, r=billm
MozReview-Commit-ID: QHxYnXmuQN
2016-09-24 19:05:41 -04:00
Thomas Nguyen
1780aece77 Bug 1276836 - Update and add tests for same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=jdm
MozReview-Commit-ID: 9ISKTDHBSHP

--HG--
extra : rebase_source : ef3013b777aa77146cc941807afb0e8531fb1f74
2016-09-22 16:27:46 -07:00
Carsten "Tomcat" Book
6029d72706 Merge mozilla-central to autoland 2016-09-23 12:48:43 +02:00
Carsten "Tomcat" Book
a65e4225ef merge mozilla-inbound to mozilla-central a=merge 2016-09-23 12:05:53 +02:00
cku
396c4f78ef Bug 1304437 - Part 2. Crash test. r=heycam
MozReview-Commit-ID: AB4qLG1GGXo

--HG--
extra : rebase_source : 9e5883b00d87e9f94bec634e2d4583d52409c58a
2016-09-22 18:30:25 +08:00
Terrence Cole
02f5e80db6 Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Andrea Marchesini
0563a867cb Bug 1299686 - Fix crash in nsScriptLoader.cpp. r=smaug
--HG--
extra : rebase_source : 9ba5328cd6d907dec2a4c95b5d557cad0317e44e
2016-09-22 16:58:46 -04:00
Cameron McCormack
39b463d574 Bug 1304814 - Make test_bug1295852.html survive Web Animations being disabled. r=boris
MozReview-Commit-ID: DrZ1Lm0raSg

--HG--
extra : rebase_source : b9f37f5cff3cb50ef8a68b335299099dd9de0afa
2016-09-23 10:14:37 +08:00
John Dai
18aca2998b Bug 1275838 - Implement CustomElementsRegistry get function. r=smaug, r=wchen 2016-09-21 19:40:00 -04:00
Thomas Wisniewski
3c6249dd4b Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-21 13:48:05 -04:00
Wes Kocher
4fec8fe947 Backed out changeset 7e898928c51b (bug 838954) for lint failures a=backout CLOSED TREE 2016-09-21 12:44:31 -07:00
John Dai
2e88ad8701 Bug 1275832 - Implement custom element name validation for custom elements. r=wchen
--HG--
extra : rebase_source : e3c3adef09a3b5ae6f8ecb508ef782a9b39998c0
2016-09-20 23:26:00 -04:00
Wes Kocher
b39fcf65f2 Backout revisions b80d560e0102 and fc593dd9a280 (bug 838954) a=backout
--HG--
extra : source : 7008e3ee291ec274025d72ebd157eef7588da291
2016-09-21 11:42:16 -07: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
Iris Hsiao
a2a48a3de7 Backed out changeset 6fb622c938de (bug 884693) for crashed @mozilla::dom::XMLHttpRequestMainThread
CLOSED TREE
2016-09-21 13:00:50 +08:00
Thomas Wisniewski
d65949bf5c Bug 884693 - Do not log console warnings for XHR parse failures if HTTP status is 204 or 304. r=smaug 2016-09-19 19:36:03 -04:00
Arthur Edelstein
dfebfaa34a Bug 1268726 - isolate shared worker by first party domain. r=baku
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com>

review tweaks
2016-09-19 21:13:00 -04:00
Horatiu
6b0f543b92 Bug 1292299 - Combine tests for bug 704320 into a single file. r=jdm 2016-08-11 08:45:48 -04: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
Boris Zbarsky
ca48a2a2c0 Bug 1303397. nsScriptLoader should just use nsContentUtils::CheckForBOM instead of rolling its own copy. r=bkelly 2016-09-20 13:24:06 +01:00
Andrea Marchesini
72d886f7a3 Bug 1301249 - nsIDocument::GetDocumentURI() should be fallible, r=smaug 2016-09-20 14:03:05 +02:00
Andrea Marchesini
3d45a22bac Bug 1301254 - nsINode::GetBaseURI() should be fallible, r=smaug 2016-09-20 14:02:33 +02:00
Ethan Lin
752790c966 Bug 1176997 - Part1. Support focus-within. r=xidron r=smaug 2016-09-09 00:12:00 +02:00
Boris Zbarsky
99faedc1aa Bug 1304515. Remove the unused WebIDL version of ImageLoadingContent.loadImageWithChannel. r=ehsan 2016-09-22 16:58:35 +01:00
John Dai
67c1584d51 Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug 2016-09-22 02:42:00 -04:00
Chris Pearce
a509ea65bc Bug 1304249 - Implement MediaKeySession.onkeystatuseschange. r=smaug
MozReview-Commit-ID: 1LnDi1MmXi2

--HG--
extra : rebase_source : e12a4085ad2462f1157ab4ea0552a239cd7499dc
2016-09-21 14:31:15 +12:00
Chris Pearce
d42821ee80 Bug 1304247 - Implement HTMLMediaElement.onwaitingforkeys. r=smaug
MozReview-Commit-ID: DhNV30BfksS

--HG--
extra : rebase_source : 5fab8f1b3333ff8607c0325907fbe7214234c001
2016-09-21 14:10:26 +12:00
Tooru Fujisawa
2bd5613240 Bug 92737 - Part 1: Add nsIDroppedLinkHandler.dropLinks. r=enndeakin 2015-11-11 07:15:03 +09:00
Chris H-C
140f722c49 bug 1218576 - Turn canRecordExtended on for browser_use_counters.js r=gfritzsche
With the content accumulations now being aggregated in the parent, both the
child and parent must be allowed to record for Telemetry accumulations to work.

MozReview-Commit-ID: 2j9YZIPqbZr
2016-09-19 13:30:25 -04:00
Chris H-C
2079cedba0 bug 1218576 - Update test browser_use_counters.js to use aggregated child telemetry r=gfritzsche
waitOnCondition is used to wait for the telemetry batch to be processed
(roughly every 2s). It resolves and rejects to the same value as there are a
couple of xfail tests that need the wrong answer.

MozReview-Commit-ID: I1JqEXQSL7d
2016-09-19 13:30:25 -04:00
Andrea Marchesini
34c6a13c4c Bug 1303517 - File CTOR for chrome must be fully thread-safe, r=bz 2016-09-19 16:02:40 +02:00
Andrea Marchesini
5994c71158 Bug 1301251 - Handle GetSpec() failure in nsContentUtils::GetWrapperSafeScriptFilename(), r=smaug 2016-09-19 15:50:22 +02:00
Thomas Wisniewski
e2d5d5425f Bug 1302937 - Remove -moz-mac-lion-theme. r=mstange 2016-09-16 14:42:19 -04:00
Andrea Marchesini
97aceec5a3 Bug 1303029 - nsLocation doesn't have username/password, r=smaug 2016-09-17 10:10:31 +02: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
Bill McCloskey
a51047b439 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-09-16 20:33:49 -07:00
Markus Stange
bf8d999061 Bug 1302551 - Add AnonymousContent::SetCutoutRectsForElement to allow a more efficient find bar highlighter implementation. r=smaug
This part just sets a cutoutregion property on the element node and schedules a paint.
The next part will check for that property and create a display item for the element
in question.

MozReview-Commit-ID: EbPr8it5Lpw
2016-09-15 14:58:15 -04:00
Markus Stange
f53e3f5131 Bug 1302556 - Start AnonymousContent::GetElementById iteration at mContentNode. r=smaug
This renames kid to node and starts the iteration at mContentNode instead of at mContentNode->GetFirstChild().

MozReview-Commit-ID: HFiHXZg0gLS
2016-09-13 18:19:07 -04:00
Boris Zbarsky
5afc8a9e03 Bug 1294747. Make sure we expose the expando of a [OverrideBuiltins] proxy to active JS when it gets cleared from the proxy. r=peterv
This should also fix bug 1296775 and bug 1290359.

There's a very good chance it will also fix bug 1293386, bug 1292855, bug
1289452, and bug 1303340: those would get hit if we happened to start _another_
gc after the expando died but while it was still in the Rooted.  All of them
seem to be dying under the domClass->mGetProto call, which could finish up a GC
that kills the expando and then do _another_ one, causing the Rooted to try to
mark a dead object.
2016-09-15 15:04:56 -04:00
Andrea Marchesini
56c54a3930 Bug 1302987 - Rename nsLocation to mozilla::dom::Location, r=smaug
--HG--
rename : dom/base/nsLocation.cpp => dom/base/Location.cpp
rename : dom/base/nsLocation.h => dom/base/Location.h
2016-09-16 09:18:18 +02:00
Boris Zbarsky
0fd831e559 Bug 1302304. Remove IDL bits that reference nsIDOMMediaError; it's not needed anymore. r=bkelly 2016-09-15 11:41:35 -04:00
Milan Sreckovic
e13a243ec1 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
Michael Layzell
5980e6a33e Bug 1302275 - Add a way to track Constellations (Units of related similar origin browsing contexts) to nsGlobalWindow, r=billm
MozReview-Commit-ID: AjbVZHEL9WZ
2016-09-14 12:22:40 -04:00
Jan de Mooij
7f794780e0 Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Jan de Mooij
a53986bf29 Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Carsten "Tomcat" Book
515bca4fca merge mozilla-inbound to mozilla-central a=merge 2016-09-14 15:41:48 +02:00
Carsten "Tomcat" Book
6520e60ddb Merge mozilla-central to autoland 2016-09-14 12:17:20 +02:00
Andi-Bogdan Postelnicu
8f2af4af11 Bug 1302658 - substitute null checks with NS_ENSURE_TRUE. r=baku
MozReview-Commit-ID: GQmfWrmhKNg

--HG--
extra : rebase_source : 50c8dbac10a8b249bccce27616159daec9d9af1a
2016-09-14 12:15:01 +03:00
Thomas Wisniewski
e6afa43d92 Bug 812701 - Drop the prefixed version of the Visibility API. r=bz
--HG--
extra : rebase_source : 2d989414b2ccbb9c712e711c8373bdca6f87fc4b
2016-09-13 09:56:14 -04:00
Ho-Pang Hsu
bb6962b37c Bug 1285804 - Part 1: Introduce a new message to nsIDOMWindowUtils::sendMouseEvent() for test automation. r=smaug, f=btseng
--HG--
extra : rebase_source : 60a0e28ee3c063e730844874cca6b7f002c35fe4
extra : histedit_source : 02a45d4783e7fbb8ad30847e5f49f7a0e62cfeac
2016-09-12 13:51:10 +08:00
Wes Kocher
06c62c6cde Merge m-c to inbound, a=merge 2016-09-12 17:22:56 -07:00
Wes Kocher
c21b854efc Merge inbound to central, a=merge 2016-09-12 17:08:25 -07:00
Olli Pettay
20092042b7 Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8
--HG--
extra : rebase_source : ba695c6da7112da932b5b03577929ffaa94b7116
2016-09-12 14:00:15 -07:00
Ninad Bhat[:ninad101]
15dca34ea9 Bug 1301628 - Corrects misc-argument-comment. r=dzbarsky 2016-09-09 10:45:00 +02:00
Andi-Bogdan Postelnicu
3fb6fb25a2 Bug 1302109 - if mDocument is null return from PreloadURI. r=baku
MozReview-Commit-ID: FoSVrK9PT3s

--HG--
extra : rebase_source : 5ce2721bb02d4277008ee97ac4e102f6301ac198
2016-09-12 17:22:15 +03:00
Olli Pettay
9d40047b30 Bug 1297367 - Call iCC slice and forgetSkippable right after paint, r=mccr8 2016-09-12 14:00:15 -07:00
Olli Pettay
d449074dfe backout Bug 1297367 because of tart regression, r=backout 2016-09-13 08:47:20 -07:00
Paul Bignier
a0285e5e8e Bug 1282408 - add ignore flag for variables from nsSortState & nsXMLContentSerializer. r=bzbarsky 2016-07-27 14:41:55 +02:00
Timothy Nikkel
0b6fd97ae9 Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange) 2016-09-12 00:19:08 -05:00
Timothy Nikkel
cb67cca872 Bug 1284350. Backed out changeset d6a286242f2d (Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange) 2016-09-12 00:19:07 -05:00
Timothy Nikkel
88bb36312b Bug 1284350. Backed out changeset 4517cddd204e (Bug 1269934 - Handle visible frame sets more generically in PresShell. r=mstange) 2016-09-12 00:19:07 -05:00
Phil Ringnalda
44d91680e6 Merge autoland and inbound to central, a=merge 2016-09-10 22:37:31 -07:00
Sebastian Hengst
402cb656c2 Backed out changeset 0c9c5b508ccd (bug 1206133) for failing browser-chrome test browser_popupNotification_checkbox.js. r=backout 2016-09-10 23:41:18 +02:00
Edgar Chen
b255460f26 Bug 599975 - Fire error event for images with empty string src value; r=bz
MozReview-Commit-ID: AhXiTpgG9q3

--HG--
extra : rebase_source : fe03d94a08232e90a475529746b38b27c2591ec9
2016-09-08 16:27:03 +08:00
Andrew McCreight
85213c72b0 Bug 1301189 - Use ExposeObjectToActiveJS in nsModuleScript. r=smaug
These GC things can be passed to the JS engine, so we should make sure
they are not marked gray.

MozReview-Commit-ID: GJDogXSuqYh

--HG--
extra : rebase_source : a9231a81c2791f1da6918595e2d6329f7ba14e79
2016-09-07 14:39:34 -07:00
Kirk Steuber
a2f5f772ad Bug 1206133 - Add popuppositioning state and popuppositioned event to improve arrow panel position handling. r=Enn, r=adw
--HG--
extra : rebase_source : 848bf8ae7c0a6ddc4c1d302fd64dc23f9879d615
extra : histedit_source : 214acff53145fc55d1ba1d974f84ffe3571f9c31
2016-08-16 15:33:05 -07:00
Paul Bignier
67fae47b1a Bug 1289780- [Static analysis][Uninitialized scalar field] In constructors nsReferencedElement & nsNameSpaceEntry. r=bz 2016-07-27 08:15:00 -04:00
Carsten "Tomcat" Book
c81bda3e2d Merge mozilla-central to autoland 2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Carsten "Tomcat" Book
89dba842cb merge fx-team to mozilla-central a=merge 2016-09-09 12:01:21 +02:00
J. Ryan Stinnett
b7ca8b1d80 Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.

MozReview-Commit-ID: JrecxA4MI93

--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Manish Goregaokar
aad318e17a Bug 1300337 - Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
MozReview-Commit-ID: CxHzbEzjLxT

--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
Nicholas Nethercote
e4eb76b618 Bug 1297300 - Add missing checks to GetSpec() calls in dom/base/. r=bz.
--HG--
extra : rebase_source : 55e83aad222825b2dd1399fa42eee6b6c894d0ee
2016-09-08 14:17:58 +10:00
Ehsan Akhgari
67f68a06ad Bug 1300851 - Don't use expanded principals when creating the about:blank content viewer eagerly; r=bzbarsky 2016-09-08 14:32:28 -04:00
Nicolas Silva
56e5119c61 Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Carsten "Tomcat" Book
e3c2ddf887 Merge mozilla-central to mozilla-inbound 2016-09-08 12:42:45 +02:00
Carsten "Tomcat" Book
f4a16a723a merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Andi-Bogdan Postelnicu
308b1506f6 Bug 1301333 - mark Init as initialisation function for EventSource. r=baku
MozReview-Commit-ID: Ef8oHnmrZM8
2016-09-08 12:40:46 +03:00
Wes Kocher
1691a32cc5 Merge m-c to fx-team, a=merge 2016-09-07 18:08:34 -07:00
Wes Kocher
5cbc382303 Merge inbound to m-c a=merge 2016-09-07 17:54:24 -07:00
Sebastian Hengst
8325679a58 Backed out changeset a71b7098d0c6 (bug 1290914) for failure in test_findbar.xul. r=backout 2016-09-07 18:38:03 +02:00
Carsten "Tomcat" Book
7c6c7db247 Merge mozilla-central to autoland 2016-09-07 17:26:11 +02:00
Mike de Boer
8b64dbde69 Bug 1290914 - support Element.animate() on AnonymousContent nodes through the AnonymousContent.setAnimationForElement() method. r=bz
MozReview-Commit-ID: 3Wl5yAjHGPN

--HG--
extra : rebase_source : 8668da8dba231809cf3d5c1f70394f44789f1b98
2016-09-07 12:01:17 +02:00
Boris Zbarsky
4e2656ef99 Bug 1300834. GC slice logging should say what process the slice is for. r=smaug 2016-09-07 14:21:36 -04: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
Ehsan Akhgari
108462c57c Bug 1300831 - Avoid creating about:blank windows with expanded principals; r=bholley 2016-09-07 12:52:11 -04:00
Brian Grinstead
61d266e2c8 Bug 1298230 - Use a more descriptive Syntax Error when querySelector / querySelectorAll fails;r=bz
MozReview-Commit-ID: DtIlA8ocMh0
2016-08-31 15:31:59 -07:00
Michael Layzell
e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04: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
Tom Tung
db38e2111a Bug 1187335 - P6 - Support script/css to set integrity metadata to serviceWorker. r=bkelly. r=francois. 2016-09-07 10:30:21 +08:00