Bobby Holley
cdfdf83ff0
Bug 1382357 - Crashtest. r=heycam
...
MozReview-Commit-ID: IUqzytg3SqL
2017-07-19 21:52:38 -07:00
Bobby Holley
ff4e044f30
Bug 1382357 - Wait to destroy frames until after we've successfully fetched the binding. r=heycam
...
The issue here is that the DestroyFramesFor call does a ClearServoDataFromSubtree,
and then we subsequently fail to load the bindings, leaving ourselves with an unstyled
subtree that isn't marked with descendant bits and isn't rooted at a display:none element,
which is forbidden. This can trigger crashes when we call the innerText getter on one of
the unstyled elements, since that will first flush layout (which won't find the unstyled
subtree), and then invoke IsOrHasAncestorWithDisplayNone, which passes LazyComputeBehavior::Assert.
MozReview-Commit-ID: 7roBkH9fTGZ
2017-07-19 21:52:36 -07:00
Chih-Yi Leu
47a2617b3f
Bug 1381378: Refactor - Isolate gamepad index and GamepadServiceType from GamepadChangeEvent; r=daoshengmu
...
MozReview-Commit-ID: IFjvDsl6vlY
--HG--
extra : rebase_source : 2b9add020e182acb03c01bd5c55742dc7860625d
2017-07-17 11:44:39 +08:00
Mike Conley
264b802d22
Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
...
MozReview-Commit-ID: Jy6PICTkq4l
--HG--
extra : rebase_source : 0ad14aa2b6221bf1fb56a2d5f5f162a85daf443a
2017-06-28 21:38:53 -07:00
Wes Kocher
b5bcc4905e
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: CBL7SUEUGKV
2017-07-19 17:29:56 -07:00
Wes Kocher
f361e1638d
Backed out 13 changesets (bug 1366294) for leaking base::Histogram::FactoryGet a=backout CLOSED TREE
...
Backed out changeset f2d79c13799a (bug 1366294)
Backed out changeset b722d638f6ed (bug 1366294)
Backed out changeset aee317b1445d (bug 1366294)
Backed out changeset 14f9f9521d4f (bug 1366294)
Backed out changeset beb5f00c4b19 (bug 1366294)
Backed out changeset 72635bc1ba25 (bug 1366294)
Backed out changeset c387459a798b (bug 1366294)
Backed out changeset 476daf9a5846 (bug 1366294)
Backed out changeset e7ce6a06c131 (bug 1366294)
Backed out changeset 1cc736607aab (bug 1366294)
Backed out changeset 175c3ccb0015 (bug 1366294)
Backed out changeset 96b594816a21 (bug 1366294)
Backed out changeset 57400dd449ad (bug 1366294)
MozReview-Commit-ID: J6PyVMGwJ74
2017-07-19 12:49:46 -07:00
Chris H-C
fe6f06412f
bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
...
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.
MozReview-Commit-ID: 2iBL00HVGyg
2017-07-19 14:28:05 -04:00
Jim Chen
8b6bd21a0b
Bug 1351170
- 2. Notify selection listeners after adjusting range offsets; r=smaug
...
`nsRange` registers mutation observers to adjust the range when content
changes. However, there are some cases where we adjust the start and/or
end offsets but don't notify selection listeners (i.e. we don't call
`nsRange::DoSetRange` to set the new range points, contrary to what the
comment above `nsRange::DoSetRange` says). This patch makes us call
`nsRange::DoSetRange` in those cases. The patch adds a testcase in
test_selectevents.html, and changes a few unexpected-pass cases in
test_composition_text_querycontent.xul that this patch fixed.
MozReview-Commit-ID: 73D8RYMS3MS
--HG--
extra : rebase_source : da0cc3073e4b8ad23c6f6eab42da5aa8b269cae9
2017-07-19 14:29:59 -04:00
Jim Chen
41148177ef
Bug 1351170
- 1. Correctly calculate start offset for non-text nodes; r=masayuki
...
When the start node is a non-container node (i.e. <br>), and the start
offset is 0, we should not include a newline character for the node. For
example, for this range,
> <br/>hello
> \___/
the start node/offset is (<br/>, 0) and end node/offset is ("hello", 1).
The calculated range offset should be 0, and the range length should be
2: 1 for the <br/> newline character plus 1 for "h".
The patch also ensures this behavior for pre-mode nsContentIterator, for
both start and end node adjustments. For start nodes, we include any
non-container nodes with offset 0 in the range. For end node, we exclude
any non-container nodes with offset 0 from the range.
MozReview-Commit-ID: Lt2tCLbapq7
--HG--
extra : rebase_source : 7d86b6cf04581f1cd71fa85f8c8586541b3a84e9
2017-07-19 14:29:59 -04:00
Ryan Hunt
f116107a57
Bug 1379280 - Only do async keyboard scrolling for a selection, not a focused element. r=smaug
...
This commit changes async keyboard scrolling to be enabled only if the content to
scroll is from a selection. This works around the problem of detecting whether
an arbitrary element has key listeners that should prevent async key scrolling,
because when they have the focus we will have disabled async key scrolling.
MozReview-Commit-ID: 6HhSuGZNsMX
--HG--
extra : rebase_source : 98a6449dd1e913136ca66532a67df8e0bb717e52
2017-07-13 15:53:26 -05:00
Ryan Hunt
96c95dcf9e
Bug 1381736 - Fix modifier masks for APZ keyboard shortcuts. r=masayuki
...
MozReview-Commit-ID: LGQzHabEqrz
--HG--
extra : rebase_source : 423970ec88f200f89c05e6bb697e8eeac7078641
2017-07-18 02:03:14 -04:00
Andrew Osmond
8a1d7d4bf1
Bug 1359833 - Part 7. nsImageLoadingContent native observers should use the new API. r=tnikkel
2017-07-19 14:15:12 -04:00
Andrew Osmond
a0321e7db6
Bug 1359833 - Part 6. nsImageLoadingContent should not associate scripted and XPCOM observers with the same document. r=tnikkel
2017-07-19 14:15:11 -04:00
Andrew Osmond
02e515fc18
Bug 1359833 - Part 5. Callers pass the loading document to imgRequestProxy::SyncClone and GetStaticRequest. r=tnikkel
2017-07-19 14:15:11 -04:00
Dão Gottwald
4b7389da4e
Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
...
MozReview-Commit-ID: 9zMr9JwkloF
--HG--
extra : rebase_source : 25e9cfa11dc0c3ff09e4e3aac18a53535cbcc27b
2017-07-19 16:38:49 +02:00
Thomas Nguyen
2e486247c5
Bug 1373735 - Skip checking mPrivateBrowsingId in case system principal r=baku
...
MozReview-Commit-ID: 2sDJIxALC9L
--HG--
extra : rebase_source : d95c066dc0cf8be10457efe2afbbfbbf21d08270
2017-07-18 14:58:19 +08:00
Samuel Vargas
df2c48e657
Bug 1377974 - WEBGL_debug_shaders extension should always be enabled. r=jgilbert
...
WEBGL_debug_shaders should be allowed if ShouldResistFingerprinting
is on. Mochitests updated to reflect that.
--HG--
extra : rebase_source : 3aa5f2c6f0b8dfd8c9d1e74f810e23922d679eaa
2017-07-18 14:41:00 -04:00
Nicolas B. Pierron
6eb7dc59af
Bug 1381888 - Hard-code the current size factor between the source size and the bytecode size. r=mrbkap
...
--HG--
extra : rebase_source : 5e2a0735a7d02e414b38ce24ac6b887cb0c7ddbc
2017-07-18 10:09:00 -04:00
Boris Zbarsky
e12283979d
Bug 1382027. Allow using an SVGImageElement as a CanvasImageSource. r=mystor
...
--HG--
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1_ref.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1_ref.html
2017-07-19 11:48:49 -04:00
John Dai
b6b41eca6c
Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
...
--HG--
extra : rebase_source : 0ccd628ce1f0904bf2d412ade2710c6e1203641e
2017-07-18 20:30:00 -04:00
John Dai
c409d295b7
Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. r=wchen
...
--HG--
extra : rebase_source : 2dd237b25d8bbaea1f83eee8d1981d2d83d2b76a
2017-07-10 01:40:00 -04:00
John Dai
8b5bf419f7
Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen
...
--HG--
extra : rebase_source : 52643ad3f4ff83954d99bfa0382f362d4542be3d
2017-07-11 02:52:00 -04:00
John Dai
8105108d9d
Bug 1315885 - Part 1: Add ShadowRoot CEReactions annotation. r=smaug
...
--HG--
extra : rebase_source : ecb09ce6a23b5b778f5b4fe1f8c04b74793b86aa
2017-07-10 01:38:00 -04:00
Ryan VanderMeulen
0cfb1d8460
Merge inbound to m-c. a=merge
...
CLOSED TREE
2017-07-19 10:00:35 -04:00
Sebastian Hengst
36e308b1fc
Backed out changeset 6e571ab7b558 (bug 1382104) for asserting at dom/canvas/WebGLContextUtils.cpp:714 in browser-chrome tests and failing GTest's Gfx.CompositorSimpleTree. r=backout
2017-07-19 09:53:13 +02:00
Andrea Marchesini
ec29f80ffc
Bug 1381854 - FlyWeb events must mark the Response as BodyUsed, r=djvj
2017-07-19 09:12:41 +02:00
Andrea Marchesini
01e80abe92
Bug 1379113 - Deleting non-existing URL query parameters should remove ?, r=qdot
2017-07-19 09:12:41 +02:00
Jeff Gilbert
c8d4e41e8d
Bug 1382104 - Remove internal-vs-user FB bindings. - r=daoshengmu
...
MozReview-Commit-ID: 1lZouQUnaDl
2017-07-18 22:52:25 -07:00
Tobias Schneider
c143db5b5f
Bug 1381293 - Remove dom/base/test/test_intersectionobserver_no_root.html. r=mrbkap
...
--HG--
extra : rebase_source : 67a6c072fddeffeda5bf226abfccc9b1d7aabe71
2017-07-18 14:57:27 -07:00
Ehsan Akhgari
e535476a59
Bug 1379312 - Improve nsAssignment's hashing algorithm by redoing it on top of mozilla::HashGeneric(); r=mystor
2017-07-19 00:01:04 -04:00
Alastor Wu
8fa2796b1e
Bug 1364340 - enable dom/media/test/test_resolution_change.html on Android. r=bechen
...
MozReview-Commit-ID: EvtkgkyFbIp
--HG--
extra : rebase_source : 184096007d748d3564f5ad1bcbc9e67da4118970
2017-07-19 10:57:23 +08:00
Samuel Vargas
94c5974444
Bug 1380891 - WebGL Conformance sdk/tests/conformance/state/gl-enable-enum-test.html. r=jgilbert
...
--HG--
extra : rebase_source : 38c64d4a50d8c4fc2e5275724d0bd08bb31f0e99
2017-07-13 17:27:00 -04:00
Ryan VanderMeulen
a064d6dbfc
Merge m-c to inbound. a=merge
2017-07-18 13:00:03 -04:00
Ryan VanderMeulen
f142e0a216
Backed out 4 changesets (bug 1315885) for merge conflicts with bug 1377993.
...
Backed out changeset c6dcdfe7ac54 (bug 1315885)
Backed out changeset c8bc78492b81 (bug 1315885)
Backed out changeset 7ba49d85f30c (bug 1315885)
Backed out changeset d592ae3b61bf (bug 1315885)
2017-07-18 12:58:46 -04:00
Ryan VanderMeulen
366f48ad7e
Merge inbound to m-c. a=merge
2017-07-18 12:14:50 -04:00
Sebastian Hengst
6c82200d23
Backed out changeset 5c974dcdddd7 (bug 1363361) for running and failing browser_windowopen_reflows.js on Windows 8 x64. r=backout
2017-07-18 13:44:44 +02:00
Sebastian Hengst
cb2227a5c7
Backed out changeset 6dc016256eba (bug 1378067) for bustage at dom/media/webaudio/WebAudioUtils.cpp:107. r=backout on a CLOSED TREE
2017-07-18 11:51:22 +02:00
Paul Adenot
ac12821115
Bug 1378067 - Label more runnables in dom/media (GraphDriver.cpp, CubebUtils.cpp, DOMMediaStream.cpp). r=jesup
...
MozReview-Commit-ID: EQzR1AfzvzE
2017-07-18 11:26:58 +02:00
Shawn Huang
7009f26800
Bug 1370701 - Part 2: Null out the private window, r=btseng
2017-07-18 15:31:03 +08:00
Boris Zbarsky
bcbf54502c
Bug 1379762 part 3. Don't mess about with load blockers if our document is already in the COMPLETE readyState. r=smaug
2017-07-17 23:21:41 -04:00
Boris Zbarsky
4e6a3f8350
Bug 1378985. Align DOMException webidl with the updated spec. r=qdot
...
This makes DOMException.prototype.toString() throw when it wouldn't have
before. But it throws in other browsers already, so this is presumably web-compatible.
2017-07-17 23:21:21 -04:00
Henry Chang
efe126200b
Bug 1381437 - Re-org testing promises to avoid racy tesing result. r=smaug, yoshi
...
MozReview-Commit-ID: BqOUcHxw7MW
--HG--
extra : amend_source : e8c9df103b029a1454f881b77bdd1492661cc105
2017-07-17 19:46:56 +08:00
Sebastian Hengst
62a9085842
Backed out changeset bec6c4becfd9 (bug 1375816) for bustage in gfxVROculus.cpp on Windows. r=backout
2017-07-18 11:49:37 +02:00
Sebastian Hengst
becce95e2d
Backed out changeset ab013a0a0ae5 (bug 1375816)
2017-07-18 11:48:31 +02:00
Sebastian Hengst
b5972de663
Backed out changeset 498baf1613db (bug 1375816)
2017-07-18 11:48:22 +02:00
Samuel Vargas
107a8c4e5b
Bug 1381610 - Check bindRenderbuffer called before framebufferRenderbuffer. r=jgilbert
2017-07-17 16:52:00 -04:00
Alphan Chen
126b75ecd5
Bug 1318988 - Implement allowPaymentRequest on iframe. r=baku
...
--HG--
extra : rebase_source : 976b3449ec72d01004323706414e3b26c653aaec
2017-07-18 10:16:28 +08:00
John Dai
214e4b9b24
Bug 1315885 - Part 4: Implement callback reaction for custom element reactions. r=wchen
...
MozReview-Commit-ID: L462de2JmzT
--HG--
extra : rebase_source : 6d8e17a2cdf6635fcf7708fd57912cac89526b1d
2017-07-11 17:46:16 +08:00
John Dai
d42ab7cdaa
Bug 1315885 - Part 3: Transfer the ownership of ReactionQueue's entry due to re-enter CustomElementReactionsStack::InvokeReactions. r=wchen
...
MozReview-Commit-ID: 9Ku4jnuV9o3
--HG--
extra : rebase_source : 2d20a838d2f9362df5c77c43808f3d11aec3c920
2017-07-10 16:33:16 +08:00
John Dai
8da9589387
Bug 1315885 - Part 2: Avoid rethrowing exception in CustomElementCallback::Call. r=wchen
...
MozReview-Commit-ID: J6cUv2HJqE
--HG--
extra : rebase_source : c3868491497114ef9717ec976289a7c1268e5c7e
2017-07-10 16:22:13 +08:00