Commit Graph

927 Commits

Author SHA1 Message Date
Andrea Marchesini
4a3922fdec Bug 1341218 - nsNullPrincipal should consider its URI in ::Write/::Read, r=qdot 2017-02-22 10:01:43 +01:00
Michael Layzell
e4431d5605 Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug
MozReview-Commit-ID: 6aF2wlLgy42
2017-02-17 12:00:45 -05:00
Andrea Marchesini
c048b4585c Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug 2017-02-16 18:26:38 +01:00
Andrea Marchesini
c8ceddb2ca Bug 1340118 - Fix an wrong use of ErrorResult in nsContentUtils::TransferableToIPCTransferable, r=smaug 2017-02-16 18:25:22 +01:00
Wes Kocher
b91739bde1 Merge inbound to m-c a=merge
MozReview-Commit-ID: IKI0zVtF1n9
2017-02-15 16:18:13 -08:00
Ben Kelly
ece4408178 Bug 1322111 P1 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy type. r=ckerschb 2017-02-15 09:55:58 -05:00
Sylvestre Ledru
e3d60e5b2e Bug 1338086 - Remove useless else blocks in order to reduce complexity in dom/base/ r=Ehsan
MozReview-Commit-ID: 5sCNbqC4ew3
2017-02-09 15:44:02 +01:00
Wes Kocher
15958b291e Merge m-c to inbound, a=merge
MozReview-Commit-ID: Lt0WpWkto4h
2017-02-13 17:07:33 -08:00
Tomislav Jovanovic
b38d6f27b3 Bug 1312260 - Part 1: Allow access to execCommand("paste") with permission r=bz
MozReview-Commit-ID: B1sfhsQWWQa
2017-02-09 15:09:22 +01: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
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
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