Граф коммитов

557017 Коммитов

Автор SHA1 Сообщение Дата
Andreas Farre f817025d8f Bug 1397215 - Update wpt metadata, a=testonly
MozReview-Commit-ID: 14chwCQkvs0


--HG--
rename : testing/web-platform/meta/html/user-interaction/focus/tabindex-focus-flag.html.ini => testing/web-platform/meta/html/editing/focus/tabindex-focus-flag.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode-iframe.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode-iframe.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode-path-changes.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode-path-changes.html.ini
rename : testing/web-platform/meta/image-decodes/image-decode.html.ini => testing/web-platform/meta/html/semantics/embedded-content/the-img-element/decode/image-decode.html.ini
2017-09-07 12:50:50 +01:00
James Graham 7c95410c7b Bug 1397215 - Update web-platform-tests to revision 7abe12a95a33cf1906182c1e56da37a32effce3f, a=testonly
MozReview-Commit-ID: 7EKrQudqd4D


--HG--
rename : testing/web-platform/tests/app-uri/resources/ExamPLE/mmY/index.html => testing/web-platform/tests/XMLHttpRequest/resources/pass.txt
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-001-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-001-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-002-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-002-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-003-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-003-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-004-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-004-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-dir-target-005-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-dir-target-005-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-down-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-down-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-left-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-left-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-right-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-right-013-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-009-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-009-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-010-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-010-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-011-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-011-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-012-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-012-frame.html
rename : testing/web-platform/tests/css/css-ui-3/support/nav-up-013-frame.html => testing/web-platform/tests/css/css-ui-4/support/nav-up-013-frame.html
rename : testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html => testing/web-platform/tests/fullscreen/api/element-ready-check-not-allowed-manual.html
rename : testing/web-platform/tests/html/user-interaction/focus/tabindex-focus-flag.html => testing/web-platform/tests/html/editing/focus/tabindex-focus-flag.html
rename : testing/web-platform/tests/image-decodes/image-decode-iframe.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode-iframe.html
rename : testing/web-platform/tests/image-decodes/image-decode-path-changes.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode-path-changes.html
rename : testing/web-platform/tests/image-decodes/image-decode.html => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/image-decode.html
2017-09-07 12:50:49 +01:00
Olli Pettay ecbbad31ed Bug 1378092 - Consider to remove MaybeGC from AutoEntryScript::~AutoEntryScript(), r=jonco
--HG--
extra : rebase_source : 0a2904c0204e13e15be4289c111457e1d20c1330
2017-09-07 09:28:25 +01:00
Jan de Mooij 1c43dd975e Bug 1395919 - Don't copy the unknown-properties flag in AddPropertyTypesAfterProtoChange. r=bhackett 2017-09-07 12:51:45 +02:00
Sebastian Hengst af505f8fc9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-07 12:42:38 +02:00
Sebastian Hengst 8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Andreas Farre e399c1d61e Bug 1396368 - Follow up fix: Fixed Windows build error. CLOSED TREE 2017-09-07 11:55:11 +02:00
Jan de Mooij 06c4b26692 Bug 1397026 - Make sure JSOP_INIT* IC behavior matches [[DefineOwnProperty]] instead of [[Set]]. r=anba 2017-09-07 11:28:58 +02:00
Dão Gottwald 4806455284 Backed out changeset 633d738656d5 (bug 1383051) for causing bug 1396281
MozReview-Commit-ID: FUYZSbgaiqx
2017-09-07 10:55:05 +02:00
Dão Gottwald 9593299783 Backed out changeset b440aaae26a1 (bug 1383051) for causing bug 1396281
MozReview-Commit-ID: 5gys7aa0vrv
2017-09-07 10:54:51 +02:00
Andreas Farre e9f03ed87b Bug 1396368 - Update mTopInnerWindow before unlinking it. r=bkelly 2017-09-07 10:15:48 +02:00
Andrea Marchesini d5e9568981 Bug 791440 - nsGlobalWindow::SetInitialPrincipalToSubject should check the existence of mDoc, r=qdot 2017-09-07 10:06:29 +02:00
Brian Birtles eda7cfac2e Bug 1365855 - Drop comment about needing to update SMIL animation styles in ServoRestyleManager::UpdateOnlyAnimationStyles; r=hiro; DONTBUILD
Unlike GeckoRestyleManager::UpdateOnlyAnimationStyles which is called from
*both* GeckoRestyleManager::ProcessPendingRestyles and FlushThrottledStyles,
ServoRestyleManager::UpdateOnlyAnimationStyles is only called from
FlushThrottledStyles which is what we use to update transform animations before
doing hit-testing. In this case, there doesn't appear to be any situation where
throttled SMIL animations need to be updated since SMIL animations are only
throttled when they apply to display:none content (bug 1209405 and bug 1322970)
in which case they should not affect hit testing.

