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
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
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
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
468f997f6f
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01: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
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
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01: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
Boris Zbarsky
6f77c61a28
Bug 1324035 part 4. Change nsContentUtils::ResistFingerprinting to just take a dom::CallerType instead of having all its consumers check it. r=qdot
2016-12-17 00:25:52 -05: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
e5195eb850
Bug 1318471. Get rid of IsCallerChrome calls in scriptsettings code. r=bholley
2016-11-18 16:13:07 -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
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
Michael Layzell
cb46a4fd67
Bug 1304140 - Part 1: Implement support for the Large-Allocation header behind the dom.largeAllocationHeader.enabled pref, r=smaug
...
MozReview-Commit-ID: 5KBIu6Fc3Ea
2016-10-31 16:38:54 -04:00
Andrea Marchesini
0ff867be40
Bug 1312412 - Introducing BlobImplString, r=smaug
2016-10-25 07:53:54 +02:00
Eric Rahm
b544fa807b
Bug 1311759 - Remove unused references to nsISupportsArray. r=froydnj
...
This removes various references to nsISupportsArray throughtout the tree that
aren't used.
MozReview-Commit-ID: EtgD1DRwY8e
2016-10-21 16:34:42 -07:00
Eric Rahm
2a4d3b22b9
Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug
2016-10-18 11:56:20 -07:00
John Dai
516c125332
Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug
2016-09-22 02:42:00 -04:00
Wes Kocher
3faded3672
Backed out changeset 7e898928c51b (bug 838954) for lint failures a=backout CLOSED TREE
2016-09-21 12:44:31 -07:00
Wes Kocher
44952b2652
Backout revisions b80d560e0102 and fc593dd9a280 (bug 838954) a=backout
2016-09-21 11:42:16 -07:00
Arthur Edelstein
4e271d1b40
Bug 1268726 - isolate shared worker by first party domain. r=baku
...
Tor 15564: Isolate SharedWorker by first party domain
uplift/refactor by Dave Huseby <dhuseby@mozilla.com >
review tweaks
2016-09-19 21:13:00 -04:00
Andrea Marchesini
ee5bbec51a
Bug 1301251 - Handle GetSpec() failure in nsContentUtils::GetWrapperSafeScriptFilename(), r=smaug
2016-09-19 15:50:22 +02:00
Wes Kocher
eda25c5728
Merge inbound to m-c a=merge
2016-09-02 13:17:30 -07:00
Edgar Chen
f37acbbb74
Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
...
MozReview-Commit-ID: 9gTSFrYW7o3
2016-08-30 11:48:53 +08:00
Jimmy Wang
96ed3bfbc6
Bug 1297539 - Add IPC message, PasteTransferable, to call PasteTransferable via a controller on the content process to handle the command content event, "pasteTransferable". New method nsContentUtils::IPCTransferableToTransferable since ContentParent::RecvSetClipboard and TabChild::RecvPasteTransferable both require the same setup to make a transferable. r=mrbkap
...
MozReview-Commit-ID: 3I443eBOPEO
2016-08-30 21:30:45 -04:00
Aryeh Gregor
e4e3663bd7
Bug 984778 - Make hasFeature() and SVG requiredFeatures always return true; r=bz,longsonr
...
hasFeature() always returning true matches the current DOM spec. SVG 2
has removed requiredFeatures. Chrome has had both of these always
return true since 2014, and they seem to have had no problems.
Even requiredFeatures="" (empty string) now returns true, matching
Chrome.
MozReview-Commit-ID: 1LEu3iK4R94
2016-09-01 14:35:11 +03:00
Stone Shih
bfe46c33cf
Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
2016-08-18 11:58:48 +08:00
Xidorn Quan
08d2f6f5b6
Bug 1296625 - Replace query to ui.use_activity_cursor pref with a cached bool value. r=smaug
...
MozReview-Commit-ID: GeTr29JG4qy
2016-08-20 00:43:01 +10:00
Jan de Mooij
0764e5d2da
Bug 1292892 part 6 - Remove nsContentUtils::RootingCx. r=bz
2016-08-11 14:39:23 +02:00
Kershaw Chang
4b855f2a89
Bug 1254488 - Run the the prohibits mixed security contexts algorithm and check a priori unauthenticated URL in PresentationRequest, r=smaug
2016-08-10 23:01:00 +02:00
John Dai
31669c5a78
Bug 838954 - Add a newline in .innerHTML serialization of <pre> when first character is a newline. r=smaug
2016-08-08 23:55:00 +02:00
Stone Shih
127957f0ee
Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug
2016-07-07 15:28:11 +08:00
Emilio Cobos Álvarez
4370c8cc29
Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
...
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(
MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Christoph Kerschbaumer
8195bc5d44
Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus
2016-07-20 12:22:27 +02:00
Thomas Nguyen
80249f809a
Bug 1264164 - Support Referrer Policy HTTP header. r=jdm
...
MozReview-Commit-ID: GANRqgAZQ5C
2016-07-19 15:38:26 +08:00
Wes Kocher
263cd9be33
Backed out 4 changesets (bug 471020) for frequent Windows w(2) failures CLOSED TREE a=merge
...
Backed out changeset d9675ab3d203 (bug 471020)
Backed out changeset 3ee328c56de0 (bug 471020)
Backed out changeset 000576e264bd (bug 471020)
Backed out changeset ffe60708c457 (bug 471020)
2016-07-18 16:07:28 -07:00
Kartikaya Gupta
18753a2323
Bug 970346 - Add a DocShell attribute to override the default touch event options to a tab. r=bz
...
MozReview-Commit-ID: 4BdhwQRBavd
2016-07-18 10:26:38 -04:00
Christoph Kerschbaumer
c5688b07c6
Bug 471020 - Implement X-Content-Type-Options: nosniff. r=dveditz,bz,mcmanus
2016-07-18 14:47:48 +02:00