Commit Graph

3093 Commits

Author SHA1 Message Date
Alexander Surkov
a522765f56 Bug 1488116 - get rid of nsIDOMXULDescriptionElement, r=smaug 2018-09-04 09:08:39 +08:00
Boris Zbarsky
5a90b528ce Bug 1486932 part 2. Remove nsIDOMStorage. r=mccr8 2018-08-31 13:56:55 -04:00
Boris Zbarsky
1fcc87c931 Bug 1486932 part 1. Stop using nsIDOMStorage in xpidl APIs. r=mccr8 2018-08-31 13:56:54 -04:00
Marcos Cáceres
8128af9850 Bug 1485881 - Drop support for PaymentAddress.languageCode r=smaug
--HG--
extra : rebase_source : 6400765c8b669126c7a71f5094dd160b2b1a89ce
2018-08-27 16:30:00 +03:00
Alexander Surkov
b27e40d606 Bug 1486674 - get rid of nsIDOMXULCheckboxElement, r=smaug 2018-08-30 08:17:11 +08:00
Eden Chuang
6fddec41b3 Bug 1483470 - Adding new method closePayment in nsIPaymentUIService.idl. r=baku
1. Adding a new method void closePayment(in AString requestId) in
       nsIPaymentUIService.idl
    2. Implementing the closePayment method in paymentUIService.js.
    3. Calling closePayment of paymentUIService.js in
       PaymentRequestService::LaunchUIAction()
2018-08-16 14:19:35 +02:00
Eden Chuang
68bb5bfa3c Bug 1483470 - Handling PaymentRequestService::RespondPayment() to a closed PaymentRequest. r=baku
1. Returning NS_ERROR_FAILURE in PaymentRequestService::RespondPayment() when
       the specified PaymentRequest does not exist in PaymentRequestService.
    2. Renaming "cleanup" to "close" in DOM::WebPayment codes to fit the actual
       behavior.
2018-08-16 14:27:24 +02:00
Emilio Cobos Álvarez
e2379f3921 Bug 1425700 - Add a test for the use counters. r=heycam
Mostly testing that they work, and that they record what we expect them to
record, that is, the actual property that was parsed, and not the properties
that it'd resolve or expand to.

That may be another tricky part for CSSOM, I think style setters would fail an
alias test if implemented with the current setup (we do the property lookup in
C++).

Differential Revision: https://phabricator.services.mozilla.com/D3829
2018-08-28 15:58:21 +02:00
Margareta Eliza Balazs
6c198262de Merge inbound to mozilla-central. a=merge 2018-08-17 12:46:14 +03:00
Ehsan Akhgari
e4ec6f1178 Bug 1483650 - Remove the component registration for nsCycleCollectorLogger; r=mccr8 2018-08-16 16:52:31 -04:00
Hiroyuki Ikezoe
61a6f8e3f2 Bug 1478576 - A mochitest for system font change notification. r=froydnj,jimm,karlt
The test case in this patch fails without the proper fix in the first patch
in this patch series.

In this patch two new nsIDOMWindowUtils APIs are introduced to change the
system font settins in tests.  Currently the APIs work only on GTK+ platform.

Also to work the test case properly we need to open a new XUL window because we
don't propagate font changes into descendant documents yet (bug 1478212).

MozReview-Commit-ID: 4OLxEkEuF8d

--HG--
extra : rebase_source : 683e64f07c4d8820e5499d8c15b90975618559b8
2018-08-07 11:58:36 +09:00
Brian Grinstead
9382a39249 Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Browsers can switch at runtime from remote to non-remote and vice versa,
which on the C++ side is detected from a XBL binding change which causes
nsIRemoteBrowser to either be implemented or not. Custom Elements can't
change at runtime in the same way, so unifying on a single [implements]
will allow browser (both remote and non-remote) to be migrated to a single
Custom Element.

To keep current functionality, this updates Qi calls into nsIRemoteBrowser
to instead Qi into nsIBrowser and check isRemoteBrowser.

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

--HG--
extra : moz-landing-system : lando
2018-08-15 19:21:22 +00:00
Eden Chuang
b4cd2e70aa Bug 1408234 - Cleanup the PaymentRequests when document close. r=baku
Let PaymentRequest inherit from nsIDocumentActivity interface.
    Calling RegisterActivityObserver() and UnregisterActivityObserver() in
    constructor and destructor to get activity notifications from document.
    When receiving the notification, NotifyOwnerDocumentActivityChanged() will
    check the owner document's activity status. If the status is disabled, calling
    PaymentRequestManager::CleanupPayment() to cleanup the PaymentRequest in
    content process and aslo sending the cleanup information to chrome process.
