Changeset 20867 in webkit for trunk/JavaScriptCore
- Timestamp:
- Apr 12, 2007, 9:32:51 PM (18 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r20836 r20867 1 2007-04-12 Deneb Meketa <[email protected]> 2 3 Reviewed by Darin Adler. 4 5 http://bugs.webkit.org/show_bug.cgi?id=13029 6 rdar://problem/4994849 7 Bug 13029: Permit NPAPI plug-ins to see HTTP response headers. 8 This doesn't actually change JavaScriptCore, but that's where npapi.h is. 9 10 * bindings/npapi.h: 11 Add headers member to NPStream struct. Also increase NP_VERSION_MINOR to 18. 12 Increasing to >= 17 allows plug-ins to safely detect whether to look for 13 NPStream::headers. Increasing from 17 to 18 reflects presence of NPObject 14 enumeration, which was added in a prior patch, and which has been agreed to 15 constitute version 18 by the plugin-futures list. Also add other missing 16 bits of npapi.h to catch up from 14 to 18. This includes features that are 17 not implemented in WebKit, but those are safely stubbed. 18 1 19 2007-04-10 Geoffrey Garen <[email protected]> 2 20 -
trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r20835 r20867 1390 1390 isa = PBXProject; 1391 1391 buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */; 1392 compatibilityVersion = "Xcode 2.4";1393 1392 hasScannedForEncodings = 1; 1394 1393 mainGroup = 0867D691FE84028FC02AAC07 /* JavaScriptCore */; … … 1396 1395 projectDirPath = ""; 1397 1396 projectRoot = ""; 1398 shouldCheckCompatibility = 1;1399 1397 targets = ( 1400 1398 932F5BE30822A1C700736975 /* All */, -
trunk/JavaScriptCore/bindings/npapi.h
r20613 r20867 105 105 106 106 #define NP_VERSION_MAJOR 0 107 #define NP_VERSION_MINOR 1 7107 #define NP_VERSION_MINOR 18 108 108 109 109 … … 188 188 uint32 lastmodified; 189 189 void* notifyData; 190 const char* headers; /* Response headers from host. 191 * Exists only for >= NPVERS_HAS_RESPONSE_HEADERS. 192 * Used for HTTP only; NULL for non-HTTP. 193 * Available from NPP_NewStream onwards. 194 * Plugin should copy this data before storing it. 195 * Includes HTTP status line and all headers, 196 * preferably verbatim as received from server, 197 * headers formatted as in HTTP ("Header: Value"), 198 * and newlines (\n, NOT \r\n) separating lines. 199 * Terminated by \n\0 (NOT \n\n\0). */ 190 200 } NPStream; 191 201 … … 315 325 316 326 /* Get the NPObject for scripting the plugin. */ 317 NPPVpluginScriptableNPObject = 15 327 NPPVpluginScriptableNPObject = 15, 328 329 /* Get the plugin value (as \0-terminated UTF-8 string data) for 330 * form submission if the plugin is part of a form. Use 331 * NPN_MemAlloc() to allocate memory for the string data. 332 */ 333 NPPVformValue = 16 /* Not implemented in WebKit */ 318 334 } NPPVariable; 319 335 … … 588 604 #define NPVERS_68K_HAS_LIVECONNECT 11 589 605 #define NPVERS_HAS_WINDOWLESS 11 606 #define NPVERS_HAS_XPCONNECT_SCRIPTING 13 /* Not implemented in WebKit */ 607 #define NPVERS_HAS_NPRUNTIME_SCRIPTING 14 608 #define NPVERS_HAS_FORM_VALUES 15 /* Not implemented in WebKit; see bug 13061 */ 609 #define NPVERS_HAS_POPUPS_ENABLED_STATE 16 /* Not implemented in WebKit */ 610 #define NPVERS_HAS_RESPONSE_HEADERS 17 611 #define NPVERS_HAS_NPOBJECT_ENUM 18 590 612 591 613
Note:
See TracChangeset
for help on using the changeset viewer.