Boris Zbarsky
a44e6132ff
Bug 1387143 part 28. Remove nsISelection::AsSelection(). r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
3463812125
Bug 1387143 part 2. Stop using nsISelection in nsIDocumentEncoder. r=mats
2018-05-08 13:52:36 -04:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Boris Zbarsky
25aa42d9a4
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
93af0eea13
Bug 1455674 part 14. Remove use of nsIDOMElement in layout. r=qdot
2018-04-26 23:37:33 -04:00
Boris Zbarsky
ffa08d7425
Bug 1455674 part 9. Remove nsIDOMElement use from nsIFocusManager. r=qdot
2018-04-26 23:35:19 -04:00
Boris Zbarsky
4773c6d1d9
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00
shindli
af700315a1
Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
...
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky
cb54ece0d5
Bug 1457156. Rename nsPIDOMWindow::mFocusedNode to reflect that it's an Element now. r=mccr8
2018-04-26 15:28:30 -04:00
Emilio Cobos Álvarez
a1b2e5070a
Bug 1455885: Inline and make document casts fatally assert. r=bz
...
For consistency with AsElement / AsContent / AsDocumentFragment, etc.
MozReview-Commit-ID: 8GSj8R9hLBe
2018-04-26 17:05:12 +02:00
Boris Zbarsky
01c62fd5cb
Bug 1456588 part 4. Change nsFocusManager guts to make it clearer that the focused thing is always an Element. r=enndeakin
...
I couldn't find a good way to make this incremental without adding QIs and
AsElement() in various places....
2018-04-26 10:37:47 -04:00
Boris Zbarsky
8a0b50bea8
Bug 1456588 part 1. Change nsIFocusManager::SetFocus to take Element. r=enndeakin
2018-04-26 10:37:46 -04:00
Dorel Luca
3409e8f9fb
Merge mozilla-central to autoland
...
--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
rename : testing/mozharness/mozharness/mozilla/testing/verify_tools.py => testing/mozharness/mozharness/mozilla/testing/per_test_base.py
extra : rebase_source : 6f474049dab2c2979e13ea87114b82d2b04715d0
2018-04-21 02:03:27 +03:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Dão Gottwald
7d19b65c4f
Bug 1455578 - Remove obsolete nsIXULBrowserWindow::setJSStatus. r=bz
...
MozReview-Commit-ID: 6m7AQIvouIi
--HG--
extra : rebase_source : ccadd808d0e76fb882bde55dc72f8cfef239ef61
2018-04-20 12:55:14 +02:00
shindli
805cb19c1d
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-04-17 01:45:58 +03:00
Ben Kelly
968dd21f15
Bug 1451913 P0 Delay rebinding and freeing the old inner window until after set the new inner window. r=smaug
2018-04-16 06:08:51 -07:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Jan de Mooij
0ea16094d3
Bug 1452982 part 6 - Remove ZoneGroup. r=jonco
2018-04-13 08:45:13 +02:00
Andreea Pavel
29ba7b4974
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-04-11 17:40:37 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Kyle Machulis
541d6f6f00
Bug 1453517 - Remove nsPopupWindowManager and related XPCOM bits; r=bz
...
MozReview-Commit-ID: JIDdZfnNN8E
--HG--
extra : rebase_source : 8b92fec383a21f80fceb87502e9a7accdb7dd74f
2018-04-11 16:16:13 -07:00
Kyle Machulis
467ed19747
Bug 1453517 - Consolidate popup permission checks to nsContentUtils; r=bz
...
Permissions checks for popups were happening in nsIPopupWindowManager,
but that really only required a pref and perm check. The XPCOM
machinery around this isn't really needed, and the check was only
called from two places in content, so this fits in nsContentUtils.
MozReview-Commit-ID: 9x60x1BKWcr
--HG--
extra : rebase_source : d6e2dcfcae8310770eb209ccb42c96315511bb86
2018-04-11 16:18:20 -07:00
Gijs Kruitbosch
ab8c7381c6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : 34b73305fbea96d01ba44f7e97f82d05a6561b0d
2018-02-07 14:25:33 +00:00
Andreea Pavel
f9b34d3781
Backed out 5 changesets (bug 1427726) for failing linux asan at modules/libjar/test/unit/test_bug407303.js on a CLOSED TREE
...
Backed out changeset ee9abd6f1ba5 (bug 1427726)
Backed out changeset b1b76f9dff73 (bug 1427726)
Backed out changeset f41cf7811770 (bug 1427726)
Backed out changeset cb35e7b10235 (bug 1427726)
Backed out changeset 753ece6c9f1b (bug 1427726)
--HG--
rename : modules/libjar/test/mochitest/bug1173171.zip => modules/libjar/test/mochitest/bug403331.zip
rename : modules/libjar/test/mochitest/bug1173171.zip^headers^ => modules/libjar/test/mochitest/bug403331.zip^headers^
2018-04-11 12:46:20 +03:00
Gijs Kruitbosch
bf0070e2f6
Bug 1427726 - remove nsIJARChannel::isUnsafe and nsIDocShell::channelIsUnsafe, r=bz
...
MozReview-Commit-ID: 7XyRqzKDbsq
--HG--
extra : rebase_source : ad7994fd90f62a95e35043e147fd52f5e5b498c1
2018-02-07 14:25:33 +00:00
Andreea Pavel
eed7d2803f
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-04-06 17:54:45 +03:00
Adam Gashlin
cbf9e7b900
Bug 1437941: Don't ignore mousemove after fullscreen transition r=handyman
...
MozReview-Commit-ID: Hr9dcKVeYEC
--HG--
extra : rebase_source : fe9d1f3526704dd5c37bcbeb7c6a62de368be12c
2018-04-02 18:42:12 -07:00
Boris Zbarsky
0b77426fa7
Bug 1449631 part 11. Remove nsIDOMEventTarget::AddSystemEventListener. r=smaug
...
The security checks outer window did here don't seem right, because the whole
point is that this method is only called by C++ code for its own purposes.
We're not adding random untrusted listeners via addSystemEventListener!
MozReview-Commit-ID: JdS5gTESclu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
2cdc7450c3
Bug 1449631 part 10. Devirtualize AddEventListener. r=smaug
...
The CanCallerAccess check in the "webidl" version of
nsGlobalWindowOuter::AddEventListener was pointless, because bindings never
call things on outer windows.
MozReview-Commit-ID: 1CGMJ277bPu
2018-04-05 13:42:42 -04:00
Boris Zbarsky
88937275cc
Bug 1449631 part 9. Remove nsIDOMEventTarget::AddEventListener. r=smaug
...
Also switch the XPCOM-y version of EventTarget::AddEventListner to a
Nullable<bool> for aWantsUntrusted.
The three-arg overload of AddEventListener in ContentFrameMessageManager was
never called, so all the AddEventListener overloads there are not needed.
MozReview-Commit-ID: 4IhqHmPVWzE
2018-04-05 13:42:42 -04:00
Boris Zbarsky
14f26fccf6
Bug 1449631 part 8. Remove nsIDOMEventTarget::GetEventTargetParent. r=smaug
...
MozReview-Commit-ID: 5wQ2LYrjUxf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
adbcff27c1
Bug 1449631 part 7. Remove nsIDOMEventTarget::GetTargetFor* methods. r=smaug
...
MozReview-Commit-ID: AIzDo67mTDf
2018-04-05 13:42:41 -04:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Boris Zbarsky
553b5d6aae
Bug 1449631 part 5. Move Will/Pre/PostHandleEvent out of nsIDOMEventTarget. r=smaug
...
MozReview-Commit-ID: K2nOZNPy0XE
2018-04-05 13:42:41 -04:00
Boris Zbarsky
053e2c9b36
Bug 1449631 part 4. Remove nsIDOMEventTarget::GetContextForEventHandlers. r=smaug
...
MozReview-Commit-ID: ID0FDvp28HY
2018-04-05 13:42:40 -04:00
Boris Zbarsky
7c94e8697f
Bug 1449631 part 3. Remove nsIDOMEventTarget::RemoveSystemEventListener. r=smaug
...
MozReview-Commit-ID: F67Od8surQ8
2018-04-05 13:42:40 -04:00
Boris Zbarsky
1dce94cf16
Bug 1449631 part 2. Remove nsIDOMEventTarget::RemoveEventListener. r=smaug
...
We can't have a null content in
ScrollbarActivity::StopListeningForScrollAreaEvents, because only viewport
frames have a null GetContent().
MozReview-Commit-ID: 9iAg0ivVqqG
2018-04-05 13:42:40 -04:00
Ben Kelly
25d3f442b6
Bug 1450266 P4 Rebind DETH objects to the new global when document.open() is called. r=smaug
2018-04-03 17:10:16 -07:00
Ben Kelly
2c5666c6d8
Bug 1450266 P1 Remove nsGlobalWindowInner::CleanUp() method in favor of FreeInnerObjects(). r=smaug
2018-04-03 17:10:16 -07:00
Peter Van der Beken
01a1cdcd31
Bug 1448850 - Remove nsIMessageBroadcaster. r=bz.
...
--HG--
extra : rebase_source : c9ef8d762347b3c71dd5cfeffafbfbb81eb6e042
2018-02-14 17:35:39 +01:00
Boris Zbarsky
9bb77bdfc7
Bug 1450418. Get rid of nsIDOMScreen. r=qdot
...
MozReview-Commit-ID: A5Rq0BSQt4V
2018-04-03 00:42:41 -04:00
Bogdan Tara
302a55b534
Merge inbound to mozilla-central. a=merge
2018-03-27 12:12:57 +03:00
Henri Sivonen
1837451778
Bug 1448585 - Use NS_LITERAL_STRING for DEFAULT_HOME_PAGE. r=mystor.
...
MozReview-Commit-ID: tOooRnYDQG
--HG--
extra : rebase_source : 099f49ff4f1c2c2070d7dda44019d3d4e9d94b3f
2018-03-24 21:12:47 +02:00
Boris Zbarsky
631e1b2354
Bug 1442360 part 3. Remove nsScriptNamespaceManager, since now it's all dead code. r=peterv
...
MozReview-Commit-ID: DHRz2frjmT5
2018-03-21 23:18:51 -04:00
Boris Zbarsky
fec44334c8
Bug 1442039 part 12. Remove various unused static stuff from nsDOMClassInfo. r=peterv
...
MozReview-Commit-ID: Imt658SuM9w
2018-03-21 23:13:29 -04:00
Boris Zbarsky
37b111ac2a
Bug 1447472 part 2. Remove nsIDOMCustomEvent. r=qdot
...
MozReview-Commit-ID: 3NPqLIU8cka
2018-03-26 14:53:51 -04:00
Adrian Wielgosik
87a72d3f51
Bug 1446515 - Remove nsIDOMFileList. r=bz
...
MozReview-Commit-ID: 4ab1e6NTcOB
--HG--
extra : rebase_source : 09388e531e2bcc6a133cc1ec76946a79ddf2bcb0
2018-03-16 20:55:32 +01:00
Sylvestre Ledru
fa45a3c670
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
shindli
9bfc016707
Merge inbound to mozilla-central. a=merge
2018-03-15 12:15:17 +02:00