Bill McCloskey
8a53959bbe
Bug 1320753 - Make TabGroup event target be a ThrottledEventQueue for timers, workers (r=bkelly)
...
MozReview-Commit-ID: FCfYz02r8yI
2016-12-23 11:48:13 -08:00
Bill McCloskey
12ee63dc2d
Bug 1320753 - Stop using already_AddRefed for EventTargetFor (r=ehsan)
...
MozReview-Commit-ID: ECy1jlQ7qne
2016-12-23 11:48:13 -08:00
Bill McCloskey
e4426ae30f
Bug 1318506 - Label AsyncEventDispatcher runnables with DocGroup (r=ehsan)
...
I still don't completely understand why we sometimes need to use the global
and sometimes the node. As far as I understand it:
- Not all event targets are nodes, so the node code can't always be used.
- The nsINode::GetOwnerGlobal implementation uses GetScriptHandlingObject,
which returns null in some cases where GetScopeObject doesn't. Here
is one:
http://searchfox.org/mozilla-central/rev/62db1c9021cfbde9fa5e6e9601de16c21f4c7ce4/dom/base/nsDocument.cpp#4627
MozReview-Commit-ID: DdLWeQJIWZx
2016-12-23 11:48:13 -08:00
Bill McCloskey
563f66dae7
Bug 1318506 - Assign a TabGroup to every PBrowser (r=mystor,ehsan)
...
Every new PBrowser, whether it's created by the parent or the child, needs
to get a TabGroup assigned to it. That way IPC messages for the PBrowser will
be dispatched to that TabGroup.
For new PBrowsers created by the child, we just create a new TabGroup or reuse
the opener's TabGroup.
For PBrowsers created by the parent, the child needs to intercept the
PBrowserConstructor message and assign a TabGroup immediately. PBrowsers created
by the parent never have an opener so we can always create a new TabGroup.
In both cases, the nsGlobalWindow::TabGroupOuter logic needs to be updated to
read the TabGroup out of the IPC code. Otherwise the DOM and IPC code will get
out of sync about TabGroups.
MozReview-Commit-ID: D5iEdgirfvK
2016-12-23 11:48:13 -08:00
Bill McCloskey
86da1e11a4
Bug 1318506 - Initialize TabChild in constructor message, not allocation (r=dvander)
...
MozReview-Commit-ID: Iq1M4EeKHXg
2016-12-23 11:48:13 -08:00
Alexander Surkov
578aab0857
Bug 1325160 - implement AOM attributes, r=smaug
2016-12-23 14:36:55 -05:00
Robert Longson
89c77adf8e
Bug 1325487 - Improve SVGContentUtils::ComputeNormalizedHypotenuse and use it more r=dholbert
2016-12-23 17:28:13 +00:00
Andrea Marchesini
2dba3e889e
Bug 1324430 - Implement nsTSubstring_CharT::Assign with length for a better string buffer sharing, r=froydnj
2016-12-23 17:22:21 +01:00
Tim Nguyen
2da60e4451
Bug 1322938 - Test whether dom.dialog_element.enabled works properly. r=smaug
...
MozReview-Commit-ID: 61HX8CuWki6
2016-12-23 16:01:51 +01:00
Tim Nguyen
7ee1b9199a
Bug 1322938 - Put <dialog> element behind preference. r=smaug
...
MozReview-Commit-ID: 3thJ5B7Znwo
2016-12-23 16:01:50 +01:00
Tim Nguyen
3a9c63ff99
Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called. r=smaug
...
MozReview-Commit-ID: 7OKlKFb3lok
2016-12-23 16:01:50 +01:00
Tim Nguyen
53316683b8
Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
...
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +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
Boris Zbarsky
4efd9872ce
Bug 1324549. Make FontFaceSetLoadEvent.fontfaces a frozen array. r=heycam
2016-12-22 16:50:01 -08:00
Gregory Moore
fc8f05853a
Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
...
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.
MozReview-Commit-ID: Gq0b1c3C1eO
--HG--
rename : intl/locale/unix/nsDateTimeFormatUnix.cpp => intl/locale/DateTimeFormatUnix.cpp
extra : rebase_source : 54d8cfd01edce5f0a78c8b5c6eb89a245c12af01
2016-11-21 15:58:37 -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
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
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
Boris Zbarsky
1fa084f663
Bug 1325028 part 2. Remove IsCallerChrome use from the various things called via SetReplaceableWindowCoord. r=bkelly
2016-12-22 11:06:30 -08:00
Boris Zbarsky
d6423562a1
Bug 1325028 part 1. Remove IsCallerChrome use from nsGlobalWindow's .content getter. r=bkelly
2016-12-22 11:05:55 -08:00
Boris Zbarsky
61f31dce10
Bug 1325016 part 5. Switch ScreenOrientation's angle getter to use the caller-type version of ResistFingerprinting. r=bkelly
2016-12-22 11:05:55 -08:00
Boris Zbarsky
34eeff8638
Bug 1325016 part 4. Switch ScreenOrientation's type getter to use the caller-type version of ResistFingerprinting. r=bkelly
2016-12-22 11:05:55 -08:00
Boris Zbarsky
c81e62f1b1
Bug 1325016 part 3. Switch ScreenOrientation's DeviceAngle getter to use the caller-type version of ResistFingerprinting. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
1ba3c2ac4b
Bug 1325016 part 2. Switch ScreenOrientation's deviceType getter to use the caller-type version of ResistFingerprinting. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
224a0a59a6
Bug 1325016 part 1. Remove some unused nsIDOMScreen functions. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
d22d7aafa4
Bug 1320801 part 5. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's devicePixelRatio getter. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
fe08a55fa4
Bug 1320801 part 4. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's mozInnerScreenX/mozInnerScreenY getters. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
7f7978f0f7
Bug 1320801 part 3. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's orientation getter. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
97b0a23beb
Bug 1320801 part 2. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's screenX/screenY getters. r=bkelly
2016-12-22 11:05:54 -08:00
Boris Zbarsky
454eaf81d5
Bug 1320801 part 1. Switch from ShouldResistFingerprinting to ResistFingerprinting (use the caller type, not the document principal) in nsGlobalWindow's outerWidth/outerHeight getters. r=bkelly
2016-12-22 11:05:54 -08:00
Carsten "Tomcat" Book
0aed7a4ac5
Merge mozilla-central to mozilla-inbound
...
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Andrea Marchesini
1605ddf333
Bug 1324181 - Better implementation of PeriodicWave constructor, r=padenot
2016-12-22 15:37:33 +01:00
Tobias Schneider
db4c7dfb10
Bug 1325103 - Clear mRegisteredIntersectionObservers when unlinking DOMSlots. r=mstange
2016-12-20 15:20:03 -08:00
Stone Shih
7448d04902
Bug 1323960 Part3: disable failed test case and remove nit. r=smaug.
...
MozReview-Commit-ID: KVam1N1Xik5
2016-12-20 10:09:33 +08:00
Stone Shih
d0c20dd3b5
Bug 1323960 Part2: sync test cases from testing/web-platform/tests/pointerevents. r=smaug
...
MozReview-Commit-ID: 6KIRgC5oQ2Q
2016-12-17 12:54:47 +08:00
Stone Shih
838a09cbf3
Bug 1323960 Part1: dynamically inject mochitest helper js to test cases. r=smaug.
...
MozReview-Commit-ID: 90q9RPwkWfw
2016-12-20 10:00:44 +08:00
Samael Wang
1e9e35e6e1
Bug 1323651 - Rename Partial/GroupedSessionHistory to Partial/GroupedSHistory. r=ehsan
...
MozReview-Commit-ID: G2GW4ZPIfH3
2016-12-22 16:06:50 +08:00
Alexander Surkov
cfe1683646
Bug 1324891 - add AOM has() method, r=smaug
2016-12-22 07:47:49 -05:00
ctai
6db62e5479
Bug 1325053 - Remove test_source_media.html. r=jwwang
...
The media attribute in source element is no longer needed in media element case. Remove related test case.
MozReview-Commit-ID: 7ckvEAl6HL4
--HG--
extra : rebase_source : d5346029fb115a0445733c90d43af00fe4919aa8
2016-12-21 23:30:23 +08:00
ctai
dea6f82442
Bug 1325053 - Remove media attribute code and set the currentSrc attribute to urlString after type checking in HTMLMediaElement. r=jwwang
...
According to current WhatWG HTML spec, the checking of media attribute in SourceElement is removed. Fix the Gecko code to reflect current spec.
MozReview-Commit-ID: 43d9zL9Fvih
--HG--
extra : rebase_source : beb87387cb1d55eb42713fbb0d344c0c64a0b6da
2016-12-21 20:42:48 +08:00
Cykesiopka
0bdf96120a
Bug 1323998 - Stop using Scoped.h NSS types in dtlsidentity.(cpp|h) and nricectx.cpp. r=mt
...
Scoped.h is deprecated.
MozReview-Commit-ID: IRFLV2mfN4J
--HG--
extra : rebase_source : 4c2a73ed8c1e9c695716aafb2da099f60f889454
2016-12-21 22:09:10 +08:00
karo
c70714c3e2
Bug 1321076 - In the case of alpha, VPXDecoder uses overloaded CreateAndCopy that takes alpha plane. r=jya
...
MozReview-Commit-ID: AIJxPRjGvrg
--HG--
extra : rebase_source : 15da81910ab6909ba9659e1f5c7ea86e4d0ebaa4
2016-12-21 15:21:35 +13:00
karo
1da7e759db
Bug 1321076 - New overloaded CreateAndCopy method that takes alpha plane and returns VideoData with SharedRGBImage, in the case of alpha. r=jya
...
MozReview-Commit-ID: AIJxPRjGvrg
--HG--
extra : rebase_source : fcde786d529f69ba6fe2a533e351a8b33afa1de7
2016-12-21 15:19:46 +13:00
karo
00b8886839
Bug 1321076 - Added util functions to help with YUVA to BGRA conversion. r=jya
...
MozReview-Commit-ID: JZDdbM2gt0g
--HG--
extra : rebase_source : 572dbf59e8a3b41e6c7366d1579a28e365062260
2016-12-21 15:00:46 +13:00
karo
a91edd5c7a
Bug 1321076 - PDMFactory defaults to using VPXDecoder when alpha is present. r=jya
...
FFmpegDecoderModule and AndroidDecoderModule returns nullptr if alpha is
present, then PDMFactory rolls over to using VPXDecoder.
MozReview-Commit-ID: H2JaolEfJgR
--HG--
extra : rebase_source : a2b4bad848c6350041c2cff805803fb5728342d2
2016-12-21 15:00:17 +13:00
karo
60f87e60ec
Bug 1321076 - Updated VPXDecoder to decode alpha frames. r=jya
...
VPXDecoder initializes a second context when alpha is encountered.
MozReview-Commit-ID: FMzHFvP8YK0
--HG--
extra : rebase_source : a287670aa62949e8811f678810eb3ac5e3acdbe3
2016-12-21 14:49:50 +13:00
Ting-Yu Chou
417dd84962
Bug 1322465 part 3 - Use explicit/MOZ_IMPLICIT for the unary constructors in dom/. r=Ehsan
...
MozReview-Commit-ID: GV26INAj3k2
--HG--
extra : rebase_source : 9943b8451a69ebd3b8141ae3f9db7c4a48d7852c
2016-12-16 15:49:53 +08:00
Wes Kocher
ee447e5d0e
Merge m-c to autoland, a=merge
2016-12-21 17:32:47 -08:00