Commit Graph

2601 Commits

Author SHA1 Message Date
Masatoshi Kimura
8b413e305a Bug 886907 - Remove old synchronous contentPrefService from the tree. r=adw
MozReview-Commit-ID: BZsB3FR3jHC

--HG--
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/contentprefs/nsContentPrefService.manifest => toolkit/components/contentprefs/ContentPrefService2.manifest
extra : rebase_source : 2d10305f75dbbec173ef8965d159196bfbad77b0
2017-08-11 23:29:55 +09:00
Eugen Sawin
d8fdd4ab7b Bug 1377580 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading. r=smaug 2017-08-14 14:57:25 +02:00
Masatoshi Kimura
dec070e4cf Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
MozReview-Commit-ID: E88DZK5sfwx

--HG--
extra : rebase_source : 64e1a47c9366a970f20ec459dde9b379a207e802
2017-08-07 02:28:52 +09:00
Kyle Machulis
649634a721 Bug 1387184 - Remove nsIDOMHTMLEmbedElement; r=bz
Removes nsIDOMHTMLEmbedElement and all references. HTML elements are
now handled by WebIDL. With the deprecation of extensions, XPCOM
interfaces to HTML elements are no longer needed.

MozReview-Commit-ID: DI4XVvdgPDI

--HG--
extra : rebase_source : 74bd92619e3d1db04c3dd40ec3022474fe1d647c
2017-08-09 12:05:08 -07:00
Sebastian Hengst
b3269bec34 Backed out changeset 685802013f43 (bug 1389460) for OS X bustage at widget/cocoa/nsMenuX.mm:364: no member named 'DispatchDOMEvent' in 'nsIContent'. r=backout 2017-08-11 17:46:42 +02:00
Masatoshi Kimura
58d29db70b Bug 1389460 - Remove @deprecated nsIDOMEventTarget.DispatchDOMEvent. r=smaug
MozReview-Commit-ID: E88DZK5sfwx

--HG--
extra : rebase_source : 63300d87c0496394d3f75cb76bc47c75d640d369
2017-08-07 02:28:52 +09:00
Masatoshi Kimura
8e852a4fe6 Bug 865664 - Remove deprecated nsIDOMWindowUtils.getOuterWindowWithId. r=bz
MozReview-Commit-ID: By0a88Gu4p4

--HG--
extra : rebase_source : 744e9f9f9bcec2b739bc8a4ecd24d1bb43967a37
2017-08-07 00:31:02 +09:00
Masatoshi Kimura
706ca23396 Bug 1387788 - Remove [deprecated] methods from nsIJSON. r=Ehsan
MozReview-Commit-ID: 9OsQacbPsFo

--HG--
extra : rebase_source : 8c905a48306e957026af9dd8fcbf83eae41b8a38
2017-08-06 10:25:15 +09:00
Wes Kocher
623f36f0f8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxCNV7W0utC
2017-08-07 15:26:40 -07:00
Eden Chuang
1bc5cd0145 Bug 1382092 - Support default payment UI service in DOM code part 2. r=baku
--HG--
extra : rebase_source : e0ac34360b83bd5929063ae1dd9616f4071f025e
2017-08-04 17:24:59 +08:00
Kate McKinley
092434c08c Bug 1376651 - Pass the nsIScriptElement instead of allocating a string every time r=ckerschb
Change the interface to GetAlowsInline to take an nsISupports* instead
of a string, and pass the nsIScriptElement directly. If we don't have an
element, then pass nullptr or the mock string created as an
nsISupportsString.

MozReview-Commit-ID: pgIMxtplsi

--HG--
extra : rebase_source : 4691643bb67ff6c78a74a4886a04c4816cff6219
2017-07-27 11:01:24 -07:00
Botond Ballo
61926bc8e4 Bug 1386777 - Interpret autoscroll anchor coordinates correctly when there is a device scale. r=kats
MozReview-Commit-ID: 6caXxWjuqxm

--HG--
extra : rebase_source : 4052dd05a4c05cc8fc4effe0f7911179aa8005d0
2017-08-02 20:11:07 -04:00
Masatoshi Kimura
90da924fda Bug 1375123 - Remove nsIDOMWindowInternal. r=Ehsan
MozReview-Commit-ID: 2jjGFsxsLTz

--HG--
extra : rebase_source : 5cb538ff53369cb724b0d336de1e74dd8a7d35c1
2017-08-03 20:33:51 +09:00
Masatoshi Kimura
4f228db6e2 Bug 1387834 - Remove @deprecated nsIDOMWindowUtils.WHEEL_EVENT_CAUSED_BY_PIXEL_ONLY_DEVICE. r=masayuki
MozReview-Commit-ID: 4onWMSGPa4U

