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

629746 Коммитов

Автор SHA1 Сообщение Дата
Cristina Coroiu ba92e1a0b5 Bug 1418778 - disable create_alwaysMatch.py on windows ccov for frequent failures. r=jmaher 2018-12-29 05:26:00 +02:00
Emilio Cobos Álvarez 006a4ab94a Bug 1516366 - Move nsOnloadBlocker and nsDocumentOnStack to nsDocument.cpp, and shrink nsDocument.h to the minimmum. r=smaug
This needs to add a few of includes in other places which were relying on the
massive (now gone) list in nsDocument.h.

I also needed to move an AnimationTimeline destructor out of line because it
relied on dom::Animation being defined, yet Animation.h includes
AnimationTimeline.h, so include hell.

Differential Revision: https://phabricator.services.mozilla.com/D15366
2018-12-29 20:41:42 +01:00
Emilio Cobos Álvarez b833919871 Bug 1516366 - Move CC / nsISupports bits to nsIDocument. r=smaug
This allows us to remove the MOZ_CRASH-ing implementation I added earlier in
this series.

Differential Revision: https://phabricator.services.mozilla.com/D15365
2018-12-29 20:41:41 +01:00
Emilio Cobos Álvarez e3568cb8ad Bug 1516366 - Move NS_DOCUMENT_NOTIFY_OBSERVERS to nsIDocument.h. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15364
2018-12-29 20:41:40 +01:00
Emilio Cobos Álvarez 1165f7d4ed Bug 1516366 - Move CloneDocHelper to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15363
2018-12-29 20:41:39 +01:00
Emilio Cobos Álvarez f7401d4d89 Bug 1516366 - Move Init, Destroy and RemovedFromDocShell to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15362
2018-12-29 20:41:38 +01:00
Emilio Cobos Álvarez 6d77395190 Bug 1516366 - Move BlockOnload and UnlockOnload to nsIDocument, and devirtualize them. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15361
2018-12-29 20:41:37 +01:00
Emilio Cobos Álvarez a9e10105d5 Bug 1516366 - Move EventTarget methods to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15360
2018-12-29 20:41:36 +01:00
Emilio Cobos Álvarez d66facd45a Bug 1516366 - Move various miscellaneous methods from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15359
2018-12-29 20:41:35 +01:00
Emilio Cobos Álvarez aab2c27c3e Bug 1516366 - Merge nsIDocument::DocAddSizeOfExcludingThis and nsDocument::DocAddSizeOfExcludingThis. r=smaug
No point in having both really.

Differential Revision: https://phabricator.services.mozilla.com/D15358
2018-12-29 20:41:34 +01:00
Emilio Cobos Álvarez e2c716a29d Bug 1516366 - Move mExpandoAndGeneration from nsDocument to nsIDocument. r=smaug
Now that bindgen can represent it properly (bug 1516365) we can do this.

Differential Revision: https://phabricator.services.mozilla.com/D15357
2018-12-29 20:41:33 +01:00
Emilio Cobos Álvarez 97ceb59666 Bug 1516366 - Move some setters from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15356
2018-12-29 20:41:32 +01:00
Emilio Cobos Álvarez 8dae1360c2 Bug 1516366 - Move some static functions from nsDocument to nsIDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15355
2018-12-29 20:41:31 +01:00
Emilio Cobos Álvarez dce45c2cad Bug 1516366 - Remove unused declaration. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15354
2018-12-29 20:41:30 +01:00
Emilio Cobos Álvarez 5952097059 Bug 1516366 - Remove unused mFirstBaseNodeWithHref member. r=smaug
This is done via SetBaseURIUsingFirstBaseWithHref now.

Differential Revision: https://phabricator.services.mozilla.com/D15353
2018-12-29 20:41:29 +01:00
Emilio Cobos Álvarez f131713362 Bug 1516366 - Move base classes from nsDocument to nsIDocument. r=smaug
This is a big step in order to merge both.

Also allows to remove some very silly casts, though it causes us to add some
ToSupports around to deal with ambiguity of casts from nsIDocument to
nsISupports, and add a dummy nsISupports implementation that will go away later
in the series.

Differential Revision: https://phabricator.services.mozilla.com/D15352
2018-12-29 20:41:28 +01:00
Emilio Cobos Álvarez ecc88f298e Bug 1516366 - Remove uses of nsCOMArray<nsIDocument>. r=bzbarsky,smaug
Just use nsTArray. They're used to keep an array of strong references to
documents, and never use nsISupports-specific methods.

Plus they're are allocated on the stack so it should be safe to access them via
ranged for, so do that.

This is needed because nsCOMArray<T> depends on the cast from T to nsISupports
not to be ambiguous. I could fix that if needed, but it seems easier to just not
use it in these two cases.