2018-08-13 11:24:54 +02:00
Jeremy Lempereur
96d35f35bd Bug 1471708 - Rename the "scroll-position clamping scroll port size" to "visual viewport size". r=botond
MozReview-Commit-ID: IWPzXSF5jfR

--HG--
extra : rebase_source : f67d64ef18a643077d5019048399e68acc722337
2018-07-22 21:49:38 +02:00
Cosmin Sabou
7cf1ac297e Backed out changeset 542243f5f600 (bug 1471708) for failling reftest on gfx/layers/apz/test/reftest/async-scrollbar-1. 2018-08-05 07:57:50 +03:00
Jeremy Lempereur
e591a6945a Bug 1471708 - Rename the "scroll-position clamping scroll port size" to "visual viewport size". r=botond
MozReview-Commit-ID: IWPzXSF5jfR

--HG--
extra : rebase_source : 9d13a680ebf76a5f86c9040a5a16981514435dc8
2018-07-22 21:49:38 +02:00
Boris Zbarsky
e2aafee76f Bug 1479569 part 3. Remove nsIContentFrameMessageManager. r=kmag 2018-08-02 23:49:09 -04:00
Csoregi Natalia
08c950712e Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
Backed out changeset e123d0aa911c (bug 1479569)
Backed out changeset b828a58404e5 (bug 1479569)
Backed out changeset 97041ef8f311 (bug 1479569)
2018-08-03 10:39:12 +03:00
Boris Zbarsky
b318c42b9e Bug 1479569 part 3. Remove nsIContentFrameMessageManager. r=kmag 2018-08-02 23:49:09 -04:00
Andrea Marchesini
44ce53c72e Bug 1476592 - Remove the cache from nsCSPContext - part 2 - sendViolationReports parameter, r=ckerschb, r=aosmond 2018-08-01 06:35:24 +02:00
Gijs Kruitbosch
5c0e726193 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs

--HG--
extra : rebase_source : 6aae9414ed8e5c2a31509f85ef0cbfc9b31895fd
2018-07-24 17:54:40 +01:00
Boris Zbarsky
1aa33b0003 Bug 1478721. Remove nsIIdleObserver. r=mccr8 2018-07-27 00:37:44 -04:00
Brian Hackett
3354a96d8d Bug 1465287 Part 8 - Allow spawning recording/replaying child processes and saving recordings, r=jld,mrbkap.
--HG--
extra : rebase_source : 1da4b1a7e485cfdafb38318860546ce3d0552815
2018-07-22 11:52:42 +00:00
Haik Aftandilian
e2f970d134 Bug 1350642 - Remove the PBrowser::Msg_GetTabCount sync IPC; r=mccr8
Bug 1350642 - Keep the tabCountResizable property in sync; r?dao

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

