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

72497 Коммитов

Автор SHA1 Сообщение Дата
Robert Longson 430037e723 Bug 1442972 - DOMSVGPoint constructor checks that mX is finite twice and mY finite not at all r=dholbert 2018-03-09 04:29:52 +00:00
Nicholas Nethercote 0e2f1f5ab8 Bug 1444031 - Rename nsStaticAtom::mAtom as mAtomp. r=froydnj
Because (a) that name better indicates that it's a pointer to a pointer, and
(b) because nsStaticAtom::mString is going to be renamed as mAtom in bug
1411469.

MozReview-Commit-ID: D5tuNOstMgr

--HG--
extra : rebase_source : 9344eeea0288c8c52c069ce21e8bc55f6e0f3f6f
2018-03-08 11:42:06 +11:00
Nicholas Nethercote 8ac9830be0 Bug 1444031 - Rename Is{Static,Dynamic,HTML5}Atom. r=froydnj
By removing the "Atom" suffix, which is redundant.

MozReview-Commit-ID: 4MCX9Icfjrw

--HG--
extra : rebase_source : c3c759a508a8938b59d36dbb20448d2964b98c91
2018-03-07 15:17:34 +11:00
Kris Maglione a036df8b65 Bug 1403348: Part 4 - Annotate certain startup crashes with AsyncShutdown script contents. r=mccr8 data-r=rweiss
We're seeing startup crashes which point to data corruption in the source of
the AsyncShutdown component and module, but it's unclear whether the source of
this corruption is on disk, in memory, or in XDR data.

This change annotates crash reports with the contents of those files, so that
we can compare the actual source with the corrupted values in the generated
errors, and narrow down the source of the corruption.

MozReview-Commit-ID: 7p8y73XUGLK

--HG--
extra : rebase_source : 8e1b85df0cf69556af6f998f3d638bf2033e6ca0
extra : source : cf8613751378c8790b56131cd2a1be68573f9286
2017-11-04 17:20:17 -07:00
Csoregi Natalia 16068f9f72 Backed out changeset cf8613751378 (bug 1403348) for Build Bustage on ServiceWorkerRegistrar.cpp:29. CLOSED TREE 2018-03-09 00:59:11 +02:00
Kris Maglione 3eba816ee8 Bug 1443964: Part 1 - Fix most tests that rely on add-on shims. r=mconley
browser_google_behavior.js is the only remaining exception.

MozReview-Commit-ID: GA15P7f0KBv

--HG--
extra : rebase_source : 7cb70cb6108abc6746a9261922bd2826bb11a9b7
2018-03-07 14:35:16 -08:00
Kris Maglione fac1655973 Bug 1403348: Part 4 - Annotate certain startup crashes with AsyncShutdown script contents. r=mccr8 data-r=rweiss
We're seeing startup crashes which point to data corruption in the source of
the AsyncShutdown component and module, but it's unclear whether the source of
this corruption is on disk, in memory, or in XDR data.

This change annotates crash reports with the contents of those files, so that
we can compare the actual source with the corrupted values in the generated
errors, and narrow down the source of the corruption.

MozReview-Commit-ID: 7p8y73XUGLK

--HG--
extra : rebase_source : ad31c4fae1cb5c931e166702499dd1e56758d3e3
2017-11-04 17:20:17 -07:00
Kris Maglione b5583c4ea2 Bug 1440816: Part 2 - Clone stacks when sending console messages to the parent process. r=baku
MozReview-Commit-ID: FqK2eZ3JoB2