Differential Revision: https://phabricator.services.mozilla.com/D15351
2018-12-29 20:41:20 +01:00
Emilio Cobos Álvarez 4fd57b7de3 Bug 1516366 - Sprinkle some ToSupports around xpcom. r=froydnj
This will be needed for the next patches since the cast from nsIDocument* to
nsISupports* will become ambiguous, and I don't really want to replace all users
of nsCOMPtr<nsIDocument> with RefPtr.

We have ToSupports to handle this, so use it.

Differential Revision: https://phabricator.services.mozilla.com/D15350
2018-12-29 20:37:35 +01:00
Timothy Guan-tin Chien 543ccba485 Bug 1516763 - Remove the feature to set a direction on the "richlistbox" element. r=NeilDeakin
This reverts the change implemented in bug 490178 in preparation for removing the inner scrollbox of the "richlistbox" binding.

--HG--
rename : toolkit/content/tests/chrome/test_richlist_direction.xul => toolkit/content/tests/chrome/test_richlistbox.xul
extra : rebase_source : 2a769cb8e47432574c47ba6565467c33ad3831bc
2018-12-29 13:05:04 +00:00
Coroiu Cristina 2edc28a37f Backed out 2 changesets (bug 1064172) for Wr failures at /css/css-text/boundary-shaping/boundary-shaping-010.html
Backed out changeset 8126c43fb9e7 (bug 1064172)
Backed out changeset 107a4383fa0c (bug 1064172)
2018-12-29 16:43:23 +02:00
Rob Wu 7e3ca361db Bug 1418710 - Use non-resolvable host in test_ext_webrequest_basic r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D15398