--HG--
extra : rebase_source : a5908d04a15fb0e9eb35b7e3c31a050bceafb2e7
2017-08-06 23:44:53 +09:00
Wes Kocher
3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Botond Ballo
e54b8b4984 Bug 1105109 - Have the parent process notify APZ of the start and stop of autoscrolling. r=kats
The messages are routed through nsITabParent, nsIWidget, and IAPZCTreeManager
(the latter possibly remoted via PAPZCTreeManager if out-of-process compositing
is used).

MozReview-Commit-ID: 1zXzLa1fqpG

--HG--
extra : rebase_source : c482816ecbaec0a889d817851ee15be186b2a49c
2017-07-26 19:33:02 -04:00
Kris Maglione
f55d5b792a Bug 1383367: Part 1 - Add JS helper to determine if a layout flush is required. r=mconley
This lets us decide whether to defer operations if they might trigger a
reflow.

MozReview-Commit-ID: 4M13HKAuZ7M

--HG--
extra : source : 6679237a46723432264361b5542454bb91d4831e
extra : intermediate-source : 46d1fa12a0829046f2bee4ffd10d7af38616bba9
2017-07-24 20:07:39 -07:00
Kyle Machulis
ffa9be1bed Bug 1279218 - Remove Applet tag; r=bz
Removes applet tag interfaces, and changes HTML5 parser to output
HTMLUnknownElement when tag is found. Removes tag process from various
places in the browser.

MozReview-Commit-ID: 2zHhK2U2esX

--HG--
extra : rebase_source : d06ecaffd1cb656301e29b900bafde4c68a4606e
2017-07-10 16:00:30 -07:00
Sebastian Hengst
9901cfb056 Backed out changeset 46d1fa12a082 (bug 1383367) for failing browser_windowopen_reflows.js after merge, especially on OS X. r=backout a=backout
MozReview-Commit-ID: B4wxvVgTP1Q
2017-07-30 14:08:38 +02:00
Kris Maglione
3a3d52a233 Bug 1383367: Part 1 - Add JS helper to determine if a layout flush is required. r=mconley
This lets us decide whether to defer operations if they might trigger a
reflow.

MozReview-Commit-ID: 4M13HKAuZ7M

--HG--
extra : source : 6679237a46723432264361b5542454bb91d4831e
2017-07-24 20:07:39 -07:00
Botond Ballo
2eadbdf29f Bug 1105109 - Have nsIDOMWindowUtils.getPresShellId() return the pres shell id via the return value rather than an out-parameter. r=kats
MozReview-Commit-ID: C8GU2HW7NCH

--HG--
extra : rebase_source : 15e9d42d1600ed1124f13a419dc3c722591b3a44
2017-06-19 18:02:38 -04:00
Carsten "Tomcat" Book
dc05a1ce7b Backed out changeset 6679237a4672 (bug 1383367) for conflicting with m-c to m-i merge 2017-07-28 09:45:42 +02:00
Kris Maglione
2fa79c4f93 Bug 1383367: Part 1 - Add JS helper to determine if a layout flush is required. r=mconley
This lets us decide whether to defer operations if they might trigger a
reflow.

MozReview-Commit-ID: 4M13HKAuZ7M

--HG--
extra : rebase_source : d30a423b2fb9eb7a189b84d8aebb7263ab0b3f27
2017-07-24 20:07:39 -07:00
Carsten "Tomcat" Book
d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Chun-Min Chang
20ba5e9be3 Bug 1197045 - part2: Expose audio channels, layout, sample-rate, and native device information via DOMWindowUtils; r=padenot
MozReview-Commit-ID: 9Kh2w0MioUQ

--HG--
extra : rebase_source : cf0012bf9892dedb71933a48f595f97a8f648511
2017-07-18 16:09:10 +08:00
Sebastian Hengst
0a44c0dc0a Backed out changeset cf756c62b0a6 (bug 1197045) 2017-07-24 13:23:48 +02:00
Chun-Min Chang
70ec0769ce Bug 1197045 - part2: Expose audio channels, layout, sample-rate, and native device information via DOMWindowUtils; r=padenot
MozReview-Commit-ID: 9Kh2w0MioUQ

--HG--
extra : rebase_source : cf0012bf9892dedb71933a48f595f97a8f648511
2017-07-18 16:09:10 +08:00
Eden Chuang
4a1f15b449 Bug 1375345 - Basic card payment implementation. r=baku
--HG--
extra : rebase_source : d581a1e117bdfc041940911487187620c5ed35ff
2017-07-26 16:07:07 +08:00
Mike Conley
348be03af6 Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
MozReview-Commit-ID: Jy6PICTkq4l

--HG--
extra : rebase_source : 83894f2ae0ccaafa05bcaee010876a55be82fd7d
2017-06-28 21:38:53 -07:00
Johann Hofmann
3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Sebastian Hengst
cb2a318a5c merge mozilla-central to autoland. r=merge a=merge 2017-07-20 13:25:01 +02:00
Sebastian Hengst
4c29c884c1 Backed out changeset b2f02ad2c82b (bug 1363361) for frequently failing browser_appmenu_reflows.js on OS X. r=backout a=backout
MozReview-Commit-ID: 5wPiUAKmDhi
2017-07-20 13:23:53 +02:00
Masayuki Nakano
2f92264fb7 Bug 1377978 - Make nsRange use uint32_t to offset r=smaug
DOM Standard defines that offset of Range is unsigned long.  However, nsRange uses int32_t to them.