--HG--
extra : rebase_source : dd16ca723d17fcd570837a21ad66de7d80ed1a78
2018-02-23 17:21:49 -08:00
Ben Kelly 5cf84a8b75 Bug 1438211 P9 Remove nsPIDOMWindowInner::GetServiceWorkerRegistration() and InvalidateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : a02d0490415c01f7c3330de17f9040344b4b96d4
2018-03-02 13:02:50 -08:00
Ben Kelly cfe642ab1a Bug 1438211 P8 Hold the ServiceWorkerRegistration alive until the global is detached or the backing ServiceWorkerRegistrationInfo is removed. r=asuth
--HG--
extra : rebase_source : 476e6d6a55d5e2fdff41d87d86ce9d0818361a39
2018-03-08 13:43:33 -05:00
Ben Kelly eb738424f1 Bug 1438211 P7 Hold the ServiceWorker object alive until either the window is closed or the backing ServiceWorkerInfo becomes redundant. r=asuth
--HG--
extra : rebase_source : 9edc60c9faee7410b95953fc28240618d46aef14
2018-03-02 13:02:50 -08:00
Ben Kelly d4faed071a Bug 1438211 P6 Add an integer identifier to each ServiceWorkerRegistrationDescriptor. r=asuth
--HG--
extra : rebase_source : b61dc3d41d0ad73e5465a1f598fd09195120b9e4
2018-03-02 13:02:50 -08:00
Ben Kelly 5706606e9b Bug 1438211 P5 Replace direct window/worker calls with nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 2b0f83a5e5a6e5eeac9e1401168c6653b6250c23
2018-03-02 13:02:50 -08:00
Ben Kelly b7cbf79c03 Bug 1438211 P4 Actually set the worker global on ServiceWorkerRegistration. r=asuth
--HG--
extra : rebase_source : 402ab15468191e61d597a246e1f2d8a05f8ee03a
2018-03-02 13:02:50 -08:00
Ben Kelly 84799ae3d5 Bug 1438211 P3 Implement WorkerGlobalScope::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 3e6d360edafe30f95a355df25705ab4150372c8f
2018-03-02 13:02:49 -08:00
Ben Kelly 9e928c88fb Bug 1438211 P2 Implement nsGlobalWindowInner::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 7fa79752d66f9955f574e49e094cdd7fff512306
2018-03-02 13:02:49 -08:00
Ben Kelly 0c368d6063 Bug 1438211 P1 Add nsIGlobalObject::GetOrCreateServiceWorkerRegistration(). r=asuth
--HG--
extra : rebase_source : 50aca93e94142ee42dc4446164aeec1cb2b06c52
2018-03-02 13:02:49 -08:00
Brindusan Cristian eb51abf4fb Merge inbound to mozilla-central. a=merge 2018-03-08 20:00:36 +02:00
Brindusan Cristian 588d8120aa Merge autoland to mozilla-central. a=merge 2018-03-08 19:58:38 +02:00
Narcis Beleuzu d069c08959 Backed out changeset 93a515ea1721 (bug 1442020) for bc failures on /browser_devices_get_user_media_tear_off_tab.js. a=backout 2018-03-08 19:48:58 +02:00
Cosmin Sabou aba9ad6f65 Merge inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationListenerTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/NavigationDelegateTest.kt
2018-03-08 05:59:30 +02:00
Nathan Froyd e7492f2d00 Bug 1443932 - part 1 - add nsIThreadManager::kThreadPoolStackSize; r=erahm
A lot of our thread pools use the default stack size for the platform
they're on, which can be rather large (8MB, usually, on Linux and OS X)
and is probably too much for the typical thread in the thread pool
regardless.  SharedThreadPool already has some logic for selecting a
reasonable stack size for worker threads; let's move that logic to
nsIThreadManager so that logic (and constant) can be shared more
broadly.  (That we already have a couple of instances of
SharedThreadPool usage solely for this constant suggests that it is a
concept that should be available in a more central location.)
2018-03-07 20:33:17 -05:00
shindli 8e9217d36a Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-08 02:27:35 +02:00
Catalin Badea b1123e2859 Bug 1442894 - Avoid race in test_self_update_worker.html r=asuth
1. Wait for 'activating' state, since it's possible never to reach
'activated'.
2. nit change: Don't set the grace timeout to zero. This makes the test
run faster.
2018-03-08 12:45:44 +00:00
Olli Pettay 53d9c5b1ab Bug 1443746, ensure DOM events aren't dispatched at unexpected time, r=masayuki
--HG--
extra : rebase_source : 01884975c6f84faaa1804d62b5518910da2f3698
2018-03-08 16:59:25 +09:00
Byron Campen [:bwc] e92f4bada3 Bug 1443198 - Part 2: Check whether PC is closed before trying to create transceivers due to offerToReceive. r=jib
MozReview-Commit-ID: 5xDzBc9af6Y

--HG--
extra : rebase_source : ae6088f63bc760d8506b1453f221a5986b35218b
2018-03-06 09:24:18 -06:00
Byron Campen [:bwc] f6c93efa2c Bug 1443198 - Part 1: Test that offerToReceiveX doesn do anything silly when the PC is closed. r=jib
MozReview-Commit-ID: 3ShP4dejWQ8