MozReview-Commit-ID: 4bt7hCSa7Xr

--HG--
extra : rebase_source : 72641ee76a953357a00cb58b993a4316a86be618
extra : amend_source : 97b7053710039859dfe18c073c6414b129030757
2017-09-07 16:24:12 +09:00
Christoph Kerschbaumer d43805d4f6 Bug 1396320: Fix CSP sandbox regression for allow-scripts. r=dveditz 2017-09-07 09:11:38 +02:00
Paolo Amadini fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Nicholas Nethercote 42a8532893 Bug 1396694 (part 2) - Replace nsIAtom.idl with nsIAtom.h. r=froydnj.
Now that nsIAtom is non-scriptable, a .idl file isn't needed.

I made the new nsIAtom.h file by starting with a generated nsIAtom.h file, and
then cleaning it up and removing some stuff that wasn't necessary.

--HG--
extra : rebase_source : 9655fd38984512bd96cf5555048f7774414f6d92
2017-09-05 16:07:32 +10:00
Nicholas Nethercote 4a2bc82d4c Bug 1396694 (part 1) - Make nsIAtom non-scriptable. r=froydnj.
This also lets us remove a couple of IDL methods.

--HG--
extra : rebase_source : a62d3f340c77ae8028e35aa9f01f72c5eadf0ed1
2017-09-05 16:06:43 +10:00
Kris Maglione d6b735f9d2 Bug 1397536: Avoid newURI overhead for MatchPattern. r=ehsan,mixedpuppy
Ehsan, can you please review the (trivial) WebIDL changes, and Shane the
WebRequest logic?

The change to allow strings in MatchPattern arguments removes a huge amount of
XPConnect overhead that accumulates when creating nsIURI objects for
WebRequest processing.

The change to re-use existing URI objects removes a huge amount of URI
creation overhead.

MozReview-Commit-ID: 3DJjAKJK1Sa

--HG--
extra : rebase_source : 585a1c3c136ed1c5014f680ae81f635c8d1a2931
2017-09-06 21:56:45 -07:00
Kris Maglione 025991aa30 Bug 1396856: Part 4 - Update WebRequest.jsm to use ChannelWrapper bindings. r=mixedpuppy
MozReview-Commit-ID: 7s7SOQ1XVaw

--HG--
extra : rebase_source : 9fb6fabffd3c32e52e4b94dba476483a7118c660
2017-09-06 21:52:24 -07:00
Kris Maglione d55de0c717 Bug 1396856: Part 3 - Add a WebIDL wrapper class for necko channels. r=ehsan,mixedpuppy
Ehsan, can you please review the DOM bindings, and Shane the request logic?

The bulk of the overhead WebRequest API is in its access to nsIChannel and
friends through XPConnect. Since it's not really feasible to convert channels
to use WebIDL bindings directly, this generic channel wrapper class serves the
same purpose.

MozReview-Commit-ID: 4mNP8HiKWK