--HG--
extra : moz-landing-system : lando
2018-07-17 19:41:16 +00:00
Andrea Marchesini
d3cf48d4ba Bug 1332422 - CSP should not use 'aExtra' to indicate redirects within ContentPolicy, r=ckerschb
Instead, let's pass a nsIURI object to indicate when we have to check a
redirect CSP loading.
2018-07-19 13:25:50 +02:00
Boris Zbarsky
3546ea99f1 Bug 1475065 part 13. Remove nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:08 -07:00
Boris Zbarsky
88e231c391 Bug 1475065 part 11. Remove unused nsIDOMOfflineResourceList::GetMozItems. r=nika 2018-07-13 15:42:07 -07:00
Boris Zbarsky
1a5f1ac523 Bug 1475065 part 10. Remove nsIDOMOfflineResourceList::SwapCache. r=nika 2018-07-13 15:42:07 -07:00
Boris Zbarsky
5b25cd018f Bug 1475065 part 9. Remove nsIDOMOfflineResourceList::Update. r=nika 2018-07-13 15:42:06 -07:00
Boris Zbarsky
54a917ae54 Bug 1475065 part 8. Remove nsIDOMOfflineResourceList::GetStatus. r=nika 2018-07-13 15:42:06 -07:00
Boris Zbarsky
054826053c Bug 1475065 part 7. Remove nsIDOMOfflineResourceList constants. r=nika 2018-07-13 15:42:06 -07:00
Boris Zbarsky
6dfe289674 Bug 1475065 part 6. Remove nsIDOMOfflineResourceList::MozRemove. r=nika 2018-07-13 15:42:05 -07:00
Boris Zbarsky
c218ddae59 Bug 1475065 part 5. Remove nsIDOMOfflineResourceList::MozAdd. r=nika 2018-07-13 15:42:05 -07:00
Boris Zbarsky
cc989c6a93 Bug 1475065 part 4. Remove nsIDOMOfflineResourceList::MozItem. r=nika
This incidentally fixes the indexed getter to not throw on out of bounds access
and instead to return undefined.
2018-07-13 15:42:05 -07:00
Boris Zbarsky
7f9f8972be Bug 1475065 part 3. Remove nsIDOMOfflineResourceList::GetMozLength. r=nika 2018-07-13 15:42:04 -07:00
Boris Zbarsky
79e791e7ce Bug 1475065 part 2. Remove nsIDOMOfflineResourceList::MozHasItem. r=nika 2018-07-13 15:42:03 -07:00
Boris Zbarsky
b02f2b4353 Bug 1475065 part 1. Remove JS consumers of nsIDOMOfflineResourceList. r=nika 2018-07-13 15:42:03 -07:00
Hiroyuki Ikezoe
f5027435f0 Bug 1474247 - Introduce nsDOMWindowUtils.isAnimationPending(). r=birtles
It might be possible that we can check whether an animation is being tracked
by the pending animation tracker without this function to count layout flush
since we force to flush layout if there is any pending animations [1].  But
it will probably result complicated test cases.  So to make test cases simple,
we introduce a new function which just checking whether a given animation is
being tracked by the pending animation tracker.

[1] https://hg.mozilla.org/mozilla-central/file/3d20b0701781/layout/base/nsRefreshDriver.cpp#l1957

MozReview-Commit-ID: 4lWuOYCucaD

--HG--
extra : rebase_source : a42866d1b9828820c112ac8f756372648da8763f
2018-07-12 14:37:50 +09:00
Andrea Marchesini
8fe4d55300 Bug 1472927 - Fix CSP violation events in workers, r=asuth, r=ckerschb 2018-07-10 18:53:03 +02:00
Andrea Marchesini
5fff1762ad Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb 2018-07-10 17:40:21 +02:00
Andrea Marchesini
14d462eeb3 Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb 2018-07-05 08:21:04 +02:00
Dorel Luca
f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Kartikaya Gupta
4b90819f59 Bug 1466950 - Fix test to work on Android. r=hiro
MozReview-Commit-ID: G2NTiGUiw5Y

--HG--
extra : rebase_source : 149e87e81d115cbb1a1b1684e0022fc24f7a7eb5
2018-06-26 09:20:21 -04:00
Jeff Gilbert
5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Bogdan Tara
3737701cfa Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-05 12:33:18 +03:00
Boris Zbarsky
0f159c9528 Bug 1466298 part 3. Remove nsIDOMGeoGeolocation. r=mccr8 2018-06-04 12:41:09 -04:00
Hiroyuki Ikezoe
a39a4ba11e Bug 1464568 - Set the shadow base transform value for the case where opacity animations' calculation was skipped. r=kats
And make DOMWindowUtils.getOMTCTransform work for opacity animations' layer.

MozReview-Commit-ID: 7P99WjYqPr0

--HG--
extra : rebase_source : cf87e8da40cf9febdb4188f4ef8ebe3b64eabe53
2018-06-05 12:50:39 +09:00
Hiroyuki Ikezoe
370d521066 Bug 1464568 - Add a new function to get transform value on the compositor. r=kats
Unlike GetOMTAStyle, this function returns the transform value including both
of animation and APZ values.  Also this function doesn't work on WebRender.

MozReview-Commit-ID: 4zvxKebD29V

--HG--
extra : rebase_source : d8350d256d22a8b76a9762bea21cfd1e87928c4a
2018-06-05 09:18:22 +09:00
Boris Zbarsky
c53f7f15b1 Bug 1466213 part 2. Remove nsIDOMGeoPositionError. r=qdot 2018-06-01 22:35:44 -04:00
Boris Zbarsky
640e7f7112 Bug 1465875 part 5. Eliminate nsIDOMNSEditableElement. r=qdot 2018-06-01 22:35:23 -04:00