Commit Graph

54261 Commits

Author SHA1 Message Date
Phil Ringnalda
946bb1cf02 Merge m-i to m-c, a=merge 2016-09-03 21:51:33 -07:00
Phil Ringnalda
51211ec1af Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00
Andrew McCreight
3c69fd991a Bug 1300210 - Initialize nsCCUncollectableMarker::sGeneration to 1. r=smaug
The immediate reason we need to change this is that bug 1299911
proposes adding a verifier to check that there are no black-gray edges
in the JS heap, and sGeneration being 0 causes that to fail, due to
mozilla::dom::TraceBlackJS(). If something is a black root, I believe
the verifier requires that it be marked black. This makes sense,
because a black root is something that is definitely alive, and if the
object is marked gray, the CC might free it, as far as the GC knows.

This fails because when the browser starts, it GCs and marks the stuff
at the bottom of TraceBlackJS grey. Then it runs the CC, which flips
sGeneration to 1. Now, the verifier runs (before the GC runs!), and it
sees that the stuff in TraceBlackJS claims to be black, but is grey,
causing a verification failure.

In this particular case the code is actually safe. The purpose of the
black-gray invariant is to ensure that the CC does not incorrectly
unlink any gray C++ objects that are reachable from black JS
roots. The JS objects in TraceBlackJS should all be reachable directly
from a C++ object, and the CC knows that those C++ objects are alive
(because of refcounting). Therefore, the CC will not unlink any
objects that are reachable from black JS roots.

MozReview-Commit-ID: 8PrRkjqWBL

--HG--
extra : rebase_source : f9c2971bf71475202a1a6bbc719ab9ce19f94bc5
2016-09-02 15:51:05 -07:00
Thomas Wisniewski
95c459ec9a Bug 768072 - Implement imageSmoothingEnabled and deprecate mozImageSmoothingEnabled. r=pbro,adw,bas,bz 2016-09-01 20:49:54 -04:00
Ryan VanderMeulen
0c001cb35f Merge m-c to inbound. a=merge 2016-09-03 11:36:52 -04:00
Ryan VanderMeulen
1502d18249 Merge inbound to m-c. a=merge 2016-09-03 11:33:28 -04:00
Olli Pettay
961aa9b24b Bug 1214805, allow navigating when afterprint event is dispatched, r=bz
--HG--
extra : rebase_source : 67bb9b79332b009756781ae3e58aed91a5bdfbfa
2016-09-03 17:33:30 +03:00
Phil Ringnalda
c3de252482 Backed out 9 changesets (bug 1289011) for Win8 clip-path-* reftest failures
CLOSED TREE

Backed out changeset dea9d3f8bfe0 (bug 1289011)
Backed out changeset 03572962add4 (bug 1289011)
Backed out changeset 4b8d3be7bdf8 (bug 1289011)
Backed out changeset d1b4d0b38cdb (bug 1289011)
Backed out changeset aa59aca85397 (bug 1289011)
Backed out changeset 43d1ec007a49 (bug 1289011)
Backed out changeset a623cab8e4a7 (bug 1289011)
Backed out changeset 34e7dd6acb4c (bug 1289011)
Backed out changeset 900800f54055 (bug 1289011)
2016-09-02 19:46:39 -07:00
Wes Kocher
1c8f6396c3 Merge m-c to autoland, a=merge 2016-09-02 13:34:45 -07:00
Wes Kocher
ee92002ede Merge inbound to m-c a=merge 2016-09-02 13:17:30 -07:00
Cameron McCormack
a95bd0ceec Bug 1297963 - Part 1: Preserve base URI on URLValueData objects. r=emilio
MozReview-Commit-ID: Amjz1AcdxwN
2016-09-03 00:22:47 +10:00
Andrea Marchesini
cd55795e9f Bug 1299956 - Better use of kungFuDeathGrip in EventListenerManager, r=smaug 2016-09-02 06:59:42 -07:00
Sebastian Hengst
7080f0c942 Backed out changeset dd200883aa79 (bug 1260931) for permafailing test_child_docshell.html on Android debug. r=backout 2016-09-02 15:33:51 +02:00
Sebastian Hengst
df3ad10e28 Backed out changeset 10da0eca7bbb (bug 1260931) 2016-09-02 15:33:51 +02:00
Sebastian Hengst
31c5f85098 Backed out 5 changesets (bug 1260931)
Backed out changeset 86e1a437021b (bug 1260931)
Backed out changeset be65e87da9e3 (bug 1260931)
Backed out changeset 39cff1d988fd (bug 1260931)
Backed out changeset 2fa7c4d8a5bc (bug 1260931)
Backed out changeset 075d612841fb (bug 1260931)
2016-09-02 14:55:59 +02:00
Sebastian Hengst
7db44d87f4 Backed out changeset dd200883aa79 (bug 1260931) for permafailing test_child_docshell.html on Android debug. r=backout 2016-09-02 14:39:43 +02:00
Sebastian Hengst
5bbaac898b Backed out changeset 10da0eca7bbb (bug 1260931) 2016-09-02 14:38:42 +02:00
David Parks
5edefcd39f Bug 1171393 - Remove sandbox write access to temp directory which was opened for tests. r=bobowen 2016-09-01 11:58:12 -07:00
Ho-Pang Hsu
0174b1ed3b Bug 1258808 - Part 1: Passing PointerId (Gecko). r=smaug, f=btseng
--HG--
extra : rebase_source : 82113a04a209748d003d72b9103de78db4d1f73d
extra : histedit_source : 07c3c256639c7042487a0a2dc4135dc3063078b8
2016-09-01 16:12:15 +08:00
Kan-Ru Chen
5ab6035522 Bug 1269036 - Also destroy TabParent properly in case of mozbrowser. r=smaug
MozReview-Commit-ID: Co0HL40b4q7