This patch makes nsRange use uint32_t instead.  However, this patch does NOT allow to set over INT32_MAX as offset values since a lot of users of nsRange cannot treat the values as over INT32_MAX because a lot of internal APIs take int32_t as offsets.

For easier to search such points, this patch adds static_cast<int32_t> to uint32_t variables when they are used for int32_t arguments.

And note that nsContentUtils::ComparePoints() behaves odd.  It accepts negative offset and compares such value with valid offset simply.  This patch still uses int32_t offset variables in nsRange::CompareNodeToRange() even though it may be negative value if nsINode::IndexOf() returns -1 because the caller of it depends on this behavior.

MozReview-Commit-ID: 8RbOgA86JuT

--HG--
extra : rebase_source : 46d526c6d50dfa2f104439b19b8691477b17a4af
2017-07-19 22:49:52 +09:00
Mike Conley
264b802d22 Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
MozReview-Commit-ID: Jy6PICTkq4l

--HG--
extra : rebase_source : 0ad14aa2b6221bf1fb56a2d5f5f162a85daf443a
2017-06-28 21:38:53 -07:00
Ryan VanderMeulen
a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Sebastian Hengst
6c82200d23 Backed out changeset 5c974dcdddd7 (bug 1363361) for running and failing browser_windowopen_reflows.js on Windows 8 x64. r=backout 2017-07-18 13:44:44 +02:00
Alphan Chen
126b75ecd5 Bug 1318988 - Implement allowPaymentRequest on iframe. r=baku
--HG--
extra : rebase_source : 976b3449ec72d01004323706414e3b26c653aaec
2017-07-18 10:16:28 +08:00
Andrew McCreight
502a686cd7 Bug 1381615 - Remove unused fields from nsIDOMHTMLHRElement and nsIDOMHTMLOptGroupElement. r=bz
MozReview-Commit-ID: DSH3X3s1gsb

--HG--
extra : rebase_source : 15851a49593ce8a61a1c2e530d6b4ee6eb5f0805
2017-07-17 14:33:12 -07:00
Mike Conley
284395ae25 Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
MozReview-Commit-ID: Jy6PICTkq4l

--HG--
extra : rebase_source : 00029dc3a85c23f2801ce9af3b43105c60b318aa
2017-06-28 21:38:53 -07:00
Andrew McCreight
3740548c88 Bug 1381606, part 2 - Remove unused fields from nsIDOMHTMLOListElement. r=bz
MozReview-Commit-ID: LWlyIeuwgUr

--HG--
extra : rebase_source : 8a9fbe61cfe7838ac228b66ecba3681398c89d7d
2017-07-17 12:53:52 -07:00
Andrew McCreight
5ed5fb8c5d Bug 1381606, part 1 - Remove unused fields of nsIDOMHTMLUListElement. r=bz
MozReview-Commit-ID: FozLLSU1rCe

--HG--
extra : rebase_source : 66feacf0ba7d0a1f91c4a3af48bd9733e79e5fe2
2017-07-17 12:43:55 -07:00
Andrew McCreight
e3b4a0a748 Bug 1381584 - Remove unused cite field from nsIDOMHTMLQuoteElement. r=bz
MozReview-Commit-ID: 2sKSRcl6B1W

--HG--
extra : rebase_source : daefc472e1b7e3a1c8be007319af629a2512a384
2017-07-17 12:36:41 -07:00
Boris Zbarsky
d821ab4d73 Bug 1380415 part 2. Remove XPCOM constraint validation APIs. r=mccr8 2017-07-13 23:46:28 -04:00
Boris Zbarsky
80f71b7baf Bug 1380415 part 1. Remove unused bits of nsIDOMHTMLInputElement. r=mccr8 2017-07-13 23:46:13 -04:00
Boris Zbarsky
38dc3c65cd Bug 1380413 part 2. Remove nsIDOMHTMLImageElement.width/height. r=mccr8 2017-07-13 23:46:12 -04:00
Boris Zbarsky
4da062bf6f Bug 1380413 part 1. Remove unused nsIDOMHTMLImageElement bits. r=mccr8 2017-07-13 23:45:56 -04:00
Boris Zbarsky
31878bd57a Bug 1380393 part 5. Remove nsIDOMHTMLElement.offsetTop/Left. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky
7de968711a Bug 1380393 part 4. Remove nsIDOMHTMLElement.accessKey. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky
d667268a92 Bug 1380393 part 3. Remove nsIDOMHTMLElement.focus. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky
4817516f62 Bug 1380393 part 2. Remove nsIDOMHTMLElement.tabIndex. r=mccr8 2017-07-13 23:45:49 -04:00