--HG--
extra : moz-landing-system : lando
2018-12-27 13:37:20 +00:00
Razvan Maries 2c3adbfcb0 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-12-29 23:45:10 +02:00
WR Updater Bot fa50bcc2e7 Bug 1516676 - Update webrender to commit 8b8ca774f555aeb8ef99743196593a192298dd60 (WR PR #3452). r=kats
https://github.com/servo/webrender/pull/3452

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

--HG--
extra : moz-landing-system : lando
2018-12-29 21:29:46 +00:00
Michael Kaply 17389dd116 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 14:21:27 +00:00
Ciure Andrei 13346881fe Backed out changeset f6790e7386ac (bug 1510296) for causing Android build bustages CLOSED TREE 2018-12-29 15:54:35 +02:00
Michael Kaply b79e575381 Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-29 13:19:42 +00:00
Mark Banner 89c3a48f36 Bug 1515729 - Remove Task.jsm usage from mobile/android. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D15464

--HG--
extra : moz-landing-system : lando
2018-12-28 22:36:18 +00:00
Daniel Varga 480ddc48ba Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 8f0c469789f229e6bda880e040ef14179e70f9cf
2018-12-29 11:38:36 +02:00
Daniel Varga 732a632f8d Merge mozilla-inbound to mozilla-central. a=merge 2018-12-29 11:35:40 +02:00
Jan de Mooij 35eadca8e9 Bug 1515590 part 6 - Fix AddSizeOfTab to reserve number-of-realms instead of number-of-compartments in the realms Vector. r=bzbarsky
ASan builds caught this.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 09:27:16 +00:00
Jan de Mooij 2aa7efc012 Bug 1515590 part 5 - Fix test_bug771429.xul to work with same-compartment realms. r=bzbarsky
Changes the test to test both freshCompartment: true and freshCompartment: false
sandbox options.

There's one sub test that fails with same-copartment realms, I commented that
and added a weaker test for the same-compartment case.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 09:27:14 +00:00
Bogdan Tara 8fb34de423 Backed out 8 changesets (bug 1512285, bug 1512188) for fetch bustages CLOSED TREE
Backed out changeset 5e7aa7d98012 (bug 1512188)
Backed out changeset 55874a956ae1 (bug 1512188)
Backed out changeset ac6e2cd6eb32 (bug 1512188)
Backed out changeset f68df074eac1 (bug 1512188)
Backed out changeset f01d2662582f (bug 1512188)
Backed out changeset 35d74dd16706 (bug 1512285)
Backed out changeset 9e95b9bf1201 (bug 1512188)
Backed out changeset ac4a49eb95f5 (bug 1512188)
2018-12-29 07:56:56 +02:00
Bogdan Tara ddb8707cbc Backed out changeset 2b4dd7891375 (bug 1510296) for build bustages CLOSED TREE 2018-12-29 07:30:23 +02:00
Gregory Szorc 555c86c76d Bug 1512188 - Consolidate VCS checkout from args logic; r=tomprince,dustin
We create a minimal wrapper function to call collect_vcs_options()
and vcs_checkout().

We could consolidate this logic into vcs_checkout(). But I don't have
strong feelings about doing that.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:45 +00:00
Gregory Szorc d87b04a55a Bug 1512188 - Collect hg store path in collect_vcs_options(); r=tomprince,dustin
One step closer to making all state gathering and normalization in one
place.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:38 +00:00
Gregory Szorc 7d0932f16a Bug 1512188 - Move base repo normalization into collect_vcs_options(); r=tomprince,dustin
This is a generic normalization and doesn't need to be Firefox
specific.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:36 +00:00
Gregory Szorc 8fb6cd08a8 Bug 1512188 - Collect environment variables into VCS options; r=tomprince,dustin
This makes behavior consistent across all VCS checkouts. I'm still not
a fan of using environment variables here. But at least this gets us
1 step closer to being able to plug alternate logic in without having
to update use of environment variables outside a single function.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:28 +00:00
Gregory Szorc 17d3010722 Bug 1512188 - make VCS checkout options generic; r=tomprince,dustin
We currently manage VCS checkout arguments as one-offs for each
project. This isn't scalable and results in a bit of copy-pasta.

Let's make the VCS checkout arguments generic so we can have the
same control for all repositories.

This commit focuses on consolidating the existing argument parser
code. It stops short of further unification, which will be done in
subsequent commits.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:26 +00:00
Tom Prince d5999f77d3 Bug 1512285: Stop checking out tools; r=nthomas,gps
This code was used by mozharness jobs to check out the tools repo.
However, those jobs aren't actually using the repository.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:22:38 +00:00
Gregory Szorc 8c1a7bccef Bug 1512188 - Rename --sparse-profile to --gecko-sparse-profile; r=tomprince,dustin
We have multiple source checkouts. --sparse-profile is ambiguous
as to which one it could refer to. Let's rename the argument so it
is prefixed with the repo/project we are checking out.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:17 +00:00
Gregory Szorc 8fc5669189 Bug 1512188 - Rename --vcs-checkout to --gecko-checkout; r=tomprince,dustin
We now have multiple things we may check out. "vcs" meaning "gecko"
is not obvious. Let's change the terminology to be more specific.

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

--HG--
extra : moz-landing-system : lando
2018-12-29 05:13:09 +00:00
Michael Kaply 8c84b2b25d Bug 1510296 - Update Google search for new codes. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D13087

--HG--
extra : moz-landing-system : lando
2018-12-28 22:26:06 +00:00
Bogdan Tara 6defca7262 Backed out 5 changesets (bug 1513681) for browser_autoplay_blocked.js failures CLOSED TREE
Backed out changeset d24ddb803761 (bug 1513681)
Backed out changeset 6f52b229d953 (bug 1513681)
Backed out changeset 79a78732c3ac (bug 1513681)
Backed out changeset d0a9422928ae (bug 1513681)
Backed out changeset 23b5a58e3bcc (bug 1513681)

--HG--
rename : toolkit/actors/AutoplayChild.jsm => toolkit/actors/AudibleAutoplayChild.jsm
2018-12-29 04:00:53 +02:00
Tom Prince 80d4fb46b9 No bug: [taskgraph] Don't set `optimize_target_tasks` by branch; r=dustin
The only branch where it set differently is `try`/`try-comm-central`, but it gets
overriden there in `set_try_config`.

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

--HG--
extra : moz-landing-system : lando
2018-12-28 21:13:48 +00:00
alwu 8e9ac45c53 Bug 1513681 - part5 : remove event 'AudibleAutoplayMediaOccurred'. r=jaws
This event is used for shield-study which has finished, so we could remove it.

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

--HG--
extra : moz-landing-system : lando
2018-12-21 19:01:10 +00:00
alwu 52780efeaa Bug 1513681 - part4 : remove the logic about setting globally blocked in PermissionUI. r=daleharvey
We've handle showing the blocking icon in patch2, so we don't need to set block permission in PermissionUI.

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

--HG--
extra : moz-landing-system : lando
2018-12-28 22:24:13 +00:00
alwu c498537436 Bug 1513681 - part3 : rename 'AudibleAutoplayChild' actor r=jaws
Use more proper name for actor which will handle all autoplay related events.

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

--HG--
rename : toolkit/actors/AudibleAutoplayChild.jsm => toolkit/actors/AutoplayChild.jsm
extra : moz-landing-system : lando
2018-12-21 19:00:40 +00:00
alwu efdf530254 Bug 1513681 - part2 : handle 'GloballyAutoplayBlocked' event r=jaws,daleharvey
Handle the process from receiving event to showing the block icon.

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

--HG--
extra : moz-landing-system : lando
2018-12-28 09:12:44 +00:00
alwu 6f035acde6 Bug 1513681 - part1 : dispatch 'GloballyAutoplayBlocked' event when site is permanent blocked. r=cpearce,smaug
This event is used to notify tab that this site is permanently blocked and we should show the blocking icon for it. Patch2 will handle following details.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 18:11:56 +00:00
Bogdan Tara d2a41cb853 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-28 23:53:12 +02:00