Boris Zbarsky
0460b51e8f
Bug 1338725 part 1. Change the matcher functions used for nsContentList to take an Element argument, not nsIContent. r=baku
2017-02-13 16:06:45 -05:00
Masayuki Nakano
9d7eb17272
Bug 1337739 Create an enum eKeyLocation* for avoiding to use nsIDOMKeyEvent::DOM_KEY_LOCATION_* r=smaug
...
Currently, we use alias NS_VK_* for WidgetKeyboardEvent::mKeyCode. Similarly, we should create alias enum for nsIDOMKeyEvent::DOM_KEY_LOCATION_*. Then, we can reduce the length and avoid to include nsIDOMKeyEvent in some cpp files.
MozReview-Commit-ID: 5cs4zQ061Lc
2017-02-08 21:04:22 +09:00
Tim Huang
b3fb2c8458
Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
2017-02-07 11:49:34 +08:00
Wes Kocher
3bd424b7df
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 2iqmlA6R1S4
2017-02-06 17:52:26 -08:00
Andrea Marchesini
48c7650f3b
Bug 1335678 - Revert patch for bug 1302566, r=ehsan
2017-02-06 16:37:15 +01:00
Tom Tung
c08930401f
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Tomislav Jovanovic
fce41df32c
Bug 1335890 - Factor out nsContentUtils::SubjectPrincipal version that takes JSContext r=bz
...
MozReview-Commit-ID: CGRipgKUm7g
2017-02-05 23:19:26 +01:00
Andrea Marchesini
f0aa583269
Bug 1336020 - transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00
Carsten "Tomcat" Book
2ecd3be932
merge mozilla-inbound to mozilla-central a=merge
2017-02-02 14:25:20 +01:00
Wes Kocher
a37b047a41
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: HVH8TbXbw7N
2017-02-01 16:30:50 -08:00
Eric Rahm
e925eeebb5
Bug 1335477 - Stop warning if content type is emtpy. r=jya
2017-02-01 10:58:58 -08:00
Tomislav Jovanovic
5a9f490db5
Bug 1310318 - Part 1: Allow access to canvas drawWindow() with web extensions permission r=bz
...
MozReview-Commit-ID: 4ee3pRfduIj
2017-02-01 21:47:59 +01:00
Michael Layzell
f41da1d9f2
Bug 1331087 - Part 1: Disable the largeAllocation header by default outside of Win32 builds, r=ehsan
...
MozReview-Commit-ID: 4jUFLv4fMZa
2017-01-31 14:08:20 -05:00
Michael Layzell
945ad71379
Bug 1334586 - Propagate reload flags when reloading pages with Large-Allocation headers, r=smaug
...
MozReview-Commit-ID: ESfCqSc0BJK
2017-01-31 14:08:20 -05:00
Michael Layzell
879a0e1bed
Bug 1334210 - Handle Large-Allocation process exhaustion more smoothly, r=ehsan
...
MozReview-Commit-ID: KxnFTSXxWVi
2017-01-31 14:08:20 -05:00
Andrea Marchesini
468f997f6f
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01:00
Boris Zbarsky
48c0abe666
Bug 1335368 part 4. Stop using IsCallerChrome in nsContentUtils::IsRequestFullScreenAllowed. r=bholley
2017-02-01 15:43:36 -05:00
Boris Zbarsky
3ef279310e
Bug 1335368 part 3. Stop using IsCallerChrome in nsContentUtils::IsCutCopyAllowed(). r=smaug
2017-02-01 15:43:36 -05:00
Andrea Marchesini
99e468b624
Bug 1333077 - Remove 'temporary' attribute in File, r=qdot
2017-01-24 12:11:07 +01:00
Sebastian Hengst
e21ce67e10
Backed out changeset 2e942ed64921 (bug 1302566) for mass test failures after asserting isPrivate == mRespectPrivacy at imgLoader.cpp:2072. r=backout on a CLOSED TREE
2017-01-23 13:25:19 +01:00
Andrea Marchesini
dab8349d74
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-23 12:36:01 +01:00
Ehsan Akhgari
ec238285dd
Bug 1319908 - Load the menu icons for the bookmarks menu with the correct content type and principal on OSX; r=baku
...
This patch makes nsMenuItemIconX also participate in the setup
introduced in bug 1277803.
2017-01-20 10:55:23 -05:00
Michael Layzell
578b151b40
Bug 1331525 - Send the Large-Allocation success message to the correct document, r=ehsan
...
MozReview-Commit-ID: E44hlMI2EE3
2017-01-19 15:26:28 -05:00
Christoph Kerschbaumer
81c125990e
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-18 08:24:55 +01:00
Wes Kocher
aa51fd7f3a
Backed out 2 changesets (bug 1329032) for failures a=backout
...
Backed out changeset 16c4f0df527d (bug 1329032)
Backed out changeset 54f7bfe3ca11 (bug 1329032)
MozReview-Commit-ID: ChGyTdJvT8N
2017-01-17 14:08:10 -08:00
Christoph Kerschbaumer
1e6a940fa1
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal. r=bz,gijs
2017-01-17 21:52:01 +01:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Bill McCloskey
4ccd34d0b1
Back out bug 1323207, part 2 - Assert early if we're painting at various points we enter JS (a=backout)
...
This reverts commit cc6bc31c9f3fb10877292b31c1cf26927856a837.
MozReview-Commit-ID: Dljoh4lYVZ9
2017-01-11 13:20:21 -08:00
Michael Layzell
d7f447ef5f
Bug 1328620 - Rename LargeAllocationRelatedBrowsingContexts to reflect new content, r=smaug
...
MozReview-Commit-ID: AQVqIFKObsI
2017-01-06 16:48:47 -05:00
Cameron McCormack
5f9911da79
Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
...
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Thomas Nguyen
82e1caab63
Bug 1304623 - Create a pref to control the default referrer policy - part 3. r=bkelly
...
MozReview-Commit-ID: 1A6IHPeNYBQ
2017-01-05 11:29:56 +08:00
Christoph Kerschbaumer
a19187cb43
Bug 1182569 - Skip security check for plugins using newstream attribute. r=smaug
2017-01-03 20:59:54 +01:00
Michael Layzell
4d570c6d08
Bug 1324359 - Rename and simplify the DocShell ProcessLock concept, r=smaug
...
MozReview-Commit-ID: JTp8Q2mWqpN
2017-01-03 17:00:25 -05:00
Ho-Pang
a2e4a87f34
Bug 1299209 - Part 2: Support setting pointerId in nsDOMWindowwUtils and nsContentUtils. f=sshih, r=smaug
2016-12-20 23:06:00 -05:00
Catalin Badea
faab6dc0fb
Bug 1181127 - Fix nsContentUtils::FormatLocalizedString NS_ASSERTION. r=bkelly
...
nsStringBundle::FormatStringFromName asserts that GetStringFromName
should be used when the error message has no parameters.
2016-12-19 04:38:53 +02:00
Andrew McCreight
96e89c4b4a
Bug 1323207, part 2 - Assert early if we're painting at various points we enter JS. r=billm
...
nsContentUtils::IsPatternMatching is the most common by far, but the
other is a generic location that may cover a number of issues.
MozReview-Commit-ID: Kli39btsqdd
2016-12-14 16:28:57 -08:00
Sebastian Hengst
8cc04411fc
Backed out changeset 491237dbcb5d (bug 1323207)
2016-12-16 20:06:43 +01:00
Andrew McCreight
044305c3cd
Bug 1323207, part 2 - Assert early if we're painting at various points we enter JS. r=billm
...
nsContentUtils::IsPatternMatching is the most common by far, but the
other two are generic locations that may cover a number of issues.
MozReview-Commit-ID: Kli39btsqdd
2016-12-14 16:28:57 -08:00
Cameron McCormack
b4a991df43
Bug 1321284 - Part 4: Factor out AllChildrenIterator's getting of document level NAC to a utility method. r=bholley
...
MozReview-Commit-ID: 862Yi82D2Ij
2016-12-03 09:37:00 +08:00
Henri Sivonen
4f1add0a5b
Bug 741776 - Treat JSON, WebVTT and AppCache manifests as UTF-8 when loaded as plain text. r=Ehsan
...
MozReview-Commit-ID: 5UvYqJVvX0r
2016-06-09 14:29:30 +03:00
Boris Zbarsky
8bef5cc522
Bug 1319255 part 2. Stop doing casts to HTMLContentElement* simply based on tag. r=wchen
2016-11-22 22:41:51 -05:00
Boris Zbarsky
40be518f4f
Bug 1316616 part 2. Add an nsContentUtils API for getting the CallerType of a JSContext. r=bholley
2016-11-18 16:13:06 -05:00
Wes Kocher
390c1f407f
Merge inbound to m-c a=merge CLOSED TREE
2016-11-16 17:07:26 -08:00
Ehsan Akhgari
917a5e63fc
Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
...
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact. Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app. In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed. In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID. Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Andi-Bogdan Postelnicu
4326ee32fd
Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
...
MozReview-Commit-ID: FGjPRf0g3Yt
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu
c47b0b7b15
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu
dbc05f2e21
Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
...
MozReview-Commit-ID: CST7fV4h20h
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu
6da3d00d99
Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
...
MozReview-Commit-ID: ysMKgcL3YQ
2016-11-14 11:31:11 +02:00
Thomas Nguyen
5e424350fb
Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
...
MozReview-Commit-ID: 3V6W0fuRomZ
2016-11-14 15:15:32 +08:00
Sylvestre Ledru
bce04869ce
Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/base/ r=smaug
...
MozReview-Commit-ID: A70LY4ekX8E
2016-11-14 23:15:46 +01:00