--HG--
extra : rebase_source : 11dbecabd7db72a016162fb596e044a8b3f36e29
2018-03-06 10:07:40 -06:00
Boris Zbarsky 8b2e5c1850 Bug 1444004. Implement Event.prototype.srcElement as an alias for .target, nightly-only. r=smaug
MozReview-Commit-ID: JhKdc07CVsL
2018-03-07 23:38:14 -05:00
Boris Zbarsky 15f6ca70fd Backed out changeset 52d86f152c2d because it included bits that shouldn't have been in there leading to a CLOSED TREE.
MozReview-Commit-ID: KWl43hdIGN2
2018-03-07 23:35:48 -05:00
Johann Hofmann 6fc9759b14 Bug 1442560 - Add a note for deprecating passing a storage option to indexedDB.open(). r=asuth
MozReview-Commit-ID: 44yCmYrPP26

--HG--
extra : rebase_source : f087aeb9fdd608fbd0f38b4f846c24fa01dcdfa6
2018-03-05 20:01:00 +01:00
Emilio Cobos Álvarez f0d07cb595 Bug 1443966: Add missing include for nsIContent::IsInChromeDocument. r=dholbert
Also mark the function properly as inline.

MozReview-Commit-ID: GJDVLsyfuLN

--HG--
extra : rebase_source : 8dd0b44fa4305dc55b8a0887b2e97453c4c2dfb6
2018-03-08 00:59:25 +01:00
Emilio Cobos Álvarez ff7e6d9b24 Bug 1443756: Devirtualize style-related nsIDocument methods. r=smaug
Summary: They have no particular reason to be virtual.

Reviewers: smaug

Bug #: 1443756

Differential Revision: https://phabricator.services.mozilla.com/D691

MozReview-Commit-ID: JN8MtfXvw3D
2018-03-07 23:57:04 +01:00
Emilio Cobos Álvarez 577e15bc04 Bug 1443790: Cleanup non-overridden virtual nsIContent methods. r=smaug
Summary: They're never overridden, so no need to be virtual.

Reviewers: smaug

Bug #: 1443790

Differential Revision: https://phabricator.services.mozilla.com/D694

MozReview-Commit-ID: 8gnzLTXKqdB
2018-03-07 23:54:09 +01:00
Eric Rahm 2271bd0424 Bug 1442483 - Part 2: Store SVGContentCreatorFunctions directly in sTagAtomTable. r=dholbert
This gets rid of the somewhat odd setup of looking up an array offset in the
hashtable and then pulling a callback out of the array. Instead we just store
the function pointers directly in the hashtable.

--HG--
extra : rebase_source : c8cd1109e6edaf8924fc68933212bc7ad506b648
2018-03-01 17:07:16 -08:00
Eric Rahm 722cbde9a8 Bug 1442483 - Part 1: Convert SVG's sTagAtomTable to nsDataHashtable. r=dholbert
--HG--
extra : rebase_source : 22a8de17ec9a542f90f66baa07e572bc40098326
2018-03-01 16:49:32 -08:00
Eric Rahm 38563e186d Bug 1442480 - Switch nsNodeInfoHash to a nsDataHashTable. r=smaug
This switches `nsNodeInfoHash` to a nsDataHashTable. The hash function and
equality operator are moved to NodeInfoInner so that they can be easily reused.

--HG--
extra : rebase_source : d2e42447a77ffdde620508da28554528ebd78bf8
2018-03-01 15:33:52 -08:00
Boris Zbarsky f524da36b5 Bug 1444004. Implement Event.prototype.srcElement as an alias for .target, nightly-only. r=smaug
MozReview-Commit-ID: 4UMNqUBfUnp
2018-03-07 23:15:32 -05:00
Mike Conley b797442465 Bug 1442020 - Ensure neither style nor layout flushes are required when running promiseDocumentFlushed callbacks. r=bz
MozReview-Commit-ID: INGpltVvNmZ

--HG--
extra : rebase_source : 283c263a33b924e50170ae26f049d98b825f6f1d
2018-02-28 16:15:51 -05:00
Hiroyuki Ikezoe 6f36308ec8 Bug 1443423 - Drop Animation::PauseNoUpdate(). r=birtles
CSSTransition still uses PlayNoUpdate().

MozReview-Commit-ID: 5RHSXwaKYV2