--HG--
extra : source : d880cbd65bcd0b4345f18f9f3ad86cc3622843ec
extra : intermediate-source : 11228436d644eaa50c2dbfb840e309c61d2bef02
2016-09-02 16:03:19 +08:00
Ethan Lin
caa7955f57 Bug 1299062 - Add crashtest. r=nical
--HG--
extra : rebase_source : 12d12c4b5adf0acac1762f769d41dd7f6b4f5495
2016-09-02 08:12:56 -04:00
Wes Kocher
647b0985cc Backed out 2 changesets (bug 1299164) for win vm bc4 bustage a=backout
Backed out changeset 53dc795121e1 (bug 1299164)
Backed out changeset c39ec15e7e21 (bug 1299164)
2016-09-02 11:38:22 -07:00
David Anderson
1c2785873c Refactor CompositableClient memory management. (bug 1299375 part 2, r=nical) 2016-09-02 16:08:49 -07:00
Boris Zbarsky
40a43f8a00 Bug 1299306 part 2. Call JS_SetImmutablePrototype on Location instances to make their prototype immutable in a more spec-compliant way. r=peterv 2016-09-02 17:55:38 -04:00
Boris Zbarsky
8aef9d0ce9 Bug 1299306 part 1. Refactor the error handling in CGWrapNonWrapperCacheMethod and CGWrapWithCacheMethod to have less duplication. r=peterv 2016-09-02 17:55:38 -04:00
Boris Zbarsky
10a9e4c620 Bug 1297717. Stop using an unforgeable holder for global objects with unforgeable properties, since it's just pure slowdown in that case. r=peterv 2016-09-02 17:55:38 -04:00
Boris Zbarsky
363a5143aa Bug 1297125. Make sure the parser insertion point is defined when firing the load event for external <scripts> or firing the error event on a failed external script load (but not other cases, like bogus script URL). r=hsivonen
If we have a creator parser, then we were a parser-inserted script and should
presumably be able to set a valid insertion point when we run or fire our
load/error events.  For the error event case, we do this in
nsScriptElement::ScriptAvailable, so that async error events due to things like
bogus script URLs do not end up with a valid insertion point.  For the load
event case, we just do this in ScriptEvaluated directly.

ScriptEvaluated is called while the scriptloader has our script set as the
current parser-inserted script.  But for the error event case we need to
maintain that state around the ScriptAvailable call that will fire the event.
2016-09-02 17:55:38 -04:00
Boris Zbarsky
058c0dac3f Bug 1300005. Make sure that our PositionOptions structs are always owned by someone in geolocation code. r=kanru 2016-09-02 17:55:37 -04:00
Edgar Chen
eaa3aed9dd Bug 1275835 - Part 2: Implement CustomElementsRegistry define function; r=wchen
MozReview-Commit-ID: 10NPmzTRogc