--HG--
extra : rebase_source : 111687dd0925619b5d93447aecffacd5d53532ef
2017-09-06 14:38:23 -07:00
Kris Maglione c79059605f Bug 1396856: Part 2 - Add top outer window ID to LoadInfo. r=ehsan
The WebRequest API needs to know if a given window ID is at the top level, for
various reasons. It currently figures this out by mapping a channel's load
context to a <browser> element, which tracks its current top outer window ID.
But this is inefficient, and not friendly to C++ callers.

Adding the top window ID to the load info simplifies things considerably.

MozReview-Commit-ID: Fy0gxTqQZMZ

--HG--
extra : rebase_source : bb5b1e1b3294004ca5e713fc88c4e20652296e53
2017-09-06 14:25:23 -07:00
Kris Maglione 9cf6734391 Bug 1396856: Part 1 - Remove spread call fallback overhead in event dispatch. r=zombie
MozReview-Commit-ID: 3c5p9OvRqHI

--HG--
extra : rebase_source : e145380ace787bab683808ef3894652bb1baee8d
2017-09-05 11:20:43 -07:00
Nicholas Nethercote 06f76edc17 Bug 1276488 - Add diagnostics about Prefs startup failures. r=froydnj.
--HG--
extra : rebase_source : ee3b8c2592e4dcf43c395cb805a88cfa385ce7ef
2017-09-06 15:17:05 +10:00
Nicholas Nethercote 5bd03193bd Bug 1397579 - Report stylesheet memory usage under "layout/style-sheets". r=heycam.
Currently it's not under "layout/", for no clear reason.
2017-09-07 14:36:42 +10:00
Nicholas Nethercote f92bd5e9ab Bug 1393642 (follow-up) - Fix potential leak in HTMLEditor methods. r=masayuki.
As written, these functions will leak if they are passed strings that don't
match static atoms. In practice, all strings passed *do* match static atoms,
but let's fix it anyway in case that changes in the future.

--HG--
extra : rebase_source : 01685428e7dfc577e63bb6423382817359623151
2017-09-07 12:20:51 +10:00
Aaron Klotz 066806b179 Bug 1383501: Assert that com proxy is non-null before calling SendPDocAccessibleConstructor; r=yzen
MozReview-Commit-ID: CuIXyoe4jsj
2017-09-06 10:40:55 -06:00
Andrew Osmond 391b45bd79 Bug 1397223 - Gracefully handle failures in SurfaceCacheImpl::StartTracking. r=tnikkel
When the surface cache starts tracking an unlocked surface, it must
insert it into the expiration tracker, so that it can be freed later if
it is remains unused. ExpirationTrackerImpl::AddObjectLocked can fail
due to out-of-memory conditions or during shutdown, which we previously
ignored, and could leave us in a state where we think the surface is in
the tracker but is not. When we later try to mark the surface as used in
the tracker, it will hit a release assert because it doesn't exist. Now
we handle the insertion failure by discarding the surface. Marking the
surface as used can itself encounter a similar issue, and we handle it
the same way.

MozReview-Commit-ID: Kv6l0znnG48
2017-09-06 20:17:04 -07:00
Andrew Osmond efb55b8c17 Bug 1397235 - Ensure that we reset factor-of-2 mode for an ImageSurfaceCache when it becomes empty. r=tnikkel
An ImageSurfaceCache cannot enter factor-of-2 mode without a minimum
number of surfaces being present in its cache. However those surfaces
can be purged from the cache through various means (expire due to being
disuse, volatile buffers purged, etc). Also, it is entirely possible
that all the surfaces get purged, but the cache itself remains. Since
factor-of-2 mode requires at least one surface (to get the owning image
and its native size), we need to handle the case when the cache is
emptied appropriately. As such, we now reset the factor-of-2 mode (and
its pruned state) to the default (false) if we transition from non-empty
to empty.

MozReview-Commit-ID: EVaEqW59Asv
2017-09-06 20:16:31 -07:00
Zibi Braniecki 0e1ced7d71 Bug 1395871 - Open toolbar menus on mousedown, rather than oncommand.
MozReview-Commit-ID: A3P4QBBgcB8

