Commit Graph

962 Commits

Author SHA1 Message Date
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ben Turner
0010e82b08 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes).
--HG--
extra : transplant_source : %95%B5y%11%C5%AB%D9%CF%FF%7C%5E%BB%E5%DA%F5j%83o%29%EB
2012-08-01 23:02:29 -07:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masatoshi Kimura
b79ee47058 Bug 750241 - Filter console messages to prevent intermittent orange; r=hsivonen 2012-07-30 12:47:19 +01:00
Mark Capella
a4e84ebc03 Bug 730925 - XHR.getAllResponseHeaders should use CRLF, not LF per spec, r=jst, r=jonas, f=ms2ger 2012-07-26 11:55:23 -04:00
Patrick McManus
69378be6f2 bug 767005 backout bug 235853 r=jduell
--HG--
extra : rebase_source : c5aee6699ad20b85c11d52ca70365d6adebaec7c
2012-07-24 22:40:34 -04:00
Boris Zbarsky
8b318ef3f7 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Jason Duell
00135ee99f Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage 2012-07-21 20:05:37 -07:00
Boris Zbarsky
eb0d24fee5 Bug 761278. Remove the non-standard uploadprogress event on XMLHttpRequest. r=sicking 2012-07-21 22:28:26 -04:00
Ryan VanderMeulen
544438a9ef Merge the last PGO-green inbound changeset to m-c. 2012-07-10 18:39:12 -04:00
Daniel Veditz
1acc96ee87 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Ed Morley
ace8d0d5b2 Backout 1cefe3f794ba (bug 767778) for xpcshell failures 2012-07-10 12:13:57 +01:00
Daniel Veditz
ec37f6b673 bug 767778 bring report struct in-line w/1.0 spec; include original URI for redirects r=sstamm, a=akeybl 2012-07-10 00:44:05 -07:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Jason Duell
3f65aca8d4 Bug 752780 - Convert invalid UTF-16 to UTF-8 in websocket send(). r=sicking 2012-07-09 17:31:01 -07:00
David Zbarsky
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Masatoshi Kimura
6909634954 Bug 769119 - Treat null or undefined as an empty dictionary; r=sicking 2012-06-30 16:03:27 +02:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Boris Zbarsky
34edba5d0f Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron 2012-06-22 16:18:50 -04:00
Kartikaya Gupta
ceed4861d3 Bug 755971 - Switch to using the padding rect size for scrollWidth and scrollHeight, and update tests to continue passing. r=bz, gavin 2012-06-21 09:36:57 -04:00
Ed Morley
4992a5b7b4 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Ms2ger
56a3842ca1 Bug 765468 - Use a dictionary for the argument to the XMLHttpRequest constructor; r=bz 2012-06-21 09:21:55 +02:00
Bobby Holley
4c113368e0 Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug 2012-06-20 12:18:39 +02:00
Aryeh Gregor
6ebcc29568 Followup bug 412257 - Fix now-incorrect test description; r=Ms2ger 2012-06-17 12:35:42 +03:00
Aryeh Gregor
d186c2a2e4 Bug 412257 - Allow createComment("--"); r=bz 2012-06-15 15:13:14 +03:00
Sid Stamm
639e036eae bug 761655 - Support for multiple X-Frame-Options policies (multiple headers or comma in header value). r=jst 2012-06-11 09:17:35 -07:00
Olli Pettay
93a765cab8 Bug 756277 - XMLHttpRequest started from Cc['@mozilla.org/xmlextras/xmlhttprequest;1'] ends up bound to some random window, r=bz
--HG--
extra : rebase_source : 480dbf41846fee3362697cb0bf537281f35845e0
2012-06-08 23:45:13 +03:00
Brian Hackett
4788e88e89 Remove race condition from test for bug 518104, bug 761872. r=bz 2012-06-07 14:56:29 -07:00
Philipp von Weitershausen
9d771da697 Bug 692677 - Relax same-origin XHR restrictions for privileged applications. r=sicking
--HG--
extra : rebase_source : 9e8e8cf2e03b6f3d148503d92630ee898bf835bb
2012-06-07 11:28:33 -07:00
Ms2ger
a2f3518cf1 Bug 761120 - Disallow inserting a text node as child of a document; r=bz 2012-06-06 09:42:06 +02:00
Peter Van der Beken
c2751f6c3e Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
Jason Duell
3fddb44953 Bug 695636 - Update close steps to adhere to WS spec. r=smaug 2012-06-04 16:38:32 -07:00
Sid Stamm
438f12e5d3 Bug 634773 - fix CSPSourceList.equals so 'none' and * are not equal. r=jst 2012-05-23 16:35:37 -07:00
Mats Palmgren
a5de49366d Bug 759789 - Don't move on to the next test (or finishing) until we get all expected non-optional 'loadend' events. r=smaug 2012-06-01 20:52:37 +02:00
Mats Palmgren
549c88c013 Bug 759757 - Make sure SimpleTest.finish runs after the last test is finished. r=philor 2012-06-01 20:52:37 +02:00
Olli Pettay
78a01c60c9 Bug 744830 - Implement fast serializer for innerHTML/outerHTML, p=jdm+smaug, r=hsivonen 2012-06-01 12:59:16 +03:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Olli Pettay
95b7529009 Bug 758401 - Add a way to get message manager from docshell, r=jst 2012-05-28 12:27:25 +03:00
Kyle Huey
574f66348d Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
Ed Morley
b3716758ef Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-05-24 15:48:20 +01:00
Olli Pettay
7a924fdacc Bug 757700, make sure attr modification type is set, r=sicking
--HG--
extra : rebase_source : ed2b2cc803cbd494b33a4e343efee9bd76f7e54a
2012-05-24 13:31:35 +03:00
Olli Pettay
66847667e2 Bug 749920 - Unprefix MozMutationObserver and add a warning about use of mutation events, r=sicking 2012-05-23 13:45:14 +03:00
Doug Turner
8ca2962c15 Bug 673586 - Implement lastModifiedDate property for the File interface. r=mounir 2012-05-21 15:11:56 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Sid Stamm
a7181b17c8 Bug 612391 - Convert CSP violation reporting from XHR to nsIUploadChannel. r=jonas 2012-05-23 16:00:42 -07:00
Henri Sivonen
3096edf8d7 Bug 753278 - Make document.open() after aborting the parser a no-op. r=smaug. 2012-05-18 15:06:28 +03:00
Masatoshi Kimura
7d3bc384fb Bug 752402 - Support ArrayBufferView as a member of blobParts parameter. r=sicking 2012-05-17 17:53:44 -04:00
Jason Duell
6246db87a7 Bug 748580 - websockets: omit close code when none passed to close(). r=mcmanus 2012-05-17 10:56:56 -07:00
Alexandre Poirot
07ce542c8f Bug 682305 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS. r=sicking 2012-05-10 19:58:48 +01:00
Blake Kaplan
9a4ca1ba57 Backed out changeset ad106d37ee43. The bug number in the changeset was wrong. 2012-05-15 12:03:01 +02:00
Alexandre Poirot
33cbbf5d92 Bug 736046 - nsXMLHttpRequest::Send fails with mChannel being implemented in JS r=sicking
--HG--
extra : rebase_source : 447999d425cb6a405c287fecdcfc7810676ea3b9
2012-05-10 19:58:48 +01:00
Ms2ger
c03caf74d6 Bug 752226 - Tests. r=evilpie 2012-05-11 17:46:54 +02:00
Ed Morley
79899a6f75 Backout 9b0fcaacb788 & bf3fef257e68 (bug 752226) for mochitest-other orange 2012-05-11 18:25:52 +01:00
Ms2ger
6ac8484e0e Bug 752226 - Tests. r=evilpie
--HG--
extra : rebase_source : 7a0d155ab7d7898ca4c96b86ae6f706172c7c71f
2012-05-11 17:46:54 +02:00
Mark Capella
d3f72cbbfb Bug 749367 - script type=texttemplate content parsed as JavaScript (+E4X), r=jst, f=ms2ger, mbrubeck, jdm 2012-05-09 07:24:24 -07:00
Bobby Holley
7901c91583 Bug 750859 - remove unused (or seldom-used) PrivilegeManager functions. r=bz 2012-05-02 23:57:34 +02:00
Masatoshi Kimura
95f8a3cace Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Serge Gautherie
511d9209db Bug 744663. (Cv1) Use 'test' pre instead of redundant 'log' pre, Improve on-screen logging. r=smaug.
(a=test-only)
2012-04-24 03:02:33 +02:00
Serge Gautherie
95ef6d0eef Bug 744663. (Bv1) Inline finishWSTest(), Use executeSoon() between sub-tests, Improve message contents, Receive "end" messages too, Add an additional forcegc(), Nits. r=smaug.
(a=test-only)
2012-04-24 03:01:35 +02:00
Serge Gautherie
2d281b32ff Bug 744663. (Av1) Improve documentation and logs, Nits. r=smaug.
(a=test-only)
2012-04-24 03:00:43 +02:00
Tom Schuster
fef9c89dba Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Tanvi Vyas
72aed58cec bug 570505 - fix csp to avoid creating strings from URIs and un-hose test_bug558431. r=dveditz 2012-04-17 06:16:05 -07:00
Aryeh Gregor
ba066c1e21 Bug 433662 part 2 - Make Range.insertNode insert the node into the range even when the range is collapsed 2012-04-01 08:02:21 -04:00
Masatoshi Kimura
9b5d48cafb Bug 743575 - Try to get line number if at all possible when reporting warnings to the error console. r=mrbkap 2012-04-13 13:57:05 -04:00
Gregory Szorc
15089b0805 Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Olli Pettay
b5b7b0c4b3 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
Masatoshi Kimura
aeb3f9e55a Bug 743049 - Part 2: Use the new API from NS_ScriptErrorReporter to get an error type name. r=jst 2012-04-11 17:55:22 -04:00
Makoto Kato
e0b0e4d9ff Bug 737966 - Evaluating nsIXMLHttpRequest.responseText throws on certain parsing errors. r=sicking 2012-04-04 20:59:02 +09:00
Marco Bonardo
5eb9c1dad8 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Olli Pettay
45b584ef56 Bug 742190 - Leak with MozMutationObserver, r=sicking 2012-04-04 09:22:16 +03:00
Marco Bonardo
1ababdd3b2 Merge central and inbound 2012-04-03 14:36:57 +02:00
Ms2ger
6b301797c5 Bug 737122 - Attr nodes shouldn't have children; r=sicking 2012-04-03 09:25:39 +02:00
Henri Sivonen
2dd32e976c Bug 739537 - No longer drop leading space from the plain text clipboard flavor when exporting both HTML and plain text to clipboard. r=smaug. 2012-04-03 09:44:15 +03:00
Masatoshi Kimura
18767775ae Bug 738912 - Part 2: Add tests. r=sicking 2012-04-03 20:08:28 -04:00
Aryeh Gregor
5fba4e2a84 Bug 719533 - Range.extractContents() shouldn't modify the DOM if the range contains a doctype; r=smaug 2012-04-01 07:45:35 -04:00
Ed Morley
7b8f9d67b3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Henri Sivonen
db1d235617 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Peter Van der Beken
db99384a53 Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz, bent.
--HG--
extra : rebase_source : 1278ff2158cd8138ebe3570a2d8f45cec8233d1c
2012-03-30 09:38:19 -07:00
Peter Van der Beken
dfa76b93e6 Fix for bug 740467 (Make test_XHR_timeout.js use addEventListener(..., obj, ...) instead of on* = obj). r=khuey.
--HG--
extra : rebase_source : e5039bfd291e3955282ff63f3ac5c0ab2869279a
2012-03-29 11:16:31 -07:00
Peter Van der Beken
79d8fa521f Backout cfd6bf0fe1e9 as it includes an unwanted chunk
--HG--
extra : rebase_source : 9143a7752d7327a1c7693f9ad34ab02a25339aa6
2012-03-30 09:53:50 -07:00
Peter Van der Beken
d2da6eaadf Fix for bug 740855 (Make tests that try to get XHR.channel use SpecialPowers). r=bz.
--HG--
extra : rebase_source : a80dc66eff61a2d669dbbaaa1d081106798fd9dc
2012-03-30 09:38:19 -07:00
Aryeh Gregor
f3bfb8edfd Bug 737087 - Fire error event on <script> load failure per spec/other browsers; r=sicking 2012-03-20 14:21:33 -04:00
Ian Melven
04940903e3 Bug 650386 - CSP should not follow redirects for report-uri r=jst 2012-03-27 10:55:50 -07:00
Jonas Sicking
8e093adf1c Bug 301705: Don't throw when XMLHttpRequest.status is gotten too early. r=bz 2012-03-26 01:40:09 -07:00
Henri Sivonen
95b45892e6 Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Aryeh Gregor
40c8f74eb6 Bug 366944 - Range.surroundContents should throw InvalidNodeTypeError early; r=smaug 2012-03-21 14:06:50 -04:00
Boris Zbarsky
ecbf4bbd3f Bug 738108. When restricting to the element subtree in querySelector(All), make sure to disallow the element itself. r=smaug 2012-03-22 03:09:18 -04:00
Sid Stamm
e4377a09c1 Bug 672961 - CSP blocks domains incorrectly when on a site with non-standard port. r=mrbkap 2012-03-21 19:52:24 -04:00
Aryeh Gregor
9d84462dee Bug 735805 part 1 - Fix DOM and layout mochitests that run no tests; r=bz 2012-03-16 16:07:09 -04:00
Aryeh Gregor
ccb73a4ec1 Bug 737612 - Range.insertNode() on a detached text node should throw standard exception type; r=smaug 2012-03-20 16:32:01 -04:00
Aryeh Gregor
45440ad3db Bug 737565 - Range.comparePoint() should throw exceptions per spec; r=smaug 2012-03-20 15:54:38 -04:00
Henri Sivonen
82c137d953 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Kyle Huey
e77a2d7ea3 Bug 735152: Disable the offending tests. r=me 2012-03-13 07:34:39 -07:00
Marco Bonardo
3e58667468 Merge last green PGO from inbound to central 2012-03-13 11:17:21 +01:00
Masatoshi Kimura
f1d328b350 Bug 721569 - Tests. r=sicking
--HG--
rename : content/base/test/test_blobbuilder.html => content/base/test/test_blobconstructor.html
2012-03-12 21:45:00 -07:00
Kyle Huey
28cfe02e31 Bug 498998: Implement XHR timeout in Workers. r=sicking 2012-03-12 17:00:46 -07:00
Boris Zbarsky
1e4a771613 Bug 696301 part 4. Actually hook up a CORS listener on script loads as needed. r=sicking
--HG--
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-1.js
rename : content/base/test/bug461735-post-redirect.js => content/base/test/bug696301-script-2.js
2012-03-10 10:13:52 -06:00