--HG--
extra : rebase_source : 9f4b5b79f1ef4d65a457066b079a338fd3895c40
2016-09-01 15:11:32 +08:00
Edgar Chen
67946850ab Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
MozReview-Commit-ID: 9gTSFrYW7o3

--HG--
extra : rebase_source : f123f21aadaa18641ddd7fa7fa67eb27a4152f83
2016-08-30 11:48:53 +08:00
Stone Shih
1cf8ba2093 Bug 1298255 - [Pointer Event] Update web-platform-test pointerevent_element_haspointercapture-manual.html. f=bevistseng r=smaug 2016-08-26 10:38:59 +08:00
Joel Maher
a1bd244c06 Bug 1299882 - Intermittent tests | Timed out while polling clipboard for pasted data. r=RyanVM
MozReview-Commit-ID: 3S0vvyix6JN

--HG--
extra : rebase_source : f9ceb0b813adc6dca9a1f8323446ade4dd2c1a6e
2016-09-01 15:33:06 -04:00
cku
235e174b8f Bug 1289011 - Part 3. Handle view-box. r=heycam
MozReview-Commit-ID: 3GsivsTYPYK

--HG--
extra : rebase_source : da1fff2bb43f85b8d6e55ce4d490f1d872ddea45
2016-08-30 10:27:30 +08:00
Milan Sreckovic
cd425fcdf7 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas
MozReview-Commit-ID: FLBV5Aex3ga

--HG--
extra : rebase_source : 739a0c5052eaae4ed7f9d21cbbbe465dd10cb94a
2016-09-01 15:31:16 -04:00
Jimmy Wang
9ca5305aa9 Bug 1297539 - Send message PasteTransferable if the focused element is on the content process, otherwise pass the transferable to the controller directly. r=mrbkap
MozReview-Commit-ID: Bj3mY23YUDT

--HG--
extra : rebase_source : f63309608b5dcc2f602290a9415519826b2f08cd
2016-08-23 20:00:27 -04:00
Jimmy Wang
ff4e05f90e Bug 1297539 - Add IPC message, PasteTransferable, to call PasteTransferable via a controller on the content process to handle the command content event, "pasteTransferable". New method nsContentUtils::IPCTransferableToTransferable since ContentParent::RecvSetClipboard and TabChild::RecvPasteTransferable both require the same setup to make a transferable. r=mrbkap
MozReview-Commit-ID: 3I443eBOPEO

--HG--
extra : rebase_source : 86dbafb500c68e9a1f9976a6016d4e42311a4de8
2016-08-30 21:30:45 -04:00
Daosheng Mu
2653de86d8 Bug 1295061 - Enable WebGL 2 conformance tests for Windows 8; r=ethlin,jgilbert
MozReview-Commit-ID: L2gvpCWHBCn

--HG--
extra : rebase_source : 86777ff702ee5e45fb13088fd8a53334bb3a0ee7
2016-08-17 13:41:17 +08:00
Phil Ringnalda
f8170ce236 Merge m-c to autoland 2016-09-01 21:55:08 -07:00
Phil Ringnalda
3582398bc9 Backed out 3 changesets (bug 1298818, bug 1299838) for invalid wpt log messages
CLOSED TREE

Backed out changeset 5c65378feacd (bug 1298818)
Backed out changeset 72f66ce70dd8 (bug 1298818)
Backed out changeset eb17677e8167 (bug 1299838)
2016-09-01 18:59:36 -07:00
Wes Kocher
44d99ecda5 Merge m-c to autoland, a=merge 2016-09-01 17:54:52 -07:00
Aryeh Gregor
865efbc170 Bug 1298818 - Port test_bug411103.html to wpt; r=jst
This allows other UAs to use it, removes duplicated checks, and
increases the chance of us noticing if the spec changes.  Some of the
expected values in our mochitest were contrary to the spec.

I checked the new expected failures against the spec and the other UAs.
I filed a spec bug for one group because it was contrary to all UAs
(although IMO the spec makes more sense and the UAs are buggy), and the
others are fixed in the next patch.

MozReview-Commit-ID: 1j11XgfuErB
2016-09-01 20:37:31 +03:00
Bryce Van Dyk
5c7d75495a Bug 1299756 - VideoPuppeteer: Use played ranges in determining time remaining. Relax playback done check. r=maja_zf
The VideoPuppeteer now uses played ranges where possible to calculate the
remaining time. It will also use the played ranges to determine the expected
duration where possible. This is more accurate than using the time when the
tests first poll the video. The first poll time was previously self._start_time,
but I've renamed this to self._first_seen_time, to reduce ambiguity -- the video
may have started playing before this time.