--HG--
extra : rebase_source : 2a1b660f6489c5aece8f8b25935ad5799779629d
2017-09-01 01:54:34 -07:00
JW Wang ac6ee9f873 Bug 1395802. P4 - we don't need lock since mChannelStatistics is always accessed on the main thread. r=cpearce
MozReview-Commit-ID: KHnhPaSTSFr

--HG--
extra : rebase_source : 0129e5d729f2ed6f5ed8b9f1c4e89b128c9f6868
extra : intermediate-source : 8c093999ba40f7ce48dc3c3cc0d10117b710868a
extra : source : b5b2a5d89b2aa25ee644e8ea3c06804d2c63cdba
2017-09-01 14:32:00 +08:00
JW Wang d3f14ac69d Bug 1395802. P3 - ensure mChannelStatistics.AddBytes() to happen on the main thread. r=cpearce
MozReview-Commit-ID: CbDl9mWZDFs

--HG--
extra : rebase_source : 6f66f540146ea7ff43543f66d4f7c450c98d7a68
extra : intermediate-source : 1834aa47f8ff342e36a1fe4e8f73c7a0aa1906c6
extra : source : de6706f3fcd29ca81254e9b20f391cc28bc3a57a
2017-09-01 14:28:06 +08:00
JW Wang 959a1c210a Bug 1395802. P2 - assert ChannelMediaResource::GetDownloadRate() runs on the main thread. r=cpearce
The only caller is ChannelMediaDecoder::GetStatistics() which runs on the main thread.

MozReview-Commit-ID: CYg3Z3rmlHd

--HG--
extra : rebase_source : c3bf0083522256a6c4f3e83bc817ee7d0ce398bf
extra : intermediate-source : 12bad420f0f3eb9a3993fada2f919d61f60ad392
extra : source : 6044445039445631bbb6cd66607b6f7f72547f18
2017-09-01 14:19:51 +08:00
JW Wang 7183d8c7c6 Bug 1395802. P1 - add AbstractMainThread() to MediaResourceCallback. r=cpearce
This is required by P3 to preserve the ordering. E.g. we want
mChannelStatistics.AddBytes() to happen before the new data is consumed
by the decoder and is made observable to the main thread. Using
SystemGroup::Dispatch() won't guarantee the ordering.

MozReview-Commit-ID: 7MP0CzTGpOs

--HG--
extra : rebase_source : 1161b7c713f57625f38b70714bb8684c2edecb2a
extra : source : 22b362b56f218acb70cc7ce3c0fd0ea113563681
2017-09-06 15:12:34 +08:00
Phil Ringnalda 75f9cdbd7e Backed out 3 changesets (bug 1394603) for reftest syntax error
CLOSED TREE

Backed out changeset 44117208f321 (bug 1394603)
Backed out changeset 31088c59d895 (bug 1394603)
Backed out changeset 20551d68f602 (bug 1394603)

MozReview-Commit-ID: 4F4jSQ8GyfG
2017-09-06 22:48:55 -07:00
Bobby Holley 52ba410a6e Bug 1397052 - Don't update |result| after the acquire fence in nsThreadSafeRefCnt::operator--. r=froydnj
MozReview-Commit-ID: 1Yp4kFXA5gV
2017-09-06 21:55:12 -07:00
Chris Peterson fa32ca3d1c Bug 1394603 - Infer asserts-if(styloVsGecko, X*2) from asserts(X). r=jryans
MozReview-Commit-ID: BkvMyNYzpkO

--HG--
extra : rebase_source : 8e0cb4a60b7f4935c6dab930065efd85440f5222
2017-09-03 20:22:35 -07:00
Chris Peterson 502148b819 Bug 1394603 - Replace random-if(styloVsGecko) with skip-if. r=jryans
Running individual random tests might still be useful for finding crashes or assertion failures, but there is no need to run the styloVsGecko visual comparison tests if the results are random.