--HG--
extra : rebase_source : f8edbe2ebf02fbc7e77f99f0064b2a65a5ae3cd4
2018-03-07 11:48:35 +09:00
Hiroyuki Ikezoe 573dfe44a6 Bug 1437272 - Don't throttle finite transform animations in out-of-view element. r=birtles
Transform animation in out-of-view element might move in visible area so if we
throttle it the transform animation might come in view suddenly.  So we don't
throttle transform animations in ouf-of-view element anymore if it's not
infinite.  Finite animations don't last so that they won't consume CPU so much
time.

MozReview-Commit-ID: HaMjmxqXPIK

--HG--
extra : rebase_source : 1c008e4e435bcc9c1ad8fcc84667080247c0b161
2018-03-08 18:22:45 +09:00
Hiroyuki Ikezoe 9e80d1d901 Bug 1437272 - Drop AnimationEffectReadOnly::IsActiveDurationZero(). r=birtles
It's no longer used since bug 1305325.
https://hg.mozilla.org/integration/autoland/rev/60857c37bcfa

MozReview-Commit-ID: JapMYQOTDSv

--HG--
extra : rebase_source : 7b3f9050be93b5f45e236f4001502f11bff86a4e
2018-03-08 18:22:45 +09:00
Hiroyuki Ikezoe be2fe6bf8c Bug 1437272 - Split nsTimingFunction into an independent header file. r=birtles
So that we don't need to include nsStyleStruct.h in gfx any more.

MozReview-Commit-ID: 6nOaAbssLCz

--HG--
extra : rebase_source : 9c195c90277a4584dc14a6949e9eea53bcd8487c
2018-03-08 18:22:45 +09:00
Emilio Cobos Álvarez 73a6a2096e Bug 1443797: Remove SVGTests::IsInChromeDoc. r=dholbert
Summary: It's effectively the same as AsSVGElement()->IsInChromeDocument().

Reviewers: dholbert

Bug #: 1443797

Differential Revision: https://phabricator.services.mozilla.com/D695

MozReview-Commit-ID: 8f8fUsPfdnm
2018-03-08 09:26:04 +01:00
Jeff Gilbert f7054fb683 Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark
MozReview-Commit-ID: 6h6j2LvJdXm
2018-03-07 12:16:16 -08:00
Kris Maglione 887b300cf4 Bug 1442931: Part 2 - Move internal WebIDL interfaces to separate directory. r=mystor
This change moves several chrome-only WebIDL files to a separate chrome-only
directory.

There are several other chrome-only interfaces which are heavily tied to DOM
code. Since those should probably still require DOM peer review for changes, I
left them where they were.

MozReview-Commit-ID: K3NsNtfntV6

--HG--
rename : dom/webidl/ChannelWrapper.webidl => dom/chrome-webidl/ChannelWrapper.webidl
rename : dom/webidl/ChromeUtils.webidl => dom/chrome-webidl/ChromeUtils.webidl
rename : dom/webidl/DominatorTree.webidl => dom/chrome-webidl/DominatorTree.webidl
rename : dom/webidl/HeapSnapshot.webidl => dom/chrome-webidl/HeapSnapshot.webidl
rename : dom/webidl/InspectorUtils.webidl => dom/chrome-webidl/InspectorUtils.webidl
rename : dom/webidl/MatchGlob.webidl => dom/chrome-webidl/MatchGlob.webidl
rename : dom/webidl/MatchPattern.webidl => dom/chrome-webidl/MatchPattern.webidl
rename : dom/webidl/MozStorageAsyncStatementParams.webidl => dom/chrome-webidl/MozStorageAsyncStatementParams.webidl
rename : dom/webidl/MozStorageStatementParams.webidl => dom/chrome-webidl/MozStorageStatementParams.webidl
rename : dom/webidl/MozStorageStatementRow.webidl => dom/chrome-webidl/MozStorageStatementRow.webidl
rename : dom/webidl/PrecompiledScript.webidl => dom/chrome-webidl/PrecompiledScript.webidl
rename : dom/webidl/PromiseDebugging.webidl => dom/chrome-webidl/PromiseDebugging.webidl
rename : dom/webidl/StructuredCloneHolder.webidl => dom/chrome-webidl/StructuredCloneHolder.webidl
rename : dom/webidl/WebExtensionContentScript.webidl => dom/chrome-webidl/WebExtensionContentScript.webidl
rename : dom/webidl/WebExtensionPolicy.webidl => dom/chrome-webidl/WebExtensionPolicy.webidl
rename : dom/webidl/moz.build => dom/chrome-webidl/moz.build
extra : rebase_source : e1ea7dad6450a10e5f48e622814efe28e0c13977
extra : intermediate-source : 9f46e7d52b9b2e30bf0ccf64bb5805168dd79c29
extra : source : 195cbf3d34334978e5a9d101d4b79f899598159c
2018-03-04 16:37:10 -08:00
Kris Maglione 444be7c1c2 Bug 1442931: Part 1 - Forbid web-visible interfaces outside of WebIDL root. r=mystor
Web-visible WebIDL interfaces require DOM peer review with every change, which
is enforced by a commit hook. ChromeOnly interfaces are not exposed to the
web, and therefore don't require the same strictures.