The playback_done function has had it's remaining time check relaxed. Previously
it was possible to skip over the window where a video would be considered
complete, that window is now expanded so that if the start threshold is passed
the video is considered played.

A concrete example: the tests could play a 90 second video, but the duration of
the test is set to 60 so only part of the video need be played back before the
test completes. If a 1 second interval was used in the tests there would be a
window between 59 to 61 seconds during which if the video were polled it would
be considered complete. However, due to latency polling may not take place in
this window, leading to racy fails. Now the tests will consider any point beyond
59 seconds to be complete.

MozReview-Commit-ID: J6DpqCbZxUg

--HG--
extra : rebase_source : 7990e4eee0bce30718b875f652c7148110cd4c3f
2016-09-01 14:51:19 +12:00
Bryce Van Dyk
f3afe526e9 Bug 1299756 - Update VideoPuppeteer __str__ to output played ranges. r=maja_zf
This is a quality of life change. Since VideoPuppeteer uses, and since I plan on
using the played ranges of a video element more, it is useful to output them as
part of the str representation.

MozReview-Commit-ID: LwVPfVtFF1v

--HG--
extra : rebase_source : 1ebe4b7a7176a15f7e9300dee84103a8f6b86708
2016-09-01 10:50:05 +12:00
Kartikaya Gupta
48a5a4c393 Bug 1298908 - On Windows, fire the contextmenu and long-tap events on the long-tap-up user action. r=botond,jimm
This patch prevents the Windows widget code from dispatching the contextmenu
event if APZ is handling touch input. Instead, the APZ code processes the
raw touch input, and will fire a contextmenu event when the user lifts their
finger after a long-press action, in keeping with the Windows platform
convention. Doing it this way also allows us to respect web conventions where
the web content can prevent the contextmenu event from firing by calling
preventDefault on the touchstart event; this was not possible when dispatching
the contextmenu event directly from the widget code.

This also makes long-pressing on browser chrome components work properly, as
it just shifts the point in time that the contextmenu event is fired without
changing any of the code that triggers the XUL popup. However, some changes
were needed to have the widget code ignore the synthetic mouse events that
the Windows platform sends us, because those would otherwise immediately
dismiss the contextmenu popup after it appeared.

MozReview-Commit-ID: 9HFZLC6xUAi

--HG--
extra : rebase_source : aea932d9f95454c585bcdf962d151c946b5c6ec2
2016-08-30 17:32:08 -04:00
Andi-Bogdan Postelnicu
038e7bc3cc Bug 1299749 - removed unused variable from SessionMessageTask. r=baku
MozReview-Commit-ID: 6QfkkCfQ60

--HG--
extra : rebase_source : 8dd222b4218f4b461e547713c5e0f45998a3569c
2016-09-01 11:55:49 +03:00
Andi-Bogdan Postelnicu
5543303791 Bug 1299762 - prevent string concatanation in string list initialization. r=baku
MozReview-Commit-ID: 446gukGBkvS

--HG--
extra : rebase_source : 79ee9fee386318b97b6754fb4218bb9618f29df8
2016-09-01 13:12:54 +03:00
Ryan VanderMeulen
37b200a0c5 Merge autoland to m-c. a=merge 2016-09-01 12:11:51 -04:00
Ryan VanderMeulen
44f02640c6 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Ryan VanderMeulen
23932b1a58 Backed out 5 changesets (bug 1298768, bug 1297963) for causing widespread mochitest-bc failures.
Backed out changeset dedd56fa5c54 (bug 1297963)
Backed out changeset bc1ac59cfe8f (bug 1297963)
Backed out changeset a2e337d5aa02 (bug 1297963)
Backed out changeset e73da71408a3 (bug 1297963)
Backed out changeset 56f8bca8f8e8 (bug 1298768)

CLOSED TREE
2016-09-01 08:05:43 -04:00
Ryan VanderMeulen
6119440646 Backed out changeset 96ef0dd840e8 (bug 1299415) for TextureClient asserts/crashes in various test suites. 2016-09-01 08:01:58 -04:00