MozReview-Commit-ID: Brz6zf25lCO

--HG--
extra : rebase_source : 2a86191ce8ecd77ce502237c5217ae4b30fe1574
2017-09-03 21:05:29 -07:00
Chris Peterson 2d629378b2 Bug 1394603 - Replace fails-if(!styloVsGecko) to fails. r=jryans
Skip tests that are expected to fail in both Stylo and Gecko modes. They would unexpectedly "pass" in styloVsGecko mode when comparing the two failures, which is not a useful result.

MozReview-Commit-ID: 3mOpjU225Q1

--HG--
extra : rebase_source : 0c307639c3626af3b6b43e05d3ee73d08b3f47ce
2017-09-01 20:39:44 -07:00
Phil Ringnalda bc78097d88 Backed out 2 changesets (bug 1396723) for !ElementAccess::Get(mHead).mPrev assertion failures
Backed out changeset 4f17343164b6 (bug 1396723)
Backed out changeset b744eba9ca78 (bug 1396723)

MozReview-Commit-ID: JbvM6oMxEFl
2017-09-06 21:39:20 -07:00
Phil Ringnalda 5921d11c6e Backed out changeset 118a2b0b07c2 for assertion failures
MozReview-Commit-ID: 2pR2sdlejqW
2017-09-06 21:08:39 -07:00
Daosheng Mu b95528913e Bug 1392476 - Add dropframe telemetry for WebVR; r=francois,kip
MozReview-Commit-ID: IPVnPBkY8CN

--HG--
extra : rebase_source : 437b3528cecb05bc0bb4307447dee3e18c63d762
2017-08-28 18:43:25 +08:00
Daosheng Mu cbc71c63a8 Bug 1359055 - Part 3: Fail-if webgl-compressed-texture-size-limit tests on Win 7; r=jgilbert
MozReview-Commit-ID: 8lS9W6ju0Lv

--HG--
extra : rebase_source : 4f7aafbc5a9ab50cbb0a86977dfe422c5b07db45
2017-08-31 03:31:42 +08:00
Daosheng Mu 0129bbc1cb Bug 1359055 - Part 2: Enable compressed texture unpack buffer tests; r=jgilbert
MozReview-Commit-ID: Dvdf8ORrGtg

--HG--
extra : rebase_source : f28e88731c64327b73b4947507081f529ca58d50
2017-08-31 03:02:28 +08:00
Bevis Tseng cd0ef77297 Bug 1390076 - Label MainThreadInvoker using SystemGroup. r=aklotz 2017-08-28 14:11:38 +08:00
Wes Kocher a14d71906d Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJ4WkYrJ9g6
2017-09-06 17:24:48 -07:00
Wes Kocher c71af21a6e Backed out changeset b7726e9751ca (bug 1392841) for reftest failures in font-display-1.html a=backout
MozReview-Commit-ID: IDsqrO2kUQ1
2017-09-06 16:48:20 -07:00
Eric Rahm c50f041b28 Bug 1376038 - Part 3: Combine ghost window reporter with window reporter. r=njn
This combines the GhostWindowsReporter with the nsWindowMemoryReporter. It has
the benefit of removing a reporter of a single value and also guarantees that
we use the latests ghost windows value that is calculated in
|nsWindowMemoryReporter::CollectReports| rather than a possibly cached value
from a previous run.

--HG--
extra : histedit_source : bef59afe7b79cae8050460ee1bdc4247daebc21f
2017-09-06 16:06:58 -07:00
Wes Kocher ca2749c3c0 Merge autoland to central, a=merge
MozReview-Commit-ID: GQpNetIXsWP
2017-09-06 15:51:25 -07:00
ffxbld 67f38de244 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-09-06 10:37:57 -07:00
ffxbld ae7a4f2407 No bug, Automated HSTS preload list update from host bld-linux64-spot-307 - a=hsts-update 2017-09-06 10:37:54 -07:00