The current commit hook enforces the review requirement for changes to any
(non-Servo) WebIDL file, and is not smart enough to determine if the change is
web-visible. In order to loosen that restriction, we need the build system to
enforce the requirement that only WebIDL files in certain locations may
contain web-visible interfaces, so that the commit hook can restrict itself to
checking only those directories.

This change restricts the location of web-visible WebIDL interfaces to the
dom/webidl/ and dom/bindings/ roots (along with the corresponding objdir root
for generated interfaces). A follow-up will change the commit hook to only
enforce review requirements on these directories.

MozReview-Commit-ID: CiDxXxN4oO4

--HG--
extra : rebase_source : d836004da9f2def74e7c8cd5d580db2290a938d4
extra : intermediate-source : 608e21fcd1674dae3f8b685cedab85c43ffdb485
extra : source : 6cb20ada1a0aa1f6d621ba3c85ce9946a6f9841f
2018-03-05 14:21:38 -08:00
Andreea Pavel 33cc9e0331 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-07 16:43:13 +02:00
Bogdan Tara 2680808115 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-07 12:07:19 +02:00
Bogdan Tara e3282a1fb3 Merge inbound to mozilla-central. a=merge 2018-03-07 12:03:48 +02:00
Andreea Pavel 01d4e4cfa4 Backed out 2 changesets (bug 1442931) for build bustages at ..\dom\bindings\mozwebidlcodegen\test\test_mozwebidlcodegen.py::TestWebIDLCodegenManager::test_copy_input on a CLOSED TREE
Backed out changeset 9f46e7d52b9b (bug 1442931)
Backed out changeset 608e21fcd167 (bug 1442931)

--HG--
rename : dom/chrome-webidl/ChannelWrapper.webidl => dom/webidl/ChannelWrapper.webidl
rename : dom/chrome-webidl/ChromeUtils.webidl => dom/webidl/ChromeUtils.webidl
rename : dom/chrome-webidl/DominatorTree.webidl => dom/webidl/DominatorTree.webidl
rename : dom/chrome-webidl/HeapSnapshot.webidl => dom/webidl/HeapSnapshot.webidl
rename : dom/chrome-webidl/InspectorUtils.webidl => dom/webidl/InspectorUtils.webidl
rename : dom/chrome-webidl/MatchGlob.webidl => dom/webidl/MatchGlob.webidl
rename : dom/chrome-webidl/MatchPattern.webidl => dom/webidl/MatchPattern.webidl
rename : dom/chrome-webidl/MozStorageAsyncStatementParams.webidl => dom/webidl/MozStorageAsyncStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementParams.webidl => dom/webidl/MozStorageStatementParams.webidl
rename : dom/chrome-webidl/MozStorageStatementRow.webidl => dom/webidl/MozStorageStatementRow.webidl
rename : dom/chrome-webidl/PrecompiledScript.webidl => dom/webidl/PrecompiledScript.webidl
rename : dom/chrome-webidl/PromiseDebugging.webidl => dom/webidl/PromiseDebugging.webidl
rename : dom/chrome-webidl/StructuredCloneHolder.webidl => dom/webidl/StructuredCloneHolder.webidl
rename : dom/chrome-webidl/WebExtensionContentScript.webidl => dom/webidl/WebExtensionContentScript.webidl
rename : dom/chrome-webidl/WebExtensionPolicy.webidl => dom/webidl/WebExtensionPolicy.webidl
2018-03-07 08:53:06 +02:00